public class ValidatorInterceptor extends AbstractInterceptor
WSDLValidator, XMLSchemaValidator,
JSONValidator and SchematronValidator depending on the
attributes.| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidatorInterceptor.FailureHandler |
Interceptor.FlowELEMENT_NAME, id, namerouter| Constructor and Description |
|---|
ValidatorInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAfterParsing() |
String |
getFailureHandler() |
String |
getHelpId() |
String |
getJsonSchema() |
String |
getLongDescription() |
String |
getSchema() |
String |
getSchematron() |
String |
getShortDescription() |
String |
getWsdl() |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
void |
init() |
protected void |
parseAttributes(XMLStreamReader token) |
void |
setFailureHandler(String failureHandler) |
void |
setJsonSchema(String jsonSchema) |
void |
setResourceResolver(ResourceResolver resourceResolver) |
void |
setRouter(Router router) |
void |
setSchema(String schema) |
void |
setSchematron(String schematron) |
void |
setWsdl(String wsdl) |
protected void |
writeInterceptor(XMLStreamWriter out) |
getDisplayName, getElementName, getFlow, getId, setDisplayName, setFlow, setId, writegetRoutergetBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouterparsepublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionprotected void writeInterceptor(XMLStreamWriter out) throws XMLStreamException
writeInterceptor in class AbstractInterceptorXMLStreamExceptionprotected void parseAttributes(XMLStreamReader token) throws Exception
parseAttributes in class AbstractInterceptorExceptionpublic void doAfterParsing()
throws Exception
doAfterParsing in class AbstractXmlElementExceptionpublic void setWsdl(String wsdl)
public String getWsdl()
public String getSchema()
public void setSchema(String schema)
public String getFailureHandler()
public void setFailureHandler(String failureHandler)
public String getJsonSchema()
public void setJsonSchema(String jsonSchema)
public String getSchematron()
public void setSchematron(String schematron)
public void setRouter(Router router)
setRouter in interface InterceptorsetRouter in class AbstractConfigElementpublic void setResourceResolver(ResourceResolver resourceResolver)
public String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorpublic String getHelpId()
getHelpId in interface InterceptorgetHelpId in class AbstractInterceptorCopyright © 2012. All Rights Reserved.