com.bstek.dorado.view.config.xml
public class ViewConfigParser extends GenericObjectParser
dataObjectParseHelper
SELF, SUB_PARSER_PATH_SEPERATOR, WILDCARD
Constructor and Description |
---|
ViewConfigParser() |
Modifier and Type | Method and Description |
---|---|
protected ObjectDefinition |
createDefinition(org.w3c.dom.Element element,
ParseContext context)
创建一个新的配置声明对象。
|
protected java.util.List<?> |
dispatchChildElements(org.w3c.dom.Element element,
ParseContext context)
遍历所有子节点并将解析任务分派给各个已注册的子解析器,并将所有子解析器返回的解析结果以List的方式返回。
|
protected java.lang.Object |
doParse(org.w3c.dom.Node node,
ParseContext context) |
initDefinition, setDataObjectParseHelper
getAnnotationOwnerType, getDefaultScope, getDefinitionType, getImpl, getParentDefinitionReferences, internalParse, isInheritable, isScopable, setAnnotationOwnerType, setDefinitionType, setDefinitionType, setImpl, setInheritable, setScopable
getExpressionHandler, setExpressionHandler, setPropertyParsers, setSubParsers
dispatchElement, findPropertyParser, findSubParser, getPropertyParsers, getSubParsers, parse, parseProperties, parseProperty, registerPropertyParser, registerSubParser
protected ObjectDefinition createDefinition(org.w3c.dom.Element element, ParseContext context) throws java.lang.Exception
ObjectParser
createDefinition
in class ObjectParser
element
- 当前节点context
- 解析上下文java.lang.Exception
protected java.util.List<?> dispatchChildElements(org.w3c.dom.Element element, ParseContext context) throws java.lang.Exception
DispatchableXmlParser
dispatchChildElements
in class DispatchableXmlParser
element
- 要解析的XML节点context
- 解析的上下文对象java.lang.Exception
protected java.lang.Object doParse(org.w3c.dom.Node node, ParseContext context) throws java.lang.Exception
doParse
in class GenericObjectParser
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.