| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private String | |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | CharacterEvent(String
Character Data. data, boolean true if CData flag, boolean true if data is ignorable whitespace. isIgnorableWhiteSpace)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | Returns: return data.Implements javax. Get the character data of this event |
| protected void | |
| public boolean | Returns: boolean returns true if the data is CDataImplements javax. Returns true if this is a CData section. |
| public boolean | isIgnorableWhiteSpace()
Implements javax. Return true if this is ignorableWhiteSpace. |
| public boolean | isWhiteSpace()
Implements javax. Returns true if this set of Characters is all whitespace. |
| public void | |
| public String | Returns: String return the String representation of this event.Overrides java. Returns a string representation of the object. |
| protected void | writeAsEncodedUnicodeEx(Writer
The writer that will output the data writer)Implements abstract com. This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. |
| fCheckIfSpaceNeeded | back to summary |
|---|---|
| private boolean fCheckIfSpaceNeeded | |
| fData | back to summary |
|---|---|
| private String fData | |
| fIsCData | back to summary |
|---|---|
| private boolean fIsCData | |
| fIsIgnorableWhitespace | back to summary |
|---|---|
| private boolean fIsIgnorableWhitespace | |
| fIsSpace | back to summary |
|---|---|
| private boolean fIsSpace | |
| CharacterEvent | back to summary |
|---|---|
| public CharacterEvent() | |
| CharacterEvent | back to summary |
|---|---|
public CharacterEvent(String data)
| |
| CharacterEvent | back to summary |
|---|---|
public CharacterEvent(String data, boolean flag)
| |
| CharacterEvent | back to summary |
|---|---|
public CharacterEvent(String data, boolean flag, boolean isIgnorableWhiteSpace)
| |
| checkWhiteSpace | back to summary |
|---|---|
| private void checkWhiteSpace() | |
| getData | back to summary |
|---|---|
| public String getData() Implements javax. Doc from javax. Get the character data of this event
| |
| init | back to summary |
|---|---|
| protected void init() | |
| isCData | back to summary |
|---|---|
| public boolean isCData() Implements javax. Doc from javax. Returns true if this is a CData section. If this event is CData its event type will be CDATA If javax.xml.stream.isCoalescing is set to true CDATA Sections that are surrounded by non CDATA characters will be reported as a single Characters event. This method will return false in this case.
| |
| isIgnorableWhiteSpace | back to summary |
|---|---|
| public boolean isIgnorableWhiteSpace() Implements javax. Return true if this is ignorableWhiteSpace. If this event is ignorableWhiteSpace its event type will be SPACE. | |
| isWhiteSpace | back to summary |
|---|---|
| public boolean isWhiteSpace() Implements javax. Returns true if this set of Characters is all whitespace. Whitespace inside a document is reported as CHARACTERS. This method allows checking of CHARACTERS events to see if they are composed of only whitespace characters | |
| setData | back to summary |
|---|---|
| public void setData(String data) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeAsEncodedUnicodeEx | back to summary |
|---|---|
| protected void writeAsEncodedUnicodeEx(Writer writer) throws IOException Implements abstract com. This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. No indentation or whitespace should be outputted. Any user defined event type SHALL have this method called when being written to on an output stream. Built in Event types MUST implement this method, but implementations MAY choose not call these methods for optimizations reasons when writing out built in Events to an output stream. The output generated MUST be equivalent in terms of the infoset expressed.
| |