com.ebmwebsourcing.commons.schema.api
Interface Element

All Superinterfaces:
SchemaElement, java.io.Serializable
All Known Implementing Classes:
AbstractElement, Element

public interface Element
extends SchemaElement

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 javax.xml.namespace.QName getQName()
           
 Type getType()
           
 java.lang.String printXml(java.lang.Object value)
          print the xml with value if value !
 
Methods inherited from interface com.ebmwebsourcing.commons.schema.api.SchemaElement
createDocumentation, getDocumentation, setDocumentation
 

Method Detail

getQName

javax.xml.namespace.QName getQName()

getType

Type getType()

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


Copyright © 2008 eBM WebSourcing. All Rights Reserved.