|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjef.dna.attributes.impl.AttributeFactory
public class AttributeFactory
Implementation class of the AttribFactory interface.
Field Summary | |
---|---|
protected static Logger |
logger
Logger |
Constructor Summary | |
---|---|
AttributeFactory()
|
Method Summary | |
---|---|
Attribute |
getInstance(AttributeTypes type)
This method returns not populated Attribute instances. |
Attribute |
getInstance(java.io.DataInputStream dis,
Dna dna)
This method returns not populated Attribute instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger logger
Constructor Detail |
---|
public AttributeFactory()
Method Detail |
---|
public Attribute getInstance(AttributeTypes type) throws UnsupportedAttributeException
AttribFactory
getInstance
in interface AttribFactory
type
- Which attribute to instantiate
UnsupportedAttributeException
public Attribute getInstance(java.io.DataInputStream dis, Dna dna) throws DnaDeserializationException
AttribFactory
getInstance
in interface AttribFactory
dis
- The input stream the attribute has to be instantiated fromdna
- The Dna
instance which will contain the returned
Attribute
instance
DnaDeserializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |