com.bea.xml.stream.events
Class StartElementEvent
java.lang.Object
com.bea.xml.stream.events.BaseEvent
com.bea.xml.stream.events.NamedEvent
com.bea.xml.stream.events.StartElementEvent
- All Implemented Interfaces:
- javax.xml.stream.events.StartElement, javax.xml.stream.events.XMLEvent, javax.xml.stream.Location, javax.xml.stream.XMLStreamConstants
public class StartElementEvent
- extends NamedEvent
- implements javax.xml.stream.events.StartElement
Fields inherited from interface javax.xml.stream.XMLStreamConstants |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
Methods inherited from class com.bea.xml.stream.events.BaseEvent |
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, writeAsEncodedUnicode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.StartElement |
getName |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
StartElementEvent
public StartElementEvent()
StartElementEvent
public StartElementEvent(javax.xml.namespace.QName name)
StartElementEvent
public StartElementEvent(javax.xml.stream.events.StartElement element)
reset
public void reset()
init
protected void init()
getAttributes
public java.util.Iterator getAttributes()
- Specified by:
getAttributes
in interface javax.xml.stream.events.StartElement
getNamespaces
public java.util.Iterator getNamespaces()
- Specified by:
getNamespaces
in interface javax.xml.stream.events.StartElement
getAttributeByName
public javax.xml.stream.events.Attribute getAttributeByName(javax.xml.namespace.QName name)
- Specified by:
getAttributeByName
in interface javax.xml.stream.events.StartElement
setAttributes
public void setAttributes(java.util.List attributes)
addAttribute
public void addAttribute(javax.xml.stream.events.Attribute attribute)
addNamespace
public void addNamespace(javax.xml.stream.events.Namespace attribute)
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
- Specified by:
getNamespaceURI
in interface javax.xml.stream.events.StartElement
setNamespaceContext
public void setNamespaceContext(javax.xml.namespace.NamespaceContext c)
getNamespaceContext
public javax.xml.namespace.NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext
in interface javax.xml.stream.events.StartElement
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object