org.apache.batik.dom.svg
Interface ExtendedTraitAccess
public
interface
ExtendedTraitAccess
extends TraitAccess
Interface for SVG DOM classes to expose information about the traits
(XML attributes and CSS properties) their elements support.
Method Summary |
int | getAttributeType(String ns, String ln)
Returns the SVG type of the given XML attribute. |
int | getPropertyType(String pn)
Returns the SVG type of the given CSS property. |
boolean | hasProperty(String pn)
Returns whether the given CSS property is available on this element. |
boolean | hasTrait(String ns, String ln)
Returns whether the given trait is available on this element. |
boolean | isAttributeAdditive(String ns, String ln)
Returns whether the given XML attribute is additive. |
boolean | isAttributeAnimatable(String ns, String ln)
Returns whether the given XML attribute is animatable. |
boolean | isPropertyAdditive(String pn)
Returns whether the given CSS property is additive. |
boolean | isPropertyAnimatable(String pn)
Returns whether the given CSS property is animatable. |
boolean | isTraitAdditive(String ns, String tn)
Returns whether the given trait is additive. |
boolean | isTraitAnimatable(String ns, String tn)
Returns whether the given trait is animatable. |
public int getAttributeType(String ns, String ln)
Returns the SVG type of the given XML attribute. Must return one of
the TYPE_* constants defined in {@link org.apache.batik.util.SVGTypes}.
public int getPropertyType(String pn)
Returns the SVG type of the given CSS property. Must return one of
the TYPE_* constants defined in {@link org.apache.batik.util.SVGTypes}.
public boolean hasProperty(String pn)
Returns whether the given CSS property is available on this element.
public boolean hasTrait(String ns, String ln)
Returns whether the given trait is available on this element.
public boolean isAttributeAdditive(String ns, String ln)
Returns whether the given XML attribute is additive.
public boolean isAttributeAnimatable(String ns, String ln)
Returns whether the given XML attribute is animatable.
public boolean isPropertyAdditive(String pn)
Returns whether the given CSS property is additive.
public boolean isPropertyAnimatable(String pn)
Returns whether the given CSS property is animatable.
public boolean isTraitAdditive(String ns, String tn)
Returns whether the given trait is additive.
public boolean isTraitAnimatable(String ns, String tn)
Returns whether the given trait is animatable.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.