Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xml.validator
Class ValidatorFactory

java.lang.Object
  extended by eu.esdihumboldt.hale.io.xml.validator.ValidatorFactory

public class ValidatorFactory
extends Object

Factory for Validators

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Method Summary
 Validator createValidator()
          Create a validator that relies on the schema locations specified in the file.
 Validator createValidator(URI... schemaLocations)
          Create a validator that relies on the given schema for validation.
static ValidatorFactory getInstance()
          Get the factory instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ValidatorFactory getInstance()
Get the factory instance

Returns:
the factory instance

createValidator

public Validator createValidator()
Create a validator that relies on the schema locations specified in the file.

Returns:
the validator

createValidator

public Validator createValidator(URI... schemaLocations)
Create a validator that relies on the given schema for validation.

Parameters:
schemaLocations - the schemas
Returns:
the validator

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d