类 PropertyParser
- java.lang.Object
- org.springframework.batch.core.jsr.configuration.xml.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)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
parseProperties(org.w3c.dom.Element element)
Parses <property> tag values from the providedElement
if it contains a <properties /> element.void
parseProperty(org.w3c.dom.Element element)
Parses a <property> tag value from the providedElement
.
构造器详细资料
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/>