com.bstek.dorado.view.widget
public class ComponentParser extends GenericObjectParser implements java.lang.Cloneable
dataObjectParseHelperSELF, 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, setDataObjectParseHelpergetAnnotationOwnerType, getDefaultScope, getDefinitionType, getImpl, getParentDefinitionReferences, isInheritable, isScopable, setAnnotationOwnerType, setDefinitionType, setDefinitionType, setImpl, setInheritable, setScopablegetExpressionHandler, setExpressionHandler, setPropertyParsers, setSubParsersdispatchChildElements, dispatchElement, findPropertyParser, findSubParser, getPropertyParsers, getSubParsers, parse, parseProperties, parseProperty, registerPropertyParser, registerSubParserpublic 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
ObjectParserinitDefinition in class GenericObjectParserdefinition - 配置声明对象element - 当前节点context - 解析上下文java.lang.Exceptionprotected java.lang.Object internalParse(org.w3c.dom.Node node,
ParseContext context)
throws java.lang.Exception
internalParse in class ObjectParserjava.lang.Exceptionprotected void registerComponent(ComponentDefinition component, ViewParseContext context)
component - 组件配置声明对象context - 解析上下文protected ObjectDefinition createDefinition(org.w3c.dom.Element element, ParseContext context) throws java.lang.Exception
ObjectParsercreateDefinition in class ObjectParserelement - 当前节点context - 解析上下文java.lang.ExceptionCopyright © 2001-2011 www.BSTEK.com All Rights Reserved.