Class XMLWriterNSImpl.Element

java.lang.Object
com.topologi.diffx.xml.XMLWriterNSImpl.Element
Enclosing class:
XMLWriterNSImpl

private static final class XMLWriterNSImpl.Element extends Object
A light object to keep track of the elements
Version:
31 August 2004
  • Field Details

    • qName

      private final String qName
      The fully qualified name of the element.
    • hasChildren

      private final boolean hasChildren
      Indicates whether the element has children.
    • mappings

      private final List<XMLWriterNSImpl.PrefixMapping> mappings
      A list of prefix mappings for this element.

      Can be null.

  • Constructor Details

    • Element

      public Element(String qName, boolean hasChildren, List<XMLWriterNSImpl.PrefixMapping> mappings)
      Creates a new Element.
      Parameters:
      qName - The qualified name of the element.
      hasChildren - Whether the element has children.
      mappings - The list of prefix mapping if any.