Class FopFactoryBuilder.FopFactoryConfigImpl

    • Field Detail

      • imageManager

        private final org.apache.xmlgraphics.image.loader.ImageManager imageManager
      • accessibility

        private boolean accessibility
      • keepEmptyTags

        private boolean keepEmptyTags
      • baseURI

        private java.net.URI baseURI
      • hasStrictFOValidation

        private boolean hasStrictFOValidation
      • hasStrictUserValidation

        private boolean hasStrictUserValidation
      • breakIndentInheritanceOnReferenceBoundary

        private boolean breakIndentInheritanceOnReferenceBoundary
      • sourceResolution

        private float sourceResolution
      • targetResolution

        private float targetResolution
      • pageHeight

        private java.lang.String pageHeight
      • pageWidth

        private java.lang.String pageWidth
      • ignoredNamespaces

        private java.util.Set<java.lang.String> ignoredNamespaces
      • preferRenderer

        private boolean preferRenderer
      • isComplexScript

        private boolean isComplexScript
      • hyphPatNames

        private java.util.Map<java.lang.String,​java.lang.String> hyphPatNames
      • tableBorderOverpaint

        private boolean tableBorderOverpaint
    • Method Detail

      • isAccessibilityEnabled

        public boolean isAccessibilityEnabled()
        Whether accessibility features are switched on.
        Specified by:
        isAccessibilityEnabled in interface FopFactoryConfig
        Returns:
        true if accessibility features have been requested
      • getResourceResolver

        public org.apache.xmlgraphics.io.ResourceResolver getResourceResolver()
        The URI resolver used through-out FOP for controlling all file access.
        Specified by:
        getResourceResolver in interface FopFactoryConfig
        Returns:
        the URI resolver
      • getBaseURI

        public java.net.URI getBaseURI()
        The base URI from which URIs are resolved against.
        Specified by:
        getBaseURI in interface FopFactoryConfig
        Returns:
        the base URI
      • validateStrictly

        public boolean validateStrictly()
        Returns whether FOP is strictly validating input XSL
        Specified by:
        validateStrictly in interface FopFactoryConfig
        Returns:
        true of strict validation turned on, false otherwise
      • validateUserConfigStrictly

        public boolean validateUserConfigStrictly()
        Is the user configuration to be validated?
        Specified by:
        validateUserConfigStrictly in interface FopFactoryConfig
        Returns:
        if the user configuration should be validated
      • isBreakIndentInheritanceOnReferenceAreaBoundary

        public boolean isBreakIndentInheritanceOnReferenceAreaBoundary()
        Specified by:
        isBreakIndentInheritanceOnReferenceAreaBoundary in interface FopFactoryConfig
        Returns:
        true if the indent inheritance should be broken when crossing reference area boundaries (for more info, see the javadoc for the relative member variable)
      • getSourceResolution

        public float getSourceResolution()
        Specified by:
        getSourceResolution in interface FopFactoryConfig
        Returns:
        the resolution for resolution-dependent input
      • getTargetResolution

        public float getTargetResolution()
        Specified by:
        getTargetResolution in interface FopFactoryConfig
        Returns:
        the resolution for resolution-dependent output
      • getPageHeight

        public java.lang.String getPageHeight()
        Gets the default page-height to use as fallback, in case page-height="auto"
        Specified by:
        getPageHeight in interface FopFactoryConfig
        Returns:
        the page-height, as a String
      • getPageWidth

        public java.lang.String getPageWidth()
        Gets the default page-width to use as fallback, in case page-width="auto"
        Specified by:
        getPageWidth in interface FopFactoryConfig
        Returns:
        the page-width, as a String
      • getIgnoredNamespaces

        public java.util.Set<java.lang.String> getIgnoredNamespaces()
        Specified by:
        getIgnoredNamespaces in interface FopFactoryConfig
        Returns:
        the set of namespaces that are ignored by FOP
      • isNamespaceIgnored

        public boolean isNamespaceIgnored​(java.lang.String namespace)
        Indicates whether a namespace URI is on the ignored list.
        Specified by:
        isNamespaceIgnored in interface FopFactoryConfig
        Parameters:
        namespace - the namespace URI
        Returns:
        true if the namespace is ignored by FOP
      • getImageManager

        public org.apache.xmlgraphics.image.loader.ImageManager getImageManager()
        Returns the image manager.
        Specified by:
        getImageManager in interface FopFactoryConfig
        Returns:
        the image manager
      • getHyphenationPatternNames

        public java.util.Map<java.lang.String,​java.lang.String> getHyphenationPatternNames()
        Specified by:
        getHyphenationPatternNames in interface FopFactoryConfig
        Returns:
        the hyphenation pattern names
      • getFallbackResolver

        public org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.FallbackResolver getFallbackResolver()
        Description copied from interface: FopFactoryConfig
        Controls the mechanisms that are used in the event that Source used for resources couldn't be read.
        Specified by:
        getFallbackResolver in interface FopFactoryConfig
        Returns:
        the fallback resolver