Class ExtensibleElementWrapper

    • Constructor Detail

      • ExtensibleElementWrapper

        public ExtensibleElementWrapper​(Factory factory,
                                        QName qname)
        Deprecated.
    • Method Detail

      • addExtension

        public <T extends Element> T addExtension​(QName qname)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Adds an individual extension element
        Specified by:
        addExtension in interface ExtensibleElement
        Parameters:
        qname - An extension element to create
        Returns:
        The newly created extension element
      • addExtension

        public <T extends Element> T addExtension​(String namespace,
                                                  String localPart,
                                                  String prefix)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Adds an individual extension element
        Specified by:
        addExtension in interface ExtensibleElement
        Parameters:
        namespace - An XML namespace
        localPart - A localname
        prefix - A XML namespace prefix
        Returns:
        The newly creatd extension element
      • addSimpleExtension

        public Element addSimpleExtension​(QName qname,
                                          String value)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Adds a simple extension (text content only)
        Specified by:
        addSimpleExtension in interface ExtensibleElement
        Parameters:
        qname - An XML QName
        value - The simple text value of the element
        Returns:
        The newly created extension element
      • addSimpleExtension

        public Element addSimpleExtension​(String namespace,
                                          String localPart,
                                          String prefix,
                                          String value)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Adds a simple extension (text content only)
        Specified by:
        addSimpleExtension in interface ExtensibleElement
        Parameters:
        namespace - An XML namespace
        localPart - A local name
        prefix - A namespace prefix
        value - The simple text value
        Returns:
        The newly created extension element
      • getExtension

        public <T extends Element> T getExtension​(QName qname)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Returns the first extension element with the XML qualified name
        Specified by:
        getExtension in interface ExtensibleElement
        Parameters:
        qname - An XML QName
        Returns:
        An extension with the specified qname
      • getExtension

        public <T extends Element> T getExtension​(Class<T> _class)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Find an extension by Class rather than QName
        Specified by:
        getExtension in interface ExtensibleElement
        Parameters:
        _class - The implementation class of the extension
        Returns:
        The extension element
      • getExtensions

        public List<Element> getExtensions​(String uri)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Returns the complete set of extension elements using the specified XML Namespace URI
        Specified by:
        getExtensions in interface ExtensibleElement
        Parameters:
        uri - A namespace URI
        Returns:
        A listing of extensions using the specified XML namespace
      • getExtensions

        public <T extends ElementList<T> getExtensions​(QName qname)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Returns the complete set of extension elements using the specified XML qualified name
        Specified by:
        getExtensions in interface ExtensibleElement
        Parameters:
        qname - An XML QName
        Returns:
        A listing of extensions with the specified QName
      • getSimpleExtension

        public String getSimpleExtension​(QName qname)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Gets the value of a simple extension
        Specified by:
        getSimpleExtension in interface ExtensibleElement
        Parameters:
        qname - An XML QName
        Returns:
        The string value of the extension
      • getSimpleExtension

        public String getSimpleExtension​(String namespace,
                                         String localPart,
                                         String prefix)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Gets the value of a simple extension
        Specified by:
        getSimpleExtension in interface ExtensibleElement
        Parameters:
        namespace - An XML namespace
        localPart - A localname
        prefix - A namespace prefix
        Returns:
        The string value of the extension
      • addExtension

        public <T extends Element> T addExtension​(QName qname,
                                                  QName before)
        Deprecated.
        Description copied from interface: ExtensibleElement
        Adds an individual extension element
        Specified by:
        addExtension in interface ExtensibleElement
        Parameters:
        qname - An extension element to create
        Returns:
        The newly created extension element