|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.xml.schema.ReaderStack
public class ReaderStack
Mains a pushdown stack of SchemaReaders for use in StructureWalker to resolve qualified names and find GobalDef instances from the GlobalDefMap.
| Constructor Summary | |
|---|---|
ReaderStack(GlobalDefMap globalDefMap)
Constructor for the ReaderStack object |
|
| Method Summary | |
|---|---|
void |
clear()
NOT YET DOCUMENTED |
boolean |
contains(String uri)
NOT YET DOCUMENTED |
GlobalDef |
getGlobalDef(String typeName)
|
int |
getIndexOfItem(String uri)
Gets the indexOfItem attribute of the ReaderStack object |
SchemaReader |
getItem(String uri)
Finds a particular Item from the items list |
SchemaReader |
getItemAt(int index)
Gets the itemAt attribute of the ReaderStack object |
List |
getItems()
Returns a list of Item instances - one for each element in the choice ReaderStack |
List |
getItemUris()
Gets the itemUris attribute of the ReaderStack object |
Namespace |
getNamespaceForPrefix(String prefix)
Search the stack (moving from local to more global SchemaReaders) for the namespace belonging to the given prefix. |
SchemaReader |
getReaderForPrefix(String prefix)
Traverse the stack to find a SchemaReader that defines a namespace for the given prefix. |
static String |
getReaderUri(SchemaReader reader)
Gets the readerUri attribute of the ReaderStack class |
SchemaReader |
getTos()
Gets the tos attribute of the ReaderStack object |
SchemaReader |
pop()
NOT YET DOCUMENTED |
static void |
prtln(String s)
NOT YET DOCUMENTED |
void |
push(SchemaReader reader)
NOT YET DOCUMENTED |
int |
size()
NOT YET DOCUMENTED |
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 ReaderStack(GlobalDefMap globalDefMap)
| Method Detail |
|---|
public SchemaReader getReaderForPrefix(String prefix)
public Namespace getNamespaceForPrefix(String prefix)
public SchemaReader getItemAt(int index)
index - NOT YET DOCUMENTED
public void push(SchemaReader reader)
reader - NOT YET DOCUMENTEDpublic SchemaReader getTos()
public GlobalDef getGlobalDef(String typeName)
public SchemaReader pop()
public int size()
public List getItems()
public boolean contains(String uri)
uri - NOT YET DOCUMENTED
public List getItemUris()
public static String getReaderUri(SchemaReader reader)
reader - NOT YET DOCUMENTED
public void clear()
public int getIndexOfItem(String uri)
uri - NOT YET DOCUMENTED
public SchemaReader getItem(String uri)
uri - NOT YET DOCUMENTED
public String toString()
toString in class Objectpublic static void prtln(String s)
s - NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||