public class SchemaNodeMap
extends java.lang.Object
SchemaNode
instances,
keyed by XPaths to the Nodes.All Nodes (Elements & Attributes) defined by the Schema will be represented in the SchemaNodeMap. The keys of the SchemaNodeMap are normalized in the sense that there is only one entry for a repeating element (i.e., no Xpath key will contain indexing).
Modifier and Type | Class and Description |
---|---|
class |
SchemaNodeMap.DocOrderComparator
Comparator to sort the keyMap in document order.
|
Constructor and Description |
---|
SchemaNodeMap()
Constructor for the SchemaNodeMap object
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.String key)
Description of the Method
|
void |
destroy()
Should release resources and call the finalize method.
|
java.util.List |
getKeys()
Method to retrieve the list of names used to identify desired values.
|
java.util.List |
getKeys(short nodeType)
Method to retrieve the list of names used to identify desired values of a
particular type.
|
java.lang.Object |
getValue(java.lang.String path)
Accessor method for retrieving a specific named GlobalDef.
|
java.util.List |
getValues()
Method to retrieve the list of values stored in this map.
|
boolean |
init()
Should initialize members as required.
|
static void |
setDebug(boolean d)
Sets the debug attribute of the SchemaNodeMap class
|
void |
setMap()
Use this method to populate the XMLMap with the desired named
values.
|
void |
setValue(java.lang.String path,
SchemaNode schemaNode)
Setter method for updating a specific named value.
|
java.lang.String |
toString()
Description of the Method
|
public boolean init()
public void destroy()
public void setMap()
public java.util.List getKeys()
public boolean containsKey(java.lang.String key)
key
- Description of the Parameterpublic java.util.List getKeys(short nodeType)
nodeType
- Description of the Parameterpublic java.util.List getValues()
public java.lang.Object getValue(java.lang.String path)
path
- Description of the Parameterpublic void setValue(java.lang.String path, SchemaNode schemaNode)
path
- The new value valueschemaNode
- The new value valuepublic java.lang.String toString()
toString
in class java.lang.Object
public static void setDebug(boolean d)
d
- The new debug value