jp.sourceforge.sqs_xml.reader.model
クラス MarkDensity

java.lang.Object
  拡張jp.sourceforge.sqs_xml.reader.model.MarkDensity
すべての実装インタフェース:
java.lang.Cloneable, IRNode, IRNSContainer, java.io.Serializable

public class MarkDensity
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, IRNSContainer, IRNode

MarkDensity is generated from reader.rng by Relaxer. This class is derived from:

 </element>
 

バージョン:
reader.rng (Fri Jun 18 02:41:18 GMT+09:00 2004)
作成者:
Relaxer 1.1b (http://www.relaxer.org)
関連項目:
直列化された形式

コンストラクタの概要
MarkDensity()
          Creates a MarkDensity.
MarkDensity(org.w3c.dom.Document doc)
          Creates a MarkDensity by the Document doc.
MarkDensity(org.w3c.dom.Element element)
          Creates a MarkDensity by the Element element.
MarkDensity(java.io.File file)
          Creates a MarkDensity by the File file.
MarkDensity(org.xml.sax.InputSource is)
          Creates a MarkDensity by the InputSource is.
MarkDensity(java.io.InputStream in)
          Creates a MarkDensity by the InputStream in.
MarkDensity(MarkDensity source)
          Creates a MarkDensity.
MarkDensity(java.io.Reader reader)
          Creates a MarkDensity by the Reader reader.
MarkDensity(RStack stack)
          Creates a MarkDensity by the Stack stack that contains Elements.
MarkDensity(java.lang.String uri)
          Creates a MarkDensity by the String representation of URI uri.
MarkDensity(java.net.URL url)
          Creates a MarkDensity by the URL url.
 
メソッドの概要
 java.lang.Object clone()
           
 double getContent()
          Gets the double property content.
 java.lang.String getContentAsString()
          Gets the property value as String.
static boolean isMatch(org.w3c.dom.Element element)
          Tests if a Element element is valid for the MarkDensity.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the MarkDensity.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the MarkDensity.
 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.
 IRNode rGetParentRNode()
          Gets the IRNode property parentRNode.
 RContext rGetRContext()
          Gets the RContext property rContext.
 RContext rGetRContextResolved()
          Gets the property "rContext" which is resolved recursively.
 IRNode[] rGetRNodes()
          Gets child RNodes.
 RNSContext rGetRNSContext()
          Gets the RNSContext property RNSContext.
 void rSetParentRNode(IRNode parentRNode)
          Sets the IRNode property parentRNode.
 void rSetRContext(RContext rContext)
          Sets the RContext property rContext.
 void rSetRNSContext(RNSContext rNSContext)
          Sets the RNSContext property RNSContext.
 void setContent(double content)
          Sets the double property content.
 void setContentByString(java.lang.String string)
          Sets the property value by String.
 void setup(org.w3c.dom.Document doc)
          Initializes the MarkDensity by the Document doc.
 void setup(org.w3c.dom.Element element)
          Initializes the MarkDensity by the Element element.
 void setup(java.io.File file)
          Initializes the MarkDensity by the File file.
 void setup(org.xml.sax.InputSource is)
          Initializes the MarkDensity by the InputSource is.
 void setup(java.io.InputStream in)
          Initializes the MarkDensity by the InputStream in.
 void setup(MarkDensity source)
          Initializes the MarkDensity by the MarkDensity source.
 void setup(java.io.Reader reader)
          Initializes the MarkDensity by the Reader reader.
 void setup(RStack stack)
          Initializes the MarkDensity by the Stack stack that contains Elements.
 void setup(java.lang.String uri)
          Initializes the MarkDensity by the String representation of URI uri.
 void setup(java.net.URL url)
          Initializes the MarkDensity by the URL url.
 java.lang.String toString()
          Returns a String representation of this object.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

MarkDensity

public MarkDensity()
Creates a MarkDensity.


MarkDensity

public MarkDensity(MarkDensity source)
Creates a MarkDensity.

パラメータ:
source -

MarkDensity

public MarkDensity(RStack stack)
Creates a MarkDensity by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

パラメータ:
stack -

MarkDensity

public MarkDensity(org.w3c.dom.Document doc)
Creates a MarkDensity by the Document doc.

パラメータ:
doc -

MarkDensity

public MarkDensity(org.w3c.dom.Element element)
Creates a MarkDensity by the Element element.

パラメータ:
element -

MarkDensity

public MarkDensity(java.io.File file)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException
Creates a MarkDensity by the File file.

パラメータ:
file -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

MarkDensity

public MarkDensity(java.lang.String uri)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException
Creates a MarkDensity by the String representation of URI uri.

パラメータ:
uri -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

MarkDensity

public MarkDensity(java.net.URL url)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException
Creates a MarkDensity by the URL url.

パラメータ:
url -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

MarkDensity

public MarkDensity(java.io.InputStream in)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException
Creates a MarkDensity by the InputStream in.

パラメータ:
in -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

MarkDensity

public MarkDensity(org.xml.sax.InputSource is)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException
Creates a MarkDensity by the InputSource is.

パラメータ:
is -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

MarkDensity

public MarkDensity(java.io.Reader reader)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException
Creates a MarkDensity by the Reader reader.

パラメータ:
reader -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
メソッドの詳細

setup

public void setup(MarkDensity source)
Initializes the MarkDensity by the MarkDensity source.

パラメータ:
source -

setup

public void setup(org.w3c.dom.Document doc)
Initializes the MarkDensity by the Document doc.

パラメータ:
doc -

setup

public void setup(org.w3c.dom.Element element)
Initializes the MarkDensity by the Element element.

パラメータ:
element -

setup

public void setup(RStack stack)
Initializes the MarkDensity by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

パラメータ:
stack -

clone

public java.lang.Object clone()
戻り値:
Object

makeElement

public void makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. Result is appended to the Node parent.

パラメータ:
parent -

setup

public void setup(java.io.File file)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the MarkDensity by the File file.

パラメータ:
file -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.lang.String uri)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the MarkDensity by the String representation of URI uri.

パラメータ:
uri -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.net.URL url)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the MarkDensity by the URL url.

パラメータ:
url -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.io.InputStream in)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the MarkDensity by the InputStream in.

パラメータ:
in -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(org.xml.sax.InputSource is)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the MarkDensity by the InputSource is.

パラメータ:
is -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.io.Reader reader)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the MarkDensity by the Reader reader.

パラメータ:
reader -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

makeDocument

public org.w3c.dom.Document makeDocument()
                                  throws javax.xml.parsers.ParserConfigurationException
Creates a DOM document representation of the object.

戻り値:
Document
例外:
javax.xml.parsers.ParserConfigurationException

rGetRNSContext

public final RNSContext rGetRNSContext()
Gets the RNSContext property RNSContext.

定義:
インタフェース IRNSContainer 内の rGetRNSContext
戻り値:
RNSContext

rSetRNSContext

public final void rSetRNSContext(RNSContext rNSContext)
Sets the RNSContext property RNSContext.

パラメータ:
rNSContext -

getContent

public final double getContent()
Gets the double property content.

戻り値:
double

setContent

public final void setContent(double content)
Sets the double property content.

パラメータ:
content -

makeTextDocument

public java.lang.String makeTextDocument()
Makes an XML text representation.

戻り値:
String

makeTextElement

public void makeTextElement(java.lang.StringBuffer buffer)
Makes an XML text representation.

パラメータ:
buffer -

makeTextElement

public void makeTextElement(java.io.Writer buffer)
                     throws java.io.IOException
Makes an XML text representation.

パラメータ:
buffer -
例外:
java.io.IOException

makeTextElement

public void makeTextElement(java.io.PrintWriter buffer)
Makes an XML text representation.

パラメータ:
buffer -

makeTextAttribute

public void makeTextAttribute(java.lang.StringBuffer buffer)
Makes an XML text representation.

パラメータ:
buffer -

makeTextAttribute

public void makeTextAttribute(java.io.Writer buffer)
                       throws java.io.IOException
Makes an XML text representation.

パラメータ:
buffer -
例外:
java.io.IOException

makeTextAttribute

public void makeTextAttribute(java.io.PrintWriter buffer)
Makes an XML text representation.

パラメータ:
buffer -

getContentAsString

public java.lang.String getContentAsString()
Gets the property value as String.

戻り値:
String

setContentByString

public void setContentByString(java.lang.String string)
Sets the property value by String.

パラメータ:
string -

toString

public java.lang.String toString()
Returns a String representation of this object. While this method informs as XML format representaion, it's purpose is just information, not making a rigid XML documentation.

戻り値:
String

rGetParentRNode

public final IRNode rGetParentRNode()
Gets the IRNode property parentRNode.

定義:
インタフェース IRNode 内の rGetParentRNode
戻り値:
IRNode

rSetParentRNode

public final void rSetParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode.

定義:
インタフェース IRNode 内の rSetParentRNode
パラメータ:
parentRNode -

rGetRNodes

public IRNode[] rGetRNodes()
Gets child RNodes.

定義:
インタフェース IRNode 内の rGetRNodes
戻り値:
IRNode[]

rGetRContext

public final RContext rGetRContext()
Gets the RContext property rContext.

定義:
インタフェース IRNode 内の rGetRContext
戻り値:
RContext

rSetRContext

public final void rSetRContext(RContext rContext)
Sets the RContext property rContext.

定義:
インタフェース IRNode 内の rSetRContext
パラメータ:
rContext -

rGetRContextResolved

public RContext rGetRContextResolved()
Gets the property "rContext" which is resolved recursively.

定義:
インタフェース IRNode 内の rGetRContextResolved
戻り値:
RContext

isMatch

public static boolean isMatch(org.w3c.dom.Element element)
Tests if a Element element is valid for the MarkDensity.

パラメータ:
element -
戻り値:
boolean

isMatch

public static boolean isMatch(RStack stack)
Tests if elements contained in a Stack stack is valid for the MarkDensity. This mehtod is supposed to be used internally by the Relaxer system.

パラメータ:
stack -
戻り値:
boolean

isMatchHungry

public static boolean isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack is valid for the MarkDensity. This method consumes the stack contents during matching operation. This mehtod is supposed to be used internally by the Relaxer system.

パラメータ:
stack -
戻り値:
boolean