|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.util.DefaultPropertyAccess
oracle.ide.util.DefaultStructuredPropertyAccess
public class DefaultStructuredPropertyAccess
Field Summary |
---|
Fields inherited from class oracle.ide.util.DefaultPropertyAccess |
---|
_map |
Constructor Summary | |
---|---|
DefaultStructuredPropertyAccess(java.lang.String name) |
Method Summary | |
---|---|
void |
addAll(StructuredPropertyAccess other) Adds all the attributes and children from other to this. |
void |
appendChild(StructuredPropertyAccess childNode) Adds a child node |
boolean |
getBooleanProperty(java.lang.String key, boolean defaultValue) Utility method to retrieve a boolean value |
StructuredPropertyAccess |
getChildNode(java.lang.String name) Returns the child node with the specified name. |
java.util.Iterator |
getChildNodes() Returns an iterator of all the child nodes |
java.util.Iterator |
getChildNodes(java.lang.String name) Returns an iterator of all the child nodes with that name |
int |
getIntegerProperty(java.lang.String key, int defaultValue) Utility method to retrieve an integer value |
java.lang.String |
getName() |
java.util.Iterator |
getProperties() Get the name of all the properties present in this node. |
boolean |
hasAttributes() |
boolean |
hasChildNodes() |
void |
insertChild(int position, StructuredPropertyAccess childNode) Inserts a node at the specified position |
static DefaultStructuredPropertyAccess |
loadFromXML(java.io.File file) |
void |
removeAllChildren() |
void |
removeChild(StructuredPropertyAccess childNode) Removes the specified node |
static void |
saveToXML(StructuredPropertyAccess structuredPropertyAccess, java.io.File file) |
void |
setBooleanProperty(java.lang.String key, boolean value) Utility method to set a boolean value |
void |
setIntegerProperty(java.lang.String key, int value) Utility method to set a boolean value |
void |
setName(java.lang.String name) Sets the name of the node |
Methods inherited from class oracle.ide.util.DefaultPropertyAccess |
---|
get, getProperty, put, remove, removeProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.util.PropertyAccess |
---|
getProperty, removeProperty, setProperty |
Constructor Detail |
---|
public DefaultStructuredPropertyAccess(java.lang.String name)
Method Detail |
---|
public java.lang.String getName()
getName
in interface StructuredPropertyAccess
public void setName(java.lang.String name)
StructuredPropertyAccess
setName
in interface StructuredPropertyAccess
public java.util.Iterator getChildNodes()
StructuredPropertyAccess
getChildNodes
in interface StructuredPropertyAccess
public java.util.Iterator getChildNodes(java.lang.String name)
StructuredPropertyAccess
name
getChildNodes
in interface StructuredPropertyAccess
public StructuredPropertyAccess getChildNode(java.lang.String name)
StructuredPropertyAccess
getChildNode
in interface StructuredPropertyAccess
public void insertChild(int position, StructuredPropertyAccess childNode)
StructuredPropertyAccess
insertChild
in interface StructuredPropertyAccess
public void appendChild(StructuredPropertyAccess childNode)
StructuredPropertyAccess
appendChild
in interface StructuredPropertyAccess
public void addAll(StructuredPropertyAccess other)
other
to this.addAll
in interface StructuredPropertyAccess
other
-public void setBooleanProperty(java.lang.String key, boolean value)
StructuredPropertyAccess
setBooleanProperty
in interface StructuredPropertyAccess
public boolean getBooleanProperty(java.lang.String key, boolean defaultValue)
StructuredPropertyAccess
getBooleanProperty
in interface StructuredPropertyAccess
public void setIntegerProperty(java.lang.String key, int value)
StructuredPropertyAccess
setIntegerProperty
in interface StructuredPropertyAccess
public int getIntegerProperty(java.lang.String key, int defaultValue)
StructuredPropertyAccess
getIntegerProperty
in interface StructuredPropertyAccess
public void removeChild(StructuredPropertyAccess childNode)
StructuredPropertyAccess
removeChild
in interface StructuredPropertyAccess
public void removeAllChildren()
public boolean hasAttributes()
public boolean hasChildNodes()
public java.util.Iterator getProperties()
StructuredPropertyAccess
getProperties
in interface StructuredPropertyAccess
public static void saveToXML(StructuredPropertyAccess structuredPropertyAccess, java.io.File file) throws java.io.IOException
java.io.IOException
public static DefaultStructuredPropertyAccess loadFromXML(java.io.File file) throws org.xml.sax.SAXException, oracle.xml.parser.v2.XMLParseException, java.io.IOException
org.xml.sax.SAXException
oracle.xml.parser.v2.XMLParseException
java.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |