org.apache.woden.wsdl20.extensions
Class UnknownExtensionElement

java.lang.Object
  extended by org.apache.woden.wsdl20.extensions.UnknownExtensionElement
All Implemented Interfaces:
ExtensionElement

public class UnknownExtensionElement
extends java.lang.Object
implements ExtensionElement

This class is used to wrap arbitrary elements.

Based on the same class from WSDL4J.

Author:
Matthew J. Duftler (duftler@us.ibm.com), jkaputin@apache.org
See Also:
UnknownExtensionSerializer, UnknownExtensionDeserializer

Field Summary
protected  XMLElement element
           
protected  QName elementQN
           
protected  java.lang.Boolean required
           
 
Constructor Summary
UnknownExtensionElement()
           
 
Method Summary
 XMLElement getElement()
          Get the Element for this extensibility element.
 QName getExtensionType()
          Get the type of this extensibility element.
 java.lang.Boolean isRequired()
          Get whether or not the semantics of this extension are required.
 void setElement(XMLElement element)
          Set the Element for this extensibility element.
 void setExtensionType(QName elementQN)
          Set the type of this extensibility element.
 void setRequired(java.lang.Boolean required)
          Set whether or not the semantics of this extension are required.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elementQN

protected QName elementQN

required

protected java.lang.Boolean required

element

protected XMLElement element
Constructor Detail

UnknownExtensionElement

public UnknownExtensionElement()
Method Detail

setExtensionType

public void setExtensionType(QName elementQN)
Set the type of this extensibility element.

Specified by:
setExtensionType in interface ExtensionElement
Parameters:
elementQN - the type

getExtensionType

public QName getExtensionType()
Get the type of this extensibility element.

Specified by:
getExtensionType in interface ExtensionElement
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:
setRequired in interface ExtensionElement

isRequired

public java.lang.Boolean isRequired()
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.

Specified by:
isRequired in interface ExtensionElement

setElement

public void setElement(XMLElement element)
Set the Element for this extensibility element.

Parameters:
element - the unknown element that was encountered

getElement

public XMLElement getElement()
Get the Element for this extensibility element.

Returns:
the unknown element that was encountered

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007. All Rights Reserved.