org.zkoss.zk.ui.metainfo
Interface NamespaceParser

All Known Implementing Classes:
ClientBinderCommandParser

public interface NamespaceParser

A namespace parser to handle the different namespace for the attributes

Since:
7.0.3
Author:
jumperchen

Method Summary
 int getPriority()
          Returns the namespace parser's priority, higher is the first.
 boolean isMatched(java.lang.String nsURI)
          Checks whether the namespace URI is used for this Namespace Parser.
 boolean parse(Attribute attr, ComponentInfo compInfo, PageDefinition pgdef)
          Parses the the content with the current namespace parser.
 

Method Detail

isMatched

boolean isMatched(java.lang.String nsURI)
Checks whether the namespace URI is used for this Namespace Parser.


parse

boolean parse(Attribute attr,
              ComponentInfo compInfo,
              PageDefinition pgdef)
              throws java.lang.Exception
Parses the the content with the current namespace parser.

Returns:
true to terminal the next namespace parser processing
Throws:
java.lang.Exception

getPriority

int getPriority()
Returns the namespace parser's priority, higher is the first.



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