ValidateJsonSchemaMessageProcessor
instead@Deprecated public class JsonSchemaValidationFilter extends Object implements JsonSchemaFilter
Modifier and Type | Field and Description |
---|---|
protected JsonSchemaFilter |
delegate
Deprecated.
|
PHASE_NAME
Constructor and Description |
---|
JsonSchemaValidationFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MuleMessage msg)
Deprecated.
Check a given message against this filter.
|
Validator |
createValidator()
Deprecated.
|
ErrorHandler |
getErrorHandler()
Deprecated.
|
LSResourceResolver |
getResourceResolver()
Deprecated.
|
String |
getSchemaLanguage()
Deprecated.
|
String |
getSchemaLocations()
Deprecated.
|
Schema |
getSchemaObject()
Deprecated.
|
Map<String,Boolean> |
getValidatorFeatures()
Deprecated.
|
Map<String,Object> |
getValidatorProperties()
Deprecated.
|
XMLInputFactory |
getXMLInputFactory()
Deprecated.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
protected boolean |
isJsonSchema(String schema)
Deprecated.
|
boolean |
isReturnResult()
Deprecated.
|
boolean |
isUseStaxSource()
Deprecated.
|
void |
setErrorHandler(ErrorHandler errorHandler)
Deprecated.
|
void |
setMuleContext(MuleContext muleContext)
Deprecated.
|
void |
setResourceResolver(LSResourceResolver resourceResolver)
Deprecated.
|
void |
setReturnResult(boolean returnResult)
Deprecated.
|
void |
setSchemaLanguage(String schemaLanguage)
Deprecated.
|
void |
setSchemaLocations(String schemaLocations)
Deprecated.
|
void |
setSchemaObject(Schema schemaObject)
Deprecated.
|
void |
setUseStaxSource(boolean useStaxSource)
Deprecated.
|
void |
setValidatorFeatures(Map<String,Boolean> validatorFeatures)
Deprecated.
|
void |
setValidatorProperties(Map<String,Object> validatorProperties)
Deprecated.
|
void |
setXMLInputFactory(XMLInputFactory xmlInputFactory)
Deprecated.
|
protected JsonSchemaFilter delegate
public boolean accept(MuleMessage msg)
Filter
public void setMuleContext(MuleContext muleContext)
setMuleContext
in interface MuleContextAware
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromprotected boolean isJsonSchema(String schema)
public void setSchemaLocations(String schemaLocations)
setSchemaLocations
in interface JsonSchemaFilter
public String getSchemaLocations()
getSchemaLocations
in interface JsonSchemaFilter
public Validator createValidator() throws SAXException
createValidator
in interface JsonSchemaFilter
SAXException
public String getSchemaLanguage()
getSchemaLanguage
in interface JsonSchemaFilter
public Schema getSchemaObject()
getSchemaObject
in interface JsonSchemaFilter
public void setSchemaObject(Schema schemaObject)
setSchemaObject
in interface JsonSchemaFilter
public ErrorHandler getErrorHandler()
getErrorHandler
in interface JsonSchemaFilter
public void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler
in interface JsonSchemaFilter
public LSResourceResolver getResourceResolver()
getResourceResolver
in interface JsonSchemaFilter
public void setResourceResolver(LSResourceResolver resourceResolver)
setResourceResolver
in interface JsonSchemaFilter
public Map<String,Boolean> getValidatorFeatures()
getValidatorFeatures
in interface JsonSchemaFilter
public void setValidatorFeatures(Map<String,Boolean> validatorFeatures)
setValidatorFeatures
in interface JsonSchemaFilter
public Map<String,Object> getValidatorProperties()
getValidatorProperties
in interface JsonSchemaFilter
public void setValidatorProperties(Map<String,Object> validatorProperties)
setValidatorProperties
in interface JsonSchemaFilter
public XMLInputFactory getXMLInputFactory()
getXMLInputFactory
in interface JsonSchemaFilter
public void setXMLInputFactory(XMLInputFactory xmlInputFactory)
setXMLInputFactory
in interface JsonSchemaFilter
public boolean isUseStaxSource()
isUseStaxSource
in interface JsonSchemaFilter
public void setUseStaxSource(boolean useStaxSource)
setUseStaxSource
in interface JsonSchemaFilter
public boolean isReturnResult()
isReturnResult
in interface JsonSchemaFilter
public void setReturnResult(boolean returnResult)
setReturnResult
in interface JsonSchemaFilter
public void setSchemaLanguage(String schemaLanguage)
setSchemaLanguage
in interface JsonSchemaFilter
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.