Class DataReferenceBuilder

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

public class DataReferenceBuilder extends AbstractXMLObjectBuilder<DataReference> implements XMLEncryptionBuilder<DataReference>
Builder of DataReference.
  • Constructor Details

    • DataReferenceBuilder

      public DataReferenceBuilder()
  • Method Details

    • buildObject

      @Nonnull public DataReference buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<DataReference>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<DataReference>
      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

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