|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thaiopensource.validate.ValidationDriver
com.thaiopensource.relaxng.util.ValidationEngine
public class ValidationEngine
Provides a compatibility wrapper around ValidationDriver. New applications should use ValidationDriver directly.
ValidationDriver
Field Summary | |
---|---|
static int |
CHECK_ID_IDREF
Deprecated. Flag indicating that ID/IDREF/IDREFS should be checked. |
static int |
COMPACT_SYNTAX
Deprecated. Flag indicating that the schema is in the RELAX NG compact syntax rather than the XML syntax. |
static int |
FEASIBLE
Deprecated. |
Constructor Summary | |
---|---|
ValidationEngine()
Deprecated. Default constructor. |
|
ValidationEngine(XMLReaderCreator xrc,
org.xml.sax.ErrorHandler eh,
boolean checkIdIdref)
Deprecated. Constructs a ValidationEngine . |
|
ValidationEngine(XMLReaderCreator xrc,
org.xml.sax.ErrorHandler eh,
boolean checkIdIdref,
boolean compactSyntax)
Deprecated. Constructs a ValidationEngine . |
|
ValidationEngine(XMLReaderCreator xrc,
org.xml.sax.ErrorHandler eh,
boolean checkIdIdref,
boolean compactSyntax,
boolean feasible)
Deprecated. |
|
ValidationEngine(XMLReaderCreator xrc,
org.xml.sax.ErrorHandler eh,
int flags)
Deprecated. Constructs a ValidationEngine . |
Method Summary |
---|
Methods inherited from class com.thaiopensource.validate.ValidationDriver |
---|
fileInputSource, fileInputSource, loadSchema, uriOrFileInputSource, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CHECK_ID_IDREF
RngProperty.CHECK_ID_IDREF
,
Constant Field Valuespublic static final int COMPACT_SYNTAX
CompactSchemaReader
,
Constant Field Valuespublic static final int FEASIBLE
RngProperty.FEASIBLE
,
Constant Field ValuesConstructor Detail |
---|
public ValidationEngine()
ValidationEngine(null, null, CHECK_ID_IDREF)
.
public ValidationEngine(XMLReaderCreator xrc, org.xml.sax.ErrorHandler eh, int flags)
ValidationEngine
.
xrc
- the XMLReaderCreator
to be used for constructing XMLReader
s;
if null
uses Sax2XMLReaderCreator
eh
- the ErrorHandler
to be used for reporting errors; if null
uses DraconianErrorHandler
flags
- bitwise OR of flags selected from CHECK_ID_IDREF
, COMPACT_SYNTAX
,
FEASIBLE
, MNS
DraconianErrorHandler
,
Sax2XMLReaderCreator
,
CHECK_ID_IDREF
,
COMPACT_SYNTAX
,
FEASIBLE
public ValidationEngine(XMLReaderCreator xrc, org.xml.sax.ErrorHandler eh, boolean checkIdIdref)
ValidationEngine
.
xrc
- the XMLReaderCreator
to be used for constructing XMLReader
s;
if null
uses Sax2XMLReaderCreator
eh
- the ErrorHandler
to be used for reporting errors; if null
uses DraconianErrorHandler
checkIdIdref
- true
if ID/IDREF/IDREFS should be checked; false
otherwiseDraconianErrorHandler
,
Sax2XMLReaderCreator
public ValidationEngine(XMLReaderCreator xrc, org.xml.sax.ErrorHandler eh, boolean checkIdIdref, boolean compactSyntax)
ValidationEngine
.
xrc
- the XMLReaderCreator
to be used for constructing XMLReader
s;
if null
uses Sax2XMLReaderCreator
eh
- the ErrorHandler
to be used for reporting errors; if null
uses DraconianErrorHandler
checkIdIdref
- true
if ID/IDREF/IDREFS should be checked; false
otherwisecompactSyntax
- true
if the RELAX NG compact syntax should be used to parse the schema;
false
if the XML syntax should be usedDraconianErrorHandler
,
Sax2XMLReaderCreator
public ValidationEngine(XMLReaderCreator xrc, org.xml.sax.ErrorHandler eh, boolean checkIdIdref, boolean compactSyntax, boolean feasible)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |