/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { Transforms transforms = (Transforms) parentXMLObject; if (childXMLObject instanceof Transform) { transforms.getTransforms().add((Transform) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { RetrievalMethod rm = (RetrievalMethod) parentXMLObject; if (childXMLObject instanceof Transforms) { rm.setTransforms((Transforms) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { RetrievalMethod rm = (RetrievalMethod) parentXMLObject; if (childXMLObject instanceof Transforms) { rm.setTransforms((Transforms) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { Transforms transforms = (Transforms) parentXMLObject; if (childXMLObject instanceof Transform) { transforms.getTransforms().add((Transform) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { X509IssuerSerial keyValue = (X509IssuerSerial) parentXMLObject; if (childXMLObject instanceof X509IssuerName) { keyValue.setX509IssuerName((X509IssuerName) childXMLObject); } else if (childXMLObject instanceof X509SerialNumber) { keyValue.setX509SerialNumber((X509SerialNumber) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { RSAKeyValue keyValue = (RSAKeyValue) parentXMLObject; if (childXMLObject instanceof Modulus) { keyValue.setModulus((Modulus) childXMLObject); } else if (childXMLObject instanceof Exponent) { keyValue.setExponent((Exponent) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { X509IssuerSerial keyValue = (X509IssuerSerial) parentXMLObject; if (childXMLObject instanceof X509IssuerName) { keyValue.setX509IssuerName((X509IssuerName) childXMLObject); } else if (childXMLObject instanceof X509SerialNumber) { keyValue.setX509SerialNumber((X509SerialNumber) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { RSAKeyValue keyValue = (RSAKeyValue) parentXMLObject; if (childXMLObject instanceof Modulus) { keyValue.setModulus((Modulus) childXMLObject); } else if (childXMLObject instanceof Exponent) { keyValue.setExponent((Exponent) childXMLObject); } else { super.processChildElement(parentXMLObject, childXMLObject); } }
/** {@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); } }
/** {@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); } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { KeyValue keyValue = (KeyValue) parentXMLObject; if (childXMLObject instanceof DSAKeyValue) { keyValue.setDSAKeyValue((DSAKeyValue) childXMLObject); } else if (childXMLObject instanceof RSAKeyValue) { keyValue.setRSAKeyValue((RSAKeyValue) childXMLObject); } else { // There can be only one... if (keyValue.getUnknownXMLObject() == null) { keyValue.setUnknownXMLObject(childXMLObject); } else { // If this happens, throw the others up to the parent class to be logged/handled. super.processChildElement(parentXMLObject, childXMLObject); } } }
/** {@inheritDoc} */ protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException { KeyValue keyValue = (KeyValue) parentXMLObject; if (childXMLObject instanceof DSAKeyValue) { keyValue.setDSAKeyValue((DSAKeyValue) childXMLObject); } else if (childXMLObject instanceof RSAKeyValue) { keyValue.setRSAKeyValue((RSAKeyValue) childXMLObject); } else { // There can be only one... if (keyValue.getUnknownXMLObject() == null) { keyValue.setUnknownXMLObject(childXMLObject); } else { // If this happens, throw the others up to the parent class to be logged/handled. super.processChildElement(parentXMLObject, childXMLObject); } } }
/** {@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); } }
/** {@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); } }