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

java.lang.Object
  拡張jp.sourceforge.sqs_xml.reader.model.RContext

public class RContext
extends java.lang.Object

バージョン:
reader.rng 1.0 (Fri Jun 18 02:41:18 GMT+09:00 2004)
作成者:
Relaxer 1.1b (http://www.relaxer.org)

コンストラクタの概要
RContext()
          Creates a RContext by the File file.
RContext(java.io.File file)
          Creates a RContext by the File file.
RContext(java.lang.String uri)
          Creates a RContext by the File file.
RContext(java.net.URL url)
          Creates a RContext by the URL url.
 
メソッドの概要
 java.net.URL getBaseURL()
          Gets the java.net.URL property baseURL.
 IRNode getIRNode(java.lang.String id)
          gets IRNode by ID.
 java.lang.Object getProperty(java.lang.String key)
          Gets a property value.
 java.lang.String makeAutoID()
          Geneates a id string.
 void setBaseURL(java.net.URL baseURL)
          Sets the java.net.URL property baseURL.
 void setIRNode(java.lang.String id, IRNode node)
          sets IRNode with ID.
 void setProperty(java.lang.String key, java.lang.Object value)
          Sets a property value.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RContext

public RContext()
Creates a RContext by the File file.


RContext

public RContext(java.io.File file)
         throws java.net.MalformedURLException
Creates a RContext by the File file.

パラメータ:
file -
例外:
java.net.MalformedURLException

RContext

public RContext(java.net.URL url)
Creates a RContext by the URL url.

パラメータ:
url -

RContext

public RContext(java.lang.String uri)
         throws java.net.MalformedURLException
Creates a RContext by the File file.

パラメータ:
uri -
例外:
java.net.MalformedURLException
メソッドの詳細

getProperty

public java.lang.Object getProperty(java.lang.String key)
Gets a property value.

パラメータ:
key -
戻り値:
Object

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Sets a property value.

パラメータ:
key -
value -

makeAutoID

public java.lang.String makeAutoID()
Geneates a id string.

戻り値:
String

getBaseURL

public final java.net.URL getBaseURL()
Gets the java.net.URL property baseURL.

戻り値:
java.net.URL

setBaseURL

public final void setBaseURL(java.net.URL baseURL)
Sets the java.net.URL property baseURL.

パラメータ:
baseURL -

getIRNode

public IRNode getIRNode(java.lang.String id)
gets IRNode by ID.

パラメータ:
id -
戻り値:
IRNode

setIRNode

public void setIRNode(java.lang.String id,
                      IRNode node)
sets IRNode with ID.

パラメータ:
id -
node -