| Modifier and Type | Field and Description |
|---|---|
| protected final Location | mLocation
Location where token started; exact definition may depends on event type. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected static int | |
| public Characters | asCharacters()
Implements javax. |
| public EndElement | asEndElement()
Implements javax. |
| public StartElement | asStartElement()
Implements javax. |
| public abstract boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public abstract int | getEventType()
Redeclares javax. |
| public Location | getLocation()
Implements javax. |
| public QName | getSchemaType()
Implements javax. |
| public abstract int | hashCode()
Overrides java. |
| public boolean | isAttribute()
Implements javax. |
| public boolean | isCharacters()
Implements javax. |
| public boolean | isEndDocument()
Implements javax. |
| public boolean | isEndElement()
Implements javax. |
| public boolean | isEntityReference()
Implements javax. |
| public boolean | isNamespace()
Implements javax. |
| public boolean | isProcessingInstruction()
Implements javax. |
| public boolean | isStartDocument()
Implements javax. |
| public boolean | isStartElement()
Implements javax. |
| protected static boolean | |
| protected static boolean | stringsWithNullsEqual(String s1, String s2)
Comparison method that will consider null Strings to be equivalent to empty Strings for comparison purposes; and compare equality with that caveat. |
| protected void | |
| public String | |
| public abstract void | writeAsEncodedUnicode(Writer
The writer that will output the data w)Redeclares javax. |
| public abstract void |
| mLocation | back to summary |
|---|---|
| protected final Location mLocation
Deprecated Call Location where token started; exact definition may depends on event type. TODO: remove direct dependencies to this by sub-classes; rename | |
| BaseEventImpl | back to summary |
|---|---|
| protected BaseEventImpl(Location loc) | |
| addHash | back to summary |
|---|---|
| protected static int addHash(Iterator<?> it, int baseHash) | |
| asCharacters | back to summary |
|---|---|
| public Characters asCharacters() Implements javax. Doc from javax. Returns this event as Characters, may result in a class cast exception if this event is not Characters.
| |
| asEndElement | back to summary |
|---|---|
| public EndElement asEndElement() Implements javax. Doc from javax. Returns this event as an end element event, may result in a class cast exception if this event is not a end element.
| |
| asStartElement | back to summary |
|---|---|
| public StartElement asStartElement() Implements javax. Doc from javax. Returns this event as a start element event, may result in a class cast exception if this event is not a start element.
| |
| equals | back to summary |
|---|---|
| public abstract boolean equals(Object o) Overrides java. Declared abstract to force redefinition by sub-classes
| |
| getEventType | back to summary |
|---|---|
| public abstract int getEventType() Redeclares javax. Doc from javax. Returns an integer code for this event.
| |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Implements javax. Doc from javax. Return the location of this event. The Location returned from this method is non-volatile and will retain its information. | |
| getSchemaType | back to summary |
|---|---|
| public QName getSchemaType() Implements javax. Doc from javax. This method is provided for implementations to provide optional type information about the associated event. It is optional and will return null if no information is available. | |
| hashCode | back to summary |
|---|---|
| public abstract int hashCode() Overrides java. Declared abstract to force redefinition by sub-classes
| |
| isAttribute | back to summary |
|---|---|
| public boolean isAttribute() Implements javax. Doc from javax. A utility function to check if this event is an Attribute.
| |
| isCharacters | back to summary |
|---|---|
| public boolean isCharacters() Implements javax. Doc from javax. A utility function to check if this event is Characters.
| |
| isEndDocument | back to summary |
|---|---|
| public boolean isEndDocument() Implements javax. Doc from javax. A utility function to check if this event is an EndDocument.
| |
| isEndElement | back to summary |
|---|---|
| public boolean isEndElement() Implements javax. Doc from javax. A utility function to check if this event is a EndElement.
| |
| isEntityReference | back to summary |
|---|---|
| public boolean isEntityReference() Implements javax. Doc from javax. A utility function to check if this event is an EntityReference.
| |
| isNamespace | back to summary |
|---|---|
| public boolean isNamespace() Implements javax. Doc from javax. A utility function to check if this event is a Namespace.
| |
| isProcessingInstruction | back to summary |
|---|---|
| public boolean isProcessingInstruction() Implements javax. Doc from javax. A utility function to check if this event is a ProcessingInstruction.
| |
| isStartDocument | back to summary |
|---|---|
| public boolean isStartDocument() Implements javax. Doc from javax. A utility function to check if this event is a StartDocument.
| |
| isStartElement | back to summary |
|---|---|
| public boolean isStartElement() Implements javax. Doc from javax. A utility function to check if this event is a StartElement.
| |
| iteratedEquals | back to summary |
|---|---|
| protected static boolean iteratedEquals(Iterator<?> it1, Iterator<?> it2) | |
| stringsWithNullsEqual | back to summary |
|---|---|
| protected static boolean stringsWithNullsEqual(String s1, String s2) Comparison method that will consider null Strings to be equivalent to empty Strings for comparison purposes; and compare equality with that caveat. | |
| throwFromIOE | back to summary |
|---|---|
| protected void throwFromIOE(IOException ioe) throws XMLStreamException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeAsEncodedUnicode | back to summary |
|---|---|
| public abstract void writeAsEncodedUnicode(Writer w) throws XMLStreamException Redeclares javax. Doc from javax. 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.
| |
| writeUsing | back to summary |
|---|---|
| public abstract void writeUsing(XMLStreamWriter2 w) throws XMLStreamException Redeclares org.
| |