static final class XmlJzCfgAnalyzer.XmlStructureData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType
Contains all elements with its
XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType.occurrence . |
(package private) static class |
XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2
Contains info about equals element types.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.TreeMap<java.lang.String,XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType> |
allElementTypes
Stores all node types per tagName, with its occurrence in the structure file.
|
(package private) IndexMultiTable<java.lang.String,XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2> |
allElementTypes2
Stores all node types with occurrence more as one time, with tag name
but with extra entry for any different content (really different type with same tag).
|
(package private) java.util.Map<java.lang.String,XmlJzCfgAnalyzer.XmlStructureNode> |
cfgSubtreeByName
Stores all node types for cfg subtree with the subtree name as key.
|
(package private) java.util.Map<java.lang.String,XmlJzCfgAnalyzer.XmlStructureNode> |
cfgSubtreeList
Stores the cfg subtree in the usage order.
|
Constructor and Description |
---|
XmlStructureData() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addStructureNodeOccurence(XmlJzCfgAnalyzer.XmlStructureNode node)
Adds the occurrence of a sub node in the struct data.
|
protected void |
checkCfgSubtree() |
private void |
checkStructureNodeOccurence(XmlJzCfgAnalyzer.XmlStructureNode node)
Checks whether a element type is already existing with a score.
3/4 of all found attributes and sub elements are identically with another existing element
with the same tag name.
|
private void |
checkUsageSubtreenode(XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2 cfgSubtreeNeeds,
XmlJzCfgAnalyzer.XmlStructureNode node,
int recursiveCt) |
private void |
createCfgSubtree(XmlJzCfgAnalyzer.XmlStructureNode node,
char nameModif) |
private void |
processDependingCfgSubtree(XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2 cfgSubtree,
int recursionCt) |
java.util.TreeMap<java.lang.String,XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType> allElementTypes
IndexMultiTable<java.lang.String,XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2> allElementTypes2
java.util.Map<java.lang.String,XmlJzCfgAnalyzer.XmlStructureNode> cfgSubtreeByName
java.util.Map<java.lang.String,XmlJzCfgAnalyzer.XmlStructureNode> cfgSubtreeList
private void createCfgSubtree(XmlJzCfgAnalyzer.XmlStructureNode node, char nameModif)
void addStructureNodeOccurence(XmlJzCfgAnalyzer.XmlStructureNode node)
node
- private void checkStructureNodeOccurence(XmlJzCfgAnalyzer.XmlStructureNode node)
XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2
in allElementTypes2
is supplemented (XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2.representative
.
If the node is a new one, #createCfgSubtree(XmlStructureNode, char)
is called.node
- protected void checkCfgSubtree()
private void processDependingCfgSubtree(XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2 cfgSubtree, int recursionCt)
private void checkUsageSubtreenode(XmlJzCfgAnalyzer.XmlStructureData.CfgSubtreeType2 cfgSubtreeNeeds, XmlJzCfgAnalyzer.XmlStructureNode node, int recursiveCt)