|
Matra DTD Parser 0.8b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines an Element Type declaration.
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. |
String |
getElementName()
Returns the element name for this element declaration. |
void |
setContentSpec(ContentSpec contentSpec)
Sets the content spec for this element declaration. |
void |
setElementName(String elemName)
Sets the element name for this element declaration. |
Method Detail |
public String getElementName()
setElementName(java.lang.String)
public void setElementName(String elemName)
elemName
- The element name.getElementName()
public ContentSpec getContentSpec()
setContentSpec(com.conradroche.dtd.decl.elem.ContentSpec)
public void setContentSpec(ContentSpec contentSpec)
contentSpec
- The content spec.getContentSpec()
|
Matra DTD Parser 0.8b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |