Class XMLWriterSAX.Element

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

private static final class XMLWriterSAX.Element extends Object
A light object to keep track of the elements
Version:
26 May 2005
  • Field Details

    • uri

      private final String uri
      The namespace URI of the element.
    • name

      private final String name
      The local name of the element.
    • mappings

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

      Can be null.

    • hasChildren

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

    • Element

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