Class CodeBuilder

All Implemented Interfaces:
XMLObjectBuilder<Code>, WSTrustObjectBuilder<Code>

public class CodeBuilder extends AbstractWSTrustObjectBuilder<Code>
Builder for the Code element.
  • Constructor Details

    • CodeBuilder

      public CodeBuilder()
  • Method Details

    • buildObject

      @Nonnull public Code buildObject()
      Builds a WS-Trust object of the given type.
      Specified by:
      buildObject in interface WSTrustObjectBuilder<Code>
      Specified by:
      buildObject in class AbstractWSTrustObjectBuilder<Code>
      Returns:
      the built object
    • buildObject

      @Nonnull public Code 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<Code>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<Code>
      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