com.bstek.dorado.data.config.xml
public class DataResolverParser extends GenericObjectParser
dataObjectParseHelper
SELF, SUB_PARSER_PATH_SEPERATOR, WILDCARD
Constructor and Description |
---|
DataResolverParser() |
Modifier and Type | Method and Description |
---|---|
protected DefinitionReference<DataResolverDefinition>[] |
getParentDefinitionReferences(java.lang.String parentNameText,
ParseContext context)
将parent属性中的配置信息转换成一组指向具体配置声明对象的引用。
例如根据parent="hr.Employee,hr.Manager",可得到两个分别指向hr.Employee和hr. |
protected void |
initDefinition(ObjectDefinition definition,
org.w3c.dom.Element element,
ParseContext context)
初始化一个配置声明对象。
|
doParse, setDataObjectParseHelper
createDefinition, getAnnotationOwnerType, getDefaultScope, getDefinitionType, getImpl, internalParse, isInheritable, isScopable, setAnnotationOwnerType, setDefinitionType, setDefinitionType, setImpl, setInheritable, setScopable
getExpressionHandler, setExpressionHandler, setPropertyParsers, setSubParsers
dispatchChildElements, dispatchElement, findPropertyParser, findSubParser, getPropertyParsers, getSubParsers, parse, parseProperties, parseProperty, registerPropertyParser, registerSubParser
protected DefinitionReference<DataResolverDefinition>[] getParentDefinitionReferences(java.lang.String parentNameText, ParseContext context) throws java.lang.Exception
ObjectParser
getParentDefinitionReferences
in class ObjectParser
parentNameText
- parent属性的配置信息context
- 解析上下文java.lang.Exception
protected void initDefinition(ObjectDefinition definition, org.w3c.dom.Element element, ParseContext context) throws java.lang.Exception
ObjectParser
initDefinition
in class GenericObjectParser
definition
- 配置声明对象element
- 当前节点context
- 解析上下文java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.