public final class XPathFilterParameterSpec extends Object implements TransformParameterSpec
Map
が含まれます。XPath Filtering変換パラメータのXMLスキーマ定義は、次のように定義されます。
<element name="XPath" type="string"/>
Transform
コンストラクタと説明 |
---|
XPathFilterParameterSpec(String xPath)
指定したXPath式を使用して、
XPathFilterParameterSpec を作成します。 |
XPathFilterParameterSpec(String xPath, Map namespaceMap)
指定したXPath式および名前空間マップを使用して、
XPathFilterParameterSpec を作成します。 |
public XPathFilterParameterSpec(String xPath)
XPathFilterParameterSpec
を作成します。xPath
- 評価するXPath式NullPointerException
- xPath
がnull
である場合public XPathFilterParameterSpec(String xPath, Map namespaceMap)
XPathFilterParameterSpec
を作成します。以後の変更から保護するために、マップは複製されます。xPath
- 評価するXPath式namespaceMap
- 名前空間接頭辞のマップ。それぞれの鍵は、対応する名前空間URI String
へマッピングする名前空間接頭辞String
です。NullPointerException
- xPath
またはnamespaceMap
がnull
の場合ClassCastException
- マップの鍵またはエントリがString
型でない場合 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。