public class DSAKeyValueUnmarshaller extends AbstractXMLSignatureUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
DSAKeyValue keyValue = (DSAKeyValue) parentXMLObject;
if (childXMLObject instanceof P) {
keyValue.setP((P) childXMLObject);
} else if (childXMLObject instanceof Q) {
keyValue.setQ((Q) childXMLObject);
} else if (childXMLObject instanceof G) {
keyValue.setG((G) childXMLObject);
} else if (childXMLObject instanceof Y) {
keyValue.setY((Y) childXMLObject);
} else if (childXMLObject instanceof J) {
keyValue.setJ((J) childXMLObject);
} else if (childXMLObject instanceof Seed) {
keyValue.setSeed((Seed) childXMLObject);
} else if (childXMLObject instanceof PgenCounter) {
keyValue.setPgenCounter((PgenCounter) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}