|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.encryption.validator.ReferenceTypeSchemaValidator
public class ReferenceTypeSchemaValidator
Checks ReferenceType
for Schema compliance.
Constructor Summary | |
---|---|
ReferenceTypeSchemaValidator()
|
Method Summary | |
---|---|
void |
validate(ReferenceType xmlObject)
Checks to see if a XMLObject is valid. |
protected void |
validateChildrenNamespaces(ReferenceType xmlObject)
Validate that all children are from another namespace. |
protected void |
validateURI(ReferenceType xmlObject)
Validate the URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReferenceTypeSchemaValidator()
Method Detail |
---|
public void validate(ReferenceType xmlObject) throws ValidationException
validate
in interface Validator<ReferenceType>
xmlObject
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected void validateURI(ReferenceType xmlObject) throws ValidationException
xmlObject
- the object to validate
ValidationException
- thrown if the object is invalidprotected void validateChildrenNamespaces(ReferenceType xmlObject) throws ValidationException
xmlObject
- the object to validate
ValidationException
- thrown if the object is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |