|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sqs_xml.reader.model.Page
Page is generated from reader.rng by Relaxer. This class is derived from:
<element name="page" ns="http://sqs.cmr.sfc.keio.ac.jp/2004/reader">
<attribute name="sampleID">
<data type="int"/>
</attribute>
<attribute name="number">
<data type="int"/>
</attribute>
<optional>
<ref name="FormElements"/>
</optional>
</element>
| Constructor Summary | |
Page()
Creates a Page. |
|
Page(org.w3c.dom.Document doc)
Creates a Page by the Document doc. |
|
Page(org.w3c.dom.Element element)
Creates a Page by the Element element. |
|
Page(java.io.File file)
Creates a Page by the File file. |
|
Page(org.xml.sax.InputSource is)
Creates a Page by the InputSource is. |
|
Page(java.io.InputStream in)
Creates a Page by the InputStream in. |
|
Page(Page source)
Creates a Page. |
|
Page(java.io.Reader reader)
Creates a Page by the Reader reader. |
|
Page(RStack stack)
Creates a Page by the Stack stack
that contains Elements. |
|
Page(java.lang.String uri)
Creates a Page
by the String representation of URI uri. |
|
Page(java.net.URL url)
Creates a Page by the URL url. |
|
| Method Summary | |
void |
addFormElements(IFormElementsChoice formElements)
Adds the IFormElementsChoice property FormElements. |
void |
addFormElements(IFormElementsChoice[] formElements)
Adds the IFormElementsChoice property FormElements. |
void |
addFormElements(int index,
IFormElementsChoice formElements)
Adds the IFormElementsChoice property FormElements by index. |
void |
clearFormElements()
Clear the IFormElementsChoice property FormElements. |
java.lang.Object |
clone()
|
IFormElementsChoice[] |
getFormElements()
Gets the IFormElementsChoice property FormElements. |
IFormElementsChoice |
getFormElements(int index)
Gets the IFormElementsChoice property FormElements by index. |
int |
getNumber()
Gets the int property number. |
java.lang.String |
getNumberAsString()
Gets the property value as String. |
int |
getSampleID()
Gets the int property sampleID. |
java.lang.String |
getSampleIDAsString()
Gets the property value as String. |
static boolean |
isMatch(org.w3c.dom.Element element)
Tests if a Element element is valid
for the Page. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the Page. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the Page. |
org.w3c.dom.Document |
makeDocument()
Creates a DOM document representation of the object. |
void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
makeTextAttribute(java.io.PrintWriter buffer)
Makes an XML text representation. |
void |
makeTextAttribute(java.lang.StringBuffer buffer)
Makes an XML text representation. |
void |
makeTextAttribute(java.io.Writer buffer)
Makes an XML text representation. |
java.lang.String |
makeTextDocument()
Makes an XML text representation. |
void |
makeTextElement(java.io.PrintWriter buffer)
Makes an XML text representation. |
void |
makeTextElement(java.lang.StringBuffer buffer)
Makes an XML text representation. |
void |
makeTextElement(java.io.Writer buffer)
Makes an XML text representation. |
void |
removeFormElements(IFormElementsChoice formElements)
Remove the IFormElementsChoice property FormElements by object. |
void |
removeFormElements(int index)
Remove the IFormElementsChoice property FormElements by index. |
org.w3c.dom.Element |
rGetElement()
Gets the element to be used in the object construction. |
IRNode |
rGetParentRNode()
Gets the IRNode property parentRNode. |
IRNode[] |
rGetRNodes()
Gets child RNodes. |
RNSContext |
rGetRNSContext()
Gets the RNSContext property RNSContext. |
void |
rSetParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode. |
void |
rSetRNSContext(RNSContext rNSContext)
Sets the RNSContext property RNSContext. |
void |
setFormElements(IFormElementsChoice formElements)
Sets the IFormElementsChoice property FormElements. |
void |
setFormElements(IFormElementsChoice[] formElements)
Sets the IFormElementsChoice property FormElements. |
void |
setFormElements(int index,
IFormElementsChoice formElements)
Sets the IFormElementsChoice property FormElements by index. |
void |
setNumber(int number)
Sets the int property number. |
void |
setNumberByString(java.lang.String string)
Sets the property value by String. |
void |
setSampleID(int sampleID)
Sets the int property sampleID. |
void |
setSampleIDByString(java.lang.String string)
Sets the property value by String. |
void |
setup(org.w3c.dom.Document doc)
Initializes the Page by the Document doc. |
void |
setup(org.w3c.dom.Element element)
Initializes the Page by the Element element. |
void |
setup(java.io.File file)
Initializes the Page by the File file. |
void |
setup(org.xml.sax.InputSource is)
Initializes the Page by the InputSource is. |
void |
setup(java.io.InputStream in)
Initializes the Page by the InputStream in. |
void |
setup(Page source)
Initializes the Page by the Page source. |
void |
setup(java.io.Reader reader)
Initializes the Page by the Reader reader. |
void |
setup(RStack stack)
Initializes the Page by the Stack stack
that contains Elements. |
void |
setup(java.lang.String uri)
Initializes the Page
by the String representation of URI uri. |
void |
setup(java.net.URL url)
Initializes the Page by the URL url. |
int |
sizeFormElements()
Gets number of the IFormElementsChoice property FormElements. |
java.lang.String |
toString()
Returns a String representation of this object. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Page()
Page.
public Page(Page source)
Page.
source - public Page(RStack stack)
Page by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public Page(org.w3c.dom.Document doc)
Page by the Document doc.
doc - public Page(org.w3c.dom.Element element)
Page by the Element element.
element -
public Page(java.io.File file)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the File file.
file -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public Page(java.lang.String uri)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page
by the String representation of URI uri.
uri -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public Page(java.net.URL url)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the URL url.
url -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public Page(java.io.InputStream in)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the InputStream in.
in -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public Page(org.xml.sax.InputSource is)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the InputSource is.
is -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public Page(java.io.Reader reader)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the Reader reader.
reader -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException| Method Detail |
public void setup(Page source)
Page by the Page source.
source - public void setup(org.w3c.dom.Document doc)
Page by the Document doc.
doc - public void setup(org.w3c.dom.Element element)
Page by the Element element.
element - public void setup(RStack stack)
Page by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public java.lang.Object clone()
public void makeElement(org.w3c.dom.Node parent)
parent.
parent -
public void setup(java.io.File file)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the File file.
file -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public void setup(java.lang.String uri)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page
by the String representation of URI uri.
uri -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public void setup(java.net.URL url)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the URL url.
url -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public void setup(java.io.InputStream in)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the InputStream in.
in -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public void setup(org.xml.sax.InputSource is)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the InputSource is.
is -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public void setup(java.io.Reader reader)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
Page by the Reader reader.
reader -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document makeDocument()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationExceptionpublic RNSContext rGetRNSContext()
rGetRNSContext in interface IRNSContainerpublic void rSetRNSContext(RNSContext rNSContext)
rNSContext - public int getSampleID()
public void setSampleID(int sampleID)
sampleID - public int getNumber()
public void setNumber(int number)
number - public IFormElementsChoice[] getFormElements()
public void setFormElements(IFormElementsChoice[] formElements)
formElements - public void setFormElements(IFormElementsChoice formElements)
formElements - public void addFormElements(IFormElementsChoice formElements)
formElements - public void addFormElements(IFormElementsChoice[] formElements)
formElements - public int sizeFormElements()
public IFormElementsChoice getFormElements(int index)
index -
public void setFormElements(int index,
IFormElementsChoice formElements)
index - formElements -
public void addFormElements(int index,
IFormElementsChoice formElements)
index - formElements - public void removeFormElements(int index)
index - public void removeFormElements(IFormElementsChoice formElements)
formElements - public void clearFormElements()
public org.w3c.dom.Element rGetElement()
public java.lang.String makeTextDocument()
public void makeTextElement(java.lang.StringBuffer buffer)
buffer -
public void makeTextElement(java.io.Writer buffer)
throws java.io.IOException
buffer -
java.io.IOExceptionpublic void makeTextElement(java.io.PrintWriter buffer)
buffer - public void makeTextAttribute(java.lang.StringBuffer buffer)
buffer -
public void makeTextAttribute(java.io.Writer buffer)
throws java.io.IOException
buffer -
java.io.IOExceptionpublic void makeTextAttribute(java.io.PrintWriter buffer)
buffer - public java.lang.String getSampleIDAsString()
public java.lang.String getNumberAsString()
public void setSampleIDByString(java.lang.String string)
string - public void setNumberByString(java.lang.String string)
string - public java.lang.String toString()
public IRNode rGetParentRNode()
rGetParentRNode in interface IRNodepublic void rSetParentRNode(IRNode parentRNode)
rSetParentRNode in interface IRNodeparentRNode - public IRNode[] rGetRNodes()
rGetRNodes in interface IRNodepublic static boolean isMatch(org.w3c.dom.Element element)
element is valid
for the Page.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the Page.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the Page.
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||