Class UnknownExtensibilityElement

java.lang.Object
javax.wsdl.extensions.UnknownExtensibilityElement
All Implemented Interfaces:
Serializable, ExtensibilityElement

public class UnknownExtensibilityElement extends Object implements ExtensibilityElement, Serializable
This class is used to wrap arbitrary elements.
Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
  • Field Details

    • elementType

      protected QName elementType
    • required

      protected Boolean required
    • element

      protected Element element
    • serialVersionUID

      public static final long serialVersionUID
      See Also:
  • Constructor Details

    • UnknownExtensibilityElement

      public UnknownExtensibilityElement()
  • Method Details

    • setElementType

      public void setElementType(QName elementType)
      Set the type of this extensibility element.
      Specified by:
      setElementType in interface ExtensibilityElement
      Parameters:
      elementType - the type
    • getElementType

      public QName getElementType()
      Get the type of this extensibility element.
      Specified by:
      getElementType in interface ExtensibilityElement
      Returns:
      the extensibility element's type
    • setRequired

      public void setRequired(Boolean required)
      Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
      Specified by:
      setRequired in interface ExtensibilityElement
    • getRequired

      public Boolean getRequired()
      Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
      Specified by:
      getRequired in interface ExtensibilityElement
    • setElement

      public void setElement(Element element)
      Set the Element for this extensibility element.
      Parameters:
      element - the unknown element that was encountered
    • getElement

      public Element getElement()
      Get the Element for this extensibility element.
      Returns:
      the unknown element that was encountered
    • toString

      public String toString()
      Overrides:
      toString in class Object