Package org.apache.batik.dom.svg
Interface ExtendedTraitAccess
-
- All Superinterfaces:
TraitAccess
- All Known Implementing Classes:
BatikHistogramNormalizationElement
,BatikRegularPolygonElement
,BatikStarElement
,BindableElement
,ColorSwitchElement
,ExtensionElement
,FlowDivElement
,FlowLineElement
,FlowParaElement
,FlowRegionBreakElement
,FlowRegionElement
,FlowSpanElement
,FlowTextElement
,GraphicsExtensionElement
,PrefixableStylableExtensionElement
,StylableExtensionElement
,SVGDescriptiveElement
,SVGGraphicsElement
,SVGOMAElement
,SVGOMAltGlyphDefElement
,SVGOMAltGlyphElement
,SVGOMAltGlyphItemElement
,SVGOMAnimateColorElement
,SVGOMAnimateElement
,SVGOMAnimateMotionElement
,SVGOMAnimateTransformElement
,SVGOMAnimationElement
,SVGOMCircleElement
,SVGOMClipPathElement
,SVGOMColorProfileElement
,SVGOMComponentTransferFunctionElement
,SVGOMCursorElement
,SVGOMDefinitionSrcElement
,SVGOMDefsElement
,SVGOMDescElement
,SVGOMElement
,SVGOMEllipseElement
,SVGOMFEBlendElement
,SVGOMFEColorMatrixElement
,SVGOMFEComponentTransferElement
,SVGOMFECompositeElement
,SVGOMFEConvolveMatrixElement
,SVGOMFEDiffuseLightingElement
,SVGOMFEDisplacementMapElement
,SVGOMFEDistantLightElement
,SVGOMFEFloodElement
,SVGOMFEFuncAElement
,SVGOMFEFuncBElement
,SVGOMFEFuncGElement
,SVGOMFEFuncRElement
,SVGOMFEGaussianBlurElement
,SVGOMFEImageElement
,SVGOMFEMergeElement
,SVGOMFEMergeNodeElement
,SVGOMFEMorphologyElement
,SVGOMFEOffsetElement
,SVGOMFEPointLightElement
,SVGOMFESpecularLightingElement
,SVGOMFESpotLightElement
,SVGOMFETileElement
,SVGOMFETurbulenceElement
,SVGOMFilterElement
,SVGOMFilterPrimitiveStandardAttributes
,SVGOMFlowDivElement
,SVGOMFlowLineElement
,SVGOMFlowParaElement
,SVGOMFlowRegionBreakElement
,SVGOMFlowRegionElement
,SVGOMFlowRegionExcludeElement
,SVGOMFlowRootElement
,SVGOMFlowSpanElement
,SVGOMFontElement
,SVGOMFontFaceElement
,SVGOMFontFaceFormatElement
,SVGOMFontFaceNameElement
,SVGOMFontFaceSrcElement
,SVGOMFontFaceUriElement
,SVGOMForeignObjectElement
,SVGOMGElement
,SVGOMGlyphElement
,SVGOMGlyphRefElement
,SVGOMGradientElement
,SVGOMHandlerElement
,SVGOMHKernElement
,SVGOMImageElement
,SVGOMLinearGradientElement
,SVGOMLineElement
,SVGOMMarkerElement
,SVGOMMaskElement
,SVGOMMetadataElement
,SVGOMMissingGlyphElement
,SVGOMMPathElement
,SVGOMMultiImageElement
,SVGOMPathElement
,SVGOMPatternElement
,SVGOMPolygonElement
,SVGOMPolylineElement
,SVGOMRadialGradientElement
,SVGOMRectElement
,SVGOMScriptElement
,SVGOMSetElement
,SVGOMSolidColorElement
,SVGOMStopElement
,SVGOMStyleElement
,SVGOMSubImageElement
,SVGOMSubImageRefElement
,SVGOMSVGElement
,SVGOMSwitchElement
,SVGOMSymbolElement
,SVGOMTextContentElement
,SVGOMTextElement
,SVGOMTextPathElement
,SVGOMTextPositioningElement
,SVGOMTitleElement
,SVGOMToBeImplementedElement
,SVGOMTRefElement
,SVGOMTSpanElement
,SVGOMURIReferenceElement
,SVGOMUseElement
,SVGOMViewElement
,SVGOMVKernElement
,SVGPointShapeElement
,SVGStylableElement
,SVGURIReferenceGraphicsElement
,SVGURIReferenceTextPositioningElement
,XBLOMContentElement
,XBLOMDefinitionElement
,XBLOMElement
,XBLOMHandlerGroupElement
,XBLOMImportElement
,XBLOMShadowTreeElement
,XBLOMTemplateElement
,XBLOMXBLElement
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAttributeType(java.lang.String ns, java.lang.String ln)
Returns the SVG type of the given XML attribute.int
getPropertyType(java.lang.String pn)
Returns the SVG type of the given CSS property.boolean
hasProperty(java.lang.String pn)
Returns whether the given CSS property is available on this element.boolean
hasTrait(java.lang.String ns, java.lang.String ln)
Returns whether the given trait is available on this element.boolean
isAttributeAdditive(java.lang.String ns, java.lang.String ln)
Returns whether the given XML attribute is additive.boolean
isAttributeAnimatable(java.lang.String ns, java.lang.String ln)
Returns whether the given XML attribute is animatable.boolean
isPropertyAdditive(java.lang.String pn)
Returns whether the given CSS property is additive.boolean
isPropertyAnimatable(java.lang.String pn)
Returns whether the given CSS property is animatable.boolean
isTraitAdditive(java.lang.String ns, java.lang.String tn)
Returns whether the given trait is additive.boolean
isTraitAnimatable(java.lang.String ns, java.lang.String tn)
Returns whether the given trait is animatable.
-
-
-
Method Detail
-
hasProperty
boolean hasProperty(java.lang.String pn)
Returns whether the given CSS property is available on this element.
-
hasTrait
boolean hasTrait(java.lang.String ns, java.lang.String ln)
Returns whether the given trait is available on this element.
-
isPropertyAnimatable
boolean isPropertyAnimatable(java.lang.String pn)
Returns whether the given CSS property is animatable.
-
isAttributeAnimatable
boolean isAttributeAnimatable(java.lang.String ns, java.lang.String ln)
Returns whether the given XML attribute is animatable.
-
isPropertyAdditive
boolean isPropertyAdditive(java.lang.String pn)
Returns whether the given CSS property is additive.
-
isAttributeAdditive
boolean isAttributeAdditive(java.lang.String ns, java.lang.String ln)
Returns whether the given XML attribute is additive.
-
isTraitAnimatable
boolean isTraitAnimatable(java.lang.String ns, java.lang.String tn)
Returns whether the given trait is animatable.
-
isTraitAdditive
boolean isTraitAdditive(java.lang.String ns, java.lang.String tn)
Returns whether the given trait is additive.
-
getPropertyType
int getPropertyType(java.lang.String pn)
Returns the SVG type of the given CSS property. Must return one of the TYPE_* constants defined inSVGTypes
.
-
getAttributeType
int getAttributeType(java.lang.String ns, java.lang.String ln)
Returns the SVG type of the given XML attribute. Must return one of the TYPE_* constants defined inSVGTypes
.
-
-