public class FopConfParser
extends java.lang.Object
FopFactoryBuilder
which builds a
FopFactory
.Constructor and Description |
---|
FopConfParser(java.io.File fopConfFile)
Constructor that takes the FOP conf and uses the default URI resolver.
|
FopConfParser(java.io.File fopConfFile,
org.apache.xmlgraphics.io.ResourceResolver resourceResolver)
Constructor that parses the FOP conf and uses the URI resolver given.
|
FopConfParser(java.io.File fopConfFile,
java.net.URI defaultBaseURI)
Constructor that takes the FOP conf and a default base URI and uses the default URI resolver.
|
FopConfParser(java.io.InputStream fopConfStream,
EnvironmentProfile enviro)
Constructor that takes the FOP conf in the form of an
InputStream . |
FopConfParser(java.io.InputStream fopConfStream,
java.net.URI defaultBaseURI)
Constructor that takes the FOP conf in the form of an
InputStream . |
FopConfParser(java.io.InputStream fopConfStream,
java.net.URI baseURI,
EnvironmentProfile enviro) |
FopConfParser(java.io.InputStream fopConfStream,
java.net.URI defaultBaseURI,
org.apache.xmlgraphics.io.ResourceResolver resourceResolver)
Constructor that takes the FOP conf in the form of an
InputStream . |
Modifier and Type | Method and Description |
---|---|
FopFactoryBuilder |
getFopFactoryBuilder()
Returns the
FopFactoryBuilder . |
public FopConfParser(java.io.InputStream fopConfStream, EnvironmentProfile enviro) throws org.xml.sax.SAXException, java.io.IOException
InputStream
. A default base URI
must be given as a fall-back mechanism for URI resolution.fopConfStream
- the fop conf input streamenviro
- the profile of the FOP deployment environmentorg.xml.sax.SAXException
- if a SAX error was thrown parsing the FOP confjava.io.IOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(java.io.InputStream fopConfStream, java.net.URI defaultBaseURI, org.apache.xmlgraphics.io.ResourceResolver resourceResolver) throws org.xml.sax.SAXException, java.io.IOException
InputStream
. A default base URI
must be given as a fall-back mechanism for URI resolution.fopConfStream
- the fop conf input streamdefaultBaseURI
- the default base URIresourceResolver
- the URI resolverorg.xml.sax.SAXException
- if a SAX error was thrown parsing the FOP confjava.io.IOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(java.io.InputStream fopConfStream, java.net.URI defaultBaseURI) throws org.xml.sax.SAXException, java.io.IOException
InputStream
. A default base URI
must be given as a fall-back mechanism for URI resolution. The default URI resolvers is used.fopConfStream
- the fop conf input streamdefaultBaseURI
- the default base URIorg.xml.sax.SAXException
- if a SAX error was thrown parsing the FOP confjava.io.IOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(java.io.File fopConfFile) throws org.xml.sax.SAXException, java.io.IOException
fopConfFile
- the FOP conf fileorg.xml.sax.SAXException
- if a SAX error was thrown parsing the FOP confjava.io.IOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(java.io.File fopConfFile, java.net.URI defaultBaseURI) throws org.xml.sax.SAXException, java.io.IOException
fopConfFile
- the FOP conf filedefaultBaseURI
- the default base URIorg.xml.sax.SAXException
- if a SAX error was thrown parsing the FOP confjava.io.IOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(java.io.File fopConfFile, org.apache.xmlgraphics.io.ResourceResolver resourceResolver) throws org.xml.sax.SAXException, java.io.IOException
fopConfFile
- the FOP conf fileresourceResolver
- the URI resolverorg.xml.sax.SAXException
- if a SAX error was thrown parsing the FOP confjava.io.IOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(java.io.InputStream fopConfStream, java.net.URI baseURI, EnvironmentProfile enviro) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
public FopFactoryBuilder getFopFactoryBuilder()
FopFactoryBuilder
.FopFactory
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.