@UriEndpoint(firstVersion="1.1.0",
scheme="jing",
title="Jing",
syntax="jing:resourceUri",
producerOnly=true,
label="validation")
public class JingEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
JingEndpoint(String endpointUri,
org.apache.camel.Component component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
InputSource |
getInputSource() |
String |
getResourceUri() |
com.thaiopensource.validate.Schema |
getSchema() |
com.thaiopensource.relaxng.SchemaFactory |
getSchemaFactory() |
boolean |
isCompactSyntax() |
boolean |
isSingleton() |
void |
setCompactSyntax(boolean compactSyntax)
Whether to validate using RelaxNG compact syntax or not.
|
void |
setInputSource(InputSource inputSource) |
void |
setResourceUri(String resourceUri)
URL to a local resource on the classpath or a full URL to a remote resource or resource on the file system which contains the schema to validate against.
|
void |
setSchema(com.thaiopensource.validate.Schema schema) |
void |
setSchemaFactory(com.thaiopensource.relaxng.SchemaFactory schemaFactory) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public JingEndpoint(String endpointUri, org.apache.camel.Component component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public String getResourceUri()
public void setResourceUri(String resourceUri)
public boolean isCompactSyntax()
public void setCompactSyntax(boolean compactSyntax)
public com.thaiopensource.validate.Schema getSchema()
public void setSchema(com.thaiopensource.validate.Schema schema)
public com.thaiopensource.relaxng.SchemaFactory getSchemaFactory()
public void setSchemaFactory(com.thaiopensource.relaxng.SchemaFactory schemaFactory)
public InputSource getInputSource()
public void setInputSource(InputSource inputSource)
Apache Camel