|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sqs_xml.reader.model.ReadingState
ReadingState is generated from reader.rng by Relaxer. This class is derived from:
<element name="readingState" ns="http://sqs.cmr.sfc.keio.ac.jp/2004/reader"> <attribute name="imagedir"><text/></attribute> <attribute name="pdffile"><text/></attribute> <attribute name="start"> <data type="dateTime"/> </attribute> <attribute name="end"> <data type="dateTime"/> </attribute> <optional> <ref name="ImageFiles"/> </optional> <optional> <element name="answers" ns="http://sqs.cmr.sfc.keio.ac.jp/2004/reader"> <empty/> </element> </optional> </element>
Constructor Summary | |
ReadingState()
Creates a ReadingState . |
|
ReadingState(org.w3c.dom.Document doc)
Creates a ReadingState by the Document doc . |
|
ReadingState(org.w3c.dom.Element element)
Creates a ReadingState by the Element element . |
|
ReadingState(java.io.File file)
Creates a ReadingState by the File file . |
|
ReadingState(org.xml.sax.InputSource is)
Creates a ReadingState by the InputSource is . |
|
ReadingState(java.io.InputStream in)
Creates a ReadingState by the InputStream in . |
|
ReadingState(java.io.Reader reader)
Creates a ReadingState by the Reader reader . |
|
ReadingState(ReadingState source)
Creates a ReadingState . |
|
ReadingState(RStack stack)
Creates a ReadingState by the Stack stack
that contains Elements. |
|
ReadingState(java.lang.String uri)
Creates a ReadingState
by the String representation of URI uri . |
|
ReadingState(java.net.URL url)
Creates a ReadingState by the URL url . |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getAnswers()
Gets the String property answers. |
java.lang.String |
getAnswersAsString()
Gets the property value as String. |
java.sql.Timestamp |
getEnd()
Gets the java.sql.Timestamp property end. |
java.lang.String |
getEndAsString()
Gets the property value as String. |
java.lang.String |
getImagedir()
Gets the String property imagedir. |
java.lang.String |
getImagedirAsString()
Gets the property value as String. |
ImageFiles |
getImageFiles()
Gets the ImageFiles property ImageFiles. |
java.lang.String |
getPdffile()
Gets the String property pdffile. |
java.lang.String |
getPdffileAsString()
Gets the property value as String. |
java.sql.Timestamp |
getStart()
Gets the java.sql.Timestamp property start. |
java.lang.String |
getStartAsString()
Gets the property value as String. |
static boolean |
isMatch(org.w3c.dom.Element element)
Tests if a Element element is valid
for the ReadingState . |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the ReadingState . |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the ReadingState . |
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. |
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 |
setAnswers(java.lang.String answers)
Sets the String property answers. |
void |
setAnswersByString(java.lang.String string)
Sets the property value by String. |
void |
setEnd(java.sql.Timestamp end)
Sets the java.sql.Timestamp property end. |
void |
setEndByString(java.lang.String string)
Sets the property value by String. |
void |
setImagedir(java.lang.String imagedir)
Sets the String property imagedir. |
void |
setImagedirByString(java.lang.String string)
Sets the property value by String. |
void |
setImageFiles(ImageFiles imageFiles)
Sets the ImageFiles property ImageFiles. |
void |
setPdffile(java.lang.String pdffile)
Sets the String property pdffile. |
void |
setPdffileByString(java.lang.String string)
Sets the property value by String. |
void |
setStart(java.sql.Timestamp start)
Sets the java.sql.Timestamp property start. |
void |
setStartByString(java.lang.String string)
Sets the property value by String. |
void |
setup(org.w3c.dom.Document doc)
Initializes the ReadingState by the Document doc . |
void |
setup(org.w3c.dom.Element element)
Initializes the ReadingState by the Element element . |
void |
setup(java.io.File file)
Initializes the ReadingState by the File file . |
void |
setup(org.xml.sax.InputSource is)
Initializes the ReadingState by the InputSource is . |
void |
setup(java.io.InputStream in)
Initializes the ReadingState by the InputStream in . |
void |
setup(java.io.Reader reader)
Initializes the ReadingState by the Reader reader . |
void |
setup(ReadingState source)
Initializes the ReadingState by the ReadingState source . |
void |
setup(RStack stack)
Initializes the ReadingState by the Stack stack
that contains Elements. |
void |
setup(java.lang.String uri)
Initializes the ReadingState
by the String representation of URI uri . |
void |
setup(java.net.URL url)
Initializes the ReadingState by the URL url . |
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 ReadingState()
ReadingState
.
public ReadingState(ReadingState source)
ReadingState
.
source
- public ReadingState(RStack stack)
ReadingState
by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack
- public ReadingState(org.w3c.dom.Document doc)
ReadingState
by the Document doc
.
doc
- public ReadingState(org.w3c.dom.Element element)
ReadingState
by the Element element
.
element
- public ReadingState(java.io.File file) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
ReadingState
by the File file
.
file
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public ReadingState(java.lang.String uri) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
ReadingState
by the String representation of URI uri
.
uri
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public ReadingState(java.net.URL url) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
ReadingState
by the URL url
.
url
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public ReadingState(java.io.InputStream in) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
ReadingState
by the InputStream in
.
in
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public ReadingState(org.xml.sax.InputSource is) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
ReadingState
by the InputSource is
.
is
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public ReadingState(java.io.Reader reader) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
ReadingState
by the Reader reader
.
reader
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Method Detail |
public void setup(ReadingState source)
ReadingState
by the ReadingState source
.
source
- public void setup(org.w3c.dom.Document doc)
ReadingState
by the Document doc
.
doc
- public void setup(org.w3c.dom.Element element)
ReadingState
by the Element element
.
element
- public void setup(RStack stack)
ReadingState
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
ReadingState
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
ReadingState
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
ReadingState
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
ReadingState
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
ReadingState
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
ReadingState
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.ParserConfigurationException
public RNSContext rGetRNSContext()
rGetRNSContext
in interface IRNSContainer
public void rSetRNSContext(RNSContext rNSContext)
rNSContext
- public java.lang.String getImagedir()
public void setImagedir(java.lang.String imagedir)
imagedir
- public java.lang.String getPdffile()
public void setPdffile(java.lang.String pdffile)
pdffile
- public java.sql.Timestamp getStart()
public void setStart(java.sql.Timestamp start)
start
- public java.sql.Timestamp getEnd()
public void setEnd(java.sql.Timestamp end)
end
- public ImageFiles getImageFiles()
public void setImageFiles(ImageFiles imageFiles)
imageFiles
- public java.lang.String getAnswers()
public void setAnswers(java.lang.String answers)
answers
- 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.IOException
public 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.IOException
public void makeTextAttribute(java.io.PrintWriter buffer)
buffer
- public java.lang.String getImagedirAsString()
public java.lang.String getPdffileAsString()
public java.lang.String getStartAsString()
public java.lang.String getEndAsString()
public java.lang.String getAnswersAsString()
public void setImagedirByString(java.lang.String string)
string
- public void setPdffileByString(java.lang.String string)
string
- public void setStartByString(java.lang.String string)
string
- public void setEndByString(java.lang.String string)
string
- public void setAnswersByString(java.lang.String string)
string
- public java.lang.String toString()
public IRNode rGetParentRNode()
rGetParentRNode
in interface IRNode
public void rSetParentRNode(IRNode parentRNode)
rSetParentRNode
in interface IRNode
parentRNode
- public IRNode[] rGetRNodes()
rGetRNodes
in interface IRNode
public static boolean isMatch(org.w3c.dom.Element element)
element
is valid
for the ReadingState
.
element
-
public static boolean isMatch(RStack stack)
stack
is valid for the ReadingState
.
This mehtod is supposed to be used internally
by the Relaxer system.
stack
-
public static boolean isMatchHungry(RStack stack)
stack
is valid for the ReadingState
.
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 |