jp.ne.mki.wedge.rule.client.httpaccess.util
クラス CeXmlParser
java.lang.Object
jp.ne.mki.wedge.rule.client.httpaccess.util.CeXmlParser
public class CeXmlParser
- extends java.lang.Object
メソッドの概要 |
static java.lang.String |
encode(java.lang.String str,
java.lang.String enc)
|
static org.w3c.dom.Document |
getDocument(byte[] xml)
|
static org.w3c.dom.Document |
getDocument(java.io.InputStream xml)
|
static org.w3c.dom.NodeList |
getNodeList(org.w3c.dom.Document root,
java.lang.String xPath)
対象となるNodeListを取得
このメソッドはJDK1.5の場合にのみ使用することが出来ます。 |
static java.lang.String |
getSendString(java.util.Vector items)
ロジッククラスの入力引数よりhttp送信用文字列を作成 |
static java.lang.String |
getSendString(java.util.Vector items,
java.lang.String enc)
ロジッククラスの入力引数よりhttp送信用文字列を作成 |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CeXmlParser
public CeXmlParser()
getSendString
public static java.lang.String getSendString(java.util.Vector items)
throws java.lang.Throwable
- ロジッククラスの入力引数よりhttp送信用文字列を作成
- パラメータ:
Vector
- Itemを格納したVector
- 戻り値:
- boolean 送信文字列
- 例外:
java.lang.Throwable
getSendString
public static java.lang.String getSendString(java.util.Vector items,
java.lang.String enc)
throws java.lang.Throwable
- ロジッククラスの入力引数よりhttp送信用文字列を作成
- パラメータ:
Vector
- Itemを格納したVectorenc
- URLEncode時に使用される文字コード
- 戻り値:
- boolean 送信文字列
- 例外:
java.lang.Throwable
encode
public static java.lang.String encode(java.lang.String str,
java.lang.String enc)
throws java.io.UnsupportedEncodingException
- 例外:
java.io.UnsupportedEncodingException
getDocument
public static org.w3c.dom.Document getDocument(byte[] xml)
throws java.lang.Throwable
- 例外:
java.lang.Throwable
getDocument
public static org.w3c.dom.Document getDocument(java.io.InputStream xml)
throws java.lang.Throwable
- 例外:
java.lang.Throwable
getNodeList
public static org.w3c.dom.NodeList getNodeList(org.w3c.dom.Document root,
java.lang.String xPath)
throws java.lang.Throwable
- 対象となるNodeListを取得
このメソッドはJDK1.5の場合にのみ使用することが出来ます。
- パラメータ:
Document
- ドキュメントルートString
- 取得対象のXPath
- 戻り値:
- NodeList 取得したノード
- 例外:
java.lang.Throwable