java.lang.Cloneable, StartElement, XMLEvent@Deprecated public class StartElementEvent extends ElementEvent implements StartElement
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.List |
attributes |
Deprecated.
|
protected java.util.List |
namespaces |
Deprecated.
|
protected java.util.Map |
namespaceURIs |
Deprecated.
|
content, location, name, schemaType, typeCHANGE_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 |
|---|---|---|
void |
addAttribute(Attribute attribute) |
Deprecated.
|
void |
addNamespace(Attribute attribute) |
Deprecated.
|
boolean |
equals(java.lang.Object obj) |
Deprecated.
|
Attribute |
getAttributeByName(XMLName name) |
Deprecated.
Returns the attribute referred to by this name
|
AttributeIterator |
getAttributes() |
Deprecated.
Returns an AttributeIterator of non-namespace declared attributes
|
AttributeIterator |
getAttributesAndNamespaces() |
Deprecated.
Returns the union of declared attributes and namespaces
|
java.util.Map |
getNamespaceMap() |
Deprecated.
Gets a java.util.Map from prefixes to URIs in scope for this
element.
|
AttributeIterator |
getNamespaces() |
Deprecated.
Returns an AttributeIterator of namespaces declared in this element
|
java.lang.String |
getNamespaceUri(java.lang.String prefix) |
Deprecated.
Gets the value that the prefix is bound to in the
context of this element.
|
protected void |
init() |
Deprecated.
|
void |
setAttributes(java.util.List attributes) |
Deprecated.
|
void |
setNamespaceMap(java.util.Map uriMap) |
Deprecated.
|
void |
setTransientNamespaceMap(java.util.Map uriMap) |
Deprecated.
|
java.lang.String |
toString() |
Deprecated.
|
clone, compare, getLocation, getName, getSchemaType, getType, getTypeAsString, hasName, isChangePrefixMapping, isCharacterData, isEndDocument, isEndElement, isEndPrefixMapping, isEntityReference, isNull, isProcessingInstruction, isSpace, isStartDocument, isStartElement, isStartPrefixMapping, setName, setSchemaType, setTypefinalize, getClass, notify, notifyAll, wait, wait, waitgetLocation, getName, getSchemaType, getType, getTypeAsString, hasName, isChangePrefixMapping, isCharacterData, isEndDocument, isEndElement, isEndPrefixMapping, isEntityReference, isNull, isProcessingInstruction, isSpace, isStartDocument, isStartElement, isStartPrefixMappingprotected java.util.List attributes
protected java.util.List namespaces
protected java.util.Map namespaceURIs
protected void init()
init in class ElementEventpublic AttributeIterator getAttributes()
StartElementgetAttributes in interface StartElementpublic AttributeIterator getNamespaces()
StartElementgetNamespaces in interface StartElementpublic AttributeIterator getAttributesAndNamespaces()
StartElementgetAttributesAndNamespaces in interface StartElementpublic Attribute getAttributeByName(XMLName name)
StartElementgetAttributeByName in interface StartElementpublic void setAttributes(java.util.List attributes)
public void addAttribute(Attribute attribute)
public void addNamespace(Attribute attribute)
public java.lang.String getNamespaceUri(java.lang.String prefix)
StartElementgetNamespaceUri in interface StartElementpublic void setTransientNamespaceMap(java.util.Map uriMap)
public void setNamespaceMap(java.util.Map uriMap)
public java.util.Map getNamespaceMap()
StartElementgetNamespaceMap in interface StartElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class ElementEvent