org.apache.xerces.stax.events
Class DTDImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.DTDImpl
- All Implemented Interfaces:
- DTD, XMLEvent, XMLStreamConstants
public final class DTDImpl
- extends XMLEventImpl
- implements DTD
- Version:
- $Id: DTDImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
- Author:
- Lucian Holland
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 |
Methods inherited from class org.apache.xerces.stax.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, toString |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
DTDImpl
public DTDImpl(String dtd,
Location location)
- Constructor.
getDocumentTypeDeclaration
public String getDocumentTypeDeclaration()
- Specified by:
getDocumentTypeDeclaration
in interface DTD
- See Also:
DTD.getDocumentTypeDeclaration()
getProcessedDTD
public Object getProcessedDTD()
- Specified by:
getProcessedDTD
in interface DTD
- See Also:
DTD.getProcessedDTD()
getNotations
public List getNotations()
- Specified by:
getNotations
in interface DTD
- See Also:
DTD.getNotations()
getEntities
public List getEntities()
- Specified by:
getEntities
in interface DTD
- See Also:
DTD.getEntities()
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.