Class KeyReferenceBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<KeyReference>
org.opensaml.xmlsec.encryption.impl.KeyReferenceBuilder
All Implemented Interfaces:
XMLObjectBuilder<KeyReference>, XMLEncryptionBuilder<KeyReference>

public class KeyReferenceBuilder
extends AbstractXMLObjectBuilder<KeyReference>
implements XMLEncryptionBuilder<KeyReference>
Builder of KeyReference.
  • Constructor Details

    • KeyReferenceBuilder

      public KeyReferenceBuilder()
      Constructor.
  • Method Details

    • buildObject

      public KeyReference buildObject​(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<KeyReference>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<KeyReference>
      Parameters:
      namespaceURI - the URI of the namespace the Element represented by this XMLObject will be in
      localName - the local name of the Element represented by this XMLObject
      namespacePrefix - the namespace prefix of the Element represented by this XMLObject
      Returns:
      the constructed XMLObject
    • buildObject

      public KeyReference buildObject()
      Builds an XMLObject using the default name and namespace information provided XML Encryption specifications.
      Specified by:
      buildObject in interface XMLEncryptionBuilder<KeyReference>
      Returns:
      built XMLObject