public class DTDEvent extends EventBase implements DTD
_eventType, _locationATTRIBUTE, 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 |
|---|
DTDEvent()
Creates a new instance of DTDEvent
|
DTDEvent(String dtd) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDocumentTypeDeclaration()
Returns the entire Document Type Declaration as a string, including
the internal DTD subset.
|
List |
getEntities()
Return a List containing the general entities,
both external and internal, declared in the DTD.
|
List |
getNotations()
Return a List containing the notations declared in the DTD.
|
Object |
getProcessedDTD()
Returns an implementation defined representation of the DTD.
|
void |
setDTD(String dtd) |
void |
setEntities(List entites) |
void |
setNotations(List notations) |
String |
toString() |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic DTDEvent()
public DTDEvent(String dtd)
public String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface DTDpublic void setDTD(String dtd)
public List getEntities()
getEntities in interface DTDEntityDeclarationpublic List getNotations()
getNotations in interface DTDNotationDeclarationpublic Object getProcessedDTD()
getProcessedDTD in interface DTDpublic void setEntities(List entites)
public void setNotations(List notations)
Copyright © 2005–2017 Oracle Corporation. All rights reserved.