|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.compiler.ElementInfo
Information about a particular Element. Several fields are also kept for code generators, although this is not do in a general way.
Inner Class Summary | |
class |
ElementInfo.AccessorInfo
Information about an accessor method (getElementXXX, getTagXXX) to create for this element. |
Constructor Summary | |
ElementInfo(Element element,
int nodeSize,
int subTreeNodeSize,
MetaData metaData,
XMLCDocument xmlcDoc)
Constructor. |
Method Summary | |
boolean |
createSetText()
Should a setText method be generated for this element? |
ElementInfo.AccessorInfo[] |
getAccessors()
Get the list of accessors to create. |
int |
getAdjustedSubTreeNodeSize()
|
String |
getClassName()
Get the Java class name of the element. |
Element |
getElement()
Get the element. |
String[] |
getElementClassNames()
Get the element class (attribute) names |
String |
getElementName()
Get the element name (name attribute in HTML). |
String |
getJavaId()
Get the Java id, or null if there isn't one. |
int |
getNodeSize()
|
int |
getNumAccessMethods()
Get the total number of access methods for this element. |
String |
getReferenceName()
Get the reference name for this element. |
int |
getSubTreeNodeSize()
|
String |
getXmlId()
Get the XML id, or null if there isn't one. |
boolean |
hasInvalidJavaId()
Is the element id an invalid Java identifier? |
void |
setAdjustedSubTreeNodeSize(int size)
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ElementInfo(Element element, int nodeSize, int subTreeNodeSize, MetaData metaData, XMLCDocument xmlcDoc)
Method Detail |
public Element getElement()
public String getClassName()
public String getReferenceName()
public String getXmlId()
public String getJavaId()
public String[] getElementClassNames()
public String getElementName()
public boolean hasInvalidJavaId()
public int getNumAccessMethods()
public ElementInfo.AccessorInfo[] getAccessors()
public boolean createSetText()
public int getNodeSize()
public int getSubTreeNodeSize()
public int getAdjustedSubTreeNodeSize()
public void setAdjustedSubTreeNodeSize(int size)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |