Class AbstractXMLEncryptionUnmarshaller

java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.xmlsec.encryption.impl.AbstractXMLEncryptionUnmarshaller
All Implemented Interfaces:
Unmarshaller
Direct Known Subclasses:
AgreementMethodUnmarshaller, AlgorithmIdentifierTypeUnmarshaller, CipherDataUnmarshaller, CipherReferenceUnmarshaller, ConcatKDFParamsUnmarshaller, DerivedKeyUnmarshaller, DHKeyValueUnmarshaller, EncryptedTypeUnmarshaller, EncryptionMethodUnmarshaller, EncryptionPropertiesUnmarshaller, EncryptionPropertyUnmarshaller, KeyDerivationMethodUnmarshaller, PBKDF2ParamsUnmarshaller, ReferenceListUnmarshaller, ReferenceTypeUnmarshaller, SaltUnmarshaller, TransformsUnmarshaller

public abstract class AbstractXMLEncryptionUnmarshaller
extends AbstractXMLObjectUnmarshaller
An abstract unmarshaller implementation for XMLObjects from XML Encryption.
  • Field Details

    • log

      private final org.slf4j.Logger log
      Logger.
  • Constructor Details

    • AbstractXMLEncryptionUnmarshaller

      public AbstractXMLEncryptionUnmarshaller()
  • Method Details

    • processChildElement

      protected void processChildElement​(@Nonnull XMLObject parentXMLObject, @Nonnull XMLObject childXMLObject) throws UnmarshallingException
      Called after a child element has been unmarshalled so that it can be added to the parent XMLObject. The default implementation of this method is a no-op.
      Overrides:
      processChildElement in class AbstractXMLObjectUnmarshaller
      Parameters:
      parentXMLObject - the parent XMLObject
      childXMLObject - the child XMLObject
      Throws:
      UnmarshallingException - thrown if there is a problem adding the child to the parent
    • processAttribute

      protected void processAttribute​(@Nonnull XMLObject xmlObject, @Nonnull Attr attribute) throws UnmarshallingException
      Called after an attribute has been unmarshalled so that it can be added to the XMLObject. The default implementation of this method is a no-op
      Overrides:
      processAttribute in class AbstractXMLObjectUnmarshaller
      Parameters:
      xmlObject - the XMLObject
      attribute - the attribute
      Throws:
      UnmarshallingException - thrown if there is a problem adding the attribute to the XMLObject
    • processElementContent

      protected void processElementContent​(@Nonnull XMLObject xmlObject, @Nonnull String elementContent)
      Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject. The default implementation of this method is a no-op
      Overrides:
      processElementContent in class AbstractXMLObjectUnmarshaller
      Parameters:
      xmlObject - XMLObject the content will be given to
      elementContent - the Element's content