|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.rowa.posps.client.connection.PospsSchema
public class PospsSchema
Methods for validating XML documents against the posps schema. The class
loads the posps schema from the posps-spec jar.
| Field Summary | |
|---|---|
static javax.xml.validation.Schema |
POSPS_SCHEMA
Schema object which is initialized with the posps schema. |
| Method Summary | |
|---|---|
static boolean |
isValid(javax.xml.transform.Source documentSource)
Checks if the given document is valid according to the posps schema. |
static javax.xml.validation.Validator |
newValidator()
Creates a new validator which validates against the posps schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final javax.xml.validation.Schema POSPS_SCHEMA
| Method Detail |
|---|
public static javax.xml.validation.Validator newValidator()
public static boolean isValid(javax.xml.transform.Source documentSource)
documentSource - Source of the document to check.
true if the document validates without errors.
(Warnings during validation are ignored.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||