|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.xml.parser.v2.XMLNode
oracle.xml.parser.v2.XMLNSNode
oracle.xml.parser.v2.XMLElement
oracle.jbo.mom.xml.DefElementImpl
public class DefElementImpl
This class extends the JBO implementation of the XMLElement
class. These are created by the XML parser when using the JBONodeFactory.
XMLElement
, XMLParser
, Serialized FormField Summary | |
---|---|
static java.lang.String |
RES_ID_SUFFIX |
Fields inherited from class oracle.xml.parser.v2.XMLElement |
---|
ANY_CONTENTTYPE, ELEMENT_CONTENT, ELEMENTS_CONTENTTYPE, EMPTY_CONTENTTYPE, MIXED_CONTENT, MIXED_CONTENTTYPE |
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 |
Fields inherited from interface org.w3c.dom.validation.ElementEditVAL |
---|
VAL_ANY_CONTENTTYPE, VAL_ELEMENTS_CONTENTTYPE, VAL_EMPTY_CONTENTTYPE, VAL_MIXED_CONTENTTYPE, VAL_SIMPLE_CONTENTTYPE |
Fields inherited from interface org.w3c.dom.validation.NodeEditVAL |
---|
VAL_FALSE, VAL_INCOMPLETE, VAL_NS_WF, VAL_SCHEMA, VAL_TRUE, VAL_UNKNOWN, VAL_WF |
Fields inherited from interface oracle.xml.comp.CXMLConstants |
---|
ATTR_DEF, ATTR_TOKEN, ATTRDECL_DEF, CDATA_DEF, CHAR_DEF, COMMENT_DEF, COMPRESSED_STREAM_VERSION, CXML_VERSION_1, CXML_VERSION_2, cXMLFILE, cXMLFILE_LEN, DTD_DEF, ELEM_SIZE, ELEMENTDECL_DEF, ENCODING, END, END_CXMLDOC, ENTITY_DEF, ENTITYREF_DEF, names, NOTATION_DEF, NS_DEF, NS_TOKEN, NULLSTR, PI_DEF, PREFIX_DEF, STANDALONE, STANDALONE_NO, STANDALONE_NONE, STANDALONE_YES, TAG_DEF, TAG_TOKEN, TYPE_4BYTES, TYPE_DEF, TYPE_GLOBAL, TYPE_NILLABLE, TYPE_SIMPLE, TYPE_TOKEN, XMLDECL_DEF, XMLVERSION |
Constructor Summary | |
---|---|
DefElementImpl(java.lang.String tagName) |
Method Summary | |
---|---|
DefElement |
findChildElement(java.lang.String childName) Finds the first child element of the given node name |
java.util.ArrayList |
getAttrsList() Gets all the attributes of the element, in no particular order. |
DefElementImpl |
getChildElement(java.lang.String childName) |
java.util.Vector |
getChildren(java.lang.String childName) Gets the child elements of the given node name. |
java.util.ArrayList |
getChildrenList() Gets all the child elements. |
java.util.ArrayList |
getChildrenList(short[] nodeTypes) Gets all the child nodes of the given types. |
java.util.ArrayList |
getChildrenList(short[] nodeTypes, java.lang.String childName) Gets the child nodes of the given types and node name. |
java.util.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. |
java.util.Vector |
getSimilarChildren(java.lang.String childName) Gets the child elements with node names "similar to" the given node name (i.e. |
java.util.ArrayList |
getSimilarChildrenList(java.lang.String childName) Gets the child elements with node names "similar to" the given node name (i.e. |
java.util.Hashtable |
loadProperties() Loads the Jbo Properties |
java.util.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) |
java.util.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.String |
readCDataObject(java.lang.String attrName) |
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 |
java.util.ArrayList |
readStringArrayList(java.lang.String attrName) Given the Attribute name loads the array |
java.util.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 |
java.lang.String |
readUserObject(java.lang.String attrName) |
java.lang.String |
readUserObject(java.lang.String attrName, boolean checkUnique) |
java.lang.String |
readUserObjectTrim(java.lang.String attrName) |
java.lang.String |
readUserObjectTrim(java.lang.String attrName, boolean checkUnique) |
java.util.ArrayList |
readUserStringArrayListElement(java.lang.String elemName) Given the Attribute name loads the array |
java.util.HashMap |
readUserStringElementsMap(java.lang.String elemName) Given the Attribute name loads the map of name-value pairs wher value is CData strings |
Methods inherited from class oracle.xml.parser.v2.XMLNSNode |
---|
addText, addText, appendChild, checkDocument, getChildNodes, getFirstChild, getLastChild, getNodeLocalName, getText, insertBefore, removeChild, replaceChild |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.mom.xml.DefElement |
---|
getAttribute, getAttributes, getChildNodes, getChildrenByTagName, getChildrenByTagName, getOwnerDocument, getTagName, removeAttribute, setAttribute |
Methods inherited from interface oracle.jbo.mom.xml.DefNode |
---|
getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setTextContent, setUserData |
Field Detail |
---|
public static java.lang.String RES_ID_SUFFIX
Constructor Detail |
---|
public DefElementImpl(java.lang.String tagName)
Method Detail |
---|
public java.lang.String getElementName()
getElementName
in interface DefElement
public java.util.Vector getChildren(java.lang.String childName)
getChildren
in interface DefElement
childName
- the node name of the child - null indicates all names.public DefElementImpl getChildElement(java.lang.String childName)
public DefElement findChildElement(java.lang.String childName)
findChildElement
in interface DefElement
childName
- the node name of the child - null indicates all names.public java.util.ArrayList getChildrenList()
getChildrenList
in interface DefElement
public java.util.ArrayList getChildrenList(short[] nodeTypes)
getChildrenList
in interface DefElement
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 java.util.ArrayList getChildrenList(java.lang.String childName)
getChildrenList
in interface DefElement
childName
- the node name of the child - null indicates all names.public java.util.ArrayList getChildrenList(short[] nodeTypes, java.lang.String childName)
getChildrenList
in interface DefElement
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)
getSimilarChildren
in interface DefElement
childName
- the substring within node name of the child.public java.util.ArrayList getSimilarChildrenList(java.lang.String childName)
getSimilarChildrenList
in interface DefElement
childName
- the substring within node name of the child.public java.util.ArrayList getAttrsList()
getAttrsList
in interface DefElement
public int readInt(java.lang.String attrName)
readInt
in interface DefElement
attrName
- Name of the Attributepublic long readLong(java.lang.String attrName)
readLong
in interface DefElement
attrName
- Name of the Attributepublic boolean readBoolean(java.lang.String attrName)
readBoolean
in interface DefElement
attrName
- Name of the Attributepublic java.lang.String readString(java.lang.String attrName)
readString
in interface DefElement
attrName
- Name of the Attributepublic java.lang.String readCDataObject(java.lang.String attrName)
readCDataObject
in interface DefElement
public java.lang.String readUserObject(java.lang.String attrName)
readUserObject
in interface DefElement
public java.lang.String readUserObject(java.lang.String attrName, boolean checkUnique)
readUserObject
in interface DefElement
public java.lang.String readUserObjectTrim(java.lang.String attrName)
readUserObjectTrim
in interface DefElement
public java.lang.String readUserObjectTrim(java.lang.String attrName, boolean checkUnique)
readUserObjectTrim
in interface DefElement
public java.lang.String readUserNodeValue(java.lang.String attrName)
readUserNodeValue
in interface DefElement
attrName
- Name of the Attributepublic java.util.Vector readStringArray(java.lang.String attrName)
readStringArray
in interface DefElement
attrName
- Name of the Attributepublic java.util.ArrayList readStringArrayList(java.lang.String attrName)
readStringArrayList
in interface DefElement
attrName
- Name of the Attributepublic java.util.ArrayList readStringArrayListElement(java.lang.String attrName)
readStringArrayListElement
in interface DefElement
attrName
- Name of the Attributepublic java.util.ArrayList readUserStringArrayListElement(java.lang.String elemName)
readUserStringArrayListElement
in interface DefElement
elemName
- Name of the child element that is a list of CData stringspublic java.util.HashMap readUserStringElementsMap(java.lang.String elemName)
readUserStringElementsMap
in interface DefElement
elemName
- Name of the child element that is a list of CData stringspublic java.lang.Class readClassName(java.lang.String attrName)
readClassName
in interface DefElement
public java.util.Hashtable loadProperties()
loadProperties
in interface DefElement
public java.util.HashMap loadPropertiesMap()
loadPropertiesMap
in interface DefElement
public java.util.Hashtable loadTable(java.lang.String attrName, java.lang.String elemName, java.lang.String name, java.lang.String value)
loadTable
in interface DefElement
public java.util.HashMap loadTableMap(java.lang.String attrName, java.lang.String elemName, java.lang.String name, java.lang.String value)
loadTableMap
in interface DefElement
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |