com.thaiopensource.validate
Interface Schema
- All Known Implementing Classes: 
- AbstractSchema
- public interface Schema
A schema that can be used to validate an XML document. A single Schema object
 is safe for concurrent access by multiple threads.
- Author:
- James Clark
- See Also:
- SchemaReader,- Validator
 
createValidator
public Validator createValidator(PropertyMap properties)
- Creates a new Validatorthat can be used to validate XML documents with
 respect to this schema.  ThePropertyMapshould contain aValidateProperty.ERROR_HANDLERproperty, which will be
 used to report errors.  If it does not, then anErrorHandlerwill be used that ignores warnings and throws its argument on errors and fatal errors.
 Common properties are defined inValidateProperty.  Implementations
 may support additional properties.
 
- 
- Parameters:
- properties- a- PropertyMapspecifying the properties of the- Validatorto be created
- Returns:
- a new Validatorthat can be used to validate an XML document
 with respect to this schema; nevernull
- See Also:
- ValidateProperty.ERROR_HANDLER
 
getProperties
public PropertyMap getProperties()
-