|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base element interface for handling markup events.
CharacterData
,
ProcessingInstruction
,
StartElement
,
EndElement
,
CharacterData
,
XMLName
,
StartDocument
Field Summary | |
static int |
CHANGE_PREFIX_MAPPING
A constant which identifies a ChangePrefixMapping |
static int |
CHARACTER_DATA
A constant which identifies a CharacterData Event |
static int |
COMMENT
A constant which identifies a Comment |
static int |
END_DOCUMENT
A constant which identifies an EndDocument |
static int |
END_ELEMENT
A constant which identifies an EndElement |
static int |
END_PREFIX_MAPPING
A constant which identifies a EndPrefixMapping |
static int |
ENTITY_REFERENCE
A constant which identifies an EntityReference |
static int |
NULL_ELEMENT
A constant which identifies a NullElement |
static int |
PROCESSING_INSTRUCTION
A constant which identifies a ProcessingInstruction |
static int |
SPACE
A constant which identifies a Space |
static int |
START_DOCUMENT
A constant which identifies a StartDocument |
static int |
START_ELEMENT
A constant which identifies a StartElement |
static int |
START_PREFIX_MAPPING
A constant which identifies a StartPrefixMapping |
static int |
XML_EVENT
A constant which identifies an XMLEvent |
Method Summary | |
Location |
getLocation()
Return the location of this Element |
XMLName |
getName()
Get the XMLName of the current element |
XMLName |
getSchemaType()
Get the event type of the current element, returns an integer so that switch statements can be written on the result |
int |
getType()
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()
Get the string value of the type name |
boolean |
hasName()
Check if this Element has a name |
boolean |
isChangePrefixMapping()
|
boolean |
isCharacterData()
|
boolean |
isEndDocument()
|
boolean |
isEndElement()
|
boolean |
isEndPrefixMapping()
|
boolean |
isEntityReference()
|
boolean |
isNull()
|
boolean |
isProcessingInstruction()
|
boolean |
isSpace()
|
boolean |
isStartDocument()
|
boolean |
isStartElement()
Method access to the elements type |
boolean |
isStartPrefixMapping()
|
Field Detail |
public static final int XML_EVENT
XMLEvent
public static final int START_ELEMENT
StartElement
public static final int END_ELEMENT
EndElement
public static final int PROCESSING_INSTRUCTION
ProcessingInstruction
public static final int CHARACTER_DATA
CharacterData
public static final int COMMENT
Comment
public static final int SPACE
Space
public static final int NULL_ELEMENT
public static final int START_DOCUMENT
StartDocument
public static final int END_DOCUMENT
EndDocument
public static final int START_PREFIX_MAPPING
StartPrefixMapping
public static final int END_PREFIX_MAPPING
EndPrefixMapping
public static final int CHANGE_PREFIX_MAPPING
ChangePrefixMapping
public static final int ENTITY_REFERENCE
EntityReference
Method Detail |
public int getType()
public XMLName getSchemaType()
public java.lang.String getTypeAsString()
public XMLName getName()
XMLName
public boolean hasName()
public Location getLocation()
public boolean isStartElement()
public boolean isEndElement()
public boolean isEntityReference()
public boolean isStartPrefixMapping()
public boolean isEndPrefixMapping()
public boolean isChangePrefixMapping()
public boolean isProcessingInstruction()
public boolean isCharacterData()
public boolean isSpace()
public boolean isNull()
public boolean isStartDocument()
public boolean isEndDocument()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |