|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
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 DefNode
getLocalName
in class WrapperDefElement
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface DefNode
getNamespaceURI
in class WrapperDefElement
public java.lang.String getNodeName()
getNodeName
in interface DefNode
getNodeName
in class WrapperDefElement
public java.util.ArrayList getChildrenList(short[] nodeTypes, java.lang.String childName)
DefElement
getChildrenList
in interface DefElement
getChildrenList
in class WrapperDefElement
nodeTypes
- 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)
DefElement
getSimilarChildrenList
in interface DefElement
getSimilarChildrenList
in class WrapperDefElement
childName
- the Substring within node name of the child.
public java.util.ArrayList getAttrsList()
DefElement
getAttrsList
in interface DefElement
getAttrsList
in class WrapperDefElement
public java.lang.String readUserNodeValue(java.lang.String attrName)
DefElement
readUserNodeValue
in interface DefElement
readUserNodeValue
in class WrapperDefElement
attrName
- Name of the Attribute
public java.lang.String getAttribute(java.lang.String param1)
getAttribute
in interface DefElement
getAttribute
in class WrapperDefElement
public void setAttribute(java.lang.String param1, java.lang.String param2)
setAttribute
in interface DefElement
setAttribute
in class WrapperDefElement
public void removeAttribute(java.lang.String param1)
removeAttribute
in interface DefElement
removeAttribute
in class WrapperDefElement
public NamedNodeMap getAttributes()
getAttributes
in interface DefElement
getAttributes
in class WrapperDefElement
public NodeList getChildNodes()
getChildNodes
in interface DefElement
getChildNodes
in class WrapperDefElement
public NodeList getChildrenByTagName(java.lang.String sName)
getChildrenByTagName
in interface DefElement
getChildrenByTagName
in class WrapperDefElement
public NodeList getChildrenByTagName(java.lang.String uri, java.lang.String localName)
getChildrenByTagName
in interface DefElement
getChildrenByTagName
in class WrapperDefElement
public Document getOwnerDocument()
getOwnerDocument
in interface DefElement
getOwnerDocument
in class WrapperDefElement
public Element getElement()
protected DefElement getFirstChildByTagName(java.lang.String name)
getFirstChildByTagName
in class WrapperDefElement
protected DefElement getFirstElementByTagName(java.lang.String name)
WrapperDefElement
DefElement
descendant (preorder)
with the specified tag name.
getFirstElementByTagName
in class WrapperDefElement
name
- The tag name to match on.
null
if none).protected DefElement getImmediateFirstElementByTagName(java.lang.String name)
WrapperDefElement
getImmediateFirstElementByTagName
in class WrapperDefElement
name
- 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.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |