All Known Implementing Classes:
XMLDTDLoader, DOMParser, DOMAddLines, DOMParserImpl, XNI2SAX, XMLDocumentParser, Counter, PSVIParser, DOMASBuilderImpl, AbortHandler, SAXParser, DOMParserSaveEncoding, DefaultXMLDocumentHandler, Writer, RevalidatingDOMParser, SchemaDOMParser, JAXPSAXParser, CSVParser, AbstractDOMParser, XMLDTDProcessor, DTDGrammar, DocumentTracer, AbstractXMLDocumentParser, BalancedDTDGrammar, DTDParser, AbstractSAXParser, XMLDTDContentModelFilter, XML11DTDProcessor
Andy
- Clark, IBM$
- Id: XMLDTDContentModelHandler.java 447247 2006-09-18 05:23:52Z mrglavas $Field Summary | ||
---|---|---|
public static final short | SEPARATOR_CHOICE | A choice separator for children and mixed content models. This
separator is used to specify that the allowed child is one of a
collection.
For example: <!ELEMENT elem (foo|bar)> <!ELEMENT elem (foo|bar+)> <!ELEMENT elem (foo|bar|baz)> <!ELEMENT elem (#PCDATA|foo|bar)*>
|
public static final short | SEPARATOR_SEQUENCE | A sequence separator for children content models. This separator
is used to specify that the allowed children must follow in the
specified sequence.
<!ELEMENT elem (foo,bar)> <!ELEMENT elem (foo,bar*)> <!ELEMENT elem (foo,bar,baz)>
|
public static final short | OCCURS_ZERO_OR_ONE | This occurrence count limits the element, choice, or sequence in a
children content model to zero or one. In other words, the child
is optional.
For example: <!ELEMENT elem (foo?)> |
public static final short | OCCURS_ZERO_OR_MORE | This occurrence count limits the element, choice, or sequence in a
children content model to zero or more. In other words, the child
may appear an arbitrary number of times, or not at all. This
occurrence count is also used for mixed content models.
For example: <!ELEMENT elem (foo*)> <!ELEMENT elem (#PCDATA|foo|bar)*>
|
public static final short | OCCURS_ONE_OR_MORE | This occurrence count limits the element, choice, or sequence in a
children content model to one or more. In other words, the child
may appear an arbitrary number of times, but must appear at least
once.
For example: <!ELEMENT elem (foo+)> |
Method from org.apache.xerces.xni.XMLDTDContentModelHandler Summary: |
---|
any, element, empty, endContentModel, endGroup, getDTDContentModelSource, occurrence, pcdata, separator, setDTDContentModelSource, startContentModel, startGroup |
Method from org.apache.xerces.xni.XMLDTDContentModelHandler Detail: |
---|
|
|
|
|
|
|
|
startGroup() . |
|
|
|
pcdata() method. A children content model will
contain additional groups and/or elements. |