Class XML


  • public class XML
    extends Object
    XML
    See Also:
    "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#xml-object"
    • Constructor Detail

      • XML

        public XML()
    • Method Detail

      • getName

        public String getName()
        returns the name property from a XML instance.
        Returns:
        String name
      • setName

        public void setName​(String name)
      • getNamespace

        public String getNamespace()
        returns the namespace property from a XML instance.
        Returns:
        String namespace
      • setNamespace

        public void setNamespace​(String namespace)
      • namespace

        public XML namespace​(String namespace)
      • getPrefix

        public String getPrefix()
        returns the prefix property from a XML instance.
        Returns:
        String prefix
      • setPrefix

        public void setPrefix​(String prefix)
      • prefix

        public XML prefix​(String prefix)
      • getAttribute

        public Boolean getAttribute()
        returns the attribute property from a XML instance.
        Returns:
        Boolean attribute
      • setAttribute

        public void setAttribute​(Boolean attribute)
      • attribute

        public XML attribute​(Boolean attribute)
      • getWrapped

        public Boolean getWrapped()
        returns the wrapped property from a XML instance.
        Returns:
        Boolean wrapped
      • setWrapped

        public void setWrapped​(Boolean wrapped)
      • wrapped

        public XML wrapped​(Boolean wrapped)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • addExtension

        public void addExtension​(String name,
                                 Object value)
      • addExtension31

        public void addExtension31​(String name,
                                   Object value)
      • setExtensions

        public void setExtensions​(Map<String,​Object> extensions)