public static class XmlCfg.XmlCfgNode
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| (package private) java.util.Map<java.lang.String,DataAccess.IntegerIx> | allArgNamesArgument names from attributes which are used for the new_<&element>
 but also 4 possible standard argument names: tag, name, value, text. | 
| (package private) java.util.Map<java.lang.String,XmlCfg.AttribDstCheck> | attribsKey (attribute name with xmlns:name) and reflection path to store the attribute value. | 
| private java.util.Map<java.lang.String,XmlCfg.AttribDstCheck> | attribsForCheckIf not null, contains attribute names which's name and value are used to build the key to found the proper xml noce in the config file. | 
| (package private) DataAccess.DatapathElement | attribsUnspecIf set, the attrib dst for not found attributes to store in a common way. | 
| (package private) boolean | bCheckAttributeNodeThe first node in some equal nodes in cfg, which determines the attributes used for check. | 
| (package private) boolean | bListtrue then this element is stored with more as one instance. | 
| (package private) boolean | bStoreAttribsInNewContentTrue if the value of attributes should be stored in the new content. | 
| (package private) XmlCfg | cfgBack reference to the whole config. | 
| (package private) java.lang.String | cfgSubtreeName | 
| (package private) DataAccess.DatapathElement | contentStorePathReflection path to store the content as String. | 
| (package private) java.lang.String | dstClassName | 
| (package private) DataAccess.DatapathElement | elementFinishPathReflection path of usual an operation which is called on end of the node. | 
| (package private) DataAccess.DatapathElement | elementStorePathReflection path either to store the content of the node
 or also to get an instance as "sub node" to store the content. | 
| (package private) DataAccess.DatapathElement | nameSpaceDefIf not null, the attrib dst for name space definition. | 
| private XmlCfg.XmlCfgNode | parentParent node, to navigate in debug, to store this node if  attribsForCheckare present. | 
| (package private) java.util.Map<java.lang.String,XmlCfg.XmlCfgNode> | subnodesKey (tag name with xmlns:name) and configuration for a sub node. | 
| (package private) java.lang.CharSequence | tag | 
| Constructor and Description | 
|---|
| XmlCfgNode(XmlCfg.XmlCfgNode parent,
          XmlCfg cfg,
          java.lang.CharSequence tag) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAttribStorePath(java.lang.String key,
                  java.lang.String sAttrValue)This method is invoked from the xml configuration reader to create a new attribute entry for the found attribute. | 
| (package private) void | addFromSubtree(XmlCfg.XmlCfgNode subtree)Adds the elements from a given <xmlinput:subtree ... in the xmlcfg.xml to the used xmlcfg. | 
| (package private) void | addSubnode(java.lang.String key,
          XmlCfg.XmlCfgNode node) | 
| XmlCfg.XmlCfgNode | addSubTree(java.lang.CharSequence name)Invoked via reflection from  XmlCfg.newCfgCfg()-given configuration. | 
| private boolean | cmpDataAccess(java.lang.CharSequence tag,
             java.lang.String what,
             DataAccess.DatapathElement d1,
             DataAccess.DatapathElement d2,
             LogMessage log) | 
| boolean | cmpNode(XmlCfg.XmlCfgNode nodeCmp,
       LogMessage log)This operation is only a helper to check whether the subtree entry is okay for manual changes. | 
| (package private) XmlCfg.XmlCfgNode | newElement(java.lang.CharSequence name)This method is invoked from the xml configuration reader to create a new subNode for a found elmeent. | 
| (package private) void | setContentStorePath(java.lang.String dstPath)This method is invoked from the xml configuration reader to create a DataAccess element for the content of the node.. | 
| void | setFinishElementPath(java.lang.String dstPath)Sets the path for the "set element" invocation see  elementFinishPath. | 
| void | setList() | 
| void | setNameSpaceStorePath(java.lang.String dstPath)Set the dataAccess for storing a namespace definition. | 
| void | setNewElementPath(java.lang.String dstPath)Sets the path for the "new element" invocation see  elementStorePath. | 
| java.lang.String | toString() | 
final XmlCfg cfg
XmlCfg.xmlnsAssign is used to evaluate attributes. 
 The nameSpace is singular for the whole config.private final XmlCfg.XmlCfgNode parent
attribsForCheck are present.DataAccess.DatapathElement elementStorePath
DataAccess.DatapathElement#args contains the arguments for new_...(...). 
 This comes from the textual given expression. This values are necessary to store in the created class, but final.DataAccess.DatapathElement elementFinishPath
</tag> or also on /> if the node has not further sub nodes.
 This operation can be sensible, if the data for the node should be post-prepared if all information inside the node are available.
 This element can be null if the store path is not necessary.boolean bList
java.util.Map<java.lang.String,DataAccess.IntegerIx> allArgNames
elementStorePathboolean bCheckAttributeNode
boolean bStoreAttribsInNewContent
elementStorePath
 It is set if at least one attributes with  a store path (with "!...") is found.private java.util.Map<java.lang.String,XmlCfg.AttribDstCheck> attribsForCheck
java.util.Map<java.lang.String,XmlCfg.AttribDstCheck> attribs
DataAccess.DatapathElement attribsUnspec
DataAccess.DatapathElement nameSpaceDef
java.util.Map<java.lang.String,XmlCfg.XmlCfgNode> subnodes
contentStorePath.DataAccess.DatapathElement contentStorePath
final java.lang.CharSequence tag
java.lang.String dstClassName
java.lang.String cfgSubtreeName
XmlCfgNode(XmlCfg.XmlCfgNode parent, XmlCfg cfg, java.lang.CharSequence tag)
public void setNewElementPath(java.lang.String dstPath)
                       throws java.text.ParseException
elementStorePath.dstPath - either a method or an access to a field.java.text.ParseExceptionpublic void setFinishElementPath(java.lang.String dstPath)
                          throws java.text.ParseException
elementFinishPath.dstPath - either a method or an access to a field.java.text.ParseExceptionpublic void setList()
public void addAttribStorePath(java.lang.String key,
                               java.lang.String sAttrValue)
                        throws java.text.ParseException
key - ns:name of the found attribute in the config.xmldstPath - datapath which is found as value in the config.xml. The datapath is used for the user.xml to store the attribute value.java.text.ParseExceptionpublic void setNameSpaceStorePath(java.lang.String dstPath)
                           throws java.text.ParseException
XmlJzCfgAnalyzer.
 For reading data from Xml usual a namespace definition should not be used in the read data (...?)dstPath - java.text.ParseExceptionvoid addFromSubtree(XmlCfg.XmlCfgNode subtree)
subnodes in the <xmlinput:subtree ... are also referred in original from this subnodes
 attribs does not contain the attribute. 
   It means the <xmlinput:subtree ... attribs are not meaningful if they exists in the current element already.
   The entry in the current element is then significant (the called store operation as attribute value).
   But both should be equivalent.
 setContentStorePath(String) is not taken from the subtree (ignored, 2024-05-12)
 elementStorePath and elementFinishPath are not taken from the subtree ( ignored, 2024-05-12).subtree - void addSubnode(java.lang.String key,
                XmlCfg.XmlCfgNode node)
XmlCfg.XmlCfgNode newElement(java.lang.CharSequence name)
name - ns:tag of the found element in the config.xmlvoid setContentStorePath(java.lang.String dstPath)
                  throws java.text.ParseException
text - should start with ! the dataPath to store the contentjava.text.ParseExceptionpublic XmlCfg.XmlCfgNode addSubTree(java.lang.CharSequence name)
XmlCfg.newCfgCfg()-given configuration. It is invoked on <xmlinput:subtree name="..." name - Value from attribute namepublic boolean cmpNode(XmlCfg.XmlCfgNode nodeCmp, LogMessage log)
nodeCmp - private boolean cmpDataAccess(java.lang.CharSequence tag,
                              java.lang.String what,
                              DataAccess.DatapathElement d1,
                              DataAccess.DatapathElement d2,
                              LogMessage log)
public java.lang.String toString()
toString in class java.lang.Object