Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


oracle.jbo.mom.xml
Class MElementDefElement

java.lang.Object
  extended byoracle.jbo.mom.xml.WrapperDefElement
      extended byoracle.jbo.mom.xml.MElementDefElement

All Implemented Interfaces:
DefElement, DefNode

public class MElementDefElement
extends WrapperDefElement

Field Summary

 

Fields inherited from interface oracle.jbo.mom.xml.DefNode
ATTRIBUTE_NODE, CDATA_SECTION_NODE, ELEMENT_NODE, TEXT_NODE

 

Constructor Summary
MElementDefElement(oracle.mds.melement.MElement element)
           

 

Method Summary
 java.lang.String getAttribute(java.lang.String param1)
           
 com.sun.java.util.collections.ArrayList getAttrsList()
          Gets all the attributes of the element, in no particular order.
 com.sun.java.util.collections.ArrayList getChildrenList(short[] nodeTypes, java.lang.String childName)
          Gets the child nodes of the given types and node name.
protected  DefElement getFirstChildByTagName(java.lang.String name)
          Returns the first immediate child with the specified tag name.
protected  DefElement getFirstElementByTagName(java.lang.String name)
          Returns the first DefElement descendant (preorder) with the specified tag name.
 java.lang.String getLocalName()
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getNodeName()
           
 com.sun.java.util.collections.ArrayList getSimilarChildrenList(java.lang.String childName)
          Gets the child elements with node names "similar to" the given node name (i.e.

 

Methods inherited from class oracle.jbo.mom.xml.WrapperDefElement
findChildElement, getAttributes, getChildNodes, getChildren, getChildrenByTagName, getChildrenByTagName, getChildrenList, getChildrenList, getChildrenList, getElementName, getNodeType, getNodeValue, getOwnerDocument, getSimilarChildren, getTagName, loadProperties, loadPropertiesMap, loadTable, loadTableMap, readBoolean, readClassName, readInt, readLong, readString, readStringArray, readStringArrayList, readStringArrayListElement, readUserNodeValue, removeAttribute, setAttribute

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MElementDefElement

public MElementDefElement(oracle.mds.melement.MElement element)

Method Detail

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface DefNode
Specified by:
getLocalName in class WrapperDefElement

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface DefNode
Specified by:
getNamespaceURI in class WrapperDefElement

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface DefNode
Specified by:
getNodeName in class WrapperDefElement

getChildrenList

public com.sun.java.util.collections.ArrayList getChildrenList(short[] nodeTypes,
                                                               java.lang.String childName)
Description copied from interface: DefElement
Gets the child nodes of the given types and node name.
Specified by:
getChildrenList in interface DefElement
Specified by:
getChildrenList in class WrapperDefElement

getSimilarChildrenList

public com.sun.java.util.collections.ArrayList getSimilarChildrenList(java.lang.String childName)
Description copied from interface: DefElement
Gets the child elements with node names "similar to" the given node name (i.e. whose node names contain the given node name as a substring).
Specified by:
getSimilarChildrenList in interface DefElement
Specified by:
getSimilarChildrenList in class WrapperDefElement

getAttrsList

public com.sun.java.util.collections.ArrayList getAttrsList()
Description copied from interface: DefElement
Gets all the attributes of the element, in no particular order.
Specified by:
getAttrsList in interface DefElement
Specified by:
getAttrsList in class WrapperDefElement

getAttribute

public java.lang.String getAttribute(java.lang.String param1)
Specified by:
getAttribute in interface DefElement
Specified by:
getAttribute in class WrapperDefElement

getFirstChildByTagName

protected DefElement getFirstChildByTagName(java.lang.String name)
Description copied from class: WrapperDefElement
Returns the first immediate child with the specified tag name.
Specified by:
getFirstChildByTagName in class WrapperDefElement
Parameters:
name - The tag name to match on, or "*" for first child.
Returns:
The first matching child (or null if none).

getFirstElementByTagName

protected DefElement getFirstElementByTagName(java.lang.String name)
Description copied from class: WrapperDefElement
Returns the first DefElement descendant (preorder) with the specified tag name.
Specified by:
getFirstElementByTagName in class WrapperDefElement
Parameters:
name - The tag name to match on.
Returns:
The first matching descendant (or null if none).

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


Copyright © 1997, 2005, Oracle. All rights reserved.