com.ebmwebsourcing.commons.schema.api.abstractElmt
Class AbstractAttribute<E>

java.lang.Object
  extended by com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement<E>
      extended by com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractAttribute<E>
All Implemented Interfaces:
Attribute, SchemaElement, java.io.Serializable
Direct Known Subclasses:
Attribute

public abstract class AbstractAttribute<E>
extends AbstractSchemaElement<E>
implements Attribute

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

Field Summary
protected  Attribute referencedAttribute
          referenced attribute
protected  Schema schema
          the schema
protected  Type type
          the type of element
 
Fields inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement
documentation, model
 
Constructor Summary
AbstractAttribute(E model, Schema schema)
           
 
Method Summary
 org.jdom.Attribute generateAttribute(Element eIn, java.lang.String value)
           
 Schema getSchema()
           
 Type getType()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement
createDocumentation, getDocumentation, getModel, setDocumentation
 
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.Attribute
getName, getNamespaceUri, getValue
 
Methods inherited from interface com.ebmwebsourcing.commons.schema.api.SchemaElement
createDocumentation, getDocumentation, setDocumentation
 

Field Detail

schema

protected Schema schema
the schema


type

protected Type type
the type of element


referencedAttribute

protected Attribute referencedAttribute
referenced attribute

Constructor Detail

AbstractAttribute

public AbstractAttribute(E model,
                         Schema schema)
Parameters:
model -
schema -
Method Detail

getSchema

public Schema getSchema()

getType

public Type getType()

generateAttribute

public org.jdom.Attribute generateAttribute(Element eIn,
                                            java.lang.String value)

toString

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


Copyright © 2008 eBM WebSourcing. All Rights Reserved.