public class PropertyParser
extends java.lang.Object
Parser for the <properties /> element defined by JSR-352.
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
parseProperties(org.w3c.dom.Element element)
Parses <property> tag values from the provided
Element if it contains a <properties /> element. |
void |
parseProperty(org.w3c.dom.Element element)
Parses a <property> tag value from the provided
Element. |
public PropertyParser(java.lang.String beanName,
org.springframework.beans.factory.xml.ParserContext parserContext,
BatchArtifactType batchArtifactType)
public PropertyParser(java.lang.String beanName,
org.springframework.beans.factory.xml.ParserContext parserContext,
BatchArtifactType batchArtifactType,
java.lang.String stepName)
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 />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/>