com.bstek.dorado.view.widget
public class ComponentParser extends GenericObjectParser implements java.lang.Cloneable
dataObjectParseHelper
SELF, SUB_PARSER_PATH_SEPERATOR, WILDCARD
Constructor and Description |
---|
ComponentParser() |
Modifier and Type | Method and Description |
---|---|
protected ObjectDefinition |
createDefinition(org.w3c.dom.Element element,
ParseContext context)
创建一个新的配置声明对象。
|
ComponentDefinition |
getAssembledComponentDefinition() |
java.lang.String |
getComponentType() |
protected void |
initDefinition(ObjectDefinition definition,
org.w3c.dom.Element element,
ParseContext context)
初始化一个配置声明对象。
|
protected java.lang.Object |
internalParse(org.w3c.dom.Node node,
ParseContext context) |
protected void |
registerComponent(ComponentDefinition component,
ViewParseContext context)
将当前得到的组件配置声明对象注册到相应的视图配置中。
|
void |
setAssembledComponentDefinition(ComponentDefinition assembledComponentDefinition) |
void |
setComponentType(java.lang.String componentType) |
doParse, setDataObjectParseHelper
getAnnotationOwnerType, getDefaultScope, getDefinitionType, getImpl, getParentDefinitionReferences, isInheritable, isScopable, setAnnotationOwnerType, setDefinitionType, setDefinitionType, setImpl, setInheritable, setScopable
getExpressionHandler, setExpressionHandler, setPropertyParsers, setSubParsers
dispatchChildElements, dispatchElement, findPropertyParser, findSubParser, getPropertyParsers, getSubParsers, parse, parseProperties, parseProperty, registerPropertyParser, registerSubParser
public java.lang.String getComponentType()
public void setComponentType(java.lang.String componentType)
public ComponentDefinition getAssembledComponentDefinition()
public void setAssembledComponentDefinition(ComponentDefinition assembledComponentDefinition)
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
protected java.lang.Object internalParse(org.w3c.dom.Node node, ParseContext context) throws java.lang.Exception
internalParse
in class ObjectParser
java.lang.Exception
protected void registerComponent(ComponentDefinition component, ViewParseContext context)
component
- 组件配置声明对象context
- 解析上下文protected ObjectDefinition createDefinition(org.w3c.dom.Element element, ParseContext context) throws java.lang.Exception
ObjectParser
createDefinition
in class ObjectParser
element
- 当前节点context
- 解析上下文java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.