Interface NamespaceParser


public interface NamespaceParser
A namespace parser to handle the different namespace for the attributes
Since:
7.0.3
Author:
jumperchen
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the namespace parser's priority, higher is the first.
    boolean
    Checks whether the namespace URI is used for this Namespace Parser.
    boolean
    parse(org.zkoss.idom.Attribute attr, ComponentInfo compInfo, PageDefinition pgdef)
    Parses the the content with the current namespace parser.
  • Method Details

    • isMatched

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

      boolean parse(org.zkoss.idom.Attribute attr, ComponentInfo compInfo, PageDefinition pgdef) throws Exception
      Parses the the content with the current namespace parser.
      Returns:
      true to terminal the next namespace parser processing
      Throws:
      Exception
    • getPriority

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