Google

Cocoon API: Interface Parser

org.apache.cocoon.parser
Interface Parser

All Known Implementing Classes:
AbstractParser

public interface Parser

This class must be implemented by the services that implement XML parsing capabilites in order to be used by Cocoon.

Version:
$Revision: 1.7 $ $Date: 2000/02/13 18:29:29 $
Author:
Stefano Mazzocchi


          Creates a DOM tree parsing the given input source and using the given entity resolver. boolean validate)
          Creates a DOM tree parsing the given input source and using the given entity resolver.
Method Summary
 org.w3c.dom.Document createEmptyDocument()
          Creates an empty DOM tree.
 org.w3c.dom.Document
 org.w3c.dom.Document
 

Method Detail
parse

                                  java.io.IOException
Creates a DOM tree parsing the given input source and using the given entity resolver.

parse
                                  boolean validate)
                                  java.io.IOException
Creates a DOM tree parsing the given input source and using the given entity resolver.

createEmptyDocument

public org.w3c.dom.Document createEmptyDocument()
Creates an empty DOM tree.


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.