|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axiom.om.impl.dom.ChildNode
org.apache.axiom.om.impl.dom.ParentNode
org.apache.axiom.om.impl.dom.ElementImpl
public class ElementImpl
Implementation of the org.w3c.dom.Element and org.apache.axiom.om.Element interfaces.
| Field Summary | |
|---|---|
private AttributeMap |
attributes
|
private static org.apache.axiom.om.impl.util.EmptyIterator |
EMPTY_ITERATOR
|
private int |
lineNumber
|
protected java.lang.String |
localName
|
protected org.apache.axiom.om.OMNamespace |
namespace
|
private java.util.HashMap |
namespaces
|
| Fields inherited from class org.apache.axiom.om.impl.dom.ParentNode |
|---|
firstChild, lastChild |
| Fields inherited from class org.apache.axiom.om.impl.dom.ChildNode |
|---|
nextSibling, parentNode, previousSibling |
| Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.apache.axiom.om.OMNode |
|---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
| Fields inherited from interface org.apache.axiom.om.OMConstants |
|---|
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI |
| Constructor Summary | |
|---|---|
ElementImpl(DocumentImpl ownerDocument,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMFactory factory)
Creates a new element with the namespace. |
|
ElementImpl(DocumentImpl ownerDocument,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.om.OMFactory factory)
|
|
ElementImpl(DocumentImpl ownerDocument,
java.lang.String tagName,
org.apache.axiom.om.OMFactory factory)
|
|
ElementImpl(org.apache.axiom.om.OMFactory factory)
|
|
ElementImpl(ParentNode parentNode,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMFactory factory)
|
|
ElementImpl(ParentNode parentNode,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.om.OMFactory factory)
|
|
ElementImpl(java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.om.OMFactory factory)
|
|
| Method Summary | |
|---|---|
org.apache.axiom.om.OMAttribute |
addAttribute(org.apache.axiom.om.OMAttribute attr)
|
org.apache.axiom.om.OMAttribute |
addAttribute(java.lang.String attributeName,
java.lang.String value,
org.apache.axiom.om.OMNamespace ns)
The behaviour of this is the same as org.w3c.dom.Element#setAttributeNS |
private org.apache.axiom.om.OMAttribute |
addAttribute(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
|
void |
buildWithAttachments()
Parses this node and builds the object structure in memory. |
org.w3c.dom.Node |
cloneNode(boolean deep)
|
org.apache.axiom.om.OMElement |
cloneOMElement()
Creates a clone which belongs to a new document. |
org.apache.axiom.om.OMNamespace |
declareDefaultNamespace(java.lang.String uri)
We use "" to store the default namespace of this element. |
org.apache.axiom.om.OMNamespace |
declareNamespace(org.apache.axiom.om.OMNamespace namespace)
Allows overriding an existing declaration if the same prefix was used. |
org.apache.axiom.om.OMNamespace |
declareNamespace(java.lang.String uri,
java.lang.String prefix)
Allows overriding an existing declaration if the same prefix was used. |
void |
discard()
|
private org.apache.axiom.om.OMNamespace |
findDeclaredNamespace(java.lang.String uri,
java.lang.String prefix)
Checks for the namespace only in the current Element. |
org.apache.axiom.om.OMNamespace |
findNamespace(java.lang.String uri,
java.lang.String prefix)
|
org.apache.axiom.om.OMNamespace |
findNamespaceURI(java.lang.String prefix)
|
java.util.Iterator |
getAllAttributes()
|
java.util.Iterator |
getAllDeclaredNamespaces()
|
org.apache.axiom.om.OMAttribute |
getAttribute(javax.xml.namespace.QName qname)
Returns a named attribute if present. |
java.lang.String |
getAttribute(java.lang.String name)
Looks in the local list of attributes and returns if found. |
org.w3c.dom.Attr |
getAttributeNode(java.lang.String name)
Retrieves an attribute node by name. |
org.w3c.dom.Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves an attribute node by local name and namespace URI. |
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves an attribute value by local name and namespace URI. |
org.w3c.dom.NamedNodeMap |
getAttributes()
Returns the set of attributes of this node and the namespace declarations available. |
java.lang.String |
getAttributeValue(javax.xml.namespace.QName qname)
Returns a named attribute's value, if present. |
org.apache.axiom.om.OMXMLParserWrapper |
getBuilder()
|
java.util.Iterator |
getChildElements()
|
org.apache.axiom.om.OMNamespace |
getDefaultNamespace()
|
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String name)
|
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
|
org.apache.axiom.om.OMElement |
getFirstElement()
Returns the first Element node. |
int |
getLineNumber()
|
java.lang.String |
getLocalName()
Returns the local name of this element node |
org.apache.axiom.om.OMNamespace |
getNamespace()
Returns the namespace of this element. |
java.lang.String |
getNamespaceURI()
Returns the value of the namespace URI. |
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Returns the namespace uri, given the prefix. |
org.apache.axiom.om.OMNode |
getNextOMSibling()
Default behavior returns null, overriden in ChildNode. |
java.lang.String |
getNodeName()
|
short |
getNodeType()
|
java.lang.String |
getPrefix()
Returns the namespace prefix of this element node |
javax.xml.namespace.QName |
getQName()
Returns the QName of this element. |
org.w3c.dom.TypeInfo |
getSchemaTypeInfo()
|
java.lang.String |
getTagName()
|
java.lang.String |
getText()
Gets all the text children and concatinates them to a single string. |
javax.xml.namespace.QName |
getTextAsQName()
|
java.lang.String |
getTrimmedText()
|
int |
getType()
|
javax.xml.stream.XMLStreamReader |
getXMLStreamReader()
|
private javax.xml.stream.XMLStreamReader |
getXMLStreamReader(boolean cache)
getXMLStreamReader |
javax.xml.stream.XMLStreamReader |
getXMLStreamReaderWithoutCaching()
|
boolean |
hasAttribute(java.lang.String name)
|
boolean |
hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Returns whether the given attribute is available or not. |
boolean |
hasAttributes()
Returns whether this element contains any attribute or not. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer)
|
protected void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
|
void |
internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
|
void |
removeAttribute(org.apache.axiom.om.OMAttribute attr)
Removes an attribute from the element. |
void |
removeAttribute(java.lang.String name)
Removes an attribute by name. |
org.w3c.dom.Attr |
removeAttributeNode(org.w3c.dom.Attr oldAttr)
Removes the specified attribute node. |
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
boolean |
removeNamespace(java.lang.String prefix)
Removes a declared namespace given its prefix. |
javax.xml.namespace.QName |
resolveQName(java.lang.String qname)
Turn a prefix:local qname string into a proper QName, evaluating it in the OMElement context unprefixed qnames resolve to the local namespace |
void |
setAttribute(java.lang.String name,
java.lang.String value)
|
org.w3c.dom.Attr |
setAttributeNode(org.w3c.dom.Attr attr)
Adds a new attribute node. |
org.w3c.dom.Attr |
setAttributeNodeNS(org.w3c.dom.Attr attr)
|
void |
setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
Adds a new attribute. |
void |
setBuilder(org.apache.axiom.om.OMXMLParserWrapper wrapper)
Sets the OM builder. |
void |
setIdAttribute(java.lang.String name,
boolean isId)
|
void |
setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
|
void |
setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
|
void |
setLineNumber(int lineNumber)
|
void |
setLocalName(java.lang.String localName)
Sets the local name. |
void |
setNamespace(org.apache.axiom.om.OMNamespace namespace)
Sets the namespace. |
void |
setNamespaceWithNoFindInCurrentScope(org.apache.axiom.om.OMNamespace namespace)
|
protected void |
setOwnerDocument(DocumentImpl document)
Sets the owner document. |
void |
setText(javax.xml.namespace.QName text)
|
void |
setText(java.lang.String text)
Creates a text node with the given value and adds it to the element. |
void |
setType(int nodeType)
|
java.lang.String |
toString()
Overridden toString() for ease of debugging. |
java.lang.String |
toStringWithConsume()
|
private void |
updateIsId(boolean isId,
AttrImpl tempAttr)
Updates the id state of the attr and notifies the document |
| Methods inherited from class org.apache.axiom.om.impl.dom.ParentNode |
|---|
addChild, buildNext, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getLastChild, hasChildNodes, importNode, insertBefore, removeChild, replaceChild, setFirstChild, setLastChild |
| Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode |
|---|
detach, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
| Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
appendChild, build, close, compareDocumentPosition, getBaseURI, getFeature, getLength, getNodeValue, getOMFactory, getOwnerDocument, getTextContent, getUserData, internalSerializeWithCache, isComplete, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isNormalized, isNormalized, isOwned, isOwned, isReadonly, isReadonly, isSameNode, isSpecified, isSpecified, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, parentNode, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.apache.axiom.om.OMElement |
|---|
setFirstChild |
| Methods inherited from interface org.apache.axiom.om.OMNode |
|---|
build, close, detach, getOMFactory, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
addChild, buildNext, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, isComplete |
| Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx |
|---|
setComplete |
| Field Detail |
|---|
private int lineNumber
protected org.apache.axiom.om.OMNamespace namespace
protected java.lang.String localName
private AttributeMap attributes
private java.util.HashMap namespaces
private static final org.apache.axiom.om.impl.util.EmptyIterator EMPTY_ITERATOR
| Constructor Detail |
|---|
public ElementImpl(DocumentImpl ownerDocument,
java.lang.String tagName,
org.apache.axiom.om.OMFactory factory)
ownerDocument -
public ElementImpl(DocumentImpl ownerDocument,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMFactory factory)
ownerDocument - tagName - ns -
public ElementImpl(DocumentImpl ownerDocument,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.om.OMFactory factory)
public ElementImpl(ParentNode parentNode,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMFactory factory)
public ElementImpl(ParentNode parentNode,
java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.om.OMFactory factory)
public ElementImpl(java.lang.String tagName,
NamespaceImpl ns,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.om.OMFactory factory)
public ElementImpl(org.apache.axiom.om.OMFactory factory)
| Method Detail |
|---|
public short getNodeType()
getNodeType in interface org.w3c.dom.Nodepublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.Nodepublic java.lang.String getNamespaceURI()
getNamespaceURI in interface org.w3c.dom.NodegetNamespaceURI in class NodeImpl
public int getType()
throws org.apache.axiom.om.OMException
getType in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMException
public void setType(int nodeType)
throws org.apache.axiom.om.OMException
setType in interface org.apache.axiom.om.impl.OMNodeExorg.apache.axiom.om.OMExceptionpublic java.lang.String getTagName()
getTagName in interface org.w3c.dom.Element
public void removeAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
removeAttribute in interface org.w3c.dom.Elementname - The name of the attribute to remove
org.w3c.dom.DOMExceptionElement.removeAttribute(String)
public void removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
removeAttributeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr)
throws org.w3c.dom.DOMException
removeAttributeNode in interface org.w3c.dom.Elementorg.w3c.dom.DOMExceptionElement.removeAttributeNode(org.w3c.dom.Attr)public boolean hasAttribute(java.lang.String name)
hasAttribute in interface org.w3c.dom.Element
public boolean hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
hasAttributeNS in interface org.w3c.dom.ElementElement.hasAttributeNS(String, String)public java.lang.String getAttribute(java.lang.String name)
getAttribute in interface org.w3c.dom.ElementElement.getAttribute(String)public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
getAttributeNode in interface org.w3c.dom.ElementElement.getAttributeNode(String)
public java.lang.String getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
getAttributeNS in interface org.w3c.dom.ElementElement.getAttributeNS(String, String)
public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
getAttributeNodeNS in interface org.w3c.dom.ElementElement.getAttributeNodeNS(String, String)
public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr attr)
throws org.w3c.dom.DOMException
setAttributeNode in interface org.w3c.dom.Elementorg.w3c.dom.DOMExceptionElement.setAttributeNode(org.w3c.dom.Attr)
public void setAttribute(java.lang.String name,
java.lang.String value)
throws org.w3c.dom.DOMException
setAttribute in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr attr)
throws org.w3c.dom.DOMException
setAttributeNodeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public void setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
throws org.w3c.dom.DOMException
setAttributeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMExceptionElement.setAttributeNS(String, String, String)
private org.apache.axiom.om.OMAttribute addAttribute(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic boolean hasAttributes()
hasAttributes in interface org.w3c.dom.NodehasAttributes in class NodeImpl
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
getElementsByTagNameNS in interface org.w3c.dom.Elementpublic org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
getElementsByTagName in interface org.w3c.dom.Elementpublic org.apache.axiom.om.OMAttribute addAttribute(org.apache.axiom.om.OMAttribute attr)
addAttribute in interface org.apache.axiom.om.OMElement(org.apache.axiom.om.OMAttribute)
public org.apache.axiom.om.OMAttribute addAttribute(java.lang.String attributeName,
java.lang.String value,
org.apache.axiom.om.OMNamespace ns)
addAttribute in interface org.apache.axiom.om.OMElementOMElement.addAttribute(String, String, org.apache.axiom.om.OMNamespace)public org.apache.axiom.om.OMNamespace declareNamespace(org.apache.axiom.om.OMNamespace namespace)
declareNamespace in interface org.apache.axiom.om.OMElement(org.apache.axiom.om.OMNamespace)
public org.apache.axiom.om.OMNamespace declareNamespace(java.lang.String uri,
java.lang.String prefix)
declareNamespace in interface org.apache.axiom.om.OMElementOMElement.declareNamespace(String, String)public org.apache.axiom.om.OMNamespace declareDefaultNamespace(java.lang.String uri)
declareDefaultNamespace in interface org.apache.axiom.om.OMElementuri - public org.apache.axiom.om.OMNamespace getDefaultNamespace()
getDefaultNamespace in interface org.apache.axiom.om.OMElement
public org.apache.axiom.om.OMNamespace findNamespace(java.lang.String uri,
java.lang.String prefix)
findNamespace in interface org.apache.axiom.om.OMElementOMElement.findNamespace(String, String)public org.apache.axiom.om.OMNamespace findNamespaceURI(java.lang.String prefix)
findNamespaceURI in interface org.apache.axiom.om.OMElement
private org.apache.axiom.om.OMNamespace findDeclaredNamespace(java.lang.String uri,
java.lang.String prefix)
public org.apache.axiom.om.OMAttribute getAttribute(javax.xml.namespace.QName qname)
getAttribute in interface org.apache.axiom.om.OMElement(javax.xml.namespace.QName)public java.lang.String getAttributeValue(javax.xml.namespace.QName qname)
getAttributeValue in interface org.apache.axiom.om.OMElementqname - the qualified name to search for
public org.apache.axiom.om.OMXMLParserWrapper getBuilder()
getBuilder in interface org.apache.axiom.om.OMElementpublic org.apache.axiom.om.OMElement getFirstElement()
getFirstElement in interface org.apache.axiom.om.OMElementOMElement.getFirstElement()
public org.apache.axiom.om.OMNamespace getNamespace()
throws org.apache.axiom.om.OMException
getNamespace in interface org.apache.axiom.om.OMElementorg.apache.axiom.om.OMExceptionOMElement.getNamespace()public javax.xml.namespace.QName getQName()
getQName in interface org.apache.axiom.om.OMElementOMElement.getQName()public java.lang.String getText()
getText in interface org.apache.axiom.om.OMElementOMElement.getText()public javax.xml.namespace.QName getTextAsQName()
getTextAsQName in interface org.apache.axiom.om.OMElementpublic java.lang.String getTrimmedText()
public void removeAttribute(org.apache.axiom.om.OMAttribute attr)
removeAttribute in interface org.apache.axiom.om.OMElement(org.apache.axiom.om.OMAttribute)public void setBuilder(org.apache.axiom.om.OMXMLParserWrapper wrapper)
setBuilder in interface org.apache.axiom.om.OMElement(org.apache.axiom.om.OMXMLParserWrapper)public void setLocalName(java.lang.String localName)
setLocalName in interface org.apache.axiom.om.OMElementOMElement.setLocalName(String)public void setNamespace(org.apache.axiom.om.OMNamespace namespace)
setNamespace in interface org.apache.axiom.om.OMElement(org.apache.axiom.om.OMNamespace)public void setNamespaceWithNoFindInCurrentScope(org.apache.axiom.om.OMNamespace namespace)
setNamespaceWithNoFindInCurrentScope in interface org.apache.axiom.om.OMElementpublic void setText(java.lang.String text)
setText in interface org.apache.axiom.om.OMElementOMElement.setText(String)public void setText(javax.xml.namespace.QName text)
setText in interface org.apache.axiom.om.OMElement
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerialize in interface org.apache.axiom.om.impl.OMNodeExjavax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerializeAndConsume in interface org.apache.axiom.om.impl.OMNodeExjavax.xml.stream.XMLStreamException
protected void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader getXMLStreamReaderWithoutCaching()
getXMLStreamReaderWithoutCaching in interface org.apache.axiom.om.OMElementpublic javax.xml.stream.XMLStreamReader getXMLStreamReader()
getXMLStreamReader in interface org.apache.axiom.om.OMElementprivate javax.xml.stream.XMLStreamReader getXMLStreamReader(boolean cache)
public java.lang.String toStringWithConsume()
throws javax.xml.stream.XMLStreamException
toStringWithConsume in interface org.apache.axiom.om.OMElementjavax.xml.stream.XMLStreamExceptionpublic java.lang.String toString()
toString in interface org.apache.axiom.om.OMElementtoString in class java.lang.ObjectObject.toString()public java.util.Iterator getChildElements()
getChildElements in interface org.apache.axiom.om.OMElement
public java.util.Iterator getAllDeclaredNamespaces()
throws org.apache.axiom.om.OMException
getAllDeclaredNamespaces in interface org.apache.axiom.om.OMElementorg.apache.axiom.om.OMExceptionOMElement.getAllDeclaredNamespaces()public java.util.Iterator getAllAttributes()
getAllAttributes in interface org.apache.axiom.om.OMElementOMElement.getAllAttributes()public java.lang.String getLocalName()
getLocalName in interface org.apache.axiom.om.OMElementgetLocalName in interface org.w3c.dom.NodegetLocalName in class NodeImplNode.getLocalName()public java.lang.String getPrefix()
getPrefix in interface org.w3c.dom.NodegetPrefix in class NodeImplNode.getPrefix()protected void setOwnerDocument(DocumentImpl document)
NodeImpl
setOwnerDocument in class NodeImpl(org.apache.axiom.om.impl.dom.DocumentImpl)public javax.xml.namespace.QName resolveQName(java.lang.String qname)
resolveQName in interface org.apache.axiom.om.OMElementqname - prefixed qname string to resolve
public org.apache.axiom.om.OMElement cloneOMElement()
cloneOMElement in interface org.apache.axiom.om.OMElementOMElement.cloneOMElement()public void setLineNumber(int lineNumber)
setLineNumber in interface org.apache.axiom.om.OMElementpublic int getLineNumber()
getLineNumber in interface org.apache.axiom.om.OMElementpublic org.w3c.dom.Node cloneNode(boolean deep)
cloneNode in interface org.w3c.dom.NodecloneNode in class ParentNodepublic org.w3c.dom.NamedNodeMap getAttributes()
getAttributes in interface org.w3c.dom.NodegetAttributes in class NodeImplElementImplpublic java.lang.String getNamespaceURI(java.lang.String prefix)
prefix -
public boolean removeNamespace(java.lang.String prefix)
prefix -
public org.apache.axiom.om.OMNode getNextOMSibling()
throws org.apache.axiom.om.OMException
NodeImpl
getNextOMSibling in interface org.apache.axiom.om.OMNodegetNextOMSibling in class ChildNodeorg.apache.axiom.om.OMException
public void discard()
throws org.apache.axiom.om.OMException
discard in interface org.apache.axiom.om.OMNodediscard in class ChildNodeorg.apache.axiom.om.OMException
public void setIdAttribute(java.lang.String name,
boolean isId)
throws org.w3c.dom.DOMException
setIdAttribute in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public void setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
throws org.w3c.dom.DOMException
setIdAttributeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public void setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
throws org.w3c.dom.DOMException
setIdAttributeNode in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
private void updateIsId(boolean isId,
AttrImpl tempAttr)
isId - tempAttr - public org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface org.w3c.dom.Elementpublic void buildWithAttachments()
NodeImpl
buildWithAttachments in interface org.apache.axiom.om.OMNodebuildWithAttachments in class NodeImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||