Code example for LexicalHandler

Methods: comment

  public void comment(char ch[], int start, int length) throws SAXException
    if (null != m_resultLexicalHandler)
      m_resultLexicalHandler.comment(ch, start, length);
  // Implement DeclHandler 
     * Report an element type declaration. 
     * <p>The content model will consist of the string "EMPTY", the 
     * string "ANY", or a parenthesised group, optionally followed 
     * by an occurrence indicator.  The model will be normalized so 
     * that all whitespace is removed,and will include the enclosing 
     * parentheses.</p> 
     * @param name The element type name. 
     * @param model The content model as a normalized string.