|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jbo.mom.xml.WrapperDefElement
oracle.jbo.mom.xml.ElementDefElement
public class ElementDefElement
| Field Summary |
|---|
| Fields inherited from interface oracle.jbo.mom.xml.DefElement |
|---|
NODETYPES_TEXT_CDATA |
| Fields inherited from interface oracle.jbo.mom.xml.DefNode |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, ELEMENT_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
ElementDefElement(Element element) |
|
| Method Summary | |
|---|---|
java.lang.String |
getAttribute(java.lang.String param1) |
NamedNodeMap |
getAttributes() |
java.util.ArrayList |
getAttrsList()Gets all the attributes of the element, in no particular order. |
NodeList |
getChildNodes() |
NodeList |
getChildrenByTagName(java.lang.String sName) |
NodeList |
getChildrenByTagName(java.lang.String uri, java.lang.String localName) |
java.util.ArrayList |
getChildrenList(short[] nodeTypes, java.lang.String childName)Gets the child nodes of the given types and node name. |
Element |
getElement() |
protected DefElement |
getFirstChildByTagName(java.lang.String name) |
protected DefElement |
getFirstElementByTagName(java.lang.String name)Returns the first DefElement descendant (preorder) with the specified tag name. |
protected DefElement |
getImmediateFirstElementByTagName(java.lang.String name)Returns the first immediate child with the specified tag name. |
java.lang.String |
getLocalName() |
java.lang.String |
getNamespaceURI() |
java.lang.String |
getNodeName() |
Document |
getOwnerDocument() |
java.util.ArrayList |
getSimilarChildrenList(java.lang.String childName)Gets the child elements with node names "similar to" the given node name (i.e. |
static DefElement |
normalize(java.lang.Object obj) |
java.lang.String |
readUserNodeValue(java.lang.String attrName)Given the Object name and Attribute name loads that attribute |
void |
removeAttribute(java.lang.String param1) |
void |
setAttribute(java.lang.String param1, java.lang.String param2) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementDefElement(Element element)
| Method Detail |
|---|
public static final DefElement normalize(java.lang.Object obj)
public java.lang.String getLocalName()
getLocalName in interface DefNodegetLocalName in class WrapperDefElementpublic java.lang.String getNamespaceURI()
getNamespaceURI in interface DefNodegetNamespaceURI in class WrapperDefElementpublic java.lang.String getNodeName()
getNodeName in interface DefNodegetNodeName in class WrapperDefElement
public java.util.ArrayList getChildrenList(short[] nodeTypes,
java.lang.String childName)
DefElementgetChildrenList in interface DefElementgetChildrenList in class WrapperDefElementnodeTypes - the types of nodes to be retrieved. Notes: (1) Only ELEMENT_NODE, TEXT_NODE, and CDATA_SECTION_NODE are currently supported. (2) The order in which node types are listed has no effect, even on performance.childName - the node name of the child - null indicates all names.public java.util.ArrayList getSimilarChildrenList(java.lang.String childName)
DefElementgetSimilarChildrenList in interface DefElementgetSimilarChildrenList in class WrapperDefElementchildName - the Substring within node name of the child.public java.util.ArrayList getAttrsList()
DefElementgetAttrsList in interface DefElementgetAttrsList in class WrapperDefElementpublic java.lang.String readUserNodeValue(java.lang.String attrName)
DefElementreadUserNodeValue in interface DefElementreadUserNodeValue in class WrapperDefElementattrName - Name of the Attributepublic java.lang.String getAttribute(java.lang.String param1)
getAttribute in interface DefElementgetAttribute in class WrapperDefElement
public void setAttribute(java.lang.String param1,
java.lang.String param2)
setAttribute in interface DefElementsetAttribute in class WrapperDefElementpublic void removeAttribute(java.lang.String param1)
removeAttribute in interface DefElementremoveAttribute in class WrapperDefElementpublic NamedNodeMap getAttributes()
getAttributes in interface DefElementgetAttributes in class WrapperDefElementpublic NodeList getChildNodes()
getChildNodes in interface DefElementgetChildNodes in class WrapperDefElementpublic NodeList getChildrenByTagName(java.lang.String sName)
getChildrenByTagName in interface DefElementgetChildrenByTagName in class WrapperDefElement
public NodeList getChildrenByTagName(java.lang.String uri,
java.lang.String localName)
getChildrenByTagName in interface DefElementgetChildrenByTagName in class WrapperDefElementpublic Document getOwnerDocument()
getOwnerDocument in interface DefElementgetOwnerDocument in class WrapperDefElementpublic Element getElement()
protected DefElement getFirstChildByTagName(java.lang.String name)
getFirstChildByTagName in class WrapperDefElementprotected DefElement getFirstElementByTagName(java.lang.String name)
WrapperDefElementDefElement descendant (preorder) with the specified tag name.getFirstElementByTagName in class WrapperDefElementname - The tag name to match on.null if none).protected DefElement getImmediateFirstElementByTagName(java.lang.String name)
WrapperDefElementgetImmediateFirstElementByTagName in class WrapperDefElementname - The tag name to match on, or "*" for first child.null if none).
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||