public class CipherDataUnmarshaller extends AbstractXMLEncryptionUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
CipherData cipherData = (CipherData) parentXMLObject;
if (childXMLObject instanceof CipherValue) {
cipherData.setCipherValue((CipherValue) childXMLObject);
} else if (childXMLObject instanceof CipherReference) {
cipherData.setCipherReference((CipherReference) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}