astronomy.data.spectra.impl
Class PlotTypeImpl.ExposureTypeImpl

java.lang.Object
  extended by astronomy.data.spectra.impl.PlotTypeImpl.ExposureTypeImpl
All Implemented Interfaces:
UnmarshallableObject, ValidatableObject, XMLSerializable, PlotType.ExposureType, com.sun.xml.bind.JAXBObject
Enclosing class:
PlotTypeImpl

public static class PlotTypeImpl.ExposureTypeImpl
extends Object
implements PlotType.ExposureType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class PlotTypeImpl.ExposureTypeImpl.Unmarshaller
           
 
Field Summary
protected  String _Unit
           
protected  float _Value
           
protected  boolean has_Value
           
static Class version
           
 
Constructor Summary
PlotTypeImpl.ExposureTypeImpl()
           
 
Method Summary
 com.sun.msv.verifier.DocumentDeclaration createRawValidator()
          Gets the schema fragment associated with this class.
 UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
          Creates an unmarshaller that will unmarshall this object.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 String getUnit()
           
 float getValue()
           
 void serializeAttributeBody(XMLSerializer context)
          Serializes itself as an attribute body into the specified target.
 void serializeAttributes(XMLSerializer context)
          Serializes attributes into the specified target.
 void serializeElementBody(XMLSerializer context)
          Serializes child elements and texts into the specified target.
 void serializeURIs(XMLSerializer context)
          Declares all the namespace URIs this object is using at its top-level scope into the specified target.
 void setUnit(String value)
           
 void setValue(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

has_Value

protected boolean has_Value

_Value

protected float _Value

_Unit

protected String _Unit

version

public static final Class version
Constructor Detail

PlotTypeImpl.ExposureTypeImpl

public PlotTypeImpl.ExposureTypeImpl()
Method Detail

getValue

public float getValue()
Specified by:
getValue in interface PlotType.ExposureType

setValue

public void setValue(float value)
Specified by:
setValue in interface PlotType.ExposureType

getUnit

public String getUnit()
Specified by:
getUnit in interface PlotType.ExposureType
Returns:
possible object is String

setUnit

public void setUnit(String value)
Specified by:
setUnit in interface PlotType.ExposureType
Parameters:
value - allowed object is String

createUnmarshaller

public UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
Description copied from interface: UnmarshallableObject
Creates an unmarshaller that will unmarshall this object.

Specified by:
createUnmarshaller in interface UnmarshallableObject

serializeElementBody

public void serializeElementBody(XMLSerializer context)
                          throws SAXException
Description copied from interface: XMLSerializable
Serializes child elements and texts into the specified target.

Specified by:
serializeElementBody in interface XMLSerializable
Throws:
SAXException

serializeAttributes

public void serializeAttributes(XMLSerializer context)
                         throws SAXException
Description copied from interface: XMLSerializable
Serializes attributes into the specified target.

Specified by:
serializeAttributes in interface XMLSerializable
Throws:
SAXException

serializeAttributeBody

public void serializeAttributeBody(XMLSerializer context)
                            throws SAXException
Description copied from interface: XMLSerializable
Serializes itself as an attribute body into the specified target.

Specified by:
serializeAttributeBody in interface XMLSerializable
Throws:
SAXException

serializeURIs

public void serializeURIs(XMLSerializer context)
                   throws SAXException
Description copied from interface: XMLSerializable
Declares all the namespace URIs this object is using at its top-level scope into the specified target.

Specified by:
serializeURIs in interface XMLSerializable
Throws:
SAXException

getPrimaryInterface

public Class getPrimaryInterface()
Description copied from interface: ValidatableObject
Gets the main interface that this object implements. For example, FooImpl will return Foo from this method.

Specified by:
getPrimaryInterface in interface ValidatableObject

createRawValidator

public com.sun.msv.verifier.DocumentDeclaration createRawValidator()
Description copied from interface: ValidatableObject
Gets the schema fragment associated with this class.

Specified by:
createRawValidator in interface ValidatableObject