|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.policytester.PTValidator
public class PTValidator
Constructor Summary | |
---|---|
PTValidator()
Creates a new instance of PTValidator |
Method Summary | |
---|---|
void |
createDocument()
Creates and sets a new valid and empty Document. |
static java.lang.String[] |
getChildElements(org.w3c.dom.Node elem)
Obtains the Child Elements of a Node. |
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)
The Document to verify is set using this method. |
void |
validateDocument()
Actual validation of the document goes here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PTValidator()
Method Detail |
---|
public void setDocument(org.w3c.dom.Document d)
setDocument
in interface PolicyValidator
d
- Document to be set.public void validateDocument() throws ValidationException
PolicyValidator
validateDocument
in interface PolicyValidator
ValidationException
public void createDocument()
public org.w3c.dom.Document getValidDocument()
PolicyValidator
getValidDocument
in interface PolicyValidator
public static java.lang.String[] getChildElements(org.w3c.dom.Node elem)
elem
- the Node Element to obtain the Child Elements of
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |