クラス CeXmlParser

java.lang.Object
jp.ne.mki.wedge.rule.client.httpaccess.util.CeXmlParser

public class CeXmlParser extends Object
  • コンストラクタの詳細

    • CeXmlParser

      public CeXmlParser()
  • メソッドの詳細

    • getSendString

      public static String getSendString(Vector items) throws Throwable
      ロジッククラスの入力引数よりhttp送信用文字列を作成
      パラメータ:
      Vector - Itemを格納したVector
      戻り値:
      boolean 送信文字列
      例外:
      Throwable
    • getSendString

      public static String getSendString(Vector items, String enc) throws Throwable
      ロジッククラスの入力引数よりhttp送信用文字列を作成
      パラメータ:
      enc - URLEncode時に使用される文字コード
      Vector - Itemを格納したVector
      戻り値:
      boolean 送信文字列
      例外:
      Throwable
    • encode

      public static String encode(String str, String enc) throws UnsupportedEncodingException
      例外:
      UnsupportedEncodingException
    • getDocument

      public static Document getDocument(byte[] xml) throws Throwable
      例外:
      Throwable
    • getDocument

      public static Document getDocument(InputStream xml) throws Throwable
      例外:
      Throwable
    • getNodeList

      public static NodeList getNodeList(Document root, String xPath) throws Throwable
      対象となるNodeListを取得 このメソッドはJDK1.5の場合にのみ使用することが出来ます。
      パラメータ:
      Document - ドキュメントルート
      String - 取得対象のXPath
      戻り値:
       NodeList 取得したノード
      例外:
      Throwable