org.enhydra.barracuda.plankton.data
Class ObjectRepositoryAssembler.AssemblerXMLReader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.enhydra.barracuda.plankton.data.ObjectRepositoryAssembler.AssemblerXMLReader
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Enclosing class:
- ObjectRepositoryAssembler
- public class ObjectRepositoryAssembler.AssemblerXMLReader
- extends DefaultHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectRepositoryAssembler.AssemblerXMLReader
public ObjectRepositoryAssembler.AssemblerXMLReader()
ObjectRepositoryAssembler.AssemblerXMLReader
public ObjectRepositoryAssembler.AssemblerXMLReader(String parserClass,
ObjectRepository ior)
setParserClass
public void setParserClass(String iparserClass)
- Sets the SAX Parser
- Parameters:
iparserClass
- the SAX parser class (if null, defaults to DEFAULT_PARSER)
setObjectRepository
public void setObjectRepository(ObjectRepository ior)
- Sets the ObjectRepository that should be used
- Parameters:
ior
- the object repository
setup
public void setup()
- Initialization stuff... (Need a better description here!)
processXmlFile
public void processXmlFile(InputStream is)
startDocument
public void startDocument()
startElement
public void startElement(String uri,
String local,
String raw,
Attributes attrs)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String uri,
String local,
String raw)
throws SAXException
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
warning
public void warning(SAXParseException ex)
error
public void error(SAXParseException ex)
fatalError
public void fatalError(SAXParseException ex)
throws SAXException
- Throws:
SAXException
resolve
protected Object resolve(Object id)
Copyright © 2003 BarracudaMVC.org All Rights Reserved.