javax.xml.stream.events

Interface Characters

public interface Characters extends XMLEvent

A character data (text) event.
Method Summary
StringgetData()
Returns the character data assocated with this event.
booleanisCData()
Indicates whether this is a CDATA section.
booleanisIgnorableWhiteSpace()
Indicates whether this text is all ignorable whitespace.
booleanisWhiteSpace()
Indicates whether this text is all whitespace.

Method Detail

getData

public String getData()
Returns the character data assocated with this event.

isCData

public boolean isCData()
Indicates whether this is a CDATA section.

isIgnorableWhiteSpace

public boolean isIgnorableWhiteSpace()
Indicates whether this text is all ignorable whitespace.

isWhiteSpace

public boolean isWhiteSpace()
Indicates whether this text is all whitespace.