|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.schema.SchemaNodeMap
public class SchemaNodeMap
Map structure holding 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).
Nested Class Summary | |
---|---|
class |
SchemaNodeMap.DocOrderComparator
Comparator to sort the keyMap in document order. |
Constructor Summary | |
---|---|
SchemaNodeMap()
Constructor for the SchemaNodeMap object |
Method Summary | |
---|---|
boolean |
containsKey(String key)
Description of the Method |
void |
destroy()
Should release resources and call the finalize method. |
List |
getKeys()
Method to retrieve the list of names used to identify desired values. |
List |
getKeys(short nodeType)
Method to retrieve the list of names used to identify desired values of a particular type. |
Object |
getValue(String path)
Accessor method for retrieving a specific named GlobalDef. |
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(String path,
SchemaNode schemaNode)
Setter method for updating a specific named value. |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SchemaNodeMap()
Method Detail |
---|
public boolean init()
public void destroy()
public void setMap()
public List getKeys()
public boolean containsKey(String key)
key
- Description of the Parameter
public List getKeys(short nodeType)
nodeType
- Description of the Parameter
public List getValues()
public Object getValue(String path)
path
- Description of the Parameter
public void setValue(String path, SchemaNode schemaNode)
path
- The new value valueschemaNode
- The new value valuepublic String toString()
toString
in class Object
public static void setDebug(boolean d)
d
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |