org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractTypeImpl<E extends Annotated,V,A extends AbsItfAttribute>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractTypeImpl<E,V,A>
All Implemented Interfaces:
java.io.Serializable, AbsItfType<A>, SchemaElement
Direct Known Subclasses:
AbstractComplexTypeImpl, AbstractSimpleTypeImpl

public abstract class AbstractTypeImpl<E extends Annotated,V,A extends AbsItfAttribute>
extends AbstractSchemaElementImpl<E>
implements AbsItfType<A>

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
protected  java.util.List<A> attributes
          the list of attributes
protected  org.jdom.output.XMLOutputter outputter
          the outputter
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractTypeImpl(E model, AbstractSchemaElementImpl parent)
           
 
Method Summary
 void addAttribute(A elmt)
           
 A getAttribute(java.lang.String element)
           
 java.util.List<A> getAttributes()
           
abstract  java.lang.String printXml(AbsItfElement e, V value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
createDocumentation, getDocumentation, getModel, getOtherAttributes, getParent, getSchema, getTopParent, setDocumentation, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfType
getQName, setQName
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Field Detail

outputter

protected org.jdom.output.XMLOutputter outputter
the outputter


attributes

protected java.util.List<A extends AbsItfAttribute> attributes
the list of attributes

Constructor Detail

AbstractTypeImpl

public AbstractTypeImpl(E model,
                        AbstractSchemaElementImpl parent)
Parameters:
model -
parent -
Method Detail

printXml

public abstract java.lang.String printXml(AbsItfElement e,
                                          V value)
                                   throws SchemaException
Throws:
SchemaException

getAttributes

public java.util.List<A> getAttributes()
Specified by:
getAttributes in interface AbsItfType<A extends AbsItfAttribute>

getAttribute

public A getAttribute(java.lang.String element)
Specified by:
getAttribute in interface AbsItfType<A extends AbsItfAttribute>

addAttribute

public void addAttribute(A elmt)
Specified by:
addAttribute in interface AbsItfType<A extends AbsItfAttribute>

toString

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


Copyright © 2008 eBM WebSourcing. All Rights Reserved.