}
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
ECKeyValue keyValue = (ECKeyValue) parentXMLObject;
if (childXMLObject instanceof NamedCurve) {
keyValue.setNamedCurve((NamedCurve) childXMLObject);
} else if (childXMLObject instanceof PublicKey) {
keyValue.setPublicKey((PublicKey) childXMLObject);
} else if (childXMLObject.getElementQName().equals(ECPARAMETERS_ELEMENT_NAME)) {
keyValue.setECParameters(childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}