|
|||||||||
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.XmlMagRecord
XmlMagRecord is generated by Relaxer based on pixy.rlx. This class is derived from:
<elementRule role="mag-record"> <sequence> <ref label="date"/> <ref label="mag"/> <element name="filter" occurs="?" type="string"/> <element name="chip" occurs="?" type="string"/> <element name="catalog" occurs="?" type="string"/> <element name="observer" type="string"/> <element name="instruments" occurs="?" type="string"/> <element name="image-xml-path" occurs="?" type="string"/> <element name="name" occurs="?" type="string"/> <ref label="position" occurs="?"/> <element name="pixels-from-edge" occurs="?" type="int"/> <ref label="reported" occurs="*"/> <ref label="unofficial" occurs="?"/> <ref label="discarded" occurs="?"/> <ref label="preempted" occurs="?"/> <ref label="imported" occurs="?"/> <ref label="blending" occurs="*"/> <element name="note" occurs="?" type="string"/> </sequence> </elementRule> <tag name="mag-record"/>
Field Summary | |
private java.util.List |
blending
|
private java.lang.String |
catalog
|
private java.lang.String |
chip
|
private java.lang.String |
date
|
private XmlDiscarded |
discarded
|
private java.lang.String |
filter
|
private java.lang.String |
imageXmlPath
|
private XmlImported |
imported
|
private java.lang.String |
instruments
|
private XmlMag |
mag
|
private java.lang.String |
name
|
private java.lang.String |
note
|
private java.lang.String |
observer
|
private IRNode |
parentRNode
|
private java.lang.Integer |
pixelsFromEdge
|
private XmlPosition |
position
|
private XmlPreempted |
preempted
|
private RContext |
rContext
|
private java.util.List |
reported
|
private XmlUnofficial |
unofficial
|
Constructor Summary | |
XmlMagRecord()
Creates a XmlMagRecord . |
|
XmlMagRecord(org.w3c.dom.Document doc)
Creates a XmlMagRecord by the Document doc . |
|
XmlMagRecord(org.w3c.dom.Element element)
Creates a XmlMagRecord by the Element element . |
|
XmlMagRecord(RStack stack)
Creates a XmlMagRecord by the Stack stack
that contains Elements. |
Method Summary | |
void |
addBlending(XmlBlending blending)
Adds the XmlBlending property blending. |
void |
addReported(XmlReported reported)
Adds the XmlReported property reported. |
XmlBlending[] |
getBlending()
Gets the XmlBlending property blending. |
java.lang.String |
getCatalog()
Gets the String property catalog. |
java.lang.String |
getChip()
Gets the String property chip. |
java.lang.String |
getDate()
Gets the String property date. |
XmlDiscarded |
getDiscarded()
Gets the XmlDiscarded property discarded. |
java.lang.String |
getFilter()
Gets the String property filter. |
java.lang.String |
getImageXmlPath()
Gets the String property imageXmlPath. |
XmlImported |
getImported()
Gets the XmlImported property imported. |
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 |
getNote()
Gets the String property note. |
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. |
XmlPosition |
getPosition()
Gets the XmlPosition property position. |
XmlPreempted |
getPreempted()
Gets the XmlPreempted property preempted. |
RContext |
getRContext()
Gets the RContext property rContext. |
RContext |
getRContextResolved()
Gets the property "rContext" which is resolved recursively. |
XmlReported[] |
getReported()
Gets the XmlReported property reported. |
IRNode[] |
getRNodes()
Gets child RNodes. |
XmlUnofficial |
getUnofficial()
Gets the XmlUnofficial property unofficial. |
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 XmlMagRecord . |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlMagRecord . |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlMagRecord . |
void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
setBlending(XmlBlending[] blending)
Sets the XmlBlending property blending. |
void |
setCatalog(java.lang.String catalog)
Sets the String property catalog. |
void |
setChip(java.lang.String chip)
Sets the String property chip. |
void |
setDate(java.lang.String date)
Sets the String property date. |
void |
setDiscarded(XmlDiscarded discarded)
Sets the XmlDiscarded property discarded. |
void |
setFilter(java.lang.String filter)
Sets the String property filter. |
void |
setImageXmlPath(java.lang.String imageXmlPath)
Sets the String property imageXmlPath. |
void |
setImported(XmlImported imported)
Sets the XmlImported property imported. |
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 |
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 |
setPixelsFromEdge(java.lang.Integer pixelsFromEdge)
Sets the Integer property pixelsFromEdge. |
void |
setPosition(XmlPosition position)
Sets the XmlPosition property position. |
void |
setPreempted(XmlPreempted preempted)
Sets the XmlPreempted property preempted. |
void |
setRContext(RContext rContext)
Sets the RContext property rContext. |
void |
setReported(XmlReported[] reported)
Sets the XmlReported property reported. |
void |
setUnofficial(XmlUnofficial unofficial)
Sets the XmlUnofficial property unofficial. |
void |
setup(org.w3c.dom.Document doc)
Initializes the XmlMagRecord by the Document doc . |
void |
setup(org.w3c.dom.Element element)
Initializes the XmlMagRecord by the Element element . |
void |
setup(RStack stack)
Initializes the XmlMagRecord 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 XmlMag mag
private java.lang.String filter
private java.lang.String chip
private java.lang.String catalog
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 java.util.List reported
private XmlUnofficial unofficial
private XmlDiscarded discarded
private XmlPreempted preempted
private XmlImported imported
private java.util.List blending
private java.lang.String note
private IRNode parentRNode
private RContext rContext
Constructor Detail |
public XmlMagRecord()
XmlMagRecord
.public XmlMagRecord(RStack stack)
XmlMagRecord
by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.stack
- public XmlMagRecord(org.w3c.dom.Document doc)
XmlMagRecord
by the Document doc
.doc
- public XmlMagRecord(org.w3c.dom.Element element)
XmlMagRecord
by the Element element
.element
- Method Detail |
public void setup(org.w3c.dom.Document doc)
XmlMagRecord
by the Document doc
.doc
- public void setup(org.w3c.dom.Element element)
XmlMagRecord
by the Element element
.element
- public void setup(RStack stack)
XmlMagRecord
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 XmlMag getMag()
public final void setMag(XmlMag mag)
mag
- 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 getCatalog()
public final void setCatalog(java.lang.String catalog)
catalog
- 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 XmlReported[] getReported()
public final void setReported(XmlReported[] reported)
reported
- public final void addReported(XmlReported reported)
reported
- public final XmlUnofficial getUnofficial()
public final void setUnofficial(XmlUnofficial unofficial)
unofficial
- public final XmlDiscarded getDiscarded()
public final void setDiscarded(XmlDiscarded discarded)
discarded
- public final XmlPreempted getPreempted()
public final void setPreempted(XmlPreempted preempted)
preempted
- public final XmlImported getImported()
public final void setImported(XmlImported imported)
imported
- public final XmlBlending[] getBlending()
public final void setBlending(XmlBlending[] blending)
blending
- public final void addBlending(XmlBlending blending)
blending
- public final java.lang.String getNote()
public final void setNote(java.lang.String note)
note
- 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 XmlMagRecord
.element
- public static boolean isMatch(RStack stack)
stack
is valid for the XmlMagRecord
.
This mehtod is supposed to be used internally
by the Relaxer system.stack
- public static boolean isMatchHungry(RStack stack)
stack
is valid for the XmlMagRecord
.
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 |