Interface ExtensibleElement

    • Method Detail

      • getExtensions

        java.util.List<Element> getExtensions()
        Deprecated.
        Returns the complete set of extension elements
        Returns:
        a listing of extensions
      • getExtensions

        java.util.List<Element> getExtensions​(java.lang.String uri)
        Deprecated.
        Returns the complete set of extension elements using the specified XML Namespace URI
        Parameters:
        uri - A namespace URI
        Returns:
        A listing of extensions using the specified XML namespace
      • getExtensions

        <T extends Element> java.util.List<T> getExtensions​(javax.xml.namespace.QName qname)
        Deprecated.
        Returns the complete set of extension elements using the specified XML qualified name
        Parameters:
        qname - An XML QName
        Returns:
        A listing of extensions with the specified QName
      • getExtension

        <T extends Element> T getExtension​(javax.xml.namespace.QName qname)
        Deprecated.
        Returns the first extension element with the XML qualified name
        Parameters:
        qname - An XML QName
        Returns:
        An extension with the specified qname
      • addExtension

        <T extends ExtensibleElement> T addExtension​(Element extension)
        Deprecated.
        Adds an individual extension element
        Parameters:
        extension - An extension element to add
      • addExtension

        <T extends ExtensibleElement> T addExtension​(Element extension,
                                                     Element before)
        Deprecated.
        Adds an individual extension element before the specified element
      • addExtension

        <T extends Element> T addExtension​(javax.xml.namespace.QName qname)
        Deprecated.
        Adds an individual extension element
        Parameters:
        qname - An extension element to create
        Returns:
        The newly created extension element
      • addExtension

        <T extends Element> T addExtension​(javax.xml.namespace.QName qname,
                                           javax.xml.namespace.QName before)
        Deprecated.
        Adds an individual extension element
        Parameters:
        qname - An extension element to create
        Returns:
        The newly created extension element
      • addExtension

        <T extends Element> T addExtension​(java.lang.String namespace,
                                           java.lang.String localPart,
                                           java.lang.String prefix)
        Deprecated.
        Adds an individual extension element
        Parameters:
        namespace - An XML namespace
        localPart - A localname
        prefix - A XML namespace prefix
        Returns:
        The newly creatd extension element
      • addSimpleExtension

        Element addSimpleExtension​(javax.xml.namespace.QName qname,
                                   java.lang.String value)
        Deprecated.
        Adds a simple extension (text content only)
        Parameters:
        qname - An XML QName
        value - The simple text value of the element
        Returns:
        The newly created extension element
      • addSimpleExtension

        Element addSimpleExtension​(java.lang.String namespace,
                                   java.lang.String localPart,
                                   java.lang.String prefix,
                                   java.lang.String value)
        Deprecated.
        Adds a simple extension (text content only)
        Parameters:
        namespace - An XML namespace
        localPart - A local name
        prefix - A namespace prefix
        value - The simple text value
        Returns:
        The newly created extension element
      • getSimpleExtension

        java.lang.String getSimpleExtension​(javax.xml.namespace.QName qname)
        Deprecated.
        Gets the value of a simple extension
        Parameters:
        qname - An XML QName
        Returns:
        The string value of the extension
      • getSimpleExtension

        java.lang.String getSimpleExtension​(java.lang.String namespace,
                                            java.lang.String localPart,
                                            java.lang.String prefix)
        Deprecated.
        Gets the value of a simple extension
        Parameters:
        namespace - An XML namespace
        localPart - A localname
        prefix - A namespace prefix
        Returns:
        The string value of the extension
      • getExtension

        <T extends Element> T getExtension​(java.lang.Class<T> _class)
        Deprecated.
        Find an extension by Class rather than QName
        Parameters:
        _class - The implementation class of the extension
        Returns:
        The extension element