org.apache.xerces.stax.events
Class CharactersImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
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
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 |
CharactersImpl
public CharactersImpl(String data,
int eventType,
Location location)
- Standard constructor.
- Parameters:
eventType
- location
- schemaType
-
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.