|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.xml.IONode | +--net.aerith.misao.xml.relaxer.XmlData | +--net.aerith.misao.xml.XmlData
The XmlData
is an application side implementation
of the class that the relaxer generated automatically.
In order to reduce the memory assumption, all the star data are converted into the internal data by masticateXml method after reading the XML file, and restored into the XML data by composeXml method.
This object has a PositionMap
of stars for the fast
search based on the (x,y) position.
Inner Class Summary | |
protected class |
XmlData.StarPosition
The StarPosition is a wrapper class to add a star
object to the PositionMap . |
Field Summary | |
protected PositionMap |
map
The map of stars. |
Fields inherited from class net.aerith.misao.xml.relaxer.XmlData |
parentRNode,
rContext,
star |
Constructor Summary | |
XmlData()
|
Method Summary | |
void |
composeXml()
Composes the internal star data into the XML data. |
void |
createStarMap(Size size)
Creates the map of stars. |
void |
deleteXml()
Deletes the XML data. |
java.util.Vector |
extractPairs(AstrometrySetting setting)
Gets the list of pairs which satisfy the specified astrometry setting. |
java.util.Vector |
extractPairs(PhotometrySetting setting)
Gets the list of pairs which satisfy the specified photometry setting. |
java.util.Vector |
getAstrometrySupportedCatalogList()
Gets the list of identified catalog names which supports the astrometry. |
java.util.Vector |
getIdentifiedCatalogList()
Gets the list of identified catalog names. |
java.util.Vector |
getMagnitudeSupportedCatalogList()
Gets the list of identified catalog names which contains the magnitude data. |
java.util.Vector |
getPhotometrySupportedCatalogList()
Gets the list of identified catalog names which supports the regular photometry. |
XmlStar |
getStar(Star star)
Gets the star which contains the specified star object. |
XmlStar |
getStar(java.lang.String name)
Gets the star of the name. |
int |
getStarCount()
Gets the number of stars. |
java.util.Vector |
getStarListAround(Position position,
double search_radius)
Gets the list of stars around the specified position. |
void |
masticateXml()
masticates the XML data into the internal star data. |
Methods inherited from class net.aerith.misao.xml.relaxer.XmlData |
addStar,
getParentRNode,
getRContext,
getRContextResolved,
getRNodes,
getStar,
init,
isMatch,
isMatch,
isMatchHungry,
makeElement,
setParentRNode,
setRContext,
setStar,
setup,
setup,
setup |
Methods inherited from class net.aerith.misao.xml.IONode |
read,
read,
translateFrom,
translateTo,
write,
write |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected PositionMap map
Constructor Detail |
public XmlData()
Method Detail |
public int getStarCount()
public void createStarMap(Size size)
size
- the image size.public XmlStar getStar(java.lang.String name)
name
- the name.public XmlStar getStar(Star star)
star
- the star object.public java.util.Vector getStarListAround(Position position, double search_radius)
position
- the position.search_radius
- the radius to search.public java.util.Vector extractPairs(PhotometrySetting setting)
setting
- the setting for photometry.public java.util.Vector extractPairs(AstrometrySetting setting)
setting
- the setting for astrometry.public java.util.Vector getIdentifiedCatalogList()
public java.util.Vector getPhotometrySupportedCatalogList()
public java.util.Vector getMagnitudeSupportedCatalogList()
public java.util.Vector getAstrometrySupportedCatalogList()
public void masticateXml()
public void composeXml()
public void deleteXml()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |