Tsukuyomi OpenID
0.2.0

jp.sourceforge.tsukuyomi.openid.yadis
クラス YadisUrl

java.lang.Object
  上位を拡張 jp.sourceforge.tsukuyomi.openid.yadis.YadisUrl

public class YadisUrl
extends Object

Wrapper class for various identifiers that are resolvable to URLs and can be used as YadisURLs with the Yadis protocol.

作成者:
Marius Scurtescu, Johnny Bufu

コンストラクタの概要
YadisUrl(String urlString)
          Contructs a YadisURL from a string; assumes the string to be a URL-type identifier
YadisUrl(URL urlId)
          Constructs a YadisURL from a URL object; insures the schema is HTTP or HTTPS
YadisUrl(org.openxri.XRI xriId)
          Constructs a YadisURL from an XRI identifier.
 
メソッドの概要
 URL getUrl()
          Gets the URL to be used in Yadis transactions.
 String toString()
          Gets a string representation of the YadisURL.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

YadisUrl

public YadisUrl(String urlString)
         throws YadisException
Contructs a YadisURL from a string; assumes the string to be a URL-type identifier

パラメータ:
urlString - URL-type identifier in string format
例外:
YadisException - if the provided string cannot be a YadisUrl

YadisUrl

public YadisUrl(URL urlId)
         throws YadisException
Constructs a YadisURL from a URL object; insures the schema is HTTP or HTTPS

パラメータ:
urlId - URL identifier
例外:
YadisException - tf the URL identifier is not a valid YadisURL

YadisUrl

public YadisUrl(org.openxri.XRI xriId)
         throws YadisException
Constructs a YadisURL from an XRI identifier.

パラメータ:
xriId - The XRI identifier
例外:
YadisException
メソッドの詳細

getUrl

public URL getUrl()
Gets the URL to be used in Yadis transactions.


toString

public String toString()
Gets a string representation of the YadisURL.

オーバーライド:
クラス Object 内の toString

Tsukuyomi OpenID
0.2.0

Copyright © 2008 Project Tsukuyomi. All Rights Reserved.