public class KeyDescriptorSchemaValidator extends Object implements Validator<KeyDescriptor>
KeyDescriptor
for Schema compliance.コンストラクタと説明 |
---|
KeyDescriptorSchemaValidator()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
validate(KeyDescriptor keyDescriptor)
Checks to see if a XMLObject is valid.
|
protected void |
validateKeyInfo(KeyDescriptor keyDescriptor)
Checks that KeyInfo is present.
|
protected void |
validateUse(KeyDescriptor keyDescriptor)
Checks that use attribute has only one of allowed values.
|
public void validate(KeyDescriptor keyDescriptor) throws ValidationException
validate
インタフェース内 Validator<KeyDescriptor>
keyDescriptor
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateKeyInfo(KeyDescriptor keyDescriptor) throws ValidationException
keyDescriptor
- the key descriptor to validateValidationException
- thrown if KeyInfo is not presentprotected void validateUse(KeyDescriptor keyDescriptor) throws ValidationException
keyDescriptor
- the key descriptor to validateValidationException
- throw in use attribute does not have a legal valueCopyright © 2012. All Rights Reserved.