|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jopendocument.util.Validator
org.jopendocument.util.Validator.JAXPValidator
public static final class Validator.JAXPValidator
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jopendocument.util.Validator |
|---|
Validator.DTDValidator, Validator.JAXPValidator |
| Constructor Summary | |
|---|---|
Validator.JAXPValidator(org.jdom.Document doc,
javax.xml.validation.Schema schema)
Validate a document using JAXP. |
|
| Method Summary | |
|---|---|
java.lang.String |
isValid()
Validate a document, stopping at the first problem. |
CollectionMap<java.lang.String,java.lang.String> |
validateCompletely()
Validate the whole document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Validator.JAXPValidator(org.jdom.Document doc,
javax.xml.validation.Schema schema)
doc - the document to validateschema - the schema.| Method Detail |
|---|
public java.lang.String isValid()
Validator
isValid in class Validatornull if doc is valid, a String describing the first problem
otherwise.public CollectionMap<java.lang.String,java.lang.String> validateCompletely()
Validator
validateCompletely in class Validator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||