Top Description Fields Constructors Methods
com.ctc.wstx.evt

public Class WDTD

extends DTDEventImpl
Class Inheritance
Imports
java.util.ArrayList, .List, javax.xml.stream.Location, javax.xml.stream.events.EntityDeclaration, .NotationDeclaration, org.codehaus.stax2.ri.evt.DTDEventImpl, com.ctc.wstx.dtd.DTDSubset

Event that contains all StAX accessible information read from internal and external DTD subsets.

Field Summary

Modifier and TypeField and Description
pack-priv List<EntityDeclaration>
pack-priv List<NotationDeclaration>
pack-priv final DTDSubset
mSubset

Internal DTD Object that contains combined information from internal and external subsets.

Inherited from org.codehaus.stax2.ri.evt.DTDEventImpl:
mDTDmFullTextmInternalSubsetmPublicIdmRootNamemSystemId

Constructor Summary

AccessConstructor and Description
public
WDTD(Location loc, String rootName, String sysId, String pubId, String intSubset, DTDSubset dtdSubset)

public
WDTD(Location loc, String rootName, String sysId, String pubId, String intSubset)

public
WDTD(Location loc, String rootName, String intSubset)

Constructor used when only partial information is available...

public
WDTD(Location loc, String fullText)

Method Summary

Modifier and TypeMethod and Description
public List<EntityDeclaration>
getEntities()

Overrides org.codehaus.stax2.ri.evt.DTDEventImpl.getEntities.

Implements javax.xml.stream.events.DTD.getEntities.

Return a List containing the general entities, both external and internal, declared in the DTD.

public List<NotationDeclaration>
getNotations()

Overrides org.codehaus.stax2.ri.evt.DTDEventImpl.getNotations.

Implements javax.xml.stream.events.DTD.getNotations.

Return a List containing the notations declared in the DTD.

Inherited from org.codehaus.stax2.ri.evt.DTDEventImpl:
doGetDocumentTypeDeclarationequalsgetDocumentTypeDeclarationgetEventTypegetInternalSubsetgetProcessedDTDgetPublicIdgetRootNamegetSystemIdhashCodewriteAsEncodedUnicodewriteUsing

Field Detail

mEntitiesback to summary
pack-priv List<EntityDeclaration> mEntities
mNotationsback to summary
pack-priv List<NotationDeclaration> mNotations
mSubsetback to summary
pack-priv final DTDSubset mSubset

Internal DTD Object that contains combined information from internal and external subsets.

Constructor Detail

WDTDback to summary
public WDTD(Location loc, String rootName, String sysId, String pubId, String intSubset, DTDSubset dtdSubset)
WDTDback to summary
public WDTD(Location loc, String rootName, String sysId, String pubId, String intSubset)
WDTDback to summary
public WDTD(Location loc, String rootName, String intSubset)

Constructor used when only partial information is available...

WDTDback to summary
public WDTD(Location loc, String fullText)

Method Detail

getEntitiesback to summary
public List<EntityDeclaration> getEntities()

Overrides org.codehaus.stax2.ri.evt.DTDEventImpl.getEntities.

Implements javax.xml.stream.events.DTD.getEntities.

Doc from javax.xml.stream.events.DTD.getEntities.

Return a List containing the general entities, both external and internal, declared in the DTD. This list must contain EntityDeclaration events.

Returns:List<EntityDeclaration>

an unordered list of EntityDeclaration events

Annotations
@Override
getNotationsback to summary
public List<NotationDeclaration> getNotations()

Overrides org.codehaus.stax2.ri.evt.DTDEventImpl.getNotations.

Implements javax.xml.stream.events.DTD.getNotations.

Doc from javax.xml.stream.events.DTD.getNotations.

Return a List containing the notations declared in the DTD. This list must contain NotationDeclaration events.

Returns:List<NotationDeclaration>

an unordered list of NotationDeclaration events

Annotations
@Override