com.bea.b2b.protocol.messaging
Class MiniParser

java.lang.Object
  |
  +--com.bea.b2b.protocol.messaging.MiniParser

public class MiniParser
extends java.lang.Object

The MiniParser class represents a simple XML parser that provides the minimal parsing of headers.

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
MiniParser()
          Constructs a MiniParser.
 
Method Summary
static MiniParser get()
          Gets a MiniParser.
 void parse(java.io.InputStream is)
          Parses the specified input stream.
static void release(MiniParser parser)
          Releases the specified MiniParser.
 void setContentHandler(org.xml.sax.ContentHandler contentHandler)
          Sets the content handler for this MiniParser.
 void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
          Sets the error handler for this MiniParser.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiniParser

public MiniParser()
Constructs a MiniParser.
Method Detail

setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler contentHandler)
Sets the content handler for this MiniParser.

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
Sets the error handler for this MiniParser.

parse

public void parse(java.io.InputStream is)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Parses the specified input stream.

Parameters:
is - InputStream.

get

public static MiniParser get()
Gets a MiniParser.

release

public static void release(MiniParser parser)
Releases the specified MiniParser.