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:
- Location, StartElement, XMLEvent, XMLStreamConstants
- public class StartElementEvent
- extends NamedEvent
- implements 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 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(QName name)
StartElementEvent
public StartElementEvent(StartElement element)
reset
public void reset()
init
protected void init()
getAttributes
public Iterator getAttributes()
- Specified by:
getAttributes in interface StartElement
getNamespaces
public Iterator getNamespaces()
- Specified by:
getNamespaces in interface StartElement
getAttributeByName
public Attribute getAttributeByName(QName name)
- Specified by:
getAttributeByName in interface StartElement
setAttributes
public void setAttributes(List attributes)
addAttribute
public void addAttribute(Attribute attribute)
addNamespace
public void addNamespace(Namespace attribute)
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI in interface StartElement
setNamespaceContext
public void setNamespaceContext(NamespaceContext c)
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext in interface StartElement
toString
public String toString()
Copyright © 2004 . All Rights Reserved.