|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents an element in a read-only representation (e.g. DOM or MDS MElement) of the XML for a document.
| Field Summary |
| Fields inherited from interface oracle.jbo.mom.xml.DefNode |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, ELEMENT_NODE, TEXT_NODE |
| Method Summary | |
DefElement |
findChildElement(java.lang.String childName)Finds the first child element of the given node name |
java.lang.String |
getAttribute(java.lang.String param1) |
NamedNodeMap |
getAttributes() |
com.sun.java.util.collections.ArrayList |
getAttrsList()Gets all the attributes of the element, in no particular order. |
NodeList |
getChildNodes() |
java.util.Vector |
getChildren(java.lang.String childName)Gets the child elements of the given node name. |
NodeList |
getChildrenByTagName(java.lang.String param1) |
NodeList |
getChildrenByTagName(java.lang.String param1, java.lang.String param2) |
com.sun.java.util.collections.ArrayList |
getChildrenList()Gets all the child elements. |
com.sun.java.util.collections.ArrayList |
getChildrenList(short[] nodeTypes)Gets all the child nodes of the given types. |
com.sun.java.util.collections.ArrayList |
getChildrenList(short[] nodeTypes, java.lang.String childName)Gets the child nodes of the given types and node name. |
com.sun.java.util.collections.ArrayList |
getChildrenList(java.lang.String childName)Gets the child elements of the given node name. |
java.lang.String |
getElementName()Retrieves the node name of the element as a string. |
Document |
getOwnerDocument() |
java.util.Vector |
getSimilarChildren(java.lang.String childName)Gets the child elements with node names "similar to" the given node name (i.e. |
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. |
java.lang.String |
getTagName() |
java.util.Hashtable |
loadProperties()Loads the Jbo Properties |
com.sun.java.util.collections.HashMap |
loadPropertiesMap()Loads the Jbo Properties |
java.util.Hashtable |
loadTable(java.lang.String attrName, java.lang.String elemName, java.lang.String name, java.lang.String value) |
com.sun.java.util.collections.HashMap |
loadTableMap(java.lang.String attrName, java.lang.String elemName, java.lang.String name, java.lang.String value) |
boolean |
readBoolean(java.lang.String attrName)Given the Object name and Attribute name loads that attribute |
java.lang.Class |
readClassName(java.lang.String attrName) |
int |
readInt(java.lang.String attrName)Given the Object name and Attribute name loads that attribute and returns the int value. |
long |
readLong(java.lang.String attrName)Given the Object name and Attribute name loads that attribute |
java.lang.String |
readString(java.lang.String attrName)Given the Object name and Attribute name loads that attribute |
java.util.Vector |
readStringArray(java.lang.String attrName)Given the Attribute name loads the array |
com.sun.java.util.collections.ArrayList |
readStringArrayList(java.lang.String attrName)Given the Attribute name loads the array |
com.sun.java.util.collections.ArrayList |
readStringArrayListElement(java.lang.String attrName)Given the Attribute name loads the array |
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 interface oracle.jbo.mom.xml.DefNode |
getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue |
| Method Detail |
public java.lang.String getElementName()
public java.util.Vector getChildren(java.lang.String childName)
childName - the node name of the child - null indicates all names.public DefElement findChildElement(java.lang.String childName)
childName - the node name of the child - null indicates all names.public com.sun.java.util.collections.ArrayList getChildrenList()
public com.sun.java.util.collections.ArrayList getChildrenList(short[] nodeTypes)
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.public com.sun.java.util.collections.ArrayList getChildrenList(java.lang.String childName)
childName - the node name of the child - null indicates all names.
public com.sun.java.util.collections.ArrayList getChildrenList(short[] nodeTypes,
java.lang.String childName)
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.Vector getSimilarChildren(java.lang.String childName)
childName - the substring within node name of the child.public com.sun.java.util.collections.ArrayList getSimilarChildrenList(java.lang.String childName)
childName - the Substring within node name of the child.public com.sun.java.util.collections.ArrayList getAttrsList()
public int readInt(java.lang.String attrName)
attrName - Name of the Attributepublic long readLong(java.lang.String attrName)
attrName - Name of the Attributepublic boolean readBoolean(java.lang.String attrName)
attrName - Name of the Attributepublic java.lang.String readString(java.lang.String attrName)
attrName - Name of the Attributepublic java.lang.String readUserNodeValue(java.lang.String attrName)
attrName - Name of the Attributepublic java.util.Vector readStringArray(java.lang.String attrName)
attrName - Name of the Attributepublic com.sun.java.util.collections.ArrayList readStringArrayList(java.lang.String attrName)
attrName - Name of the Attributepublic com.sun.java.util.collections.ArrayList readStringArrayListElement(java.lang.String attrName)
attrName - Name of the Attributepublic java.lang.Class readClassName(java.lang.String attrName)
public java.util.Hashtable loadProperties()
public com.sun.java.util.collections.HashMap loadPropertiesMap()
public java.util.Hashtable loadTable(java.lang.String attrName,
java.lang.String elemName,
java.lang.String name,
java.lang.String value)
public com.sun.java.util.collections.HashMap loadTableMap(java.lang.String attrName,
java.lang.String elemName,
java.lang.String name,
java.lang.String value)
public java.lang.String getTagName()
public java.lang.String getAttribute(java.lang.String param1)
public void setAttribute(java.lang.String param1,
java.lang.String param2)
public void removeAttribute(java.lang.String param1)
public NamedNodeMap getAttributes()
public NodeList getChildNodes()
public NodeList getChildrenByTagName(java.lang.String param1)
public NodeList getChildrenByTagName(java.lang.String param1,
java.lang.String param2)
public Document getOwnerDocument()
|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||