java.lang.Cloneable
, XMLEvent
StartElementEvent
@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()
XMLEvent
protected void setType(int type)
public void setName(XMLName name)
public XMLName getName()
XMLEvent
public boolean hasName()
XMLEvent
public Location getLocation()
XMLEvent
getLocation
in interface XMLEvent
public java.lang.String getTypeAsString()
XMLEvent
getTypeAsString
in interface XMLEvent
public boolean isStartElement()
XMLEvent
isStartElement
in interface XMLEvent
public boolean isEndElement()
isEndElement
in interface XMLEvent
public boolean isEntityReference()
isEntityReference
in interface XMLEvent
public boolean isStartPrefixMapping()
isStartPrefixMapping
in interface XMLEvent
public boolean isEndPrefixMapping()
isEndPrefixMapping
in interface XMLEvent
public boolean isChangePrefixMapping()
isChangePrefixMapping
in interface XMLEvent
public boolean isProcessingInstruction()
isProcessingInstruction
in interface XMLEvent
public boolean isCharacterData()
isCharacterData
in interface XMLEvent
public boolean isStartDocument()
isStartDocument
in interface XMLEvent
public boolean isEndDocument()
isEndDocument
in interface XMLEvent
public XMLName getSchemaType()
XMLEvent
getSchemaType
in interface XMLEvent
public 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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object