クラス 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
関連事項:
  • コンストラクターの詳細

    • XPathExpressionFactoryBean

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

    • setExpression

      public void setExpression(StringSE expression)
      XPath 式を設定します。このプロパティの設定は必須です。
    • setNamespaces

      public void setNamespaces(MapSE<StringSE,StringSE> namespaces)
      式の名前空間を設定します。指定されたプロパティは、文字列プレフィックスを文字列名前空間にバインドします。
    • afterPropertiesSet

      public void afterPropertiesSet() throws IllegalStateExceptionSE, XPathParseException
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
      例外:
      IllegalStateExceptionSE
      XPathParseException
    • getObject

      public XPathExpression getObject() throws ExceptionSE
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<XPathExpression>getObject 
      例外:
      ExceptionSE
    • getObjectType

      public ClassSE<? extends XPathExpression> getObjectType()
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<XPathExpression>getObjectType 
    • isSingleton

      public boolean isSingleton()
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<XPathExpression>isSingleton