Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.util
Interface StructuredPropertyAccess

All Superinterfaces:
PropertyAccess
All Known Implementing Classes:
DefaultStructuredPropertyAccess

public interface StructuredPropertyAccess
extends PropertyAccess


Method Summary
 void addAll(StructuredPropertyAccess other)
          Add all the properties and child nodes of other into this node.
 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.
 void insertChild(int position, StructuredPropertyAccess childNode)
          Inserts a node at the specified position
 void removeChild(StructuredPropertyAccess childNode)
          Removes the specified node
 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 interface oracle.ide.util.PropertyAccess
getProperty, removeProperty, setProperty
 

Method Detail

getName

java.lang.String getName()
Returns:
the name of that node

setName

void setName(java.lang.String name)
Sets the name of the node

Parameters:
name -

getChildNodes

java.util.Iterator getChildNodes()
Returns an iterator of all the child nodes

Returns:
an Iterator of StructuredPropertyAccess

getChildNodes

java.util.Iterator getChildNodes(java.lang.String name)
Returns an iterator of all the child nodes with that name

Parameters:
name -
Returns:
an Iterator of StructuredPropertyAccess

getChildNode

StructuredPropertyAccess getChildNode(java.lang.String name)
Returns the child node with the specified name. If there is more than one child with that name the first one is returned

Parameters:
name -
Returns:
the child node

insertChild

void insertChild(int position,
                 StructuredPropertyAccess childNode)
Inserts a node at the specified position

Parameters:
position -
childNode -

appendChild

void appendChild(StructuredPropertyAccess childNode)
Adds a child node

Parameters:
childNode -

removeChild

void removeChild(StructuredPropertyAccess childNode)
Removes the specified node

Parameters:
childNode -

getProperties

java.util.Iterator getProperties()
Get the name of all the properties present in this node.


addAll

void addAll(StructuredPropertyAccess other)
Add all the properties and child nodes of other into this node.

Parameters:
other -

setBooleanProperty

void setBooleanProperty(java.lang.String key,
                        boolean value)
Utility method to set a boolean value


getBooleanProperty

boolean getBooleanProperty(java.lang.String key,
                           boolean defaultValue)
Utility method to retrieve a boolean value

Parameters:
defaultValue -

setIntegerProperty

void setIntegerProperty(java.lang.String key,
                        int value)
Utility method to set a boolean value


getIntegerProperty

int getIntegerProperty(java.lang.String key,
                       int defaultValue)
Utility method to retrieve an integer value

Parameters:
defaultValue -

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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