com.bstek.dorado.view.widget.layout
public class LayoutTextParserDispatcher extends DispatchableTextParser
HEADER_ATTRIBUTE, WILDCARD
Constructor and Description |
---|
LayoutTextParserDispatcher() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parse(char[] charArray,
TextParseContext context)
解析给定的字符串,并将解析到的所有属性及值保存到Map集合中返回。
|
void |
setLayoutTypeRegistry(LayoutTypeRegistry layoutTypeRegistry)
设置布局管理器类型的注册管理器。
|
void |
setTextParserHelper(TextParserHelper textParserHelper) |
dispatchAttribute, findAttributeParser, findSubParser, getAttributeParsers, getSubParsers, isIgnoredChar, isValidPropertyNameChar, parseHeader, parseToAttributes, registerAttributeParser, registerSubParser, supportsHeader
public void setLayoutTypeRegistry(LayoutTypeRegistry layoutTypeRegistry)
public void setTextParserHelper(TextParserHelper textParserHelper)
public java.lang.Object parse(char[] charArray, TextParseContext context) throws java.lang.Exception
DispatchableTextParser
parse
in interface TextParser
parse
in class DispatchableTextParser
charArray
- 要解析的字符串context
- 解析的上下文对象java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.