|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.repository.sequencers.SequencerNodeContext
@Immutable public class SequencerNodeContext

Contains context information that is passed to stream sequencers, including information about the input
node containing the data being sequenced.
| Method Summary | |
|---|---|
ValueFactories |
getFactories()
Get the factories that can be used to create paths and other property values. |
Path |
getInputPath()
Return the path of the input node containing the content being sequenced. |
Set<Property> |
getInputProperties()
Return the set of properties from the input node containing the content being sequenced. |
Property |
getInputProperty(Name name)
Return the property with the supplied name from the input node containing the content being sequenced. |
Logger |
getLogger(Class<?> clazz)
Return a logger associated with this context. |
Logger |
getLogger(String name)
Return a logger associated with this context. |
String |
getMimeType()
Return the MIME-type of the content being sequenced. |
NamespaceRegistry |
getNamespaceRegistry()
Convenience method to get the namespace registry used by the name value factory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ValueFactories getFactories()
paths and other property values.
getFactories in interface SequencerContextnull.public Path getInputPath()
getInputPath in interface SequencerContextSequencerContext.getInputPath()public Set<Property> getInputProperties()
getInputProperties in interface SequencerContextnull.SequencerContext.getInputProperties()public Property getInputProperty(Name name)
getInputProperty in interface SequencerContextnull if none exists.SequencerContext.getInputProperty(org.jboss.dna.graph.properties.Name)public String getMimeType()
getMimeType in interface SequencerContextSequencerContext.getMimeType()public NamespaceRegistry getNamespaceRegistry()
name value factory.
getNamespaceRegistry in interface SequencerContextnull.public Logger getLogger(Class<?> clazz)
obtain a system logger.
getLogger in interface SequencerContextclazz - the class that is doing the logging
clazz; never nullSequencerContext.getLogger(java.lang.Class)public Logger getLogger(String name)
obtain a system logger.
getLogger in interface SequencerContextname - the name for the logger
clazz; never nullSequencerContext.getLogger(java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||