edu.sc.seis.sod.validator

## Class Validator

- java.lang.Object
- - edu.sc.seis.sod.validator.Validator

-     public class Validator
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `SOD_SCHEMA_LOC`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Validator()`
    `Validator(java.lang.String schemaLoc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getErrorMessage()`
    `boolean` | `validate(org.xml.sax.InputSource in)`
    `boolean` | `validate(org.xml.sax.InputSource in, boolean verbose)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### SOD_SCHEMA_LOC

          public static final java.lang.String SOD_SCHEMA_LOC

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Validator

          public Validator(java.lang.String schemaLoc)

    - #### Validator

          public Validator()

  - ### Method Detail

    - #### getErrorMessage

          public java.lang.String getErrorMessage()

    - #### validate

          public boolean validate(org.xml.sax.InputSource in)
                           throws java.io.IOException,
                                  org.xml.sax.SAXException

      Throws:
        `java.io.IOException`
        `org.xml.sax.SAXException`

    - #### validate

          public boolean validate(org.xml.sax.InputSource in,
                                  boolean verbose)
                           throws java.io.IOException,
                                  org.xml.sax.SAXException

      Throws:
        `java.io.IOException`
        `org.xml.sax.SAXException`