|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.repository.sequencers.SequencerOutputMap
@NotThreadSafe public class SequencerOutputMap
A basic SequencerOutput that records all information in-memory and which organizes the properties by
node paths and provides access to the nodes in a natural path-order.
| Nested Class Summary | |
|---|---|
class |
SequencerOutputMap.Entry
An entry in a SequencerOutputMap, which contains the path of the node and the property values
on the node. |
class |
SequencerOutputMap.PropertyValue
A property name and value pair. |
| Constructor Summary | |
|---|---|
SequencerOutputMap()
|
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
Return whether there are no entries |
java.util.Iterator<SequencerOutputMap.Entry> |
iterator()
Return the entries in this output in an order with shorter paths first. |
void |
setProperty(java.lang.String nodePath,
java.lang.String property,
java.lang.Object... values)
Set the supplied property on the supplied node. |
void |
setReference(java.lang.String nodePath,
java.lang.String property,
java.lang.String... paths)
Set the supplied reference on the supplied node. |
int |
size()
Return the number of node entries in this map. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SequencerOutputMap()
| Method Detail |
|---|
public void setProperty(java.lang.String nodePath,
java.lang.String property,
java.lang.Object... values)
The allowable values are any of the following:
String instancesString arraysInputStream instancesCalendar instances
setProperty in interface SequencerOutputnodePath - the path to the node containing the property; may not be nullproperty - the name of the property to be setvalues - the value(s) for the property; may be empty if any existing property is to be removed
public void setReference(java.lang.String nodePath,
java.lang.String property,
java.lang.String... paths)
setReference in interface SequencerOutputnodePath - the path to the node containing the property; may not be nullproperty - the name of the property to be setpaths - the paths to the referenced property, which may be absolute paths or relative to the sequencer output node;
may be empty if any existing property is to be removedpublic int size()
public boolean isEmpty()
public java.util.Iterator<SequencerOutputMap.Entry> iterator()
iterator in interface java.lang.Iterable<SequencerOutputMap.Entry>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||