|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidatingXMLObject
A functional interface for XMLObjects that offer the ability to evaluate validation rules.
Method Summary | |
---|---|
void |
deregisterValidator(Validator validator)
Deregisters a validator for this XMLObject. |
java.util.List<Validator> |
getValidators()
Gets the list of validators for this XMLObject or null if there is no list. |
void |
registerValidator(Validator validator)
Registers a validator for this XMLObject. |
void |
validate(boolean validateDescendants)
Validates this XMLObject against all registered validators. |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Method Detail |
---|
java.util.List<Validator> getValidators()
void registerValidator(Validator validator)
validator
- the validatorvoid deregisterValidator(Validator validator)
validator
- the validatorvoid validate(boolean validateDescendants) throws ValidationException
validateDescendants
- true if all the descendants of this object should
be validated as well, false if not
ValidationException
- thrown if the element is not valid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |