Class DOMOutputElement

  • All Implemented Interfaces:
    NamespaceContext

    public final class DOMOutputElement
    extends OutputElementBase
    Context object that holds information about an open element (one for which START_ELEMENT has been sent, but no END_ELEMENT)
    • Method Detail

      • createAndAttachChild

        protected DOMOutputElement createAndAttachChild​(Element element)
        Simplest factory method, which gets called when a 1-argument element output method is called. It is, then, assumed to use the default namespace. Will both create the child element and attach it to parent element, or lacking own owner document.
      • addToPool

        protected void addToPool​(DOMOutputElement poolHead)
        Method called to temporarily link this instance to a pool, to allow reusing of instances with the same reader.
      • getNameDesc

        public String getNameDesc()
        Specified by:
        getNameDesc in class OutputElementBase
        Returns:
        String presentation of the fully-qualified name, in "prefix:localName" format (no URI). Useful for error and debugging messages.
      • appendNode

        protected void appendNode​(Node n)
      • addAttribute

        protected void addAttribute​(String pname,
                                    String value)
      • addAttribute

        protected void addAttribute​(String uri,
                                    String qname,
                                    String value)
      • appendChild

        public void appendChild​(Node n)