javanet.staxutils.events
public abstract class AbstractCharactersEvent extends AbstractXMLEvent implements Characters
Characters
implementations.Modifier and Type | Field and Description |
---|---|
protected String |
data
Character content.
|
location, schemaType
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
AbstractCharactersEvent(Characters that) |
AbstractCharactersEvent(String data) |
AbstractCharactersEvent(String data,
Location location) |
AbstractCharactersEvent(String data,
Location location,
QName schemaType) |
Modifier and Type | Method and Description |
---|---|
String |
getData() |
boolean |
isCharacters() |
boolean |
isWhiteSpace() |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEvent
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isCData, isIgnorableWhiteSpace
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
protected String data
public AbstractCharactersEvent(String data)
public AbstractCharactersEvent(String data, Location location, QName schemaType)
public AbstractCharactersEvent(Characters that)
public String getData()
getData
in interface Characters
public boolean isCharacters()
isCharacters
in interface XMLEvent
isCharacters
in class AbstractXMLEvent
public boolean isWhiteSpace()
isWhiteSpace
in interface Characters