org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractElementImpl<E,T extends AbsItfType>
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractElementImpl<E,T>
- All Implemented Interfaces:
- java.io.Serializable, AbsItfElement<T>, SchemaElement
- Direct Known Subclasses:
- ElementImpl
public abstract class AbstractElementImpl<E,T extends AbsItfType>
- extends AbstractSchemaElementImpl<E>
- implements AbsItfElement<T>
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected T extends AbsItfType type
- the type of element
referencedElement
protected AbsItfElement referencedElement
- referenced element
AbstractElementImpl
public AbstractElementImpl(E model,
AbstractSchemaElementImpl parent)
- Parameters:
model - parent -
getType
public T getType()
- Specified by:
getType in interface AbsItfElement<T extends AbsItfType>
setType
public void setType(T type)
- Specified by:
setType in interface AbsItfElement<T extends AbsItfType>
printXml
public java.lang.String printXml(java.lang.Object value)
throws SchemaException
- Description copied from interface:
AbsItfElement
- print the xml with value if value != null
- Specified by:
printXml in interface AbsItfElement<T extends AbsItfType>
- Parameters:
value - the String or the List corresponding to value of
simple or complex type
- Returns:
- the xml
- Throws:
SchemaException
getParent
public AbstractSchemaElementImpl getParent()
- Overrides:
getParent in class AbstractSchemaElementImpl<E>
generateElement
public org.jdom.Element generateElement(java.lang.Object values)
throws SchemaException
- Specified by:
generateElement in interface AbsItfElement<T extends AbsItfType>
- Throws:
SchemaException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008 eBM WebSourcing. All Rights Reserved.