anvil.script.statements.taglib
Class Parser
java.lang.Object
|
+--anvil.script.statements.taglib.Parser
- All Implemented Interfaces:
- DocumentHandler
- public class Parser
- extends java.lang.Object
- implements DocumentHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser(ErrorListener listener)
error
public void error(java.lang.String message)
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocator in interface DocumentHandler
startDocument
public void startDocument()
- Specified by:
startDocument in interface DocumentHandler
endDocument
public void endDocument()
- Specified by:
endDocument in interface DocumentHandler
handleCharacters
public void handleCharacters(java.lang.String cdata)
- Specified by:
handleCharacters in interface DocumentHandler
handleComment
public void handleComment(java.lang.String cdata)
- Specified by:
handleComment in interface DocumentHandler
handleTag
public void handleTag(Tag tag)
- Specified by:
handleTag in interface DocumentHandler
handleProcessingInstruction
public void handleProcessingInstruction(java.lang.String data)
- Specified by:
handleProcessingInstruction in interface DocumentHandler
getLibrary
public TagLibrary getLibrary()
parse
public static TagLibrary parse(ErrorListener listener,
Resource resource,
Location location,
java.lang.String namespace,
java.lang.String tagns)