org.sapia.util.xml.confix
Class SAXProcessor
java.lang.Object
|
+--org.sapia.util.xml.confix.AbstractXMLProcessor
|
+--org.sapia.util.xml.confix.SAXProcessor
- All Implemented Interfaces:
- ConfixProcessorIF
- public class SAXProcessor
- extends AbstractXMLProcessor
An instance of this class receives SAX events and delegates object creation
to an ObjectFactoryIF.
- Author:
- JC Desrochers
- Copyright:
- Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
|
Method Summary |
Object |
process(InputStream is)
This method takes an XML stream as input and returns an object
representation of the passed-in XML. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXProcessor
public SAXProcessor(ObjectFactoryIF anObjectFactory)
- Creates a new SAXProcessor instance with the attribute passed in.
- Parameters:
anObjectFactory - The object factory of this processor.
process
public Object process(InputStream is)
throws ProcessingException
- This method takes an XML stream as input and returns an object
representation of the passed-in XML.
- Parameters:
is - an XML stream
- Returns:
- an object representation of the XML stream.
- Throws:
ProcessingException
Copyright © 2002 Sapia Open Source Software. All Rights Reserved.