org.apache.xerces.stax.events
Class CharactersImpl

java.lang.Object
  extended by org.apache.xerces.stax.events.XMLEventImpl
      extended by org.apache.xerces.stax.events.CharactersImpl
All Implemented Interfaces:
Characters, XMLEvent, XMLStreamConstants

public final class CharactersImpl
extends XMLEventImpl
implements Characters

Version:
$Id: CharactersImpl.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
 
Constructor Summary
CharactersImpl(String data, int eventType, Location location)
          Standard constructor.
 
Method Summary
 String getData()
           
 boolean isCData()
           
 boolean isIgnorableWhiteSpace()
           
 boolean isWhiteSpace()
           
 void writeAsEncodedUnicode(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

CharactersImpl

public CharactersImpl(String data,
                      int eventType,
                      Location location)
Standard constructor.

Parameters:
eventType -
location -
schemaType -
Method Detail

getData

public String getData()
Specified by:
getData in interface Characters
See Also:
Characters.getData()

isWhiteSpace

public boolean isWhiteSpace()
Specified by:
isWhiteSpace in interface Characters
See Also:
Characters.isWhiteSpace()

isCData

public boolean isCData()
Specified by:
isCData in interface Characters
See Also:
Characters.isCData()

isIgnorableWhiteSpace

public boolean isIgnorableWhiteSpace()
Specified by:
isIgnorableWhiteSpace in interface Characters
See Also:
Characters.isIgnorableWhiteSpace()

writeAsEncodedUnicode

public void writeAsEncodedUnicode(Writer writer)
                           throws XMLStreamException
Specified by:
writeAsEncodedUnicode in interface XMLEvent
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.