org.apache.xerces.stax.events
Class XMLEventImpl

java.lang.Object
  extended by org.apache.xerces.stax.events.XMLEventImpl
All Implemented Interfaces:
XMLEvent, XMLStreamConstants
Direct Known Subclasses:
AttributeImpl, CharactersImpl, CommentImpl, DTDImpl, ElementImpl, EndDocumentImpl, EntityDeclarationImpl, EntityReferenceImpl, NotationDeclarationImpl, ProcessingInstructionImpl, StartDocumentImpl

public abstract class XMLEventImpl
extends Object
implements XMLEvent

Version:
$Id: XMLEventImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
Author:
Lucian Holland

Field Summary
 
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
 
Method Summary
 Characters asCharacters()
           
 EndElement asEndElement()
           
 StartElement asStartElement()
           
 int getEventType()
           
 Location getLocation()
           
 QName getSchemaType()
           
 boolean isAttribute()
           
 boolean isCharacters()
           
 boolean isEndDocument()
           
 boolean isEndElement()
           
 boolean isEntityReference()
           
 boolean isNamespace()
           
 boolean isProcessingInstruction()
           
 boolean isStartDocument()
           
 boolean isStartElement()
           
 String 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
writeAsEncodedUnicode
 

Method Detail

getEventType

public final int getEventType()
Specified by:
getEventType in interface XMLEvent
See Also:
XMLEvent.getEventType()

getLocation

public final Location getLocation()
Specified by:
getLocation in interface XMLEvent
See Also:
XMLEvent.getLocation()

isStartElement

public final boolean isStartElement()
Specified by:
isStartElement in interface XMLEvent
See Also:
XMLEvent.isStartElement()

isAttribute

public final boolean isAttribute()
Specified by:
isAttribute in interface XMLEvent
See Also:
XMLEvent.isAttribute()

isNamespace

public final boolean isNamespace()
Specified by:
isNamespace in interface XMLEvent
See Also:
XMLEvent.isNamespace()

isEndElement

public final boolean isEndElement()
Specified by:
isEndElement in interface XMLEvent
See Also:
XMLEvent.isEndElement()

isEntityReference

public final boolean isEntityReference()
Specified by:
isEntityReference in interface XMLEvent
See Also:
XMLEvent.isEntityReference()

isProcessingInstruction

public final boolean isProcessingInstruction()
Specified by:
isProcessingInstruction in interface XMLEvent
See Also:
XMLEvent.isProcessingInstruction()

isCharacters

public final boolean isCharacters()
Specified by:
isCharacters in interface XMLEvent
See Also:
XMLEvent.isCharacters()

isStartDocument

public final boolean isStartDocument()
Specified by:
isStartDocument in interface XMLEvent
See Also:
XMLEvent.isStartDocument()

isEndDocument

public final boolean isEndDocument()
Specified by:
isEndDocument in interface XMLEvent
See Also:
XMLEvent.isEndDocument()

asStartElement

public final StartElement asStartElement()
Specified by:
asStartElement in interface XMLEvent
See Also:
XMLEvent.asStartElement()

asEndElement

public final EndElement asEndElement()
Specified by:
asEndElement in interface XMLEvent
See Also:
XMLEvent.asEndElement()

asCharacters

public final Characters asCharacters()
Specified by:
asCharacters in interface XMLEvent
See Also:
XMLEvent.asCharacters()

getSchemaType

public final QName getSchemaType()
Specified by:
getSchemaType in interface XMLEvent
See Also:
XMLEvent.getSchemaType()

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.