|
|||||||||
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.XmlInstruction
XmlInstruction is generated by Relaxer based on pixy.rlx. This class is derived from:
<elementRule role="instruction"> <sequence> <ref label="image"/> <ref label="date" occurs="?"/> <ref label="exposure" occurs="?"/> <element name="observer" occurs="?" type="string"/> <ref label="center"/> <ref label="fov"/> <ref label="rotation" occurs="?"/> <element name="limiting-mag" occurs="?" type="float"/> <element name="upper-limit-mag" occurs="?" type="float"/> <element name="filter" occurs="?" type="string"/> <element name="chip" occurs="?" type="string"/> <element name="instruments" occurs="?" type="string"/> <ref label="base-catalog"/> <ref label="reversed-image" occurs="?"/> <ref label="sbig-image" occurs="?"/> <ref label="unofficial" occurs="?"/> <ref label="output" occurs="*"/> </sequence> </elementRule> <tag name="instruction"/>
Field Summary | |
private XmlBaseCatalog |
baseCatalog
|
private XmlCenter |
center
|
private java.lang.String |
chip
|
private java.lang.String |
date
|
private XmlExposure |
exposure
|
private java.lang.String |
filter
|
private XmlFov |
fov
|
private XmlImage |
image
|
private java.lang.String |
instruments
|
private java.lang.Float |
limitingMag
|
private java.lang.String |
observer
|
private java.util.List |
output
|
private IRNode |
parentRNode
|
private RContext |
rContext
|
private XmlReversedImage |
reversedImage
|
private XmlRotation |
rotation
|
private XmlSbigImage |
sbigImage
|
private XmlUnofficial |
unofficial
|
private java.lang.Float |
upperLimitMag
|
Constructor Summary | |
XmlInstruction()
Creates a XmlInstruction . |
|
XmlInstruction(org.w3c.dom.Document doc)
Creates a XmlInstruction by the Document doc . |
|
XmlInstruction(org.w3c.dom.Element element)
Creates a XmlInstruction by the Element element . |
|
XmlInstruction(RStack stack)
Creates a XmlInstruction by the Stack stack
that contains Elements. |
Method Summary | |
void |
addOutput(XmlOutput output)
Adds the XmlOutput property output. |
XmlBaseCatalog |
getBaseCatalog()
Gets the XmlBaseCatalog 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. |
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. |
java.lang.Float |
getLimitingMag()
Gets the Float property limitingMag. |
java.lang.String |
getObserver()
Gets the String property observer. |
XmlOutput[] |
getOutput()
Gets the XmlOutput property output. |
IRNode |
getParentRNode()
Gets the IRNode property parentRNode. |
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. |
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 XmlInstruction . |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlInstruction . |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlInstruction . |
void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
setBaseCatalog(XmlBaseCatalog baseCatalog)
Sets the XmlBaseCatalog 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 |
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(java.lang.Float limitingMag)
Sets the Float property limitingMag. |
void |
setObserver(java.lang.String observer)
Sets the String property observer. |
void |
setOutput(XmlOutput[] output)
Sets the XmlOutput property output. |
void |
setParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode. |
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 |
setUnofficial(XmlUnofficial unofficial)
Sets the XmlUnofficial property unofficial. |
void |
setup(org.w3c.dom.Document doc)
Initializes the XmlInstruction by the Document doc . |
void |
setup(org.w3c.dom.Element element)
Initializes the XmlInstruction by the Element element . |
void |
setup(RStack stack)
Initializes the XmlInstruction 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 |
|
Field Detail |
private XmlImage image
private java.lang.String date
private XmlExposure exposure
private java.lang.String observer
private XmlCenter center
private XmlFov fov
private XmlRotation rotation
private java.lang.Float limitingMag
private java.lang.Float upperLimitMag
private java.lang.String filter
private java.lang.String chip
private java.lang.String instruments
private XmlBaseCatalog baseCatalog
private XmlReversedImage reversedImage
private XmlSbigImage sbigImage
private XmlUnofficial unofficial
private java.util.List output
private IRNode parentRNode
private RContext rContext
Constructor Detail |
public XmlInstruction()
XmlInstruction
.public XmlInstruction(RStack stack)
XmlInstruction
by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.stack
- public XmlInstruction(org.w3c.dom.Document doc)
XmlInstruction
by the Document doc
.doc
- public XmlInstruction(org.w3c.dom.Element element)
XmlInstruction
by the Element element
.element
- Method Detail |
public void setup(org.w3c.dom.Document doc)
XmlInstruction
by the Document doc
.doc
- public void setup(org.w3c.dom.Element element)
XmlInstruction
by the Element element
.element
- public void setup(RStack stack)
XmlInstruction
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 XmlImage getImage()
public final void setImage(XmlImage image)
image
- public final java.lang.String getDate()
public final void setDate(java.lang.String date)
date
- public final XmlExposure getExposure()
public final void setExposure(XmlExposure exposure)
exposure
- public final java.lang.String getObserver()
public final void setObserver(java.lang.String observer)
observer
- public final XmlCenter getCenter()
public final void setCenter(XmlCenter center)
center
- public final XmlFov getFov()
public final void setFov(XmlFov fov)
fov
- public final XmlRotation getRotation()
public final void setRotation(XmlRotation rotation)
rotation
- public final java.lang.Float getLimitingMag()
public final void setLimitingMag(java.lang.Float limitingMag)
limitingMag
- public final java.lang.Float getUpperLimitMag()
public final void setUpperLimitMag(java.lang.Float upperLimitMag)
upperLimitMag
- public final java.lang.String getFilter()
public final void setFilter(java.lang.String filter)
filter
- public final java.lang.String getChip()
public final void setChip(java.lang.String chip)
chip
- public final java.lang.String getInstruments()
public final void setInstruments(java.lang.String instruments)
instruments
- public final XmlBaseCatalog getBaseCatalog()
public final void setBaseCatalog(XmlBaseCatalog baseCatalog)
baseCatalog
- public final XmlReversedImage getReversedImage()
public final void setReversedImage(XmlReversedImage reversedImage)
reversedImage
- public final XmlSbigImage getSbigImage()
public final void setSbigImage(XmlSbigImage sbigImage)
sbigImage
- public final XmlUnofficial getUnofficial()
public final void setUnofficial(XmlUnofficial unofficial)
unofficial
- public final XmlOutput[] getOutput()
public final void setOutput(XmlOutput[] output)
output
- public final void addOutput(XmlOutput output)
output
- 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 XmlInstruction
.element
- public static boolean isMatch(RStack stack)
stack
is valid for the XmlInstruction
.
This mehtod is supposed to be used internally
by the Relaxer system.stack
- public static boolean isMatchHungry(RStack stack)
stack
is valid for the XmlInstruction
.
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 |