public class ReaderStack
extends java.lang.Object
Constructor and Description |
---|
ReaderStack(GlobalDefMap globalDefMap)
Constructor for the ReaderStack object
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
NOT YET DOCUMENTED
|
boolean |
contains(java.lang.String uri)
NOT YET DOCUMENTED
|
GlobalDef |
getGlobalDef(java.lang.String typeName) |
int |
getIndexOfItem(java.lang.String uri)
Gets the indexOfItem attribute of the ReaderStack object
|
SchemaReader |
getItem(java.lang.String uri)
Finds a particular Item from the items list
|
SchemaReader |
getItemAt(int index)
Gets the itemAt attribute of the ReaderStack object
|
java.util.List |
getItems()
Returns a list of Item instances - one for each element in the choice ReaderStack
|
java.util.List |
getItemUris()
Gets the itemUris attribute of the ReaderStack object
|
org.dom4j.Namespace |
getNamespaceForPrefix(java.lang.String prefix)
Search the stack (moving from local to more global SchemaReaders) for the namespace
belonging to the given prefix.
|
SchemaReader |
getReaderForPrefix(java.lang.String prefix)
Traverse the stack to find a SchemaReader that defines a namespace for the given prefix.
|
static java.lang.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(java.lang.String s)
NOT YET DOCUMENTED
|
void |
push(SchemaReader reader)
NOT YET DOCUMENTED
|
int |
size()
NOT YET DOCUMENTED
|
java.lang.String |
toString()
Description of the Method
|
public ReaderStack(GlobalDefMap globalDefMap)
public SchemaReader getReaderForPrefix(java.lang.String prefix)
public org.dom4j.Namespace getNamespaceForPrefix(java.lang.String prefix)
public SchemaReader getItemAt(int index)
index
- NOT YET DOCUMENTEDpublic void push(SchemaReader reader)
reader
- NOT YET DOCUMENTEDpublic SchemaReader getTos()
public GlobalDef getGlobalDef(java.lang.String typeName)
public SchemaReader pop()
public int size()
public java.util.List getItems()
public boolean contains(java.lang.String uri)
uri
- NOT YET DOCUMENTEDpublic java.util.List getItemUris()
public static java.lang.String getReaderUri(SchemaReader reader)
reader
- NOT YET DOCUMENTEDpublic void clear()
public int getIndexOfItem(java.lang.String uri)
uri
- NOT YET DOCUMENTEDpublic SchemaReader getItem(java.lang.String uri)
uri
- NOT YET DOCUMENTEDpublic java.lang.String toString()
toString
in class java.lang.Object
public static void prtln(java.lang.String s)
s
- NOT YET DOCUMENTED