Class SVGDOMImplementation

    • Field Detail

      • SVG_NAMESPACE_URI

        public static final java.lang.String SVG_NAMESPACE_URI
        The SVG namespace uri.
        See Also:
        Constant Field Values
      • RESOURCES

        protected static final java.lang.String RESOURCES
        The error messages bundle class name.
        See Also:
        Constant Field Values
      • DOM_IMPLEMENTATION

        protected static final org.w3c.dom.DOMImplementation DOM_IMPLEMENTATION
        The default instance of this class.
    • Constructor Detail

      • SVGDOMImplementation

        public SVGDOMImplementation()
        Creates a new SVGDOMImplementation object.
    • Method Detail

      • getDOMImplementation

        public static org.w3c.dom.DOMImplementation getDOMImplementation()
        Returns the default instance of this class.
      • createDocument

        public org.w3c.dom.Document createDocument​(java.lang.String namespaceURI,
                                                   java.lang.String qualifiedName,
                                                   org.w3c.dom.DocumentType doctype)
                                            throws org.w3c.dom.DOMException
        DOM: Implements DOMImplementation.createDocument(String,String,DocumentType).
        Specified by:
        createDocument in interface org.w3c.dom.DOMImplementation
        Throws:
        org.w3c.dom.DOMException
      • createCSSStyleSheet

        public org.w3c.dom.css.CSSStyleSheet createCSSStyleSheet​(java.lang.String title,
                                                                 java.lang.String media)
        DOM: Implements DOMImplementationCSS.createCSSStyleSheet(String,String).
        Specified by:
        createCSSStyleSheet in interface org.w3c.dom.css.DOMImplementationCSS
      • createStyleSheet

        public org.w3c.dom.stylesheets.StyleSheet createStyleSheet​(org.w3c.dom.Node n,
                                                                   java.util.HashMap<java.lang.String,​java.lang.String> attrs)
        Creates a stylesheet from the data of an xml-stylesheet processing instruction or return null.
        Specified by:
        createStyleSheet in interface StyleSheetFactory
      • getUserAgentStyleSheet

        public org.w3c.dom.css.CSSStyleSheet getUserAgentStyleSheet()
        Returns the user-agent stylesheet.
      • createElementNS

        public org.w3c.dom.Element createElementNS​(AbstractDocument document,
                                                   java.lang.String namespaceURI,
                                                   java.lang.String qualifiedName)
        Implements the behavior of Document.createElementNS() for this DOM implementation.
        Overrides:
        createElementNS in class ExtensibleDOMImplementation