com.sun.xml.ws.developer
Class SchemaValidationFeature
java.lang.Object
javax.xml.ws.WebServiceFeature
com.sun.xml.ws.developer.SchemaValidationFeature
public class SchemaValidationFeature
- extends javax.xml.ws.WebServiceFeature
WebServiceFeature
for schema validation.
- Since:
- JAX-WS 2.1.3
- See Also:
SchemaValidation
Field Summary |
static String |
ID
Constant value identifying the SchemaValidationFeature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- Constant value identifying the SchemaValidationFeature
- See Also:
- Constant Field Values
SchemaValidationFeature
public SchemaValidationFeature()
SchemaValidationFeature
public SchemaValidationFeature(Class<? extends ValidationErrorHandler> clazz)
- Create an
SchemaValidationFeature
.
The instance created will be enabled.
getID
public String getID()
- Specified by:
getID
in class javax.xml.ws.WebServiceFeature
getErrorHandler
public Class<? extends ValidationErrorHandler> getErrorHandler()
- Invalid schema instances are rejected, a SOAP fault message is created
for any invalid request and response message. If it is set to false, schema
validation messages are just logged.