|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ctc.wstx.msv.RelaxNGSchema
public class RelaxNGSchema
This is a validation schema instance based on a RELAX NG schema. It serves as a shareable "blueprint" for creating actual validator instances.
Field Summary | |
---|---|
protected com.sun.msv.grammar.trex.TREXGrammar |
mGrammar
This is VGM (in MSV lingo); shareable schema blueprint, basically peer of this schema object. |
Fields inherited from interface org.codehaus.stax2.validation.XMLValidationSchema |
---|
SCHEMA_ID_DTD, SCHEMA_ID_RELAXNG, SCHEMA_ID_TREX, SCHEMA_ID_W3C_SCHEMA |
Constructor Summary | |
---|---|
RelaxNGSchema(com.sun.msv.grammar.trex.TREXGrammar grammar)
|
Method Summary | |
---|---|
XMLValidator |
createValidator(ValidationContext ctxt)
|
java.lang.String |
getSchemaType()
Returns type of this schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final com.sun.msv.grammar.trex.TREXGrammar mGrammar
Constructor Detail |
---|
public RelaxNGSchema(com.sun.msv.grammar.trex.TREXGrammar grammar)
Method Detail |
---|
public java.lang.String getSchemaType()
XMLValidationSchema
getSchemaType
in interface XMLValidationSchema
XMLValidationSchema.SCHEMA_ID_DTD
).public XMLValidator createValidator(ValidationContext ctxt) throws javax.xml.stream.XMLStreamException
createValidator
in interface XMLValidationSchema
javax.xml.stream.XMLStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |