Class KANonce.Parser
java.lang.Object
org.opensaml.xmlsec.agreement.impl.KANonce.Parser
- All Implemented Interfaces:
KeyAgreementParameterParser
- Enclosing class:
- KANonce
Implementation of
KeyAgreementParameterParser.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluate whether the specifiedXMLObjectis handled by the implementation.Parse the specifiedXMLObjectinto aKeyAgreementParameter.
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
handles
Evaluate whether the specifiedXMLObjectis handled by the implementation.- Specified by:
handlesin interfaceKeyAgreementParameterParser- Parameters:
xmlObject- the XML object to evaluate- Returns:
- true if handles, false if not
-
parse
@Nonnull public KeyAgreementParameter parse(@Nonnull XMLObject xmlObject) throws KeyAgreementException Parse the specifiedXMLObjectinto aKeyAgreementParameter.- Specified by:
parsein interfaceKeyAgreementParameterParser- Parameters:
xmlObject- the XMLObject to be parsed- Returns:
- the new key agreement parameter instance
- Throws:
KeyAgreementException- if parameter parsing of the supplied object fails
-