Package org.apache.batik.anim.dom
Class SVGDOMImplementation
java.lang.Object
org.apache.batik.dom.AbstractDOMImplementation
org.apache.batik.dom.ExtensibleDOMImplementation
org.apache.batik.anim.dom.SVGDOMImplementation
- All Implemented Interfaces:
Serializable
,StyleSheetFactory
,CSSStyleDeclarationFactory
,Localizable
,org.w3c.dom.css.DOMImplementationCSS
,DOMImplementation
- Direct Known Subclasses:
SVG12DOMImplementation
public class SVGDOMImplementation
extends ExtensibleDOMImplementation
implements CSSStyleDeclarationFactory
This class implements the
DOMImplementation
interface.
It provides support the SVG 1.1 documents.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
To create a 'a' element.protected static class
To create a 'altGlyphDef' element.protected static class
To create a 'altGlyph' element.protected static class
To create a 'altGlyphItem' element.protected static class
To create a 'animateColor' element.protected static class
To create a 'animate' element.protected static class
To create a 'animateMotion' element.protected static class
To create a 'animateTransform' element.protected static class
To create a 'circle' element.protected static class
To create a 'clip-path' element.protected static class
To create a 'color-profile' element.protected static class
To create a 'cursor' element.protected static class
To create a 'definition-src' element.protected static class
To create a 'defs' element.protected static class
To create a 'desc' element.protected static class
To create an 'ellipse' element.protected static class
To create a 'feBlend' element.protected static class
To create a 'feColorMatrix' element.protected static class
To create a 'feComponentTransfer' element.protected static class
To create a 'feComposite' element.protected static class
To create a 'feConvolveMatrix' element.protected static class
To create a 'feDiffuseLighting' element.protected static class
To create a 'feDisplacementMap' element.protected static class
To create a 'feDistantLight' element.protected static class
To create a 'feFlood' element.protected static class
To create a 'feFuncA' element.protected static class
To create a 'feFuncB' element.protected static class
To create a 'feFuncG' element.protected static class
To create a 'feFuncR' element.protected static class
To create a 'feGaussianBlur' element.protected static class
To create a 'feImage' element.protected static class
To create a 'feMerge' element.protected static class
To create a 'feMergeNode' element.protected static class
To create a 'feMorphology' element.protected static class
To create a 'feOffset' element.protected static class
To create a 'fePointLight' element.protected static class
To create a 'feSpecularLighting' element.protected static class
To create a 'feSpotLight' element.protected static class
To create a 'feTile' element.protected static class
To create a 'feTurbulence' elementprotected static class
To create a 'filter' element.protected static class
To create a 'font' element.protected static class
To create a 'font-face' element.protected static class
To create a 'font-face-format' element.protected static class
To create a 'font-face-name' element.protected static class
To create a 'font-face-src' element.protected static class
To create a 'font-face-uri' element.protected static class
To create a 'foreignObject' element.protected static class
To create a 'g' element.protected static class
To create a 'glyph' element.protected static class
To create a 'glyphRef' element.protected static class
To create a 'hkern' element.protected static class
To create a 'image' element.protected static class
To create a 'linearGradient' element.protected static class
To create a 'line' element.protected static class
To create a 'marker' element.protected static class
To create a 'mask' element.protected static class
To create a 'metadata' element.protected static class
To create a 'missing-glyph' element.protected static class
To create a 'mpath' element.protected static class
To create a 'path' element.protected static class
To create a 'pattern' element.protected static class
To create a 'polygon' element.protected static class
To create a 'polyline' element.protected static class
To create a 'radialGradient' element.protected static class
To create a 'rect' element.protected static class
To create a 'script' element.protected static class
To create a 'set' element.protected static class
To create a 'stop' element.protected static class
To create a 'style' element.protected static class
To create an 'svg' element.protected static class
To create a 'switch' element.protected static class
To create a 'symbol' element.protected static class
To create a 'text' element.protected static class
To create a 'textPath' element.protected static class
To create a 'title' element.protected static class
To create a 'tref' element.protected static class
To create a 'tspan' element.protected static class
To create a 'use' element.protected static class
To create a 'view' element.protected static class
To create a 'vkern' element.Nested classes/interfaces inherited from class org.apache.batik.dom.ExtensibleDOMImplementation
ExtensibleDOMImplementation.ElementFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final DOMImplementation
The default instance of this class.protected static final String
The error messages bundle class name.static final String
The SVG namespace uri.protected static HashMap<String,
ExtensibleDOMImplementation.ElementFactory> The SVG element factories.Fields inherited from class org.apache.batik.dom.ExtensibleDOMImplementation
customFactories, customShorthandManagers, customValueManagers, extensions
Fields inherited from class org.apache.batik.dom.AbstractDOMImplementation
features, localizableSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCSSEngine
(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms) org.w3c.dom.css.CSSStyleDeclaration
Creates a style declaration.org.w3c.dom.css.CSSStyleSheet
createCSSStyleSheet
(String title, String media) DOM: ImplementsDOMImplementationCSS.createCSSStyleSheet(String,String)
.createDocument
(String namespaceURI, String qualifiedName, DocumentType doctype) DOM: ImplementsDOMImplementation.createDocument(String,String,DocumentType)
.Creates an DocumentEventSupport object suitable for use with this implementation.createElementNS
(AbstractDocument document, String namespaceURI, String qualifiedName) Implements the behavior of Document.createElementNS() for this DOM implementation.org.w3c.dom.stylesheets.StyleSheet
createStyleSheet
(Node n, HashMap<String, String> attrs) Creates a stylesheet from the data of an xml-stylesheet processing instruction or return null.org.w3c.dom.css.ViewCSS
Creates a ViewCSS.static DOMImplementation
Returns the default instance of this class.org.w3c.dom.css.CSSStyleSheet
Returns the user-agent stylesheet.protected void
Methods inherited from class org.apache.batik.dom.ExtensibleDOMImplementation
createCSSEngine, createDocumentType, getDomExtensions, registerCustomCSSShorthandManager, registerCustomCSSValueManager, registerCustomElementFactory
Methods inherited from class org.apache.batik.dom.AbstractDOMImplementation
createEventSupport, formatMessage, getFeature, getLocale, hasFeature, registerFeature, setLocale
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.DOMImplementation
getFeature, hasFeature
-
Field Details
-
SVG_NAMESPACE_URI
The SVG namespace uri.- See Also:
-
RESOURCES
The error messages bundle class name.- See Also:
-
factories
-
svg11Factories
The SVG element factories. -
DOM_IMPLEMENTATION
The default instance of this class.
-
-
Constructor Details
-
SVGDOMImplementation
public SVGDOMImplementation()Creates a new SVGDOMImplementation object.
-
-
Method Details
-
getDOMImplementation
Returns the default instance of this class. -
initLocalizable
protected void initLocalizable()- Overrides:
initLocalizable
in classAbstractDOMImplementation
-
createCSSEngine
public CSSEngine createCSSEngine(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms) - Specified by:
createCSSEngine
in classExtensibleDOMImplementation
-
createViewCSS
Creates a ViewCSS.- Specified by:
createViewCSS
in classExtensibleDOMImplementation
-
createDocument
public Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) throws DOMException DOM: ImplementsDOMImplementation.createDocument(String,String,DocumentType)
.- Specified by:
createDocument
in interfaceDOMImplementation
- Throws:
DOMException
-
createCSSStyleSheet
DOM: ImplementsDOMImplementationCSS.createCSSStyleSheet(String,String)
.- Specified by:
createCSSStyleSheet
in interfaceorg.w3c.dom.css.DOMImplementationCSS
-
createCSSStyleDeclaration
public org.w3c.dom.css.CSSStyleDeclaration createCSSStyleDeclaration()Creates a style declaration.- Specified by:
createCSSStyleDeclaration
in interfaceCSSStyleDeclarationFactory
- Returns:
- a CSSOMStyleDeclaration instance.
-
createStyleSheet
Creates a stylesheet from the data of an xml-stylesheet processing instruction or return null.- Specified by:
createStyleSheet
in interfaceStyleSheetFactory
-
getUserAgentStyleSheet
public org.w3c.dom.css.CSSStyleSheet getUserAgentStyleSheet()Returns the user-agent stylesheet. -
createElementNS
public Element createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName) Implements the behavior of Document.createElementNS() for this DOM implementation.- Overrides:
createElementNS
in classExtensibleDOMImplementation
-
createDocumentEventSupport
Creates an DocumentEventSupport object suitable for use with this implementation.- Overrides:
createDocumentEventSupport
in classAbstractDOMImplementation
-