クラスorg.w3c.dom.xpath.XPathExceptionの
使用
-
org.w3c.dom.xpathでのXPathExceptionの使用
修飾子と型メソッド説明XPathEvaluator.createExpression
(String expression, XPathNSResolver resolver) 解決されたネームスペースを使用して解析済のXPath式を作成します。XPathEvaluator.evaluate
(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) XPath式文字列を評価し、可能な場合は指定された型の結果を返します。このXPath式を評価し、結果を返します。boolean
XPathResult.getBooleanValue()
このブール結果の値。double
XPathResult.getNumberValue()
この数値結果の値。XPathResult.getSingleNodeValue()
この単一ノード結果の値(null
)。int
XPathResult.getSnapshotLength()
結果スナップショットのノード数。XPathResult.getStringValue()
この文字列結果の値。XPathResult.iterateNext()
ノード・セットから次のノードを反復して返します。ノードがこれ以上ない場合はnull
を返します。XPathResult.snapshotItem
(int index) スナップショット・コレクションのindex
アイテムを返します。