|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.graph.commands.basic.BasicGraphCommand
org.jboss.dna.graph.util.GraphImporter.ImporterCommands
protected class GraphImporter.ImporterCommands
| Constructor Summary | |
|---|---|
protected |
GraphImporter.ImporterCommands(Path destinationPath,
NodeConflictBehavior conflictBehavior)
|
| Method Summary | |
|---|---|
ValueFactories |
getFactories()
Get the factories that can be used to create paths and other property values. |
NamespaceRegistry |
getNamespaceRegistry()
Convenience method to get the namespace registry used by the name value factory. |
Iterator<GraphCommand> |
iterator()
|
void |
setProperty(Path nodePath,
Name propertyName,
Object... values)
Set the supplied property on the supplied node. |
void |
setProperty(String nodePath,
String propertyName,
Object... values)
Set the supplied property on the supplied node. |
void |
setReference(String nodePath,
String propertyName,
String... paths)
Set the supplied reference on the supplied node. |
| Methods inherited from class org.jboss.dna.graph.commands.basic.BasicGraphCommand |
|---|
createChildrenList, createChildrenList, createChildrenList, createChildrenList, getError, hasError, hasNoError, isCancelled, setCancelled, setError, setProperty, setProperty, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.dna.graph.commands.GraphCommand |
|---|
getError, hasError, hasNoError, isCancelled, setError |
| Constructor Detail |
|---|
protected GraphImporter.ImporterCommands(Path destinationPath,
NodeConflictBehavior conflictBehavior)
| Method Detail |
|---|
public ValueFactories getFactories()
paths and other property values.
getFactories in interface SequencerOutputSequencerOutput.getFactories()public NamespaceRegistry getNamespaceRegistry()
name value factory.
getNamespaceRegistry in interface SequencerOutputnullSequencerOutput.getNamespaceRegistry()
public void setProperty(String nodePath,
String propertyName,
Object... values)
The value factories should be used to create paths, names, and values. These factories can be used
to create new values or convert values from one property type to another. (Note that each of the factories have methods
that create values from all of the property types.)
This method is provided as a convenience, but it identical to creating a Path and Name using the
factories and calling SequencerOutput.setProperty(Path, Name, Object...).
setProperty in interface SequencerOutputnodePath - the path to the node containing the property; may not be nullpropertyName - the name of the property to be setvalues - the value(s) for the property; may be empty if any existing property is to be removedSequencerOutput.setProperty(java.lang.String, java.lang.String, java.lang.Object[])
public void setProperty(Path nodePath,
Name propertyName,
Object... values)
The value factories should be used to create paths, names, and values. These factories can be used
to create new values or convert values from one property type to another. (Note that each of the factories have methods
that create values from all of the property types.)
setProperty in interface SequencerOutputnodePath - the path to the node containing the property; may not be nullpropertyName - the name of the property to be setvalues - the value(s) for the property; may be empty if any existing property is to be removedSequencerOutput.setProperty(org.jboss.dna.graph.properties.Path,
org.jboss.dna.graph.properties.Name, java.lang.Object[])
public void setReference(String nodePath,
String propertyName,
String... paths)
This method is provided as a convenience, but it identical to creating a Path and Name using the
factories and calling SequencerOutput.setProperty(Path, Name, Object...).
setReference in interface SequencerOutputnodePath - the path to the node containing the property; may not be nullpropertyName - 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 removedSequencerOutput.setReference(java.lang.String, java.lang.String,
java.lang.String[])public Iterator<GraphCommand> iterator()
iterator in interface Iterable<GraphCommand>Iterable.iterator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||