Package com.topologi.diffx.xml.sax
Class XMLWriterSAX.Element
java.lang.Object
com.topologi.diffx.xml.sax.XMLWriterSAX.Element
- Enclosing class:
- XMLWriterSAX
A light object to keep track of the elements
- Version:
- 26 May 2005
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanIndicates whether the element has children.private final List<XMLWriterSAX.PrefixMapping>A list of prefix mappings for this element.private final StringThe local name of the element.private final StringThe namespace URI of the element. -
Constructor Summary
ConstructorsConstructorDescriptionElement(String uri, String name, boolean hasChildren, List<XMLWriterSAX.PrefixMapping> mappings) Creates a new Element. -
Method Summary
-
Field Details
-
uri
The namespace URI of the element. -
name
The local name of the element. -
mappings
A list of prefix mappings for this element.Can be
null. -
hasChildren
private final boolean hasChildrenIndicates 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.
-