|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyValidator
This inferface describes the set of methods that an XML Validator should have. A validator is needed to check that the XML that is produced is valid according to a set of rules. This could be done in various ways, and hence the need for an interface.
Method Summary | |
---|---|
org.w3c.dom.Document |
getValidDocument()
In case a new valid document is needed, create and make the document a valid one. |
void |
setDocument(org.w3c.dom.Document d)
Sets the document that is needed for us to operate on. |
void |
validateDocument()
Actual validation of the document goes here. |
Method Detail |
---|
void setDocument(org.w3c.dom.Document d)
void validateDocument() throws ValidationException
ValidationException
org.w3c.dom.Document getValidDocument()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |