Package javax.wsdl.extensions
Class UnknownExtensibilityElement
- java.lang.Object
-
- javax.wsdl.extensions.UnknownExtensibilityElement
-
- All Implemented Interfaces:
java.io.Serializable,ExtensibilityElement
public class UnknownExtensibilityElement extends java.lang.Object implements ExtensibilityElement, java.io.Serializable
This class is used to wrap arbitrary elements.- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
UnknownExtensionSerializer,UnknownExtensionDeserializer, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.Elementelementprotected QNameelementTypeprotected java.lang.Booleanrequiredstatic longserialVersionUID
-
Constructor Summary
Constructors Constructor Description UnknownExtensibilityElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.ElementgetElement()Get the Element for this extensibility element.QNamegetElementType()Get the type of this extensibility element.java.lang.BooleangetRequired()Get whether or not the semantics of this extension are required.voidsetElement(org.w3c.dom.Element element)Set the Element for this extensibility element.voidsetElementType(QName elementType)Set the type of this extensibility element.voidsetRequired(java.lang.Boolean required)Set whether or not the semantics of this extension are required.java.lang.StringtoString()
-
-
-
Field Detail
-
elementType
protected QName elementType
-
required
protected java.lang.Boolean required
-
element
protected org.w3c.dom.Element element
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setElementType
public void setElementType(QName elementType)
Set the type of this extensibility element.- Specified by:
setElementTypein interfaceExtensibilityElement- Parameters:
elementType- the type
-
getElementType
public QName getElementType()
Get the type of this extensibility element.- Specified by:
getElementTypein interfaceExtensibilityElement- Returns:
- the extensibility element's type
-
setRequired
public void setRequired(java.lang.Boolean required)
Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.- Specified by:
setRequiredin interfaceExtensibilityElement
-
getRequired
public java.lang.Boolean getRequired()
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.- Specified by:
getRequiredin interfaceExtensibilityElement
-
setElement
public void setElement(org.w3c.dom.Element element)
Set the Element for this extensibility element.- Parameters:
element- the unknown element that was encountered
-
getElement
public org.w3c.dom.Element getElement()
Get the Element for this extensibility element.- Returns:
- the unknown element that was encountered
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-