public class DTDEventImpl extends BaseEventImpl implements DTD2
mLocation
ATTRIBUTE, 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 |
getEntities() |
int |
getEventType() |
String |
getInternalSubset() |
List |
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
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 DTD
public List getEntities()
getEntities
in interface DTD
public List getNotations()
getNotations
in interface DTD
public Object getProcessedDTD()
getProcessedDTD
in interface DTD
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class BaseEventImpl
public void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class BaseEventImpl
XMLStreamException
public void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class BaseEventImpl
XMLStreamException
public String getRootName()
getRootName
in interface DTD2
public String getSystemId()
getSystemId
in interface DTD2
public String getPublicId()
getPublicId
in interface DTD2
public String getInternalSubset()
getInternalSubset
in interface DTD2
public boolean equals(Object o)
BaseEventImpl
equals
in class BaseEventImpl
public int hashCode()
BaseEventImpl
hashCode
in class BaseEventImpl
protected String doGetDocumentTypeDeclaration() throws XMLStreamException
XMLStreamException
Copyright © 2015 fasterxml.com. All Rights Reserved.