Class ToBuilder

All Implemented Interfaces:
XMLObjectBuilder<To>, WSAddressingObjectBuilder<To>

public class ToBuilder extends AbstractWSAddressingObjectBuilder<To>
Builder for the To element.
  • Constructor Details

    • ToBuilder

      public ToBuilder()
  • Method Details

    • buildObject

      @Nonnull public To buildObject()
      Builds a WS-Addressing object.
      Specified by:
      buildObject in interface WSAddressingObjectBuilder<To>
      Specified by:
      buildObject in class AbstractWSAddressingObjectBuilder<To>
      Returns:
      the built object
    • buildObject

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