net.aerith.misao.xml.relaxer
Class XmlInformation

java.lang.Object
  |
  +--net.aerith.misao.xml.IONode
        |
        +--net.aerith.misao.xml.relaxer.XmlInformation
Direct Known Subclasses:
XmlInformation

public class XmlInformation
extends IONode
implements java.io.Serializable, IRNode

XmlInformation is generated by Relaxer based on pixy.rlx. This class is derived from:

 <elementRule role="information">
   <sequence>
     <element name="path" occurs="?" type="string"/>
     <ref label="image"/>
     <ref label="size"/>
     <ref label="date" occurs="?"/>
     <ref label="exposure" occurs="?"/>
     <element name="observer" occurs="?" type="string"/>
     <ref label="center"/>
     <ref label="fov"/>
     <ref label="rotation"/>
     <ref label="pixel-size"/>
     <element name="limiting-mag" type="float"/>
     <element name="upper-limit-mag" occurs="?" type="float"/>
     <ref label="astrometric-error" occurs="?"/>
     <element name="photometric-error" occurs="?" type="float"/>
     <element name="magnitude-translation-formula" occurs="?" type="string"/>
     <element name="magnitude-correction" occurs="?" type="string"/>
     <ref label="distortion-field" occurs="?"/>
     <element name="filter" occurs="?" type="string"/>
     <element name="chip" occurs="?" type="string"/>
     <element name="instruments" occurs="?" type="string"/>
     <element name="base-catalog" type="string"/>
     <ref label="astrometry" occurs="?"/>
     <ref label="photometry" occurs="?"/>
     <ref label="reversed-image" occurs="?"/>
     <ref label="sbig-image" occurs="?"/>
     <ref label="unofficial" occurs="?"/>
     <ref label="star-count" occurs="?"/>
     <element name="note" occurs="?" type="string"/>
   </sequence>
 </elementRule>
 <tag name="information"/>
 

See Also:
Serialized Form

Field Summary
private  XmlAstrometricError astrometricError
           
private  XmlAstrometry astrometry
           
private  java.lang.String baseCatalog
           
private  XmlCenter center
           
private  java.lang.String chip
           
private  java.lang.String date
           
private  XmlDistortionField distortionField
           
private  XmlExposure exposure
           
private  java.lang.String filter
           
private  XmlFov fov
           
private  XmlImage image
           
private  java.lang.String instruments
           
private  float limitingMag
           
private  java.lang.String magnitudeCorrection
           
private  java.lang.String magnitudeTranslationFormula
           
private  java.lang.String note
           
private  java.lang.String observer
           
private  IRNode parentRNode
           
private  java.lang.String path
           
private  java.lang.Float photometricError
           
private  XmlPhotometry photometry
           
private  XmlPixelSize pixelSize
           
private  RContext rContext
           
private  XmlReversedImage reversedImage
           
private  XmlRotation rotation
           
private  XmlSbigImage sbigImage
           
private  XmlSize sizeValue
           
private  XmlStarCount starCount
           
private  XmlUnofficial unofficial
           
private  java.lang.Float upperLimitMag
           
 
Constructor Summary
XmlInformation()
          Creates a XmlInformation.
XmlInformation(org.w3c.dom.Document doc)
          Creates a XmlInformation by the Document doc.
XmlInformation(org.w3c.dom.Element element)
          Creates a XmlInformation by the Element element.
XmlInformation(RStack stack)
          Creates a XmlInformation by the Stack stack that contains Elements.
 
Method Summary
 XmlAstrometricError getAstrometricError()
          Gets the XmlAstrometricError property astrometricError.
 XmlAstrometry getAstrometry()
          Gets the XmlAstrometry property astrometry.
 java.lang.String getBaseCatalog()
          Gets the String property baseCatalog.
 XmlCenter getCenter()
          Gets the XmlCenter property center.
 java.lang.String getChip()
          Gets the String property chip.
 java.lang.String getDate()
          Gets the String property date.
 XmlDistortionField getDistortionField()
          Gets the XmlDistortionField property distortionField.
 XmlExposure getExposure()
          Gets the XmlExposure property exposure.
 java.lang.String getFilter()
          Gets the String property filter.
 XmlFov getFov()
          Gets the XmlFov property fov.
 XmlImage getImage()
          Gets the XmlImage property image.
 java.lang.String getInstruments()
          Gets the String property instruments.
 float getLimitingMag()
          Gets the float property limitingMag.
 java.lang.String getMagnitudeCorrection()
          Gets the String property magnitudeCorrection.
 java.lang.String getMagnitudeTranslationFormula()
          Gets the String property magnitudeTranslationFormula.
 java.lang.String getNote()
          Gets the String property note.
 java.lang.String getObserver()
          Gets the String property observer.
 IRNode getParentRNode()
          Gets the IRNode property parentRNode.
 java.lang.String getPath()
          Gets the String property path.
 java.lang.Float getPhotometricError()
          Gets the Float property photometricError.
 XmlPhotometry getPhotometry()
          Gets the XmlPhotometry property photometry.
 XmlPixelSize getPixelSize()
          Gets the XmlPixelSize property pixelSize.
 RContext getRContext()
          Gets the RContext property rContext.
 RContext getRContextResolved()
          Gets the property "rContext" which is resolved recursively.
 XmlReversedImage getReversedImage()
          Gets the XmlReversedImage property reversedImage.
 IRNode[] getRNodes()
          Gets child RNodes.
 XmlRotation getRotation()
          Gets the XmlRotation property rotation.
 XmlSbigImage getSbigImage()
          Gets the XmlSbigImage property sbigImage.
 XmlSize getSize()
          Gets the XmlSize property size.
 XmlStarCount getStarCount()
          Gets the XmlStarCount property starCount.
 XmlUnofficial getUnofficial()
          Gets the XmlUnofficial property unofficial.
 java.lang.Float getUpperLimitMag()
          Gets the Float property upperLimitMag.
private  void init(org.w3c.dom.Element element)
           
static boolean isMatch(org.w3c.dom.Element element)
          Tests if a Element element is valid for the XmlInformation.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XmlInformation.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XmlInformation.
 void makeElement(org.w3c.dom.Node parent)
          Creates a DOM representation of the object.
 void setAstrometricError(XmlAstrometricError astrometricError)
          Sets the XmlAstrometricError property astrometricError.
 void setAstrometry(XmlAstrometry astrometry)
          Sets the XmlAstrometry property astrometry.
 void setBaseCatalog(java.lang.String baseCatalog)
          Sets the String property baseCatalog.
 void setCenter(XmlCenter center)
          Sets the XmlCenter property center.
 void setChip(java.lang.String chip)
          Sets the String property chip.
 void setDate(java.lang.String date)
          Sets the String property date.
 void setDistortionField(XmlDistortionField distortionField)
          Sets the XmlDistortionField property distortionField.
 void setExposure(XmlExposure exposure)
          Sets the XmlExposure property exposure.
 void setFilter(java.lang.String filter)
          Sets the String property filter.
 void setFov(XmlFov fov)
          Sets the XmlFov property fov.
 void setImage(XmlImage image)
          Sets the XmlImage property image.
 void setInstruments(java.lang.String instruments)
          Sets the String property instruments.
 void setLimitingMag(float limitingMag)
          Sets the float property limitingMag.
 void setMagnitudeCorrection(java.lang.String magnitudeCorrection)
          Sets the String property magnitudeCorrection.
 void setMagnitudeTranslationFormula(java.lang.String magnitudeTranslationFormula)
          Sets the String property magnitudeTranslationFormula.
 void setNote(java.lang.String note)
          Sets the String property note.
 void setObserver(java.lang.String observer)
          Sets the String property observer.
 void setParentRNode(IRNode parentRNode)
          Sets the IRNode property parentRNode.
 void setPath(java.lang.String path)
          Sets the String property path.
 void setPhotometricError(java.lang.Float photometricError)
          Sets the Float property photometricError.
 void setPhotometry(XmlPhotometry photometry)
          Sets the XmlPhotometry property photometry.
 void setPixelSize(XmlPixelSize pixelSize)
          Sets the XmlPixelSize property pixelSize.
 void setRContext(RContext rContext)
          Sets the RContext property rContext.
 void setReversedImage(XmlReversedImage reversedImage)
          Sets the XmlReversedImage property reversedImage.
 void setRotation(XmlRotation rotation)
          Sets the XmlRotation property rotation.
 void setSbigImage(XmlSbigImage sbigImage)
          Sets the XmlSbigImage property sbigImage.
 void setSize(XmlSize sizeValue)
          Sets the XmlSize property size.
 void setStarCount(XmlStarCount starCount)
          Sets the XmlStarCount property starCount.
 void setUnofficial(XmlUnofficial unofficial)
          Sets the XmlUnofficial property unofficial.
 void setup(org.w3c.dom.Document doc)
          Initializes the XmlInformation by the Document doc.
 void setup(org.w3c.dom.Element element)
          Initializes the XmlInformation by the Element element.
 void setup(RStack stack)
          Initializes the XmlInformation by the Stack stack that contains Elements.
 void setUpperLimitMag(java.lang.Float upperLimitMag)
          Sets the Float property upperLimitMag.
 
Methods inherited from class net.aerith.misao.xml.IONode
read, read, translateFrom, translateTo, write, write
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

path

private java.lang.String path

image

private XmlImage image

sizeValue

private XmlSize sizeValue

date

private java.lang.String date

exposure

private XmlExposure exposure

observer

private java.lang.String observer

center

private XmlCenter center

fov

private XmlFov fov

rotation

private XmlRotation rotation

pixelSize

private XmlPixelSize pixelSize

limitingMag

private float limitingMag

upperLimitMag

private java.lang.Float upperLimitMag

astrometricError

private XmlAstrometricError astrometricError

photometricError

private java.lang.Float photometricError

magnitudeTranslationFormula

private java.lang.String magnitudeTranslationFormula

magnitudeCorrection

private java.lang.String magnitudeCorrection

distortionField

private XmlDistortionField distortionField

filter

private java.lang.String filter

chip

private java.lang.String chip

instruments

private java.lang.String instruments

baseCatalog

private java.lang.String baseCatalog

astrometry

private XmlAstrometry astrometry

photometry

private XmlPhotometry photometry

reversedImage

private XmlReversedImage reversedImage

sbigImage

private XmlSbigImage sbigImage

unofficial

private XmlUnofficial unofficial

starCount

private XmlStarCount starCount

note

private java.lang.String note

parentRNode

private IRNode parentRNode

rContext

private RContext rContext
Constructor Detail

XmlInformation

public XmlInformation()
Creates a XmlInformation.

XmlInformation

public XmlInformation(RStack stack)
Creates a XmlInformation by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.
Parameters:
stack -  

XmlInformation

public XmlInformation(org.w3c.dom.Document doc)
Creates a XmlInformation by the Document doc.
Parameters:
doc -  

XmlInformation

public XmlInformation(org.w3c.dom.Element element)
Creates a XmlInformation by the Element element.
Parameters:
element -  
Method Detail

setup

public void setup(org.w3c.dom.Document doc)
Initializes the XmlInformation by the Document doc.
Overrides:
setup in class IONode
Parameters:
doc -  

setup

public void setup(org.w3c.dom.Element element)
Initializes the XmlInformation by the Element element.
Parameters:
element -  

setup

public void setup(RStack stack)
Initializes the XmlInformation by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.
Parameters:
stack -  

init

private void init(org.w3c.dom.Element element)
Parameters:
element -  

makeElement

public void makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. Result is appended to the Node parent.
Overrides:
makeElement in class IONode
Parameters:
parent -  

getPath

public final java.lang.String getPath()
Gets the String property path.
Returns:
String

setPath

public final void setPath(java.lang.String path)
Sets the String property path.
Parameters:
path -  

getImage

public final XmlImage getImage()
Gets the XmlImage property image.
Returns:
XmlImage

setImage

public final void setImage(XmlImage image)
Sets the XmlImage property image.
Parameters:
image -  

getSize

public final XmlSize getSize()
Gets the XmlSize property size.
Returns:
XmlSize

setSize

public final void setSize(XmlSize sizeValue)
Sets the XmlSize property size.
Parameters:
sizeValue -  

getDate

public final java.lang.String getDate()
Gets the String property date.
Returns:
String

setDate

public final void setDate(java.lang.String date)
Sets the String property date.
Parameters:
date -  

getExposure

public final XmlExposure getExposure()
Gets the XmlExposure property exposure.
Returns:
XmlExposure

setExposure

public final void setExposure(XmlExposure exposure)
Sets the XmlExposure property exposure.
Parameters:
exposure -  

getObserver

public final java.lang.String getObserver()
Gets the String property observer.
Returns:
String

setObserver

public final void setObserver(java.lang.String observer)
Sets the String property observer.
Parameters:
observer -  

getCenter

public final XmlCenter getCenter()
Gets the XmlCenter property center.
Returns:
XmlCenter

setCenter

public final void setCenter(XmlCenter center)
Sets the XmlCenter property center.
Parameters:
center -  

getFov

public final XmlFov getFov()
Gets the XmlFov property fov.
Returns:
XmlFov

setFov

public final void setFov(XmlFov fov)
Sets the XmlFov property fov.
Parameters:
fov -  

getRotation

public final XmlRotation getRotation()
Gets the XmlRotation property rotation.
Returns:
XmlRotation

setRotation

public final void setRotation(XmlRotation rotation)
Sets the XmlRotation property rotation.
Parameters:
rotation -  

getPixelSize

public final XmlPixelSize getPixelSize()
Gets the XmlPixelSize property pixelSize.
Returns:
XmlPixelSize

setPixelSize

public final void setPixelSize(XmlPixelSize pixelSize)
Sets the XmlPixelSize property pixelSize.
Parameters:
pixelSize -  

getLimitingMag

public final float getLimitingMag()
Gets the float property limitingMag.
Returns:
float

setLimitingMag

public final void setLimitingMag(float limitingMag)
Sets the float property limitingMag.
Parameters:
limitingMag -  

getUpperLimitMag

public final java.lang.Float getUpperLimitMag()
Gets the Float property upperLimitMag.
Returns:
Float

setUpperLimitMag

public final void setUpperLimitMag(java.lang.Float upperLimitMag)
Sets the Float property upperLimitMag.
Parameters:
upperLimitMag -  

getAstrometricError

public final XmlAstrometricError getAstrometricError()
Gets the XmlAstrometricError property astrometricError.
Returns:
XmlAstrometricError

setAstrometricError

public final void setAstrometricError(XmlAstrometricError astrometricError)
Sets the XmlAstrometricError property astrometricError.
Parameters:
astrometricError -  

getPhotometricError

public final java.lang.Float getPhotometricError()
Gets the Float property photometricError.
Returns:
Float

setPhotometricError

public final void setPhotometricError(java.lang.Float photometricError)
Sets the Float property photometricError.
Parameters:
photometricError -  

getMagnitudeTranslationFormula

public final java.lang.String getMagnitudeTranslationFormula()
Gets the String property magnitudeTranslationFormula.
Returns:
String

setMagnitudeTranslationFormula

public final void setMagnitudeTranslationFormula(java.lang.String magnitudeTranslationFormula)
Sets the String property magnitudeTranslationFormula.
Parameters:
magnitudeTranslationFormula -  

getMagnitudeCorrection

public final java.lang.String getMagnitudeCorrection()
Gets the String property magnitudeCorrection.
Returns:
String

setMagnitudeCorrection

public final void setMagnitudeCorrection(java.lang.String magnitudeCorrection)
Sets the String property magnitudeCorrection.
Parameters:
magnitudeCorrection -  

getDistortionField

public final XmlDistortionField getDistortionField()
Gets the XmlDistortionField property distortionField.
Returns:
XmlDistortionField

setDistortionField

public final void setDistortionField(XmlDistortionField distortionField)
Sets the XmlDistortionField property distortionField.
Parameters:
distortionField -  

getFilter

public final java.lang.String getFilter()
Gets the String property filter.
Returns:
String

setFilter

public final void setFilter(java.lang.String filter)
Sets the String property filter.
Parameters:
filter -  

getChip

public final java.lang.String getChip()
Gets the String property chip.
Returns:
String

setChip

public final void setChip(java.lang.String chip)
Sets the String property chip.
Parameters:
chip -  

getInstruments

public final java.lang.String getInstruments()
Gets the String property instruments.
Returns:
String

setInstruments

public final void setInstruments(java.lang.String instruments)
Sets the String property instruments.
Parameters:
instruments -  

getBaseCatalog

public final java.lang.String getBaseCatalog()
Gets the String property baseCatalog.
Returns:
String

setBaseCatalog

public final void setBaseCatalog(java.lang.String baseCatalog)
Sets the String property baseCatalog.
Parameters:
baseCatalog -  

getAstrometry

public final XmlAstrometry getAstrometry()
Gets the XmlAstrometry property astrometry.
Returns:
XmlAstrometry

setAstrometry

public final void setAstrometry(XmlAstrometry astrometry)
Sets the XmlAstrometry property astrometry.
Parameters:
astrometry -  

getPhotometry

public final XmlPhotometry getPhotometry()
Gets the XmlPhotometry property photometry.
Returns:
XmlPhotometry

setPhotometry

public final void setPhotometry(XmlPhotometry photometry)
Sets the XmlPhotometry property photometry.
Parameters:
photometry -  

getReversedImage

public final XmlReversedImage getReversedImage()
Gets the XmlReversedImage property reversedImage.
Returns:
XmlReversedImage

setReversedImage

public final void setReversedImage(XmlReversedImage reversedImage)
Sets the XmlReversedImage property reversedImage.
Parameters:
reversedImage -  

getSbigImage

public final XmlSbigImage getSbigImage()
Gets the XmlSbigImage property sbigImage.
Returns:
XmlSbigImage

setSbigImage

public final void setSbigImage(XmlSbigImage sbigImage)
Sets the XmlSbigImage property sbigImage.
Parameters:
sbigImage -  

getUnofficial

public final XmlUnofficial getUnofficial()
Gets the XmlUnofficial property unofficial.
Returns:
XmlUnofficial

setUnofficial

public final void setUnofficial(XmlUnofficial unofficial)
Sets the XmlUnofficial property unofficial.
Parameters:
unofficial -  

getStarCount

public final XmlStarCount getStarCount()
Gets the XmlStarCount property starCount.
Returns:
XmlStarCount

setStarCount

public final void setStarCount(XmlStarCount starCount)
Sets the XmlStarCount property starCount.
Parameters:
starCount -  

getNote

public final java.lang.String getNote()
Gets the String property note.
Returns:
String

setNote

public final void setNote(java.lang.String note)
Sets the String property note.
Parameters:
note -  

getParentRNode

public final IRNode getParentRNode()
Gets the IRNode property parentRNode.
Specified by:
getParentRNode in interface IRNode
Returns:
IRNode

setParentRNode

public final void setParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode.
Specified by:
setParentRNode in interface IRNode
Parameters:
parentRNode -  

getRNodes

public IRNode[] getRNodes()
Gets child RNodes.
Specified by:
getRNodes in interface IRNode
Returns:
IRNode[]

getRContext

public final RContext getRContext()
Gets the RContext property rContext.
Specified by:
getRContext in interface IRNode
Returns:
RContext

setRContext

public final void setRContext(RContext rContext)
Sets the RContext property rContext.
Specified by:
setRContext in interface IRNode
Parameters:
rContext -  

getRContextResolved

public RContext getRContextResolved()
Gets the property "rContext" which is resolved recursively.
Specified by:
getRContextResolved in interface IRNode
Returns:
RContext

isMatch

public static boolean isMatch(org.w3c.dom.Element element)
Tests if a Element element is valid for the XmlInformation.
Parameters:
element -  
Returns:
boolean

isMatch

public static boolean isMatch(RStack stack)
Tests if elements contained in a Stack stack is valid for the XmlInformation. This mehtod is supposed to be used internally by the Relaxer system.
Parameters:
stack -  
Returns:
boolean

isMatchHungry

public static boolean isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack is valid for the XmlInformation. This method consumes the stack contents during matching operation. This mehtod is supposed to be used internally by the Relaxer system.
Parameters:
stack -  
Returns:
boolean