org.apache.cocoon.parser
Class IBMXMLParser

java.lang.Object
  |
  +--org.apache.cocoon.framework.AbstractActor
        |
        +--org.apache.cocoon.parser.IBMXMLParser

public class IBMXMLParser
extends AbstractActor
implements Parser, Status

This class implements an XML parser using the XML4J 2.0 parser.

Version:
$Revision: 1.9 $ $Date: 1999/10/28 13:23:25 $
Author:
Stefano Mazzocchi

Fields inherited from class org.apache.cocoon.framework.AbstractActor
director
 
Constructor Summary
IBMXMLParser()
           
 
Method Summary
 org.w3c.dom.Document createEmptyDocument()
          Creates an empty DOM tree.
 java.lang.String getStatus()
          Returns information about the status of the implementing class.
 org.w3c.dom.Document parse(java.io.Reader in, java.lang.String sourceURI)
          Creates a DOM tree parsing the given input stream.
 
Methods inherited from class org.apache.cocoon.framework.AbstractActor
init
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

IBMXMLParser

public IBMXMLParser()
Method Detail

parse

public org.w3c.dom.Document parse(java.io.Reader in,
                                  java.lang.String sourceURI)
                           throws java.io.IOException
Description copied from interface: Parser
Creates a DOM tree parsing the given input stream.
Specified by:
parse in interface Parser

createEmptyDocument

public org.w3c.dom.Document createEmptyDocument()
Description copied from interface: Parser
Creates an empty DOM tree.
Specified by:
createEmptyDocument in interface Parser

getStatus

public java.lang.String getStatus()
Description copied from interface: Status
Returns information about the status of the implementing class. Note: this is use instead of the usual toString() method because some of these methods are declared final in some classes in JDK 1.1.
Specified by:
getStatus in interface Status


Copyright 1999 Java Apache Project. All Rights Reserved.