public class DTDEventImpl extends BaseEventImpl implements DTD2
| Modifier and Type | Field and Description |
|---|---|
protected Object |
mDTD |
protected String |
mFullText
Full textual presentation of the DOCTYPE event; usually only
constructed when needed, but sometimes (when using 'broken'
older StAX interfaces), may be the only piece that's actually
passed.
|
protected String |
mInternalSubset |
protected String |
mPublicId |
protected String |
mRootName |
protected String |
mSystemId |
mLocationATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
DTDEventImpl(Location loc,
String fullText) |
DTDEventImpl(Location loc,
String rootName,
String intSubset)
Constructor used when only partial information is available.
|
DTDEventImpl(Location loc,
String rootName,
String sysId,
String pubId,
String intSubset,
Object dtd) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doGetDocumentTypeDeclaration() |
boolean |
equals(Object o)
Declared abstract to force redefinition by sub-classes
|
String |
getDocumentTypeDeclaration() |
List<EntityDeclaration> |
getEntities() |
int |
getEventType() |
String |
getInternalSubset() |
List<NotationDeclaration> |
getNotations() |
Object |
getProcessedDTD() |
String |
getPublicId() |
String |
getRootName() |
String |
getSystemId() |
int |
hashCode()
Declared abstract to force redefinition by sub-classes
|
void |
writeAsEncodedUnicode(Writer w) |
void |
writeUsing(XMLStreamWriter2 w) |
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementprotected final String mRootName
protected final String mSystemId
protected final String mPublicId
protected final String mInternalSubset
protected final Object mDTD
protected String mFullText
public DTDEventImpl(Location loc, String rootName, String sysId, String pubId, String intSubset, Object dtd)
public DTDEventImpl(Location loc, String rootName, String intSubset)
public String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface DTDpublic List<EntityDeclaration> getEntities()
getEntities in interface DTDpublic List<NotationDeclaration> getNotations()
getNotations in interface DTDpublic Object getProcessedDTD()
getProcessedDTD in interface DTDpublic int getEventType()
getEventType in interface XMLEventgetEventType in class BaseEventImplpublic void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class BaseEventImplXMLStreamExceptionpublic void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImplXMLStreamExceptionpublic String getRootName()
getRootName in interface DTD2public String getSystemId()
getSystemId in interface DTD2public String getPublicId()
getPublicId in interface DTD2public String getInternalSubset()
getInternalSubset in interface DTD2public boolean equals(Object o)
BaseEventImplequals in class BaseEventImplpublic int hashCode()
BaseEventImplhashCode in class BaseEventImplprotected String doGetDocumentTypeDeclaration() throws XMLStreamException
XMLStreamExceptionCopyright © 2012-2015 fasterxml.com. All Rights Reserved.