|
|||||||||
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.XmlPositionRecord
XmlPositionRecord is generated by Relaxer based on pixy.rlx. This class is derived from:
<elementRule role="position-record"> <sequence> <ref label="date"/> <ref label="coor"/> <ref label="mag"/> <element name="area" occurs="?" type="int"/> <ref label="pixel-size" occurs="?"/> <ref label="astrometric-error" occurs="?"/> <element name="catalog" occurs="?" type="string"/> <element name="equinox" occurs="?" type="string"/> <element name="observer" type="string"/> <element name="instruments" occurs="?" type="string"/> <element name="image-xml-path" type="string"/> <element name="name" type="string"/> <ref label="position"/> <element name="pixels-from-edge" occurs="?" type="int"/> </sequence> </elementRule> <tag name="position-record"/>
Field Summary | |
private java.lang.Integer |
area
|
private XmlAstrometricError |
astrometricError
|
private java.lang.String |
catalog
|
private XmlCoor |
coor
|
private java.lang.String |
date
|
private java.lang.String |
equinox
|
private java.lang.String |
imageXmlPath
|
private java.lang.String |
instruments
|
private XmlMag |
mag
|
private java.lang.String |
name
|
private java.lang.String |
observer
|
private IRNode |
parentRNode
|
private java.lang.Integer |
pixelsFromEdge
|
private XmlPixelSize |
pixelSize
|
private XmlPosition |
position
|
private RContext |
rContext
|
Constructor Summary | |
XmlPositionRecord()
Creates a XmlPositionRecord . |
|
XmlPositionRecord(org.w3c.dom.Document doc)
Creates a XmlPositionRecord by the Document doc . |
|
XmlPositionRecord(org.w3c.dom.Element element)
Creates a XmlPositionRecord by the Element element . |
|
XmlPositionRecord(RStack stack)
Creates a XmlPositionRecord by the Stack stack
that contains Elements. |
Method Summary | |
java.lang.Integer |
getArea()
Gets the Integer property area. |
XmlAstrometricError |
getAstrometricError()
Gets the XmlAstrometricError property astrometricError. |
java.lang.String |
getCatalog()
Gets the String property catalog. |
XmlCoor |
getCoor()
Gets the XmlCoor property coor. |
java.lang.String |
getDate()
Gets the String property date. |
java.lang.String |
getEquinox()
Gets the String property equinox. |
java.lang.String |
getImageXmlPath()
Gets the String property imageXmlPath. |
java.lang.String |
getInstruments()
Gets the String property instruments. |
XmlMag |
getMag()
Gets the XmlMag property mag. |
java.lang.String |
getName()
Gets the String property name. |
java.lang.String |
getObserver()
Gets the String property observer. |
IRNode |
getParentRNode()
Gets the IRNode property parentRNode. |
java.lang.Integer |
getPixelsFromEdge()
Gets the Integer property pixelsFromEdge. |
XmlPixelSize |
getPixelSize()
Gets the XmlPixelSize property pixelSize. |
XmlPosition |
getPosition()
Gets the XmlPosition property position. |
RContext |
getRContext()
Gets the RContext property rContext. |
RContext |
getRContextResolved()
Gets the property "rContext" which is resolved recursively. |
IRNode[] |
getRNodes()
Gets child RNodes. |
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 XmlPositionRecord . |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlPositionRecord . |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlPositionRecord . |
void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
setArea(java.lang.Integer area)
Sets the Integer property area. |
void |
setAstrometricError(XmlAstrometricError astrometricError)
Sets the XmlAstrometricError property astrometricError. |
void |
setCatalog(java.lang.String catalog)
Sets the String property catalog. |
void |
setCoor(XmlCoor coor)
Sets the XmlCoor property coor. |
void |
setDate(java.lang.String date)
Sets the String property date. |
void |
setEquinox(java.lang.String equinox)
Sets the String property equinox. |
void |
setImageXmlPath(java.lang.String imageXmlPath)
Sets the String property imageXmlPath. |
void |
setInstruments(java.lang.String instruments)
Sets the String property instruments. |
void |
setMag(XmlMag mag)
Sets the XmlMag property mag. |
void |
setName(java.lang.String name)
Sets the String property name. |
void |
setObserver(java.lang.String observer)
Sets the String property observer. |
void |
setParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode. |
void |
setPixelsFromEdge(java.lang.Integer pixelsFromEdge)
Sets the Integer property pixelsFromEdge. |
void |
setPixelSize(XmlPixelSize pixelSize)
Sets the XmlPixelSize property pixelSize. |
void |
setPosition(XmlPosition position)
Sets the XmlPosition property position. |
void |
setRContext(RContext rContext)
Sets the RContext property rContext. |
void |
setup(org.w3c.dom.Document doc)
Initializes the XmlPositionRecord by the Document doc . |
void |
setup(org.w3c.dom.Element element)
Initializes the XmlPositionRecord by the Element element . |
void |
setup(RStack stack)
Initializes the XmlPositionRecord by the Stack stack
that contains Elements. |
Methods inherited from class net.aerith.misao.xml.IONode |
read,
read,
translateFrom,
translateTo,
write,
write |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String date
private XmlCoor coor
private XmlMag mag
private java.lang.Integer area
private XmlPixelSize pixelSize
private XmlAstrometricError astrometricError
private java.lang.String catalog
private java.lang.String equinox
private java.lang.String observer
private java.lang.String instruments
private java.lang.String imageXmlPath
private java.lang.String name
private XmlPosition position
private java.lang.Integer pixelsFromEdge
private IRNode parentRNode
private RContext rContext
Constructor Detail |
public XmlPositionRecord()
XmlPositionRecord
.public XmlPositionRecord(RStack stack)
XmlPositionRecord
by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.stack
- public XmlPositionRecord(org.w3c.dom.Document doc)
XmlPositionRecord
by the Document doc
.doc
- public XmlPositionRecord(org.w3c.dom.Element element)
XmlPositionRecord
by the Element element
.element
- Method Detail |
public void setup(org.w3c.dom.Document doc)
XmlPositionRecord
by the Document doc
.doc
- public void setup(org.w3c.dom.Element element)
XmlPositionRecord
by the Element element
.element
- public void setup(RStack stack)
XmlPositionRecord
by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.stack
- private void init(org.w3c.dom.Element element)
element
- public void makeElement(org.w3c.dom.Node parent)
parent
.parent
- public final java.lang.String getDate()
public final void setDate(java.lang.String date)
date
- public final XmlCoor getCoor()
public final void setCoor(XmlCoor coor)
coor
- public final XmlMag getMag()
public final void setMag(XmlMag mag)
mag
- public final java.lang.Integer getArea()
public final void setArea(java.lang.Integer area)
area
- public final XmlPixelSize getPixelSize()
public final void setPixelSize(XmlPixelSize pixelSize)
pixelSize
- public final XmlAstrometricError getAstrometricError()
public final void setAstrometricError(XmlAstrometricError astrometricError)
astrometricError
- public final java.lang.String getCatalog()
public final void setCatalog(java.lang.String catalog)
catalog
- public final java.lang.String getEquinox()
public final void setEquinox(java.lang.String equinox)
equinox
- public final java.lang.String getObserver()
public final void setObserver(java.lang.String observer)
observer
- public final java.lang.String getInstruments()
public final void setInstruments(java.lang.String instruments)
instruments
- public final java.lang.String getImageXmlPath()
public final void setImageXmlPath(java.lang.String imageXmlPath)
imageXmlPath
- public final java.lang.String getName()
public final void setName(java.lang.String name)
name
- public final XmlPosition getPosition()
public final void setPosition(XmlPosition position)
position
- public final java.lang.Integer getPixelsFromEdge()
public final void setPixelsFromEdge(java.lang.Integer pixelsFromEdge)
pixelsFromEdge
- public final IRNode getParentRNode()
public final void setParentRNode(IRNode parentRNode)
parentRNode
- public IRNode[] getRNodes()
public final RContext getRContext()
public final void setRContext(RContext rContext)
rContext
- public RContext getRContextResolved()
public static boolean isMatch(org.w3c.dom.Element element)
element
is valid
for the XmlPositionRecord
.element
- public static boolean isMatch(RStack stack)
stack
is valid for the XmlPositionRecord
.
This mehtod is supposed to be used internally
by the Relaxer system.stack
- public static boolean isMatchHungry(RStack stack)
stack
is valid for the XmlPositionRecord
.
This method consumes the stack contents during matching operation.
This mehtod is supposed to be used internally
by the Relaxer system.stack
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |