Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thaiopensource.relaxng.util
Class ValidationEngine

    java.lang.Object
      com.thaiopensource.validate.ValidationDriver
          com.thaiopensource.relaxng.util.ValidationEngine

public class ValidationEngine
extends ValidationDriver

Provides a compatibility wrapper around ValidationDriver. New applications should use ValidationDriver directly.

See Also:
  `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`.

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

### CHECK_ID_IDREF

    public static final int CHECK_ID_IDREF

  Deprecated.
  Flag indicating that ID/IDREF/IDREFS should be checked.

  See Also:
    `RngProperty.CHECK_ID_IDREF`, Constant Field Values

### COMPACT_SYNTAX

    public static final int COMPACT_SYNTAX

  Deprecated.
  Flag indicating that the schema is in the RELAX NG compact syntax rather than the XML syntax.

  See Also:
    `CompactSchemaReader`, Constant Field Values

### FEASIBLE

    public static final int FEASIBLE

  Deprecated.
  See Also:
    `RngProperty.FEASIBLE`, Constant Field Values

Constructor Detail

### ValidationEngine

    public ValidationEngine()

  Deprecated.
  Default constructor. Equivalent to `ValidationEngine(null, null, CHECK_ID_IDREF)`.

### ValidationEngine

    public ValidationEngine(XMLReaderCreator xrc,
                            org.xml.sax.ErrorHandler eh,
                            int flags)

  Deprecated.
  Constructs a `ValidationEngine`.

Parameters:
  `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`
See Also:
  `DraconianErrorHandler`, `Sax2XMLReaderCreator`, `CHECK_ID_IDREF`, `COMPACT_SYNTAX`, `FEASIBLE`

### ValidationEngine

    public ValidationEngine(XMLReaderCreator xrc,
                            org.xml.sax.ErrorHandler eh,
                            boolean checkIdIdref)

  Deprecated.
  Constructs a `ValidationEngine`.

Parameters:
  `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` otherwise
See Also:
  `DraconianErrorHandler`, `Sax2XMLReaderCreator`

### ValidationEngine

    public ValidationEngine(XMLReaderCreator xrc,
                            org.xml.sax.ErrorHandler eh,
                            boolean checkIdIdref,
                            boolean compactSyntax)

  Deprecated.
  Constructs a `ValidationEngine`.

Parameters:
  `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` otherwise
  `compactSyntax` - `true` if the RELAX NG compact syntax should be used to parse the schema; `false` if the XML syntax should be used
See Also:
  `DraconianErrorHandler`, `Sax2XMLReaderCreator`

### ValidationEngine

    public ValidationEngine(XMLReaderCreator xrc,
                            org.xml.sax.ErrorHandler eh,
                            boolean checkIdIdref,
                            boolean compactSyntax,
                            boolean feasible)

  Deprecated.

Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright SyncRO Soft SRL 2006-2007.