|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.schema.SchematronValidator
public class SchematronValidator
Validates a document against a Schematron XSLT.
The XSLT must produce an SVRL document (Schematron Validation Report Language).
| Constructor Summary | |
|---|---|
SchematronValidator()
Default constructor. |
|
| Method Summary | |
|---|---|
protected ValidationErrors |
getValidationErrors()
Gets the validation errors. |
protected void |
setValidationErrors(ValidationErrors errors)
Sets the validation errors. |
void |
validate(Schema schema,
String xml)
Validates an XML string against a Schematron XSLT associated with a schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchematronValidator()
| Method Detail |
|---|
protected ValidationErrors getValidationErrors()
protected void setValidationErrors(ValidationErrors errors)
errors - validation errors
public void validate(Schema schema,
String xml)
throws ValidationException
schema - the schema being validatedxml - the XML string to be validated
ValidationException - if validation errors were located
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||