public class FopConfParser extends Object
FopFactoryBuilder
which builds a
FopFactory
.Constructor and Description |
---|
FopConfParser(Configuration cfg,
FopFactoryBuilder fopFactoryBuilder) |
FopConfParser(File fopConfFile)
Constructor that takes the FOP conf and uses the default URI resolver.
|
FopConfParser(File fopConfFile,
org.apache.xmlgraphics.io.ResourceResolver resourceResolver)
Constructor that parses the FOP conf and uses the URI resolver given.
|
FopConfParser(File fopConfFile,
URI defaultBaseURI)
Constructor that takes the FOP conf and a default base URI and uses the default URI resolver.
|
FopConfParser(InputStream fopConfStream,
EnvironmentProfile enviro)
Constructor that takes the FOP conf in the form of an
InputStream . |
FopConfParser(InputStream fopConfStream,
URI defaultBaseURI)
Constructor that takes the FOP conf in the form of an
InputStream . |
FopConfParser(InputStream fopConfStream,
URI baseURI,
EnvironmentProfile enviro) |
FopConfParser(InputStream fopConfStream,
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(InputStream fopConfStream, EnvironmentProfile enviro) throws SAXException, 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 environmentSAXException
- if a SAX error was thrown parsing the FOP confIOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(InputStream fopConfStream, URI defaultBaseURI, org.apache.xmlgraphics.io.ResourceResolver resourceResolver) throws SAXException, 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 resolverSAXException
- if a SAX error was thrown parsing the FOP confIOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(InputStream fopConfStream, URI defaultBaseURI) throws SAXException, 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 URISAXException
- if a SAX error was thrown parsing the FOP confIOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(File fopConfFile) throws SAXException, IOException
fopConfFile
- the FOP conf fileSAXException
- if a SAX error was thrown parsing the FOP confIOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(File fopConfFile, URI defaultBaseURI) throws SAXException, IOException
fopConfFile
- the FOP conf filedefaultBaseURI
- the default base URISAXException
- if a SAX error was thrown parsing the FOP confIOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(File fopConfFile, org.apache.xmlgraphics.io.ResourceResolver resourceResolver) throws SAXException, IOException
fopConfFile
- the FOP conf fileresourceResolver
- the URI resolverSAXException
- if a SAX error was thrown parsing the FOP confIOException
- if an I/O error is thrown while parsing the FOP confpublic FopConfParser(InputStream fopConfStream, URI baseURI, EnvironmentProfile enviro) throws SAXException, IOException
SAXException
IOException
public FopConfParser(Configuration cfg, FopFactoryBuilder fopFactoryBuilder) throws SAXException
SAXException
public FopFactoryBuilder getFopFactoryBuilder()
FopFactoryBuilder
.FopFactory
Copyright © 2025 Apache Software Foundation. All rights reserved.