|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.gael.drb.DrbDefaultNodesChangeProducer
fr.gael.drb.DrbAbstractNode
fr.gael.drb.impl.DrbNodeImpl
public abstract class DrbNodeImpl
DrbNode implementation. This interface allows to perform "implementation specific" operations.
| Field Summary |
|---|
| Fields inherited from interface fr.gael.drb.DrbItem |
|---|
ATTRIBUTE_ITEM, NODE_ITEM, UNDEFINED_ITEM, VALUE_ITEM |
| Constructor Summary | |
|---|---|
DrbNodeImpl()
|
|
| Method Summary | |
|---|---|
void |
close(boolean deep)
Closes this node and releases any system resources associated with the implementation. |
DrbAttribute |
createAttribute(String name)
Create a node with the specified name. |
DrbNode |
createNode(String name)
Create a node with the specified name. |
void |
flush()
Performs any pending changes. |
Object |
getImpl(Class api)
Returns a specific implementation. |
DrbProvider |
getProvider()
Returns the provider of this node. |
boolean |
hasImpl(Class api)
Tests if a specific interface can be provided. |
| Methods inherited from class fr.gael.drb.DrbAbstractNode |
|---|
allowsMultiOccurrence, appendChild, appendReference, equals, getAttribute, getAttributes, getChildAt, getChildren, getChildrenCount, getContent, getFirstChild, getIndex, getItemType, getLastChild, getName, getNamedChild, getNamespaceBindings, getNamespaceURI, getNextSibling, getOccurrence, getParent, getPath, getPreviousSibling, getRoot, getValue, getValueType, getXPathName, getXPathName, hasChild, insertChild, removeChild, rename, replaceChild, setAttributes, setNamespaceBindings, setNamespaceURI, setValue, toString |
| Methods inherited from class fr.gael.drb.DrbDefaultNodesChangeProducer |
|---|
addNodesChangeListener, getListenerList, nodesChanged, nodesInserted, nodesRemoved, removeNodesChangeListener, setListenerList, structureChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DrbNodeImpl()
| Method Detail |
|---|
public void close(boolean deep)
deep - if this flag is disabled, the implementation shall not release
the ressources shared with the descendants. WARNING: This
parameter is not fully supported.public void flush()
public boolean hasImpl(Class api)
api - The class type to test.
public Object getImpl(Class api)
api - The interface (or class) to be provided.
public DrbNode createNode(String name)
name - The expected name of the node.
NullPointerException - This exception is raised when the name
provided in parameter is null.
UnsupportedOperationException - This exception is raised when the
implementation is not able to create a node.public DrbAttribute createAttribute(String name)
name - the name of the node
public DrbProvider getProvider()
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||