BEA Systems, Inc.

weblogic.xml.stream
Interface XMLEvent

All Known Subinterfaces:
ChangePrefixMapping, CharacterData, Comment, EndDocument, EndElement, EndPrefixMapping, EntityReference, ProcessingInstruction, Space, StartDocument, StartElement, StartPrefixMapping

Deprecated. please use java standard StAX api

public interface XMLEvent

This is the base element interface for handling markup events.

Since:
Weblogic XML Input Stream 1.0
See Also:
CharacterData, ProcessingInstruction, StartElement, EndElement, CharacterData, XMLName, StartDocument

Field Summary
static int CHANGE_PREFIX_MAPPING
          Deprecated. A constant which identifies a ChangePrefixMapping
static int CHARACTER_DATA
          Deprecated. A constant which identifies a CharacterData Event
static int COMMENT
          Deprecated. A constant which identifies a Comment
static int END_DOCUMENT
          Deprecated. A constant which identifies an EndDocument
static int END_ELEMENT
          Deprecated. A constant which identifies an EndElement
static int END_PREFIX_MAPPING
          Deprecated. A constant which identifies a EndPrefixMapping
static int ENTITY_REFERENCE
          Deprecated. A constant which identifies an EntityReference
static int NULL_ELEMENT
          Deprecated. A constant which identifies a NullElement
static int PROCESSING_INSTRUCTION
          Deprecated. A constant which identifies a ProcessingInstruction
static int SPACE
          Deprecated. A constant which identifies a Space
static int START_DOCUMENT
          Deprecated. A constant which identifies a StartDocument
static int START_ELEMENT
          Deprecated. A constant which identifies a StartElement
static int START_PREFIX_MAPPING
          Deprecated. A constant which identifies a StartPrefixMapping
static int XML_EVENT
          Deprecated. A constant which identifies an XMLEvent
 
Method Summary
 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
 String getTypeAsString()
          Deprecated. Get the string value of the type name
 boolean hasName()
          Deprecated. Check if this Element has a name
 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.  
 

Field Detail

XML_EVENT

static final int XML_EVENT
Deprecated. 
A constant which identifies an XMLEvent

See Also:
XMLEvent, Constant Field Values

START_ELEMENT

static final int START_ELEMENT
Deprecated. 
A constant which identifies a StartElement

See Also:
StartElement, Constant Field Values

END_ELEMENT

static final int END_ELEMENT
Deprecated. 
A constant which identifies an EndElement

See Also:
EndElement, Constant Field Values

PROCESSING_INSTRUCTION

static final int PROCESSING_INSTRUCTION
Deprecated. 
A constant which identifies a ProcessingInstruction

See Also:
ProcessingInstruction, Constant Field Values

CHARACTER_DATA

static final int CHARACTER_DATA
Deprecated. 
A constant which identifies a CharacterData Event

See Also:
CharacterData, Constant Field Values

COMMENT

static final int COMMENT
Deprecated. 
A constant which identifies a Comment

See Also:
Comment, Constant Field Values

SPACE

static final int SPACE
Deprecated. 
A constant which identifies a Space

See Also:
Space, Constant Field Values

NULL_ELEMENT

static final int NULL_ELEMENT
Deprecated. 
A constant which identifies a NullElement

See Also:
Constant Field Values

START_DOCUMENT

static final int START_DOCUMENT
Deprecated. 
A constant which identifies a StartDocument

See Also:
StartDocument, Constant Field Values

END_DOCUMENT

static final int END_DOCUMENT
Deprecated. 
A constant which identifies an EndDocument

See Also:
EndDocument, Constant Field Values

START_PREFIX_MAPPING

static final int START_PREFIX_MAPPING
Deprecated. 
A constant which identifies a StartPrefixMapping

See Also:
StartPrefixMapping, Constant Field Values

END_PREFIX_MAPPING

static final int END_PREFIX_MAPPING
Deprecated. 
A constant which identifies a EndPrefixMapping

See Also:
EndPrefixMapping, Constant Field Values

CHANGE_PREFIX_MAPPING

static final int CHANGE_PREFIX_MAPPING
Deprecated. 
A constant which identifies a ChangePrefixMapping

See Also:
ChangePrefixMapping, Constant Field Values

ENTITY_REFERENCE

static final int ENTITY_REFERENCE
Deprecated. 
A constant which identifies an EntityReference

See Also:
EntityReference, Constant Field Values
Method Detail

getType

int getType()
Deprecated. 
Get the event type of the current element, returns an integer so that switch statements can be written on the result


getSchemaType

XMLName getSchemaType()
Deprecated. 
Get the event type of the current element, returns an integer so that switch statements can be written on the result


getTypeAsString

String getTypeAsString()
Deprecated. 
Get the string value of the type name


getName

XMLName getName()
Deprecated. 
Get the XMLName of the current element

See Also:
XMLName

hasName

boolean hasName()
Deprecated. 
Check if this Element has a name


getLocation

Location getLocation()
Deprecated. 
Return the location of this Element


isStartElement

boolean isStartElement()
Deprecated. 
Method access to the elements type


isEndElement

boolean isEndElement()
Deprecated. 

isEntityReference

boolean isEntityReference()
Deprecated. 

isStartPrefixMapping

boolean isStartPrefixMapping()
Deprecated. 

isEndPrefixMapping

boolean isEndPrefixMapping()
Deprecated. 

isChangePrefixMapping

boolean isChangePrefixMapping()
Deprecated. 

isProcessingInstruction

boolean isProcessingInstruction()
Deprecated. 

isCharacterData

boolean isCharacterData()
Deprecated. 

isSpace

boolean isSpace()
Deprecated. 

isNull

boolean isNull()
Deprecated. 

isStartDocument

boolean isStartDocument()
Deprecated. 

isEndDocument

boolean isEndDocument()
Deprecated. 

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.