com.metsci.glimpse.charts.vector.parser.attributes
Class ENCAbstractAttribute
java.lang.Object
com.metsci.glimpse.charts.vector.parser.attributes.ENCAbstractAttribute
- All Implemented Interfaces:
- GeoAttribute
- Direct Known Subclasses:
- ENCCodedAttribute, ENCEnumAttribute, ENCFloatAttribute, ENCFreeAttribute, ENCIntAttribute, ENCListAttribute
public abstract class ENCAbstractAttribute
- extends java.lang.Object
- implements GeoAttribute
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ENCAbstractAttribute
public ENCAbstractAttribute()
getAttributeClass
public abstract ENCAttributeClass getAttributeClass()
getAttributeValueAsObject
public abstract java.lang.Object getAttributeValueAsObject()
- Specified by:
getAttributeValueAsObject
in interface GeoAttribute
getAttributeValueAsString
public abstract java.lang.String getAttributeValueAsString()
- Specified by:
getAttributeValueAsString
in interface GeoAttribute
getAttributeType
public ENCAttributeType getAttributeType()
setAttributeType
public void setAttributeType(ENCAttributeType type)
isNullValued
public boolean isNullValued()
- Specified by:
isNullValued
in interface GeoAttribute
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDescription
public AttributeDescription getDescription()
write
public final void write(java.io.DataOutputStream fout)
throws java.io.IOException
- Writes the attribute to the given stream. Derived classes need to provide an write0 method
implementation to write their part of the data out to the stream.
- Parameters:
fout
-
- Throws:
java.io.IOException
read
public static ENCAbstractAttribute read(java.io.DataInput fin)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 Metron, Inc.. All Rights Reserved.