org.zkoss.zk.ui.util
Interface ConfigParser


public interface ConfigParser

A 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
</system-config>

Since:
5.0.0
Author:
tomyeh

Method Summary
 boolean parse(Configuration config, Element el)
          Called to parse application-specific elements.
 

Method Detail

parse

boolean parse(Configuration config,
              Element el)
Called to parse application-specific elements.

Parameters:
config - the configuration to store the info. The info can be stored with Configuration.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.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo