public class DHKeyValueUnmarshaller extends AbstractXMLEncryptionUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
DHKeyValue keyValue = (DHKeyValue) parentXMLObject;
if (childXMLObject instanceof P) {
keyValue.setP((P) childXMLObject);
} else if (childXMLObject instanceof Q) {
keyValue.setQ((Q) childXMLObject);
} else if (childXMLObject instanceof Generator) {
keyValue.setGenerator((Generator) childXMLObject);
} else if (childXMLObject instanceof Public) {
keyValue.setPublic((Public) childXMLObject);
} else if (childXMLObject instanceof Seed) {
keyValue.setSeed((Seed) childXMLObject);
} else if (childXMLObject instanceof PgenCounter) {
keyValue.setPgenCounter((PgenCounter) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}