com.metsci.glimpse.charts.vector.parser.attributes
Class DNCAbstractAttribute
java.lang.Object
com.metsci.glimpse.charts.vector.parser.attributes.DNCAbstractAttribute
- All Implemented Interfaces:
- GeoAttribute
- Direct Known Subclasses:
- DNCFloatAttribute, DNCFreeAttribute, DNCIntAttribute
public abstract class DNCAbstractAttribute
- extends java.lang.Object
- implements GeoAttribute
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DNCAbstractAttribute
public DNCAbstractAttribute(DNCAttributeType attributeName,
boolean isNull)
getAttributeClass
public abstract DNCAttributeClass getAttributeClass()
getAttributeValueAsString
public abstract java.lang.String getAttributeValueAsString()
- Specified by:
getAttributeValueAsString
in interface GeoAttribute
getAttributeValueAsObject
public abstract java.lang.Object getAttributeValueAsObject()
- Specified by:
getAttributeValueAsObject
in interface GeoAttribute
getAttributeType
public DNCAttributeType getAttributeType()
isNullValued
public boolean isNullValued()
- Specified by:
isNullValued
in interface GeoAttribute
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
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 DNCAbstractAttribute read(java.io.DataInput fin)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 Metron, Inc.. All Rights Reserved.