|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.encryption.validator.EncryptionPropertySchemaValidator
public class EncryptionPropertySchemaValidator
Checks EncryptionProperty
for Schema compliance.
Constructor Summary | |
---|---|
EncryptionPropertySchemaValidator()
|
Method Summary | |
---|---|
void |
validate(EncryptionProperty xmlObject)
Checks to see if a XMLObject is valid. |
protected void |
validateAttributeNamespaces(EncryptionProperty xmlObject)
Validate that any wildcard attributes are from the XML namespace http://www.w3.org/XML/1998/namespace . |
protected void |
validateChildrenNamespaces(EncryptionProperty xmlObject)
Validate that all children are from another namespace. |
protected void |
validateUnknownChildren(EncryptionProperty xmlObject)
Validate the unknown children. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionPropertySchemaValidator()
Method Detail |
---|
public void validate(EncryptionProperty xmlObject) throws ValidationException
validate
in interface Validator<EncryptionProperty>
xmlObject
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected void validateUnknownChildren(EncryptionProperty xmlObject) throws ValidationException
xmlObject
- the object to validate
ValidationException
- thrown if the object is invalidprotected void validateChildrenNamespaces(EncryptionProperty xmlObject) throws ValidationException
xmlObject
- the object to validate
ValidationException
- thrown if the object is invalidprotected void validateAttributeNamespaces(EncryptionProperty xmlObject) throws ValidationException
http://www.w3.org/XML/1998/namespace
.
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 |