|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.compiler.ElementTable
Table of information about each element.
Constructor Summary | |
ElementTable(MetaData metaData,
XMLCDocument xmlcDoc)
Constructor. |
Method Summary | |
int |
getDocumentNodeSize()
Get the size of the document, in nodes. |
ElementInfo |
getElementInfo(Element element)
Look up an ElementInfo by Element. |
Iterator |
getElements()
Get a interator of all ElementInfo objects. |
Iterator |
getElementsByTagName(String tagName)
Get an iterator of ElementInfo entries by tag name. |
String |
getIdAttributeName(String tagName)
Get the id-attribute name for a tag. |
Iterator |
getInvalidElementIds()
Get an sorted iterator of element ids that are not legal Java identifiers, or null if all ids were legal. |
Iterator |
getJavaIdElements()
Get an iterator of all ElementInfo objects that have Java ids. |
Iterator |
getTagNames()
Get all tag names that were found in local-id-attribute mode. |
XMLCDocument |
getXMLCDocument()
Get the XMLCDocument object stored in the table. |
boolean |
isGlobalIdAttrMode()
Is there only one attribute name for all id attributes? |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ElementTable(MetaData metaData, XMLCDocument xmlcDoc) throws XMLCException
Method Detail |
public XMLCDocument getXMLCDocument()
public int getDocumentNodeSize()
public boolean isGlobalIdAttrMode()
public ElementInfo getElementInfo(Element element)
public Iterator getElements()
public Iterator getJavaIdElements()
public Iterator getElementsByTagName(String tagName)
public Iterator getTagNames()
public String getIdAttributeName(String tagName)
public Iterator getInvalidElementIds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |