com.bstek.dorado.view.widget
public class ContainerParser extends ControlParser
dataObjectParseHelper
SELF, SUB_PARSER_PATH_SEPERATOR, WILDCARD
Constructor and Description |
---|
ContainerParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
internalParse(org.w3c.dom.Node node,
ParseContext context) |
protected java.util.Map<java.lang.String,java.lang.Object> |
parseProperties(org.w3c.dom.Element element,
ParseContext context)
解析所有的属性,并返回属性值的集合。
此处所指的属性包括XML节点中的属性(Attribute)以及下列形式的子属性节点: 。
如果二者同时存在,则将以子属性节点中的定义为准。 |
void |
setLayoutParser(XmlParser layoutParser)
设置布局管理器的解析器。
|
void |
setLayoutTypeRegistry(LayoutTypeRegistry layoutTypeRegistry)
设置布局管理器类型的注册管理器。
|
initDefinition
createDefinition, getAssembledComponentDefinition, getComponentType, registerComponent, setAssembledComponentDefinition, setComponentType
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, parseProperty, registerPropertyParser, registerSubParser
public void setLayoutParser(XmlParser layoutParser)
public void setLayoutTypeRegistry(LayoutTypeRegistry layoutTypeRegistry)
protected java.lang.Object internalParse(org.w3c.dom.Node node, ParseContext context) throws java.lang.Exception
internalParse
in class ComponentParser
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.Object> parseProperties(org.w3c.dom.Element element, ParseContext context) throws java.lang.Exception
DispatchableXmlParser
XXXX
。
如果二者同时存在,则将以子属性节点中的定义为准。parseProperties
in class DispatchableXmlParser
element
- XML节点context
- 解析的上下文对象java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.