Interface NamespaceParser


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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​(org.zkoss.idom.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​(org.zkoss.idom.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.