Top Description Fields Constructors Methods
com.ctc.wstx.msv

public Class W3CSchema

extends Object
implements XMLValidationSchema
Class Inheritance
All Implemented Interfaces
org.codehaus.stax2.validation.XMLValidationSchema
Imports
javax.xml.stream.*, org.codehaus.stax2.validation.*, com.sun.msv.grammar.xmlschema.XMLSchemaGrammar, com.sun.msv.verifier.regexp.xmlschema.XSREDocDecl

This is a validation schema instance based on a W3C schema. It serves as a shareable "blueprint" for creating actual validator instances.

Field Summary

Modifier and TypeField and Description
protected final XMLSchemaGrammar

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XMLValidator
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mGrammarback to summary
protected final XMLSchemaGrammar mGrammar

Constructor Detail

W3CSchemaback to summary
public W3CSchema(XMLSchemaGrammar grammar)

Method Detail

createValidatorback to summary
public XMLValidator createValidator(ValidationContext ctxt) throws XMLStreamException

Implements org.codehaus.stax2.validation.XMLValidationSchema.createValidator.

Annotations
@Override
getSchemaTypeback to summary
public String getSchemaType()

Implements org.codehaus.stax2.validation.XMLValidationSchema.getSchemaType.

Doc from org.codehaus.stax2.validation.XMLValidationSchema.getSchemaType.

Returns type of this schema.

Returns:String

One of external schema identifier values (such as SCHEMA_ID_DTD).

Annotations
@Override