java.lang.Cloneable, XMLEventStartElementEvent@Deprecated public class ElementEvent extends java.lang.Object implements XMLEvent, java.lang.Cloneable
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
content |
Deprecated.
|
protected Location |
location |
Deprecated.
|
protected XMLName |
name |
Deprecated.
|
protected XMLName |
schemaType |
Deprecated.
|
protected int |
type |
Deprecated.
|
CHANGE_PREFIX_MAPPING, CHARACTER_DATA, COMMENT, END_DOCUMENT, END_ELEMENT, END_PREFIX_MAPPING, ENTITY_REFERENCE, NULL_ELEMENT, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT, START_PREFIX_MAPPING, XML_EVENT| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
Deprecated.
|
protected static boolean |
compare(java.lang.String one,
java.lang.String two) |
Deprecated.
|
boolean |
equals(java.lang.Object obj) |
Deprecated.
|
Location |
getLocation() |
Deprecated.
Return the location of this Element
|
XMLName |
getName() |
Deprecated.
Get the XMLName of the current element
|
XMLName |
getSchemaType() |
Deprecated.
Get the event type of the current element,
returns an integer so that switch statements
can be written on the result
|
int |
getType() |
Deprecated.
Get the event type of the current element,
returns an integer so that switch statements
can be written on the result
|
java.lang.String |
getTypeAsString() |
Deprecated.
Get the string value of the type name
|
boolean |
hasName() |
Deprecated.
Check if this Element has a name
|
protected void |
init() |
Deprecated.
|
boolean |
isChangePrefixMapping() |
Deprecated.
|
boolean |
isCharacterData() |
Deprecated.
|
boolean |
isEndDocument() |
Deprecated.
|
boolean |
isEndElement() |
Deprecated.
|
boolean |
isEndPrefixMapping() |
Deprecated.
|
boolean |
isEntityReference() |
Deprecated.
|
boolean |
isNull() |
Deprecated.
|
boolean |
isProcessingInstruction() |
Deprecated.
|
boolean |
isSpace() |
Deprecated.
|
boolean |
isStartDocument() |
Deprecated.
|
boolean |
isStartElement() |
Deprecated.
Method access to the elements type
|
boolean |
isStartPrefixMapping() |
Deprecated.
|
void |
setName(XMLName name) |
Deprecated.
|
void |
setSchemaType(XMLName type) |
Deprecated.
|
protected void |
setType(int type) |
Deprecated.
|
protected int type
protected XMLName name
protected Location location
protected java.lang.String content
protected XMLName schemaType
protected void init()
public int getType()
XMLEventprotected void setType(int type)
public void setName(XMLName name)
public XMLName getName()
XMLEventpublic boolean hasName()
XMLEventpublic Location getLocation()
XMLEventgetLocation in interface XMLEventpublic java.lang.String getTypeAsString()
XMLEventgetTypeAsString in interface XMLEventpublic boolean isStartElement()
XMLEventisStartElement in interface XMLEventpublic boolean isEndElement()
isEndElement in interface XMLEventpublic boolean isEntityReference()
isEntityReference in interface XMLEventpublic boolean isStartPrefixMapping()
isStartPrefixMapping in interface XMLEventpublic boolean isEndPrefixMapping()
isEndPrefixMapping in interface XMLEventpublic boolean isChangePrefixMapping()
isChangePrefixMapping in interface XMLEventpublic boolean isProcessingInstruction()
isProcessingInstruction in interface XMLEventpublic boolean isCharacterData()
isCharacterData in interface XMLEventpublic boolean isStartDocument()
isStartDocument in interface XMLEventpublic boolean isEndDocument()
isEndDocument in interface XMLEventpublic XMLName getSchemaType()
XMLEventgetSchemaType in interface XMLEventpublic void setSchemaType(XMLName type)
protected static boolean compare(java.lang.String one,
java.lang.String two)
public java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object