类 PropertyParser


  • public class PropertyParser
    extends java.lang.Object

    Parser for the <properties /> element defined by JSR-352.

    从以下版本开始:
    3.0
    作者:
    Chris Schaefer
    • 构造器概要

      构造器 
      构造器说明
      PropertyParser​(java.lang.String beanName, org.springframework.beans.factory.xml.ParserContext parserContext, BatchArtifactType batchArtifactType) 
      PropertyParser​(java.lang.String beanName, org.springframework.beans.factory.xml.ParserContext parserContext, BatchArtifactType batchArtifactType, java.lang.String stepName) 
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      voidparseProperties​(org.w3c.dom.Element element)
      Parses <property> tag values from the provided Element if it contains a <properties /> element.
      voidparseProperty​(org.w3c.dom.Element element)
      Parses a <property> tag value from the provided Element.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • PropertyParser

        public PropertyParser​(java.lang.String beanName,
                              org.springframework.beans.factory.xml.ParserContext parserContext,
                              BatchArtifactType batchArtifactType)
      • PropertyParser

        public PropertyParser​(java.lang.String beanName,
                              org.springframework.beans.factory.xml.ParserContext parserContext,
                              BatchArtifactType batchArtifactType,
                              java.lang.String stepName)
    • 方法详细资料

      • parseProperties

        public void parseProperties​(org.w3c.dom.Element element)

        Parses <property> tag values from the provided Element if it contains a <properties /> element. Only one <properties /> element may be present. <property> elements have a name and value attribute which represent the property entries key and value.

        参数:
        element - the element to parse looking for <properties />
      • parseProperty

        public void parseProperty​(org.w3c.dom.Element element)

        Parses a <property> tag value from the provided Element. <property> elements have a name and value attribute which represent the property entries key and value.

        参数:
        element - the element to parse looking for <property/>