public class AxiomNode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
APPEND_CHILD |
static String |
DESCENDEN_ATTRIBUTE_MATCHER |
static String |
DESCENDENT_CHILDREN_MATCHER |
static String |
INVALID_CHILD_INDEX |
static HashMap |
matcherMap |
static String |
NODE_MATCHER |
static int |
PREPEND_CHILD |
static String |
UNSUPPORTED_OP |
Modifier and Type | Method and Description |
---|---|
void |
addInScopeNamespace(Namespace value) |
AxiomNode |
childAt(int index)
Retrieve the (index)th child of the current element and covered in an AxiomNode
|
org.apache.axiom.om.OMNode |
cloneOMNode()
Clone this OMNode.
|
boolean |
detach()
Detach this AxiomNode form the its Parent Elment
|
XMLList |
getChildElements(XMLName xmlName,
XMLList xmlList) |
int |
getChildIndex() |
XML |
getElemetFromText(XMLLibImpl lib,
XMLName xmlName,
String value) |
Object[] |
getInScopeNamespace(XMLLibImpl lib) |
org.apache.axiom.om.OMAttribute |
getOMAttribute() |
org.apache.axiom.om.OMComment |
getOMComment() |
org.apache.axiom.om.OMElement |
getOMElement() |
org.apache.axiom.om.OMFactory |
getOMFactory() |
org.apache.axiom.om.OMNode |
getOMNode() |
org.apache.axiom.om.OMProcessingInstruction |
getOMProcessingInstruction() |
org.apache.axiom.om.OMText |
getOMText() |
AxiomNode |
getParentNode() |
javax.xml.namespace.QName |
getQName()
If this AxiomNode represents a Comment or a Text Node QName will be null;
|
XML |
getXMLObject(XMLLibImpl lib) |
void |
insertChild(AxiomNode refNode,
AxiomNode nodeToInsert,
int mode) |
boolean |
isAttribute() |
boolean |
isComment() |
boolean |
isElement() |
boolean |
isNull() |
boolean |
isOMNode() |
boolean |
isProcessingInstruction() |
boolean |
isText() |
XMLList |
matchNodes(XMLName xmlName,
XMLList xmlList,
int type) |
void |
removeChild(AxiomNode axiomNode) |
void |
setNodeMatcher(String matcherName)
Set the corresponding matcher inner class.
|
void |
setParentNode(AxiomNode parentNode) |
public static final int APPEND_CHILD
public static final int PREPEND_CHILD
public static final String UNSUPPORTED_OP
public static final String INVALID_CHILD_INDEX
public static final String NODE_MATCHER
public static final String DESCENDENT_CHILDREN_MATCHER
public static final String DESCENDEN_ATTRIBUTE_MATCHER
public static final HashMap matcherMap
public void addInScopeNamespace(Namespace value)
public AxiomNode childAt(int index)
index
- (zero-based) of the child to retrievedpublic org.apache.axiom.om.OMNode cloneOMNode()
public boolean detach()
public int getChildIndex()
public XML getElemetFromText(XMLLibImpl lib, XMLName xmlName, String value)
public Object[] getInScopeNamespace(XMLLibImpl lib)
public org.apache.axiom.om.OMAttribute getOMAttribute()
public org.apache.axiom.om.OMComment getOMComment()
public org.apache.axiom.om.OMElement getOMElement()
public org.apache.axiom.om.OMFactory getOMFactory()
public org.apache.axiom.om.OMNode getOMNode()
public org.apache.axiom.om.OMProcessingInstruction getOMProcessingInstruction()
public org.apache.axiom.om.OMText getOMText()
public AxiomNode getParentNode()
public javax.xml.namespace.QName getQName()
public XML getXMLObject(XMLLibImpl lib)
public boolean isAttribute()
public boolean isComment()
public boolean isElement()
public boolean isNull()
public boolean isOMNode()
public boolean isProcessingInstruction()
public boolean isText()
public void removeChild(AxiomNode axiomNode)
public void setNodeMatcher(String matcherName)
matcherName
- public void setParentNode(AxiomNode parentNode)
Copyright © 2013 WSO2. All Rights Reserved.