Package org.apache.xerces.stax.events
Class CharactersImpl
java.lang.Object
org.apache.xerces.stax.events.CharactersImpl
- All Implemented Interfaces:
Characters,XMLEvent,XMLStreamConstants
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- 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
ConstructorsConstructorDescriptionCharactersImpl(String data, int eventType, Location location) Standard constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal Charactersfinal EndElementfinal StartElementgetData()final intfinal Locationfinal QNamefinal booleanbooleanisCData()final booleanfinal booleanfinal booleanfinal booleanbooleanfinal booleanfinal booleanfinal booleanfinal booleanbooleanfinal StringtoString()voidwriteAsEncodedUnicode(Writer writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Constructor Details
-
CharactersImpl
Standard constructor.- Parameters:
eventType-location-schemaType-
-
-
Method Details
-
getData
- Specified by:
getDatain interfaceCharacters- See Also:
-
isWhiteSpace
public boolean isWhiteSpace()- Specified by:
isWhiteSpacein interfaceCharacters- See Also:
-
isCData
public boolean isCData()- Specified by:
isCDatain interfaceCharacters- See Also:
-
isIgnorableWhiteSpace
public boolean isIgnorableWhiteSpace()- Specified by:
isIgnorableWhiteSpacein interfaceCharacters- See Also:
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Throws:
XMLStreamException
-
getEventType
public final int getEventType()- Specified by:
getEventTypein interfaceXMLEvent- See Also:
-
getLocation
- Specified by:
getLocationin interfaceXMLEvent- See Also:
-
isStartElement
public final boolean isStartElement()- Specified by:
isStartElementin interfaceXMLEvent- See Also:
-
isAttribute
public final boolean isAttribute()- Specified by:
isAttributein interfaceXMLEvent- See Also:
-
isNamespace
public final boolean isNamespace()- Specified by:
isNamespacein interfaceXMLEvent- See Also:
-
isEndElement
public final boolean isEndElement()- Specified by:
isEndElementin interfaceXMLEvent- See Also:
-
isEntityReference
public final boolean isEntityReference()- Specified by:
isEntityReferencein interfaceXMLEvent- See Also:
-
isProcessingInstruction
public final boolean isProcessingInstruction()- Specified by:
isProcessingInstructionin interfaceXMLEvent- See Also:
-
isCharacters
public final boolean isCharacters()- Specified by:
isCharactersin interfaceXMLEvent- See Also:
-
isStartDocument
public final boolean isStartDocument()- Specified by:
isStartDocumentin interfaceXMLEvent- See Also:
-
isEndDocument
public final boolean isEndDocument()- Specified by:
isEndDocumentin interfaceXMLEvent- See Also:
-
asStartElement
- Specified by:
asStartElementin interfaceXMLEvent- See Also:
-
asEndElement
- Specified by:
asEndElementin interfaceXMLEvent- See Also:
-
asCharacters
- Specified by:
asCharactersin interfaceXMLEvent- See Also:
-
getSchemaType
- Specified by:
getSchemaTypein interfaceXMLEvent- See Also:
-
toString
-