org.ow2.easywsdl.schema.api.absItf
Interface AbsItfElement<T extends AbsItfType>

All Superinterfaces:
SchemaElement, java.io.Serializable
All Known Subinterfaces:
Element
All Known Implementing Classes:
AbstractElementImpl, ElementImpl

public interface AbsItfElement<T extends AbsItfType>
extends SchemaElement

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 org.jdom.Element generateElement(java.lang.Object values)
           
 java.lang.String getMaxOccurs()
           
 int getMinOccurs()
           
 javax.xml.namespace.QName getQName()
           
 javax.xml.namespace.QName getRef()
           
 T getType()
           
 java.lang.String printXml(java.lang.Object value)
          print the xml with value if value !
 void setMaxOccurs(java.lang.String max)
           
 void setMinOccurs(int min)
           
 void setQName(javax.xml.namespace.QName name)
           
 void setRef(javax.xml.namespace.QName name)
           
 void setType(T type)
           
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Method Detail

getQName

javax.xml.namespace.QName getQName()

setQName

void setQName(javax.xml.namespace.QName name)

getRef

javax.xml.namespace.QName getRef()

setRef

void setRef(javax.xml.namespace.QName name)

getType

T getType()

setType

void setType(T type)

getMinOccurs

int getMinOccurs()

setMinOccurs

void setMinOccurs(int min)

getMaxOccurs

java.lang.String getMaxOccurs()

setMaxOccurs

void setMaxOccurs(java.lang.String max)

printXml

java.lang.String printXml(java.lang.Object value)
                          throws SchemaException
print the xml with value if value != null

Parameters:
value - the String or the List corresponding to value of simple or complex type
Returns:
the xml
Throws:
SchemaException

generateElement

org.jdom.Element generateElement(java.lang.Object values)
                                 throws SchemaException
Throws:
SchemaException


Copyright © 2008 eBM WebSourcing. All Rights Reserved.