org.opensaml.xml.encryption.validator
public class ReferenceTypeSchemaValidator extends Object implements Validator<ReferenceType>
ReferenceType
for Schema compliance.Constructor and Description |
---|
ReferenceTypeSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void validate(ReferenceType xmlObject) throws ValidationException
validate
in interface Validator<ReferenceType>
xmlObject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateURI(ReferenceType xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidprotected void validateChildrenNamespaces(ReferenceType xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidCopyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.