コンストラクタと説明 |
---|
PGPDataSchemaValidator() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected static Set<QName> |
getValidDSChildNames()
Get the QNames corresponding to the valid children
defined in the XML Signature namespace.
|
void |
validate(PGPData xmlObject)
Checks to see if a XMLObject is valid.
|
protected void |
validateChildrenNamespaces(PGPData xmlObject)
Validate that all children are either ones defined within the XML Signature schema,
or are from another namespace.
|
protected void |
validateChildrenPresence(PGPData xmlObject)
Validate that at least one mandatory child is present.
|
public void validate(PGPData xmlObject) throws ValidationException
validate
インタフェース内 Validator<PGPData>
xmlObject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected static Set<QName> getValidDSChildNames()
protected void validateChildrenPresence(PGPData xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidprotected void validateChildrenNamespaces(PGPData xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidCopyright © 2012. All Rights Reserved.