Package org.zkoss.zk.ui.util
Interface ConfigParser
-
public interface ConfigParserA configuration parser is an application-specific parser to parse the configurations in zk.xml.You can specify it in /metainfo/config.xml or WEB-INF/zk.xml as follows:
<system-config> <config-parser-class>com.foo.ConfigParser</config-parser-class> </system-config>- Since:
- 5.0.0
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanparse(Configuration config, org.zkoss.idom.Element el)Called to parse application-specific elements.
-
-
-
Method Detail
-
parse
boolean parse(Configuration config, org.zkoss.idom.Element el)
Called to parse application-specific elements.- Parameters:
config- the configuration to store the info. The info can be stored withConfiguration.setAttribute(java.lang.String, java.lang.Object).el- the element in zk.xml to be parsed- Returns:
- whether the specified element is parsed by this parser. Return false if this parser doesn't recognize it.
-
-