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:
javax.xml.stream.events.DTD, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants

public final class DTDImpl
extends XMLEventImpl
implements javax.xml.stream.events.DTD

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

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
 
Constructor Summary
DTDImpl(java.lang.String dtd, javax.xml.stream.Location location)
          Constructor.
 
Method Summary
 java.lang.String getDocumentTypeDeclaration()
           
 java.util.List getEntities()
           
 java.util.List getNotations()
           
 java.lang.Object getProcessedDTD()
           
 void writeAsEncodedUnicode(java.io.Writer writer)
           
 
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 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
 

Constructor Detail

DTDImpl

public DTDImpl(java.lang.String dtd,
               javax.xml.stream.Location location)
Constructor.
Method Detail

getDocumentTypeDeclaration

public java.lang.String getDocumentTypeDeclaration()
Specified by:
getDocumentTypeDeclaration in interface javax.xml.stream.events.DTD
See Also:
DTD.getDocumentTypeDeclaration()

getProcessedDTD

public java.lang.Object getProcessedDTD()
Specified by:
getProcessedDTD in interface javax.xml.stream.events.DTD
See Also:
DTD.getProcessedDTD()

getNotations

public java.util.List getNotations()
Specified by:
getNotations in interface javax.xml.stream.events.DTD
See Also:
DTD.getNotations()

getEntities

public java.util.List getEntities()
Specified by:
getEntities in interface javax.xml.stream.events.DTD
See Also:
DTD.getEntities()

writeAsEncodedUnicode

public void writeAsEncodedUnicode(java.io.Writer writer)
                           throws javax.xml.stream.XMLStreamException
Specified by:
writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEvent


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.