jp.veritrans.tercerog.mdk.dto.processor
クラス XMLFindHandler

java.lang.Object
  上位を拡張 org.xml.sax.helpers.DefaultHandler
      上位を拡張 jp.veritrans.tercerog.mdk.dto.processor.XMLFindHandler
すべての実装されたインタフェース:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class XMLFindHandler
extends org.xml.sax.helpers.DefaultHandler

バージョン:
2.0 2012/07/13
作成者:
Veritrans Inc

フィールドの概要
static int ARRIVAL
           
static int ARRIVED
           
static int NO_ARRIVAL
           
 
コンストラクタの概要
XMLFindHandler(String query)
          コンストラクタ
 
メソッドの概要
 void characters(char[] ch, int offset, int length)
          データを読み込む(大きなデータの時は複数回コールされる)
 void endDocument()
          ドキュメント終了
 void endElement(String uri, String localName, String qName)
          タグの終了
 int getArrivalStatus()
           
 String getResult()
          処理結果を返却する
 void startDocument()
          ドキュメントの開始
 void startElement(String uri, String localName, String qName, Attributes attributes)
          タグの開始
 
クラス org.xml.sax.helpers.DefaultHandler から継承されたメソッド
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NO_ARRIVAL

public static final int NO_ARRIVAL
関連項目:
定数フィールド値

ARRIVAL

public static final int ARRIVAL
関連項目:
定数フィールド値

ARRIVED

public static final int ARRIVED
関連項目:
定数フィールド値
コンストラクタの詳細

XMLFindHandler

public XMLFindHandler(String query)
コンストラクタ

パラメータ:
query - 取得対象のエレメントを示すパス文字列
メソッドの詳細

getResult

public String getResult()
処理結果を返却する

戻り値:
処理結果

startDocument

public void startDocument()
                   throws SAXException
ドキュメントの開始

定義:
インタフェース ContentHandler 内の startDocument
オーバーライド:
クラス org.xml.sax.helpers.DefaultHandler 内の startDocument
例外:
SAXException

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
タグの開始

定義:
インタフェース ContentHandler 内の startElement
オーバーライド:
クラス org.xml.sax.helpers.DefaultHandler 内の startElement
パラメータ:
uri -
localName -
qName -
例外:
SAXException

characters

public void characters(char[] ch,
                       int offset,
                       int length)
                throws SAXException
データを読み込む(大きなデータの時は複数回コールされる)

定義:
インタフェース ContentHandler 内の characters
オーバーライド:
クラス org.xml.sax.helpers.DefaultHandler 内の characters
パラメータ:
ch -
offset -
length -
例外:
SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
                throws SAXException
タグの終了

定義:
インタフェース ContentHandler 内の endElement
オーバーライド:
クラス org.xml.sax.helpers.DefaultHandler 内の endElement
パラメータ:
uri -
localName -
qName -
例外:
SAXException

endDocument

public void endDocument()
                 throws SAXException
ドキュメント終了

定義:
インタフェース ContentHandler 内の endDocument
オーバーライド:
クラス org.xml.sax.helpers.DefaultHandler 内の endDocument
例外:
SAXException

getArrivalStatus

public int getArrivalStatus()
戻り値:
arrivalStatus


Copyright © 2017. All rights reserved.