|
|||||||||
| 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.XmlStarCount
XmlStarCount is generated by Relaxer based on pixy.rlx. This class is derived from:
<elementRule role="star-count">
<sequence>
<element name="str" type="int"/>
<element name="var" type="int"/>
<element name="mov" type="int"/>
<element name="new" type="int"/>
<element name="err" type="int"/>
<element name="neg" type="int"/>
</sequence>
</elementRule>
<tag name="star-count"/>
| Field Summary | |
private int |
err
|
private int |
mov
|
private int |
neg
|
private int |
newValue
|
private IRNode |
parentRNode
|
private RContext |
rContext
|
private int |
str
|
private int |
var
|
| Constructor Summary | |
XmlStarCount()
Creates a XmlStarCount. |
|
XmlStarCount(org.w3c.dom.Document doc)
Creates a XmlStarCount by the Document doc. |
|
XmlStarCount(org.w3c.dom.Element element)
Creates a XmlStarCount by the Element element. |
|
XmlStarCount(RStack stack)
Creates a XmlStarCount by the Stack stack
that contains Elements. |
|
| Method Summary | |
int |
getErr()
Gets the int property err. |
int |
getMov()
Gets the int property mov. |
int |
getNeg()
Gets the int property neg. |
int |
getNew()
Gets the int property new. |
IRNode |
getParentRNode()
Gets the IRNode property parentRNode. |
RContext |
getRContext()
Gets the RContext property rContext. |
RContext |
getRContextResolved()
Gets the property "rContext" which is resolved recursively. |
IRNode[] |
getRNodes()
Gets child RNodes. |
int |
getStr()
Gets the int property str. |
int |
getVar()
Gets the int property var. |
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 XmlStarCount. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlStarCount. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlStarCount. |
void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
setErr(int err)
Sets the int property err. |
void |
setMov(int mov)
Sets the int property mov. |
void |
setNeg(int neg)
Sets the int property neg. |
void |
setNew(int newValue)
Sets the int property new. |
void |
setParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode. |
void |
setRContext(RContext rContext)
Sets the RContext property rContext. |
void |
setStr(int str)
Sets the int property str. |
void |
setup(org.w3c.dom.Document doc)
Initializes the XmlStarCount by the Document doc. |
void |
setup(org.w3c.dom.Element element)
Initializes the XmlStarCount by the Element element. |
void |
setup(RStack stack)
Initializes the XmlStarCount by the Stack stack
that contains Elements. |
void |
setVar(int var)
Sets the int property var. |
| 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 int str
private int var
private int mov
private int newValue
private int err
private int neg
private IRNode parentRNode
private RContext rContext
| Constructor Detail |
public XmlStarCount()
XmlStarCount.public XmlStarCount(RStack stack)
XmlStarCount by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.stack - public XmlStarCount(org.w3c.dom.Document doc)
XmlStarCount by the Document doc.doc - public XmlStarCount(org.w3c.dom.Element element)
XmlStarCount by the Element element.element - | Method Detail |
public void setup(org.w3c.dom.Document doc)
XmlStarCount by the Document doc.doc - public void setup(org.w3c.dom.Element element)
XmlStarCount by the Element element.element - public void setup(RStack stack)
XmlStarCount 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 int getStr()
public final void setStr(int str)
str - public final int getVar()
public final void setVar(int var)
var - public final int getMov()
public final void setMov(int mov)
mov - public final int getNew()
public final void setNew(int newValue)
newValue - public final int getErr()
public final void setErr(int err)
err - public final int getNeg()
public final void setNeg(int neg)
neg - 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 XmlStarCount.element - public static boolean isMatch(RStack stack)
stack
is valid for the XmlStarCount.
This mehtod is supposed to be used internally
by the Relaxer system.stack - public static boolean isMatchHungry(RStack stack)
stack
is valid for the XmlStarCount.
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 | ||||||||