|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.om.util.ElementHelper
Helper class to provide extra utility stuff against elements. The code is designed to work with any element implementation.
Constructor Summary | |
ElementHelper(OMElement element)
Constructs and binds to an element. |
Method Summary | |
static OMElement |
getChildWithName(OMElement parent,
String childName)
|
QName |
resolveQName(String qname)
Turns a prefix:local qname string into a proper QName, evaluating it in the OMElement context. |
QName |
resolveQName(String qname,
boolean defaultToParentNameSpace)
Turns a prefix:local qname string into a proper QName, evaluating it in the OMElement context. |
static void |
setNewElement(OMElement parent,
OMElement myElement,
OMElement newElement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ElementHelper(OMElement element)
element
- element to work withMethod Detail |
public QName resolveQName(String qname, boolean defaultToParentNameSpace)
qname
- qname to resolvedefaultToParentNameSpace
- flag that controls behaviour when there is no namespace.
public QName resolveQName(String qname)
qname
- prefixed qname string to resolve
public static void setNewElement(OMElement parent, OMElement myElement, OMElement newElement)
public static OMElement getChildWithName(OMElement parent, String childName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |