|
|||||||||
| Home >> All >> org >> merlotxml >> util >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.merlotxml.util.xml
Interface DTDContentSpec

- public interface DTDContentSpec
Interface to specify a ContentSpecification
This is used to describe the content specification of what a DTD element can contain.
The types this can return are ANY, EMPTY, PCDATA, GROUP where GROUP type specs will have a tree of ContentSpecNodes describing what's in the content specification
- Version:
- $Id: DTDContentSpec.java,v 1.1.1.1 2001/07/02 15:41:28 flament Exp $
| Method Summary | |
DTDContentSpecNode |
getRootNode()
returns the root node of the spec tree or null if this doesn't apply to this type |
int |
getType()
Returns the type of this content specification |
java.lang.String |
toString()
returns the content spec as a XML standard string (i.e. |
| Method Detail |
getType
public int getType()
- Returns the type of this content specification
getRootNode
public DTDContentSpecNode getRootNode()
- returns the root node of the spec tree or null if this doesn't
apply to this type
toString
public java.lang.String toString()
- returns the content spec as a XML standard string (i.e. "(el1?, e12+, (el3 | el4 | el5)*)"
|
|||||||||
| Home >> All >> org >> merlotxml >> util >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC