|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DTD content model handler interface defines callback methods to report information items in DTD content models of an element declaration. Parser components interested in DTD content model information implement this interface and are registered as the DTD content model handler on the DTD content model source.
XMLDTDHandler
Field Summary | |
static short |
OCCURS_ONE_OR_MORE
Deprecated. This occurrence count limits the element, choice, or sequence in a children content model to one or more. |
static short |
OCCURS_ZERO_OR_MORE
Deprecated. This occurrence count limits the element, choice, or sequence in a children content model to zero or more. |
static short |
OCCURS_ZERO_OR_ONE
Deprecated. This occurrence count limits the element, choice, or sequence in a children content model to zero or one. |
static short |
SEPARATOR_CHOICE
Deprecated. A choice separator for children and mixed content models. |
static short |
SEPARATOR_SEQUENCE
Deprecated. A sequence separator for children content models. |
Method Summary | |
void |
any(Augmentations augmentations)
Deprecated. A content model of ANY. |
void |
element(String elementName,
Augmentations augmentations)
Deprecated. A referenced element in a mixed or children content model. |
void |
empty(Augmentations augmentations)
Deprecated. A content model of EMPTY. |
void |
endContentModel(Augmentations augmentations)
Deprecated. The end of a content model. |
void |
endGroup(Augmentations augmentations)
Deprecated. The end of a group for mixed or children content models. |
void |
occurrence(short occurrence,
Augmentations augmentations)
Deprecated. The occurrence count for a child in a children content model or for the mixed content model group. |
void |
pcdata(Augmentations augmentations)
Deprecated. The appearance of "#PCDATA" within a group signifying a mixed content model. |
void |
separator(short separator,
Augmentations augmentations)
Deprecated. The separator between choices or sequences of a mixed or children content model. |
void |
startContentModel(String elementName,
Augmentations augmentations)
Deprecated. The start of a content model. |
void |
startGroup(Augmentations augmentations)
Deprecated. A start of either a mixed or children content model. |
Field Detail |
public static final short OCCURS_ONE_OR_MORE
For example:
<!ELEMENT elem (foo+)>
OCCURS_ZERO_OR_ONE
,
OCCURS_ZERO_OR_MORE
,
Constant Field Valuespublic static final short OCCURS_ZERO_OR_MORE
For example:
<!ELEMENT elem (foo*)> <!ELEMENT elem (#PCDATA|foo|bar)*>
OCCURS_ZERO_OR_ONE
,
OCCURS_ONE_OR_MORE
,
Constant Field Valuespublic static final short OCCURS_ZERO_OR_ONE
For example:
<!ELEMENT elem (foo?)>
OCCURS_ZERO_OR_MORE
,
OCCURS_ONE_OR_MORE
,
Constant Field Valuespublic static final short SEPARATOR_CHOICE
For example:
<!ELEMENT elem (foo|bar)> <!ELEMENT elem (foo|bar+)> <!ELEMENT elem (foo|bar|baz)> <!ELEMENT elem (#PCDATA|foo|bar)*>
SEPARATOR_SEQUENCE
,
Constant Field Valuespublic static final short SEPARATOR_SEQUENCE
<!ELEMENT elem (foo,bar)> <!ELEMENT elem (foo,bar*)> <!ELEMENT elem (foo,bar,baz)>
SEPARATOR_CHOICE
,
Constant Field ValuesMethod Detail |
public void any(Augmentations augmentations) throws XNIException
augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.empty(weblogic.apache.xerces.xni.Augmentations)
,
startGroup(weblogic.apache.xerces.xni.Augmentations)
public void element(String elementName, Augmentations augmentations) throws XNIException
elementName
- The name of the referenced element.augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.public void empty(Augmentations augmentations) throws XNIException
augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.any(weblogic.apache.xerces.xni.Augmentations)
,
startGroup(weblogic.apache.xerces.xni.Augmentations)
public void endContentModel(Augmentations augmentations) throws XNIException
augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.public void endGroup(Augmentations augmentations) throws XNIException
augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.public void occurrence(short occurrence, Augmentations augmentations) throws XNIException
occurrence
- The occurrence count for the last element
or group.augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.OCCURS_ZERO_OR_ONE
,
OCCURS_ZERO_OR_MORE
,
OCCURS_ONE_OR_MORE
public void pcdata(Augmentations augmentations) throws XNIException
startGroup()
.
augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.startGroup(weblogic.apache.xerces.xni.Augmentations)
public void separator(short separator, Augmentations augmentations) throws XNIException
separator
- The type of children separator.augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.SEPARATOR_CHOICE
,
SEPARATOR_SEQUENCE
public void startContentModel(String elementName, Augmentations augmentations) throws XNIException
elementName
- The name of the element.augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.public void startGroup(Augmentations augmentations) throws XNIException
pcdata()
method. A children content model will
contain additional groups and/or elements.
augmentations
- Additional information that may include infoset
augmentations.
XNIException
- Thrown by handler to signal an error.any(weblogic.apache.xerces.xni.Augmentations)
,
empty(weblogic.apache.xerces.xni.Augmentations)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |