Class PublicBuilder

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

public class PublicBuilder
extends AbstractXMLObjectBuilder<Public>
implements XMLEncryptionBuilder<Public>
Builder of Public.
  • Constructor Details

    • PublicBuilder

      public PublicBuilder()
      Constructor.
  • Method Details

    • buildObject

      public Public buildObject​(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<Public>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<Public>
      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 Public buildObject()
      Builds an XMLObject using the default name and namespace information provided XML Encryption specifications.
      Specified by:
      buildObject in interface XMLEncryptionBuilder<Public>
      Returns:
      built XMLObject