/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { DigestMethod dm = (DigestMethod) xmlObject; if (attribute.getLocalName().equals(DigestMethod.ALGORITHM_ATTRIB_NAME)) { dm.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { Transform transform = (Transform) xmlObject; if (attribute.getLocalName().equals(Transform.ALGORITHM_ATTRIB_NAME)) { transform.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { DigestMethod dm = (DigestMethod) xmlObject; if (attribute.getLocalName().equals(DigestMethod.ALGORITHM_ATTRIB_NAME)) { dm.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { Transform transform = (Transform) xmlObject; if (attribute.getLocalName().equals(Transform.ALGORITHM_ATTRIB_NAME)) { transform.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { RetrievalMethod rm = (RetrievalMethod) xmlObject; if (attribute.getLocalName().equals(RetrievalMethod.URI_ATTRIB_NAME)) { rm.setURI(attribute.getValue()); } else if (attribute.getLocalName().equals(RetrievalMethod.TYPE_ATTRIB_NAME)) { rm.setType(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { RetrievalMethod rm = (RetrievalMethod) xmlObject; if (attribute.getLocalName().equals(RetrievalMethod.URI_ATTRIB_NAME)) { rm.setURI(attribute.getValue()); } else if (attribute.getLocalName().equals(RetrievalMethod.TYPE_ATTRIB_NAME)) { rm.setType(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { ECKeyValue ec = (ECKeyValue) xmlObject; if (attribute.getLocalName().equals(ECKeyValue.ID_ATTRIB_NAME)) { ec.setID(attribute.getValue()); attribute.getOwnerElement().setIdAttributeNode(attribute, true); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { KeyInfoType keyInfo = (KeyInfoType) xmlObject; if (attribute.getLocalName().equals(KeyInfoType.ID_ATTRIB_NAME)) { keyInfo.setID(attribute.getValue()); attribute.getOwnerElement().setIdAttributeNode(attribute, true); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { ECKeyValue ec = (ECKeyValue) xmlObject; if (attribute.getLocalName().equals(ECKeyValue.ID_ATTRIB_NAME)) { ec.setID(attribute.getValue()); attribute.getOwnerElement().setIdAttributeNode(attribute, true); } else { super.processAttribute(xmlObject, attribute); } }
/** {@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 processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { KeyInfoType keyInfo = (KeyInfoType) xmlObject; if (attribute.getLocalName().equals(KeyInfoType.ID_ATTRIB_NAME)) { keyInfo.setID(attribute.getValue()); attribute.getOwnerElement().setIdAttributeNode(attribute, true); } else { super.processAttribute(xmlObject, attribute); } }