Uses of Class org.apache.fop.afp.util.AFPResourceAccessor (Apache FOP Core 2.11 API)
Date: 2025-04-24

## Uses of Class
org.apache.fop.afp.util.AFPResourceAccessor

- Packages that use AFPResourceAccessor
  Package | Description
  --- | ---
  org.apache.fop.afp | Contains an AFP library.
  org.apache.fop.afp.fonts | Contains a collection of AFP Graphics Object Content Architecture (GOCA) structured objects.
  org.apache.fop.afp.modca | Contains a collection of AFP Mixed Object Document Content Architecture (MO:DCA) structured objects.

- - ### Uses of AFPResourceAccessor in org.apache.fop.afp

    Methods in org.apache.fop.afp with parameters of type AFPResourceAccessor
    Modifier and Type | Method and Description
    --- | ---
    `void` | AFPResourceManager.`createIncludedResource(String resourceName, AFPResourceAccessor accessor, byte resourceObjectType)` Creates an included resource object by loading the contained object from a file.
    `void` | AFPResourceManager.`createIncludedResource(String resourceName, URI uri, AFPResourceAccessor accessor, byte resourceObjectType, boolean truetype, String ttc)` Creates an included resource object by loading the contained object from a file.
    `void` | AFPResourceManager.`createIncludedResourceFromExternal(String resourceName, URI uri, AFPResourceAccessor accessor)` Creates an included resource extracting the named resource from an external source.

  - ### Uses of AFPResourceAccessor in org.apache.fop.afp.fonts

    Methods in org.apache.fop.afp.fonts that return AFPResourceAccessor
    Modifier and Type | Method and Description
    --- | ---
    `AFPResourceAccessor` | CharacterSet.`getResourceAccessor()` Returns the resource accessor to load the font resources with.

    Methods in org.apache.fop.afp.fonts with parameters of type AFPResourceAccessor
    Modifier and Type | Method and Description
    --- | ---
    `CharacterSet` | CharacterSetBuilder.`build(String characterSetName, String codePageName, String encoding, Typeface typeface, AFPResourceAccessor accessor, AFPEventProducer eventProducer)`
    `CharacterSet` | CharacterSetBuilder.`buildDBCS(String characterSetName, String codePageName, String encoding, CharacterSetType charsetType, AFPResourceAccessor accessor, AFPEventProducer eventProducer)` Load the font details and metrics into the CharacterSetMetric object, this will use the actual afp code page and character set files to load the object with the necessary metrics.
    `CharacterSet` | CharacterSetBuilder.`buildSBCS(String characterSetName, String codePageName, String encoding, AFPResourceAccessor accessor, AFPEventProducer eventProducer)` Load the font details and metrics into the CharacterSetMetric object, this will use the actual afp code page and character set files to load the object with the necessary metrics.
    `protected Map<String,String>` | CharacterSetBuilder.`loadCodePage(String codePage, String encoding, AFPResourceAccessor accessor, AFPEventProducer eventProducer)` Load the code page information from the appropriate file.

    Constructors in org.apache.fop.afp.fonts with parameters of type AFPResourceAccessor
    Constructor and Description
    `FopCharacterSet(String codePage, String encoding, String name, Typeface charSet, AFPResourceAccessor accessor, AFPEventProducer eventProducer)`

  - ### Uses of AFPResourceAccessor in org.apache.fop.afp.modca

    Constructors in org.apache.fop.afp.modca with parameters of type AFPResourceAccessor
    Constructor and Description
    `IncludedResourceObject(String name, AFPResourceAccessor resourceAccessor, URI uri)` Main constructor.

Copyright © 2025 Apache Software Foundation. All rights reserved.