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

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

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

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

 <define name="ScanFrame">
               <attribute name="x1">
                         <data type="int"/>
               </attribute>
               <attribute name="y1">
 					<data type="int"/>
               </attribute>              
               <attribute name="x2">
 					<data type="int"/>
               </attribute>                
               <attribute name="y2">
 					<data type="int"/>
               </attribute>                
               <attribute name="x3">
 					<data type="int"/>
               </attribute>                
               <attribute name="y3">
    					<data type="int"/>
               </attribute>  
               <attribute name="x4">
 					<data type="int"/>
               </attribute>                
               <attribute name="y4">
 					<data type="int"/>
               </attribute> 
               <optional>
                 <ref name="Page"/>
               </optional>
 </define>

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

コンストラクタの概要
ScanFrame()
          Creates a ScanFrame.
ScanFrame(RStack stack)
          Creates a ScanFrame by the Stack stack that contains Elements.
ScanFrame(ScanFrame source)
          Creates a ScanFrame.
 
メソッドの概要
 java.lang.Object clone()
           
 Page getPage()
          Gets the Page property Page.
 int getX1()
          Gets the int property x1.
 java.lang.String getX1AsString()
          Gets the property value as String.
 int getX2()
          Gets the int property x2.
 java.lang.String getX2AsString()
          Gets the property value as String.
 int getX3()
          Gets the int property x3.
 java.lang.String getX3AsString()
          Gets the property value as String.
 int getX4()
          Gets the int property x4.
 java.lang.String getX4AsString()
          Gets the property value as String.
 int getY1()
          Gets the int property y1.
 java.lang.String getY1AsString()
          Gets the property value as String.
 int getY2()
          Gets the int property y2.
 java.lang.String getY2AsString()
          Gets the property value as String.
 int getY3()
          Gets the int property y3.
 java.lang.String getY3AsString()
          Gets the property value as String.
 int getY4()
          Gets the int property y4.
 java.lang.String getY4AsString()
          Gets the property value as String.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the ScanFrame.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the ScanFrame.
 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 setPage(Page page)
          Sets the Page property Page.
 void setup(RStack stack)
          Initializes the ScanFrame by the Stack stack that contains Elements.
 void setup(ScanFrame source)
          Initializes the ScanFrame by the ScanFrame source.
 void setX1(int x1)
          Sets the int property x1.
 void setX1ByString(java.lang.String string)
          Sets the property value by String.
 void setX2(int x2)
          Sets the int property x2.
 void setX2ByString(java.lang.String string)
          Sets the property value by String.
 void setX3(int x3)
          Sets the int property x3.
 void setX3ByString(java.lang.String string)
          Sets the property value by String.
 void setX4(int x4)
          Sets the int property x4.
 void setX4ByString(java.lang.String string)
          Sets the property value by String.
 void setY1(int y1)
          Sets the int property y1.
 void setY1ByString(java.lang.String string)
          Sets the property value by String.
 void setY2(int y2)
          Sets the int property y2.
 void setY2ByString(java.lang.String string)
          Sets the property value by String.
 void setY3(int y3)
          Sets the int property y3.
 void setY3ByString(java.lang.String string)
          Sets the property value by String.
 void setY4(int y4)
          Sets the int property y4.
 void setY4ByString(java.lang.String string)
          Sets the property value by String.
 java.lang.String toString()
          Returns a String representation of this object.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ScanFrame

public ScanFrame()
Creates a ScanFrame.


ScanFrame

public ScanFrame(ScanFrame source)
Creates a ScanFrame.

パラメータ:
source -

ScanFrame

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

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

setup

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

パラメータ:
source -

setup

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

getX1

public int getX1()
Gets the int property x1.

戻り値:
int

setX1

public void setX1(int x1)
Sets the int property x1.

パラメータ:
x1 -

getY1

public int getY1()
Gets the int property y1.

戻り値:
int

setY1

public void setY1(int y1)
Sets the int property y1.

パラメータ:
y1 -

getX2

public int getX2()
Gets the int property x2.

戻り値:
int

setX2

public void setX2(int x2)
Sets the int property x2.

パラメータ:
x2 -

getY2

public int getY2()
Gets the int property y2.

戻り値:
int

setY2

public void setY2(int y2)
Sets the int property y2.

パラメータ:
y2 -

getX3

public int getX3()
Gets the int property x3.

戻り値:
int

setX3

public void setX3(int x3)
Sets the int property x3.

パラメータ:
x3 -

getY3

public int getY3()
Gets the int property y3.

戻り値:
int

setY3

public void setY3(int y3)
Sets the int property y3.

パラメータ:
y3 -

getX4

public int getX4()
Gets the int property x4.

戻り値:
int

setX4

public void setX4(int x4)
Sets the int property x4.

パラメータ:
x4 -

getY4

public int getY4()
Gets the int property y4.

戻り値:
int

setY4

public void setY4(int y4)
Sets the int property y4.

パラメータ:
y4 -

getPage

public Page getPage()
Gets the Page property Page.

戻り値:
Page

setPage

public void setPage(Page page)
Sets the Page property Page.

パラメータ:
page -

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 -

getX1AsString

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

戻り値:
String

getY1AsString

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

戻り値:
String

getX2AsString

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

戻り値:
String

getY2AsString

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

戻り値:
String

getX3AsString

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

戻り値:
String

getY3AsString

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

戻り値:
String

getX4AsString

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

戻り値:
String

getY4AsString

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

戻り値:
String

setX1ByString

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

パラメータ:
string -

setY1ByString

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

パラメータ:
string -

setX2ByString

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

パラメータ:
string -

setY2ByString

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

パラメータ:
string -

setX3ByString

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

パラメータ:
string -

setY3ByString

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

パラメータ:
string -

setX4ByString

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

パラメータ:
string -

setY4ByString

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

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