|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.fastinfoset.stax.events.EventBase
com.sun.xml.fastinfoset.stax.events.DTDEvent
public class DTDEvent
DTDEvent. Notations and Entities are not used
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.fastinfoset.stax.events.EventBase |
|---|
_eventType, _location |
| Fields inherited from interface javax.xml.stream.XMLStreamConstants |
|---|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
| Constructor Summary | |
|---|---|
DTDEvent()
Creates a new instance of DTDEvent |
|
DTDEvent(String dtd)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class com.sun.xml.fastinfoset.stax.events.EventBase |
|---|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.stream.events.XMLEvent |
|---|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
| Constructor Detail |
|---|
public DTDEvent()
public DTDEvent(String dtd)
| Method Detail |
|---|
public String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface javax.xml.stream.events.DTDpublic void setDTD(String dtd)
public List getEntities()
getEntities in interface javax.xml.stream.events.DTDEntityDeclarationpublic List getNotations()
getNotations in interface javax.xml.stream.events.DTDNotationDeclarationpublic Object getProcessedDTD()
getProcessedDTD in interface javax.xml.stream.events.DTDpublic void setEntities(List entites)
public void setNotations(List notations)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||