|
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.jbo.common.ClientElement
public class ClientElement
Internal: Applications should not use this class.
Defines a simple XML element.
ClientElement
instances are serialized to the client from the middle tier. The middle-tier provides an XML parser and can construct an XML hierarchy tree from XML, or convert a tree into XML.
ClientDocument
, Serialized FormConstructor Summary | |
---|---|
ClientElement() Creates an empty ClientElement instance. |
|
ClientElement(java.lang.String name) Creates a named ClientElement instance. |
Method Summary | |
---|---|
void |
addAttribute(java.lang.String key, java.lang.String value) Adds an attribute to this element. |
void |
addChild(ClientElement element) Adds a subsidiary element to this element. |
java.lang.String |
getAttribute(java.lang.String name) Finds an attribute with given name. |
ClientElement[] |
getElementsOfType(java.lang.String tagName) Creates an array of all subsidiary elements having given name |
java.lang.String |
getName() Gets the name of this element. |
void |
removeAttribute(java.lang.String key) Removes an attribute from this element. |
void |
removeChild(ClientElement element) Removes a subsidiary element from this element. |
void |
setName(java.lang.String name) Sets the name of this element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientElement()
ClientElement
instance.public ClientElement(java.lang.String name)
ClientElement
instance.
name
- the instance's name.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- this element's new name.public void addAttribute(java.lang.String key, java.lang.String value)
key
- the attribute's name.value
- the attribute's encoded value.public void removeAttribute(java.lang.String key)
key
- the attribute's name.public void addChild(ClientElement element)
element
- an element.public void removeChild(ClientElement element)
element
- a child of this element.public java.lang.String getAttribute(java.lang.String name)
name
- the attribute's key.null
if not found.public ClientElement[] getElementsOfType(java.lang.String tagName)
tagName
- the name to use to select elements.
|
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 |