Klasse Xml.XmlBuilder

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.Xml.XmlBuilder
Umschließende Klasse:
Xml

public static class Xml.XmlBuilder extends Object
  • Methodendetails

    • attribute

      public Xml.XmlBuilder attribute(Boolean attribute)
      Declares whether the property definition translates to an attribute instead of an element. Default value is false
      Gibt zurück:
      this.
    • name

      public Xml.XmlBuilder name(String name)
      Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being array (outside the items), it will affect the wrapping element and only if wrapped is true. If wrapped is false, it will be ignored
      Gibt zurück:
      this.
    • namespace

      public Xml.XmlBuilder namespace(String namespace)
      The URI of the namespace definition
      Gibt zurück:
      this.
    • prefix

      public Xml.XmlBuilder prefix(String prefix)
      The prefix to be used for the name
      Gibt zurück:
      this.
    • vendorExtensions

      public Xml.XmlBuilder vendorExtensions(Map<String,Object> vendorExtensions)
      Gibt zurück:
      this.
    • wrapped

      public Xml.XmlBuilder wrapped(Boolean wrapped)
      MAY be used only for an array definition. Signifies whether the array is wrapped (for example, &lt;books&gt;&lt;book/&gt;&lt;book/&gt;&lt;/books&gt;) or unwrapped (&lt;book/&gt;&lt;book/&gt;). Default value is false
      Gibt zurück:
      this.
    • build

      public Xml build()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object