public class Factory
extends java.lang.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(java.lang.String resourceName)
ResourceObject
resourceName
- the resource object nameResourceObject
public ResourceObject createResource()
ResourceObject
ResourceObject
public PageGroup createPageGroup(int tleSequence)
PageGroup
tleSequence
- current start tle sequence number within streamPageGroup
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(java.io.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(java.lang.String name, int x, int y)
IncludePageSegment
name
- the page segment namex
- the x coordinatey
- the y coordinateIncludePageSegment
public IncludeObject createInclude(java.lang.String name)
IncludeObject
name
- the name of this include objectIncludeObject
public TagLogicalElement createTagLogicalElement(java.lang.String name, java.lang.String value, int tleSequence)
TagLogicalElement
name
- name of the elementvalue
- value of the elementtleSequence
- current start tle sequence number within stream*TagLogicalElement
public DataStream createDataStream(AFPPaintingState paintingState, java.io.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
PresentationTextDescriptor
public PresentationEnvironmentControl createPresentationEnvironmentControl()
PresentationEnvironmentControl
PresentationEnvironmentControl
public InvokeMediumMap createInvokeMediumMap(java.lang.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
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.