com.ebmwebsourcing.commons.schema.api.abstractElmt
Class AbstractType<E extends Annotated,V>
java.lang.Object
com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement
com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractType<E,V>
- All Implemented Interfaces:
- SchemaElement, Type, java.io.Serializable
- Direct Known Subclasses:
- ComplexType, SimpleType
public abstract class AbstractType<E extends Annotated,V>
- extends AbstractSchemaElement
- implements Type
- 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 |
| Methods inherited from interface com.ebmwebsourcing.commons.schema.api.Type |
getQName |
schema
protected Schema schema
- the shema
outputter
protected org.jdom.output.XMLOutputter outputter
- the outputter
attributes
protected java.util.List<Attribute> attributes
- the list of attributes
AbstractType
public AbstractType(E model,
Schema schema)
- Parameters:
model - schema -
printXml
public abstract java.lang.String printXml(Element e,
V value)
throws SchemaException
- Throws:
SchemaException
getAttributes
public java.util.List<Attribute> getAttributes()
- Specified by:
getAttributes in interface Type
getAttribute
public Attribute getAttribute(java.lang.String element)
- Specified by:
getAttribute in interface Type
addAttribute
public void addAttribute(Attribute elmt)
- Specified by:
addAttribute in interface Type
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008 eBM WebSourcing. All Rights Reserved.