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, type
CHANGE_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, setType
finalize, getClass, notify, notifyAll, wait, wait, wait
getLocation, getName, getSchemaType, getType, getTypeAsString, hasName, isChangePrefixMapping, isCharacterData, isEndDocument, isEndElement, isEndPrefixMapping, isEntityReference, isNull, isProcessingInstruction, isSpace, isStartDocument, isStartElement, isStartPrefixMapping
protected java.util.List attributes
protected java.util.List namespaces
protected java.util.Map namespaceURIs
protected void init()
init
in class ElementEvent
public AttributeIterator getAttributes()
StartElement
getAttributes
in interface StartElement
public AttributeIterator getNamespaces()
StartElement
getNamespaces
in interface StartElement
public AttributeIterator getAttributesAndNamespaces()
StartElement
getAttributesAndNamespaces
in interface StartElement
public Attribute getAttributeByName(XMLName name)
StartElement
getAttributeByName
in interface StartElement
public 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)
StartElement
getNamespaceUri
in interface StartElement
public void setTransientNamespaceMap(java.util.Map uriMap)
public void setNamespaceMap(java.util.Map uriMap)
public java.util.Map getNamespaceMap()
StartElement
getNamespaceMap
in interface StartElement
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class ElementEvent