|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
From the XML Specifications [Section 3.2 Element Type Declarations] - The element structure of an XML document may, for validation purposes, be constrained using element type and attribute-list declarations. An element type declaration constrains the element's content.
Method Summary | |
ContentSpec |
getContentSpec()
Returns the content spec for this element declaration. |
java.lang.String |
getElementName()
Returns the element name for this element declaration. |
void |
setContentSpec(ContentSpec contentSpec)
Sets the content spec for this element declaration. |
void |
setElementName(java.lang.String elemName)
Sets the element name for this element declaration. |
Method Detail |
public java.lang.String getElementName()
public void setElementName(java.lang.String elemName)
elemName
- The element name.public ContentSpec getContentSpec()
public void setContentSpec(ContentSpec contentSpec)
contentSpec
- The content spec.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |