public class ValidationEngine extends ValidationDriver
ValidationDriver
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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 . |
fileInputSource, fileInputSource, loadSchema, uriOrFileInputSource, validate
public static final int CHECK_ID_IDREF
public static final int COMPACT_SYNTAX
CompactSchemaReader
,
Constant Field Valuespublic static final int FEASIBLE
RngProperty.FEASIBLE
,
Constant Field Valuespublic 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)