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

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

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

Blockmodule is generated from sqs.rng by Relaxer. This class is derived from:

 <define name="blockmodule">
     <choice>
     <ref name="section"/>
     <ref name="p"/>
     </choice>
 </define>

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

コンストラクタの概要
Blockmodule()
          Creates a Blockmodule.
Blockmodule(Blockmodule source)
          Creates a Blockmodule.
Blockmodule(RStack stack)
          Creates a Blockmodule by the Stack stack that contains Elements.
 
メソッドの概要
 java.lang.Object clone()
           
 IBlockmoduleChoice getContent()
          Gets the IBlockmoduleChoice property content.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the Blockmodule.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the Blockmodule.
 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.
 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 setContent(IBlockmoduleChoice content)
          Sets the IBlockmoduleChoice property content.
 void setup(Blockmodule source)
          Initializes the Blockmodule by the Blockmodule source.
 void setup(RStack stack)
          Initializes the Blockmodule by the Stack stack that contains Elements.
 java.lang.String toString()
          Returns a String representation of this object.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Blockmodule

public Blockmodule()
Creates a Blockmodule.


Blockmodule

public Blockmodule(Blockmodule source)
Creates a Blockmodule.

パラメータ:
source -

Blockmodule

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

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

setup

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

パラメータ:
source -

setup

public void setup(RStack stack)
Initializes the Blockmodule 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 -

rGetRNSContext

public RNSContext rGetRNSContext()
Gets the RNSContext property RNSContext.

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

rSetRNSContext

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

パラメータ:
rNSContext -

getContent

public IBlockmoduleChoice getContent()
Gets the IBlockmoduleChoice property content.

戻り値:
IBlockmoduleChoice

setContent

public void setContent(IBlockmoduleChoice content)
Sets the IBlockmoduleChoice 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 -

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 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()
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 Blockmodule. 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 Blockmodule. This method consumes the stack contents during matching operation. This mehtod is supposed to be used internally by the Relaxer system.

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