|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NamePart | |
|---|---|
| org.sapia.archie | |
| org.sapia.archie.impl | |
| org.sapia.archie.sync | |
| Uses of NamePart in org.sapia.archie |
|---|
| Methods in org.sapia.archie that return NamePart | |
|---|---|
NamePart |
Name.chopFirst()
Chops the first part from this instance and returns it. |
NamePart |
Name.chopLast()
Chops the last part from this instance and returns it. |
NamePart |
Name.first()
Returns the first part in this name. |
NamePart |
Name.get(int i)
Returns the NamePart at the given index. |
NamePart |
Node.getName()
Return this instance's name. |
NamePart |
AbstractNode.getName()
|
NamePart |
Name.last()
Returns the last part in this name. |
NamePart |
Name.nextPart()
Iterates on the next NamePart. |
NamePart |
NameParser.parseNamePart(java.lang.String namePart)
|
NamePart |
Name.removeAt(int pos)
|
| Methods in org.sapia.archie with parameters of type NamePart | |
|---|---|
Name |
Name.add(NamePart part)
Adds a NamePart to this instance. |
Name |
Name.addAt(int pos,
NamePart part)
|
Node |
Node.createChild(NamePart name)
Creates the node corresponding to the given name and returns it. |
Node |
AbstractNode.createChild(NamePart name)
|
Node |
Node.getChild(NamePart name)
Returns the node with the given name. |
Node |
AbstractNode.getChild(NamePart name)
|
java.lang.Object |
Node.getValue(NamePart name)
Returns this node's value. |
boolean |
Node.putValue(NamePart name,
java.lang.Object value,
boolean overwrite)
Put a value into this node; overwrites the existing value - if any. |
Node |
Node.removeChild(NamePart name)
Removes the node with the given name. |
Node |
AbstractNode.removeChild(NamePart name)
|
java.lang.Object |
Node.removeValue(NamePart name)
Internally removes the value that this node holds and returns it. |
void |
Node.setUp(Node parent,
NamePart nodeName)
Sets this node's name and parent node. |
void |
AbstractNode.setUp(Node parent,
NamePart name)
|
| Uses of NamePart in org.sapia.archie.impl |
|---|
| Classes in org.sapia.archie.impl that implement NamePart | |
|---|---|
class |
AttributeNamePart
|
class |
DefaultNamePart
Default NamePart implementation. |
| Methods in org.sapia.archie.impl that return NamePart | |
|---|---|
NamePart |
AttributeNameParser.parseNamePart(java.lang.String namePart)
|
NamePart |
DefaultNameParser.parseNamePart(java.lang.String namePart)
|
| Methods in org.sapia.archie.impl with parameters of type NamePart | |
|---|---|
java.lang.Object |
MultiValueNode.getValue(NamePart name)
This method calls onSelect() and onRead() successively, before returning the a value. |
java.lang.Object |
AttributeNode.getValue(NamePart name)
|
java.lang.Object |
SingleValueNode.getValue(NamePart name)
|
protected java.lang.Object |
MultiValueNode.onRead(NamePart np,
java.lang.Object selected)
This method is internally called by getValue(...). |
protected java.lang.Object |
SingleValueNode.onRead(NamePart np,
java.lang.Object toRead)
|
protected java.lang.Object |
MultiValueNode.onWrite(NamePart np,
java.lang.Object toBind)
Called prior to bind the given object to the given name part. |
protected java.lang.Object |
SingleValueNode.onWrite(NamePart np,
java.lang.Object o)
|
boolean |
MultiValueNode.putValue(NamePart name,
java.lang.Object value,
boolean overwrite)
|
boolean |
AttributeNode.putValue(NamePart name,
java.lang.Object value,
boolean overwrite)
|
boolean |
SingleValueNode.putValue(NamePart name,
java.lang.Object value,
boolean overwrite)
|
java.lang.Object |
MultiValueNode.removeValue(NamePart name)
|
java.lang.Object |
AttributeNode.removeValue(NamePart name)
|
java.lang.Object |
SingleValueNode.removeValue(NamePart name)
|
| Uses of NamePart in org.sapia.archie.sync |
|---|
| Methods in org.sapia.archie.sync that return NamePart | |
|---|---|
NamePart |
SynchronizedNode.getName()
|
| Methods in org.sapia.archie.sync with parameters of type NamePart | |
|---|---|
Node |
SynchronizedNode.createChild(NamePart name)
|
Node |
SynchronizedNode.getChild(NamePart name)
|
java.lang.Object |
SynchronizedNode.getValue(NamePart name)
|
java.lang.Object |
Synchronizer.onGetValue(Name nodeAbsolutePath,
NamePart valueName)
Called by a SynchronizedNode when a value could not be found
for a given name. |
java.lang.Object |
SynchronizerAdapter.onGetValue(Name nodeAbsolutePath,
NamePart valueName)
|
void |
Synchronizer.onPutValue(Name nodeAbsolutePath,
NamePart valueName,
java.lang.Object obj,
boolean overwrite)
Called when the putValue() method has been called on the
node that owns this instance. |
void |
SynchronizerAdapter.onPutValue(Name nodeAbsolutePath,
NamePart valueName,
java.lang.Object obj,
boolean overwrite)
|
void |
Synchronizer.onRemoveValue(Name nodeAbsolutePath,
NamePart valueName)
Called when the removeValue() method has been called on the
node that owns this instance. |
void |
SynchronizerAdapter.onRemoveValue(Name nodeAbsolutePath,
NamePart valueName)
|
boolean |
SynchronizedNode.putValue(NamePart name,
java.lang.Object value,
boolean overwrite)
|
Node |
SynchronizedNode.removeChild(NamePart name)
|
java.lang.Object |
SynchronizedNode.removeValue(NamePart name)
|
void |
SynchronizedNode.setUp(Node parent,
NamePart nodeName)
|
java.lang.Object |
SynchronizedNode.synchronizeGet(NamePart valueName)
This method should be called when needing to synchronize a lookup that occurred at another node. |
void |
SynchronizedNode.synchronizePut(NamePart valueName,
java.lang.Object toSync,
boolean overwrite)
This method should be called when needing to synchronize the content of this node with a "putValue" that occurred at another node. |
void |
SynchronizedNode.synchronizeRemove(NamePart valueName)
This method should be called when needing to synchronize the content of this node with a "removeValue" that occurred at another node. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||