org.apache.xerces.stax.events
Class EntityDeclarationImpl

java.lang.Object
  |
  +--org.apache.xerces.stax.events.XMLEventImpl
        |
        +--org.apache.xerces.stax.events.EntityDeclarationImpl
All Implemented Interfaces:
javax.xml.stream.events.EntityDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants

public final class EntityDeclarationImpl
extends XMLEventImpl
implements javax.xml.stream.events.EntityDeclaration

INTERNAL:

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

Version:
$Id: EntityDeclarationImpl.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
EntityDeclarationImpl(java.lang.String publicId, java.lang.String systemId, java.lang.String name, java.lang.String notationName, javax.xml.stream.Location location)
           
 
Method Summary
 java.lang.String getBaseURI()
           
 java.lang.String getName()
           
 java.lang.String getNotationName()
           
 java.lang.String getPublicId()
           
 java.lang.String getReplacementText()
           
 java.lang.String getSystemId()
           
 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

EntityDeclarationImpl

public EntityDeclarationImpl(java.lang.String publicId,
                             java.lang.String systemId,
                             java.lang.String name,
                             java.lang.String notationName,
                             javax.xml.stream.Location location)
Parameters:
eventType -  
location -  
schemaType -  
Method Detail

getPublicId

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

getSystemId

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

getName

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

getNotationName

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

getReplacementText

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

getBaseURI

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

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.