クラス XPathExpressionFactoryBean
java.lang.ObjectSE
org.springframework.xml.xpath.XPathExpressionFactoryBean
- 実装されているすべてのインターフェース:
org.springframework.beans.factory.FactoryBean<XPathExpression>,org.springframework.beans.factory.InitializingBean
public class XPathExpressionFactoryBean
extends ObjectSE
implements org.springframework.beans.factory.FactoryBean<XPathExpression>, org.springframework.beans.factory.InitializingBean
Spring
XPathExpression オブジェクトの FactoryBean。エンドポイント Bean への XPath 式の注入を容易にします。 下で XPathExpressionFactory を使用するため、JAXP 1.3 および Jaxen XPath がサポートされます。
- 導入:
- 1.0.0
- 作成者:
- Arjen Poutsma
- 関連事項:
フィールドのサマリー
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidClassSE<? extends XPathExpression>booleanvoidsetExpression(StringSE expression) XPath 式を設定します。voidsetNamespaces(MapSE<StringSE, StringSE> namespaces) 式の名前空間を設定します。
コンストラクターの詳細
XPathExpressionFactoryBean
public XPathExpressionFactoryBean()
メソッドの詳細
setExpression
XPath 式を設定します。このプロパティの設定は必須です。setNamespaces
式の名前空間を設定します。指定されたプロパティは、文字列プレフィックスを文字列名前空間にバインドします。afterPropertiesSet
- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBeanのafterPropertiesSet - 例外:
IllegalStateExceptionSEXPathParseException
getObject
- 次で指定:
- インターフェース
org.springframework.beans.factory.FactoryBean<XPathExpression>のgetObject - 例外:
ExceptionSE
getObjectType
- 次で指定:
- インターフェース
org.springframework.beans.factory.FactoryBean<XPathExpression>のgetObjectType
isSingleton
public boolean isSingleton()- 次で指定:
- インターフェース
org.springframework.beans.factory.FactoryBean<XPathExpression>のisSingleton