static class XmlJzCfgAnalyzer.XmlStructureNode extends ZmlReader.ZmlNode
XmlJzReader
.
ZmlReader.ZmlNode.nodes
tree.
ZmlReader.ZmlNode.nodes
.
It means an instance presents not the content of the XML file but the structure. An instance of this contains the sum of all found attributes.
XmlJzCfgAnalyzer.writeCfgTemplate(File)
XmlCfgNodeBuilder<*>--nodes-->XmlCfgNodeBuilder <*> | +--attribs--->String
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
bDependencyChecked |
(package private) boolean |
bText
Set if at least one of the occurrences has a text content.
|
(package private) java.util.Map<java.lang.String,java.lang.String> |
nodesLocal
Only for test whether or not a node is found twice.
|
(package private) int |
nrofAttributes |
(package private) boolean |
onlySingle
Set if the node is only one time in all found trees.
|
(package private) java.lang.String |
sSubtreenode |
(package private) java.lang.String |
tagIdent
Tag name of the element as written in Java code, only identifier chars.
|
(package private) XmlJzCfgAnalyzer.XmlStructureData |
xmlStructData |
(package private) boolean |
XXXbDetermineWithParent |
attribs, attribsUnnamed, bNewAttributes, nameSpaces, nodes, parent, tag
Constructor and Description |
---|
XmlStructureNode(XmlJzCfgAnalyzer.XmlStructureNode parent,
java.lang.String tag,
XmlJzCfgAnalyzer.XmlStructureData xmlStructData) |
Modifier and Type | Method and Description |
---|---|
XmlJzCfgAnalyzer.XmlStructureNode |
addElement(java.lang.String tag)
Returns an instance to store the occurrence of a XML-element.
|
void |
addNamespace(java.lang.String key,
java.lang.String value) |
void |
setAttribute(java.lang.String namespacename)
It is invoked via reflection from
XmlJzCfgAnalyzer.newCfgReadStruct() |
void |
setTextOccurrence() |
java.lang.String |
toString() |
(package private) void |
writeData(java.lang.Appendable out,
int indent) |
(package private) void |
writeNodeData(java.lang.Appendable out,
int indent) |
addAttribute, addAttributeUnnamed, putSubnode
final java.lang.String tagIdent
java.lang.String sSubtreenode
boolean bText
boolean XXXbDetermineWithParent
boolean bDependencyChecked
boolean onlySingle
java.util.Map<java.lang.String,java.lang.String> nodesLocal
onlySingle
is set to false for this node.int nrofAttributes
final XmlJzCfgAnalyzer.XmlStructureData xmlStructData
XmlStructureNode(XmlJzCfgAnalyzer.XmlStructureNode parent, java.lang.String tag, XmlJzCfgAnalyzer.XmlStructureData xmlStructData)
public XmlJzCfgAnalyzer.XmlStructureNode addElement(java.lang.String tag)
XmlJzCfgAnalyzer.newCfgReadStruct()
tag
- public void addNamespace(java.lang.String key, java.lang.String value)
public void setAttribute(java.lang.String namespacename)
XmlJzCfgAnalyzer.newCfgReadStruct()
tag
- public void setTextOccurrence()
void writeNodeData(java.lang.Appendable out, int indent) throws java.io.IOException
java.io.IOException
void writeData(java.lang.Appendable out, int indent) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object