|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sqs_xml.reader.model.FormElementsMarkarea
FormElementsMarkarea is generated from reader.rng by Relaxer. This class is derived from:
<element name="markarea" ns="http://sqs.cmr.sfc.keio.ac.jp/2004/reader">
<attribute name="ref" java:mapKey="true"><data type="string"/></attribute>
<ref name="MarkDensity"/>
</element>
| Constructor Summary | |
FormElementsMarkarea()
Creates a FormElementsMarkarea. |
|
FormElementsMarkarea(org.w3c.dom.Document doc)
Creates a FormElementsMarkarea by the Document doc. |
|
FormElementsMarkarea(org.w3c.dom.Element element)
Creates a FormElementsMarkarea by the Element element. |
|
FormElementsMarkarea(java.io.File file)
Creates a FormElementsMarkarea by the File file. |
|
FormElementsMarkarea(FormElementsMarkarea source)
Creates a FormElementsMarkarea. |
|
FormElementsMarkarea(org.xml.sax.InputSource is)
Creates a FormElementsMarkarea by the InputSource is. |
|
FormElementsMarkarea(java.io.InputStream in)
Creates a FormElementsMarkarea by the InputStream in. |
|
FormElementsMarkarea(java.io.Reader reader)
Creates a FormElementsMarkarea by the Reader reader. |
|
FormElementsMarkarea(RStack stack)
Creates a FormElementsMarkarea by the Stack stack
that contains Elements. |
|
FormElementsMarkarea(java.lang.String uri)
Creates a FormElementsMarkarea
by the String representation of URI uri. |
|
FormElementsMarkarea(java.net.URL url)
Creates a FormElementsMarkarea by the URL url. |
|
| Method Summary | |
java.lang.Object |
clone()
|
double |
getMarkDensity()
Gets the double property markDensity. |
java.lang.String |
getMarkDensityAsString()
Gets the property value as String. |
java.lang.String |
getRef()
Gets the String property ref. |
java.lang.String |
getRefAsString()
Gets the property value as String. |
static boolean |
isMatch(org.w3c.dom.Element element)
Tests if a Element element is valid
for the FormElementsMarkarea. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the FormElementsMarkarea. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the FormElementsMarkarea. |
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 |
setMarkDensity(double markDensity)
Sets the double property markDensity. |
void |
setMarkDensityByString(java.lang.String string)
Sets the property value by String. |
void |
setRef(java.lang.String ref)
Sets the String property ref. |
void |
setRefByString(java.lang.String string)
Sets the property value by String. |
void |
setup(org.w3c.dom.Document doc)
Initializes the FormElementsMarkarea by the Document doc. |
void |
setup(org.w3c.dom.Element element)
Initializes the FormElementsMarkarea by the Element element. |
void |
setup(java.io.File file)
Initializes the FormElementsMarkarea by the File file. |
void |
setup(FormElementsMarkarea source)
Initializes the FormElementsMarkarea by the FormElementsMarkarea source. |
void |
setup(org.xml.sax.InputSource is)
Initializes the FormElementsMarkarea by the InputSource is. |
void |
setup(java.io.InputStream in)
Initializes the FormElementsMarkarea by the InputStream in. |
void |
setup(java.io.Reader reader)
Initializes the FormElementsMarkarea by the Reader reader. |
void |
setup(RStack stack)
Initializes the FormElementsMarkarea by the Stack stack
that contains Elements. |
void |
setup(java.lang.String uri)
Initializes the FormElementsMarkarea
by the String representation of URI uri. |
void |
setup(java.net.URL url)
Initializes the FormElementsMarkarea 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 FormElementsMarkarea()
FormElementsMarkarea.
public FormElementsMarkarea(FormElementsMarkarea source)
FormElementsMarkarea.
source - public FormElementsMarkarea(RStack stack)
FormElementsMarkarea by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public FormElementsMarkarea(org.w3c.dom.Document doc)
FormElementsMarkarea by the Document doc.
doc - public FormElementsMarkarea(org.w3c.dom.Element element)
FormElementsMarkarea by the Element element.
element -
public FormElementsMarkarea(java.io.File file)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea by the File file.
file -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public FormElementsMarkarea(java.lang.String uri)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea
by the String representation of URI uri.
uri -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public FormElementsMarkarea(java.net.URL url)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea by the URL url.
url -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public FormElementsMarkarea(java.io.InputStream in)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea by the InputStream in.
in -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public FormElementsMarkarea(org.xml.sax.InputSource is)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea by the InputSource is.
is -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public FormElementsMarkarea(java.io.Reader reader)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea by the Reader reader.
reader -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException| Method Detail |
public void setup(FormElementsMarkarea source)
FormElementsMarkarea by the FormElementsMarkarea source.
source - public void setup(org.w3c.dom.Document doc)
FormElementsMarkarea by the Document doc.
setup in interface IFormElementsChoicedoc - public void setup(org.w3c.dom.Element element)
FormElementsMarkarea by the Element element.
setup in interface IFormElementsChoiceelement - public void setup(RStack stack)
FormElementsMarkarea by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
setup in interface IFormElementsChoicestack - public java.lang.Object clone()
clone in interface IFormElementsChoicepublic void makeElement(org.w3c.dom.Node parent)
parent.
makeElement in interface IFormElementsChoiceparent -
public void setup(java.io.File file)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
FormElementsMarkarea by the File file.
setup in interface IFormElementsChoicefile -
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
FormElementsMarkarea
by the String representation of URI uri.
setup in interface IFormElementsChoiceuri -
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
FormElementsMarkarea by the URL url.
setup in interface IFormElementsChoiceurl -
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
FormElementsMarkarea by the InputStream in.
setup in interface IFormElementsChoicein -
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
FormElementsMarkarea by the InputSource is.
setup in interface IFormElementsChoiceis -
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
FormElementsMarkarea by the Reader reader.
setup in interface IFormElementsChoicereader -
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document makeDocument()
throws javax.xml.parsers.ParserConfigurationException
makeDocument in interface IFormElementsChoicejavax.xml.parsers.ParserConfigurationExceptionpublic RNSContext rGetRNSContext()
rGetRNSContext in interface IRNSContainerpublic void rSetRNSContext(RNSContext rNSContext)
rSetRNSContext in interface IFormElementsChoicerNSContext - public java.lang.String getRef()
getRef in interface IFormElementsChoicepublic void setRef(java.lang.String ref)
setRef in interface IFormElementsChoiceref - public double getMarkDensity()
public void setMarkDensity(double markDensity)
markDensity - public org.w3c.dom.Element rGetElement()
rGetElement in interface IFormElementsChoicepublic java.lang.String makeTextDocument()
makeTextDocument in interface IFormElementsChoicepublic void makeTextElement(java.lang.StringBuffer buffer)
makeTextElement in interface IFormElementsChoicebuffer -
public void makeTextElement(java.io.Writer buffer)
throws java.io.IOException
makeTextElement in interface IFormElementsChoicebuffer -
java.io.IOExceptionpublic void makeTextElement(java.io.PrintWriter buffer)
makeTextElement in interface IFormElementsChoicebuffer - public void makeTextAttribute(java.lang.StringBuffer buffer)
makeTextAttribute in interface IFormElementsChoicebuffer -
public void makeTextAttribute(java.io.Writer buffer)
throws java.io.IOException
makeTextAttribute in interface IFormElementsChoicebuffer -
java.io.IOExceptionpublic void makeTextAttribute(java.io.PrintWriter buffer)
makeTextAttribute in interface IFormElementsChoicebuffer - public java.lang.String getRefAsString()
getRefAsString in interface IFormElementsChoicepublic java.lang.String getMarkDensityAsString()
public void setRefByString(java.lang.String string)
setRefByString in interface IFormElementsChoicestring - public void setMarkDensityByString(java.lang.String string)
string - public java.lang.String toString()
toString in interface IFormElementsChoicepublic 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 FormElementsMarkarea.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the FormElementsMarkarea.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the FormElementsMarkarea.
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 | |||||||||