public abstract class SchemaValidationPolicyAbstractInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
| Modifier and Type | Field and Description |
|---|---|
protected SchemaValidationPolicy |
policy |
| Constructor and Description |
|---|
SchemaValidationPolicyAbstractInterceptor(String phase) |
SchemaValidationPolicyAbstractInterceptor(String phase,
SchemaValidationPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(org.apache.cxf.message.Message message) |
protected void |
handleMessageWithAssertionInfo(org.apache.cxf.message.Message message) |
protected void |
handleMessageWithoutAssertionInfo(org.apache.cxf.message.Message message) |
protected void |
loadCustomSchema(org.apache.cxf.message.Message message,
String customSchemaPath,
Class c) |
protected boolean |
shouldSchemaValidate(org.apache.cxf.message.Message message,
SchemaValidationPolicy.MessageType msgType,
SchemaValidationPolicy.AppliesToType appliesToType) |
protected abstract void |
validateBySettingProperty(org.apache.cxf.message.Message message) |
protected SchemaValidationPolicy policy
public SchemaValidationPolicyAbstractInterceptor(String phase)
public SchemaValidationPolicyAbstractInterceptor(String phase, SchemaValidationPolicy policy)
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultprotected void handleMessageWithAssertionInfo(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultprotected void handleMessageWithoutAssertionInfo(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultprotected void loadCustomSchema(org.apache.cxf.message.Message message,
String customSchemaPath,
Class c)
throws IOException
IOExceptionprotected boolean shouldSchemaValidate(org.apache.cxf.message.Message message,
SchemaValidationPolicy.MessageType msgType,
SchemaValidationPolicy.AppliesToType appliesToType)
protected abstract void validateBySettingProperty(org.apache.cxf.message.Message message)
Copyright © 2011–2021 Talend Inc.. All rights reserved.