jp.sourceforge.sqs_xml.editor.model
クラス RString

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

public class RString
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, IInlinemoduleMixed, IRNode

RString is a text container class which is used for mixed.

バージョン:
sqs.rng 1.0 (Thu Jul 22 18:24:57 GMT+09:00 2004)
作成者:
Relaxer 1.1b (http://www.relaxer.org)
関連項目:
直列化された形式

コンストラクタの概要
RString()
          Creates a RString.
RString(org.w3c.dom.Node node)
          Creates a RString by the DOM node node.
RString(java.lang.Object object)
          Creates a RString by the Object object.
RString(RStack stack)
          Creates a RString by the Stack stack.
RString(RString source)
          Creates a RString by the Rstring source.
RString(java.lang.String text)
          Creates a RString by the String text.
 
メソッドの概要
 java.lang.Object clone()
          Clones the String.
 java.lang.Object getContent()
          Gets the content.
 java.lang.String getContentAsString()
          Gets the text content as String.
 org.w3c.dom.Node getNode()
          Gets the DOM node.
 java.lang.Object getObject()
          Gets the object.
 java.lang.String getText()
          Gets the text.
 boolean isCdata()
          Checks whether cdata or not.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the RString.
 void makeElement(org.w3c.dom.Node node)
          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.
 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.
 IRNode[] rGetRNodes()
          Gets child RNodes.
 void rSetParentRNode(IRNode parentRNode)
          Sets the IRNode property parentRNode.
 void setCdata(boolean cdata)
          Sets wheter cdata or not.
 void setContent(java.lang.Object value)
          Sets the content.
 void setNode(org.w3c.dom.Node node)
          Sets the DOM node.
 void setObject(java.lang.Object object)
          Sets the DOM node.
 void setText(java.lang.String text)
          Sets the text.
 void setup(RStack stack)
          Initializes the RString by the Stack stack that contains Elements.
 java.lang.String toString()
          Gets the String.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

RString

public RString()
Creates a RString.


RString

public RString(java.lang.String text)
Creates a RString by the String text.

パラメータ:
text -

RString

public RString(org.w3c.dom.Node node)
Creates a RString by the DOM node node.

パラメータ:
node -

RString

public RString(java.lang.Object object)
Creates a RString by the Object object.

パラメータ:
object -

RString

public RString(RString source)
Creates a RString by the Rstring source.

パラメータ:
source -

RString

public RString(RStack stack)
Creates a RString by the Stack stack. This constructor is supposed to be used internallyby the Relaxer system.

パラメータ:
stack -
メソッドの詳細

setup

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

定義:
インタフェース IInlinemoduleMixed 内の setup
パラメータ:
stack -

makeElement

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

定義:
インタフェース IInlinemoduleMixed 内の makeElement
パラメータ:
node -

getText

public java.lang.String getText()
Gets the text.

戻り値:
String

setText

public void setText(java.lang.String text)
Sets the text.

パラメータ:
text -

getNode

public org.w3c.dom.Node getNode()
Gets the DOM node.

戻り値:
org.w3c.dom.Node

setNode

public void setNode(org.w3c.dom.Node node)
Sets the DOM node.

パラメータ:
node -

getObject

public java.lang.Object getObject()
Gets the object.

戻り値:
Object

setObject

public void setObject(java.lang.Object object)
Sets the DOM node.

パラメータ:
object -

getContent

public java.lang.Object getContent()
Gets the content.

戻り値:
Object

setContent

public void setContent(java.lang.Object value)
Sets the content.

パラメータ:
value -

isCdata

public boolean isCdata()
Checks whether cdata or not.

戻り値:
boolean

setCdata

public void setCdata(boolean cdata)
Sets wheter cdata or not.

パラメータ:
cdata -

getContentAsString

public java.lang.String getContentAsString()
Gets the text content as String.

戻り値:
String

toString

public java.lang.String toString()
Gets the String.

定義:
インタフェース IInlinemoduleMixed 内の toString
戻り値:
String

clone

public java.lang.Object clone()
Clones the String.

定義:
インタフェース IInlinemoduleMixed 内の clone
戻り値:
Object

makeTextElement

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

定義:
インタフェース IInlinemoduleMixed 内の makeTextElement
パラメータ:
buffer -

makeTextElement

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

定義:
インタフェース IInlinemoduleMixed 内の makeTextElement
パラメータ:
buffer -
例外:
java.io.IOException

makeTextElement

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

定義:
インタフェース IInlinemoduleMixed 内の makeTextElement
パラメータ:
buffer -

makeTextAttribute

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

定義:
インタフェース IInlinemoduleMixed 内の makeTextAttribute
パラメータ:
buffer -

makeTextAttribute

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

定義:
インタフェース IInlinemoduleMixed 内の makeTextAttribute
パラメータ:
buffer -
例外:
java.io.IOException

makeTextAttribute

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

定義:
インタフェース IInlinemoduleMixed 内の makeTextAttribute
パラメータ:
buffer -

rGetParentRNode

public IRNode rGetParentRNode()
Gets the IRNode property parentRNode.

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

rSetParentRNode

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

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

rGetRNodes

public IRNode[] rGetRNodes()
インタフェース IRNode の記述:
Gets child RNodes.

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

isMatch

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

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