|
|||||||||
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.XmlPixy
XmlPixy is generated by Relaxer based on pixy.rlx. This class is derived from:
<elementRule role="pixy"> <sequence> <ref label="report"/> <ref label="batch"/> <ref label="information-holder"/> <ref label="record-holder"/> <ref label="mag-record-holder"/> <ref label="position-record-holder"/> <ref label="variability-holder"/> </sequence> </elementRule> <tag name="pixy"/>
Field Summary | |
private XmlBatch |
batch
|
private XmlInformationHolder |
informationHolder
|
private XmlMagRecordHolder |
magRecordHolder
|
private IRNode |
parentRNode
|
private XmlPositionRecordHolder |
positionRecordHolder
|
private RContext |
rContext
|
private XmlRecordHolder |
recordHolder
|
private XmlReport |
report
|
private XmlVariabilityHolder |
variabilityHolder
|
Constructor Summary | |
XmlPixy()
Creates a XmlPixy . |
|
XmlPixy(org.w3c.dom.Document doc)
Creates a XmlPixy by the Document doc . |
|
XmlPixy(org.w3c.dom.Element element)
Creates a XmlPixy by the Element element . |
|
XmlPixy(RStack stack)
Creates a XmlPixy by the Stack stack
that contains Elements. |
Method Summary | |
XmlBatch |
getBatch()
Gets the XmlBatch property batch. |
XmlInformationHolder |
getInformationHolder()
Gets the XmlInformationHolder property informationHolder. |
XmlMagRecordHolder |
getMagRecordHolder()
Gets the XmlMagRecordHolder property magRecordHolder. |
IRNode |
getParentRNode()
Gets the IRNode property parentRNode. |
XmlPositionRecordHolder |
getPositionRecordHolder()
Gets the XmlPositionRecordHolder property positionRecordHolder. |
RContext |
getRContext()
Gets the RContext property rContext. |
RContext |
getRContextResolved()
Gets the property "rContext" which is resolved recursively. |
XmlRecordHolder |
getRecordHolder()
Gets the XmlRecordHolder property recordHolder. |
XmlReport |
getReport()
Gets the XmlReport property report. |
IRNode[] |
getRNodes()
Gets child RNodes. |
XmlVariabilityHolder |
getVariabilityHolder()
Gets the XmlVariabilityHolder property variabilityHolder. |
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 XmlPixy . |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlPixy . |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XmlPixy . |
void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
setBatch(XmlBatch batch)
Sets the XmlBatch property batch. |
void |
setInformationHolder(XmlInformationHolder informationHolder)
Sets the XmlInformationHolder property informationHolder. |
void |
setMagRecordHolder(XmlMagRecordHolder magRecordHolder)
Sets the XmlMagRecordHolder property magRecordHolder. |
void |
setParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode. |
void |
setPositionRecordHolder(XmlPositionRecordHolder positionRecordHolder)
Sets the XmlPositionRecordHolder property positionRecordHolder. |
void |
setRContext(RContext rContext)
Sets the RContext property rContext. |
void |
setRecordHolder(XmlRecordHolder recordHolder)
Sets the XmlRecordHolder property recordHolder. |
void |
setReport(XmlReport report)
Sets the XmlReport property report. |
void |
setup(org.w3c.dom.Document doc)
Initializes the XmlPixy by the Document doc . |
void |
setup(org.w3c.dom.Element element)
Initializes the XmlPixy by the Element element . |
void |
setup(RStack stack)
Initializes the XmlPixy by the Stack stack
that contains Elements. |
void |
setVariabilityHolder(XmlVariabilityHolder variabilityHolder)
Sets the XmlVariabilityHolder property variabilityHolder. |
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 XmlReport report
private XmlBatch batch
private XmlInformationHolder informationHolder
private XmlRecordHolder recordHolder
private XmlMagRecordHolder magRecordHolder
private XmlPositionRecordHolder positionRecordHolder
private XmlVariabilityHolder variabilityHolder
private IRNode parentRNode
private RContext rContext
Constructor Detail |
public XmlPixy()
XmlPixy
.public XmlPixy(RStack stack)
XmlPixy
by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.stack
- public XmlPixy(org.w3c.dom.Document doc)
XmlPixy
by the Document doc
.doc
- public XmlPixy(org.w3c.dom.Element element)
XmlPixy
by the Element element
.element
- Method Detail |
public void setup(org.w3c.dom.Document doc)
XmlPixy
by the Document doc
.doc
- public void setup(org.w3c.dom.Element element)
XmlPixy
by the Element element
.element
- public void setup(RStack stack)
XmlPixy
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 XmlReport getReport()
public final void setReport(XmlReport report)
report
- public final XmlBatch getBatch()
public final void setBatch(XmlBatch batch)
batch
- public final XmlInformationHolder getInformationHolder()
public final void setInformationHolder(XmlInformationHolder informationHolder)
informationHolder
- public final XmlRecordHolder getRecordHolder()
public final void setRecordHolder(XmlRecordHolder recordHolder)
recordHolder
- public final XmlMagRecordHolder getMagRecordHolder()
public final void setMagRecordHolder(XmlMagRecordHolder magRecordHolder)
magRecordHolder
- public final XmlPositionRecordHolder getPositionRecordHolder()
public final void setPositionRecordHolder(XmlPositionRecordHolder positionRecordHolder)
positionRecordHolder
- public final XmlVariabilityHolder getVariabilityHolder()
public final void setVariabilityHolder(XmlVariabilityHolder variabilityHolder)
variabilityHolder
- 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 XmlPixy
.element
- public static boolean isMatch(RStack stack)
stack
is valid for the XmlPixy
.
This mehtod is supposed to be used internally
by the Relaxer system.stack
- public static boolean isMatchHungry(RStack stack)
stack
is valid for the XmlPixy
.
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 |