org.apache.fop.apps
Class InputHandler
java.lang.Object
|
+--org.apache.fop.apps.InputHandler
- Direct Known Subclasses:
- FOInputHandler, TraxInputHandler, XSLTInputHandler
- public abstract class InputHandler
- extends java.lang.Object
Method Summary |
protected static org.xml.sax.XMLReader |
createParser()
creates a SAX parser, using the value of org.xml.sax.parser
defaulting to org.apache.xerces.parsers.SAXParser |
static org.xml.sax.InputSource |
fileInputSource(java.io.File file)
create an InputSource from a File |
abstract org.xml.sax.InputSource |
getInputSource()
|
abstract org.xml.sax.XMLReader |
getParser()
|
static org.xml.sax.InputSource |
urlInputSource(java.net.URL url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputHandler
public InputHandler()
getInputSource
public abstract org.xml.sax.InputSource getInputSource()
getParser
public abstract org.xml.sax.XMLReader getParser()
throws FOPException
urlInputSource
public static org.xml.sax.InputSource urlInputSource(java.net.URL url)
fileInputSource
public static org.xml.sax.InputSource fileInputSource(java.io.File file)
- create an InputSource from a File
- Parameters:
file
- the File- Returns:
- the InputSource created
createParser
protected static org.xml.sax.XMLReader createParser()
throws FOPException
- creates a SAX parser, using the value of org.xml.sax.parser
defaulting to org.apache.xerces.parsers.SAXParser
- Returns:
- the created SAX parser
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.