public class Factory extends Object
Constructor and Description |
---|
Factory()
Main constructor
|
public ImageObject createImageObject()
ImageObject
ImageObject
public IMImageObject createIMImageObject()
IMImageObject
IMImageObject
public GraphicsObject createGraphicsObject()
GraphicsObject
GraphicsObject
public ObjectContainer createObjectContainer()
ObjectContainer
ObjectContainer
public ResourceObject createResource(String resourceName)
ResourceObject
resourceName
- the resource object nameResourceObject
public ResourceObject createResource()
ResourceObject
ResourceObject
public PageGroup createPageGroup()
PageGroup
PageGroup
public ActiveEnvironmentGroup createActiveEnvironmentGroup(int width, int height, int widthRes, int heightRes)
ActiveEnvironmentGroup
width
- the page widthheight
- the page heightwidthRes
- the page width resolutionheightRes
- the page height resolutionActiveEnvironmentGroup
public ResourceGroup createResourceGroup()
ResourceGroup
ResourceGroup
public StreamedResourceGroup createStreamedResourceGroup(OutputStream os)
StreamedResourceGroup
os
- the outputstream of the streamed resource groupStreamedResourceGroup
public PageObject createPage(int pageWidth, int pageHeight, int pageRotation, int pageWidthRes, int pageHeightRes)
PageObject
.pageWidth
- the width of the pagepageHeight
- the height of the pagepageRotation
- the rotation of the pagepageWidthRes
- the width resolution of the pagepageHeightRes
- the height resolution of the pagePageObject
public PresentationTextObject createPresentationTextObject()
PresentationTextObject
.PresentationTextObject
public Overlay createOverlay(int width, int height, int widthRes, int heightRes, int overlayRotation)
Overlay
.width
- the width of the overlayheight
- the height of the overlaywidthRes
- the width resolution of the overlayheightRes
- the height resolution of the overlayoverlayRotation
- the rotation of the overlayOverlay
.public MapCodedFont createMapCodedFont()
MapCodedFont
MapCodedFont
public IncludePageSegment createIncludePageSegment(String name, int x, int y)
IncludePageSegment
name
- the page segment namex
- the x coordinatey
- the y coordinateIncludePageSegment
public IncludeObject createInclude(String name)
IncludeObject
name
- the name of this include objectIncludeObject
public TagLogicalElement createTagLogicalElement(TagLogicalElement.State state)
TagLogicalElement
state
- the attribute state for the TLETagLogicalElement
public DataStream createDataStream(AFPPaintingState paintingState, OutputStream outputStream)
DataStream
paintingState
- the AFP painting stateoutputStream
- an outputstream to write toDataStream
public PageDescriptor createPageDescriptor(int width, int height, int widthRes, int heightRes)
PageDescriptor
width
- the page width.height
- the page height.widthRes
- the page width resolution.heightRes
- the page height resolution.PageDescriptor
public ObjectEnvironmentGroup createObjectEnvironmentGroup()
ObjectEnvironmentGroup
ObjectEnvironmentGroup
public GraphicsData createGraphicsData()
GraphicsData
GraphicsData
public ObjectAreaDescriptor createObjectAreaDescriptor(int width, int height, int widthRes, int heightRes)
ObjectAreaDescriptor
width
- the object width.height
- the object height.widthRes
- the object width resolution.heightRes
- the object height resolution.ObjectAreaDescriptor
public ObjectAreaPosition createObjectAreaPosition(int x, int y, int rotation)
ObjectAreaPosition
x
- the x coordinate.y
- the y coordinate.rotation
- the coordinate system rotation (must be 0, 90, 180, 270).ObjectAreaPosition
public ImageDataDescriptor createImageDataDescriptor(int width, int height, int widthRes, int heightRes)
ImageDataDescriptor
width
- the image widthheight
- the image heightwidthRes
- the x resolution of the imageheightRes
- the y resolution of the imageImageDataDescriptor
public GraphicsDataDescriptor createGraphicsDataDescriptor(int xlwind, int xrwind, int ybwind, int ytwind, int widthRes, int heightRes)
GraphicsDataDescriptor
xlwind
- the left edge of the graphics windowxrwind
- the right edge of the graphics windowybwind
- the top edge of the graphics windowytwind
- the bottom edge of the graphics windowwidthRes
- the x resolution of the graphics windowheightRes
- the y resolution of the graphics windowGraphicsDataDescriptor
public ContainerDataDescriptor createContainerDataDescriptor(int dataWidth, int dataHeight, int widthRes, int heightRes)
ContainerDataDescriptor
dataWidth
- the container data widthdataHeight
- the container data heightwidthRes
- the container data width resolutionheightRes
- the container data height resolutionContainerDataDescriptor
public MapContainerData createMapContainerData(byte optionValue)
MapContainerData
optionValue
- the option valueMapContainerData
public MapDataResource createMapDataResource()
MapDataResource
MapDataResource
public PresentationTextDescriptor createPresentationTextDataDescriptor(int width, int height, int widthRes, int heightRes)
PresentationTextDescriptor
width
- presentation widthheight
- presentation heightwidthRes
- resolution of presentation widthheightRes
- resolution of presentation heightPresentationTextDescriptor
public PresentationEnvironmentControl createPresentationEnvironmentControl()
PresentationEnvironmentControl
PresentationEnvironmentControl
public InvokeMediumMap createInvokeMediumMap(String name)
InvokeMediumMap
name
- the object nameInvokeMediumMap
public ResourceEnvironmentGroup createResourceEnvironmentGroup()
ResourceEnvironmentGroup
ResourceEnvironmentGroup
public ImageSegment createImageSegment()
ImageSegment
ImageSegment
public ImageContent createImageContent()
ImageContent
ImageContent
public ImageRasterData createImageRasterData(byte[] rasterData)
ImageRasterData
rasterData
- raster dataImageRasterData
public ImageSizeParameter createImageSizeParameter(int hsize, int vsize, int hresol, int vresol)
ImageSizeParameter
.hsize
- The horizontal size of the image.vsize
- The vertical size of the image.hresol
- The horizontal resolution of the image.vresol
- The vertical resolution of the image.ImageSizeParameter
public TileTOC createTileTOC()
public TileSize createTileSize(int dataWidth, int dataHeight, int dataWidthRes, int dataHeightRes)
public TilePosition createTilePosition()
public Tile createTile()
public BandImage createBandImage()
Copyright © 2025 Apache Software Foundation. All rights reserved.