|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedType<Type>
org.apache.camel.model.ProcessorType<ProcessorType>
org.apache.camel.model.ToType
public class ToType
Represents an XML <to/> element
Field Summary |
---|
Fields inherited from class org.apache.camel.model.ProcessorType |
---|
DEFAULT_TRACE_CATEGORY |
Fields inherited from class org.apache.camel.model.OptionalIdentifiedType |
---|
nodeCounters |
Constructor Summary | |
---|---|
ToType()
|
|
ToType(Endpoint endpoint)
|
|
ToType(String uri)
|
Method Summary | |
---|---|
Processor |
createProcessor(RouteContext routeContext)
|
Endpoint |
getEndpoint()
|
String |
getLabel()
Returns a label to describe this node such as the expression if some kind of expression node |
List<ProcessorType<?>> |
getOutputs()
|
String |
getRef()
|
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images |
String |
getUri()
|
Object |
getUriOrRef()
Returns the endpoint URI or the name of the reference to it |
Endpoint |
resolveEndpoint(RouteContext context)
|
void |
setEndpoint(Endpoint endpoint)
|
void |
setRef(String ref)
Sets the name of the endpoint within the registry (such as the Spring ApplicationContext or JNDI) to use |
void |
setUri(String uri)
Sets the URI of the endpoint to use |
String |
toString()
|
Methods inherited from class org.apache.camel.model.OptionalIdentifiedType |
---|
createId, description, description, getDescription, getId, getNodeCounter, id, idOrCreate, setDescription, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToType()
public ToType(String uri)
public ToType(Endpoint endpoint)
Method Detail |
---|
public String toString()
toString
in class Object
public String getShortName()
OptionalIdentifiedType
getShortName
in class OptionalIdentifiedType<ProcessorType>
public String getLabel()
ProcessorType
getLabel
in class ProcessorType<ProcessorType>
public Processor createProcessor(RouteContext routeContext) throws Exception
createProcessor
in class ProcessorType<ProcessorType>
Exception
public Endpoint resolveEndpoint(RouteContext context)
public String getUri()
public void setUri(String uri)
uri
- the endpoint URI to usepublic String getRef()
public void setRef(String ref)
ref
- the reference name to usepublic Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
public List<ProcessorType<?>> getOutputs()
getOutputs
in class ProcessorType<ProcessorType>
public Object getUriOrRef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |