intarsys PDF library API

de.intarsys.tools.attribute
Interface IAttributeSupport

All Known Implementing Classes:
AttributeSupport, CDSBase, CDSDate, CDSMatrix, CDSNameTreeNode, CDSNumberTreeNode, CDSRectangle, CDSTreeNode, CIDFont, CIDFontType0, CIDFontType2, CIDSystemInfo, CIDToGIDMap, CMap, COSArray, COSBasedObject, COSCatalog, COSCompositeObject, COSDictionary, COSDocument, COSEncryption, COSInfoDict, COSObjectProxy, COSObjectStream, COSStream, COSTrailer, FDFDF, FDField, FDObject, IdentityCMap, NamedCMap, NamedGIDMap, PDAcroForm, PDAcroFormField, PDAcroFormNode, PDAction, PDActionAny, PDActionGoTo, PDActionGoToR, PDActionJavaScript, PDActionLaunch, PDActionNamed, PDActionResetForm, PDActionSubmitForm, PDActionURI, PDAdditionalActions, PDAFButtonField, PDAFChoiceField, PDAFIntermediateNode, PDAFSignatureField, PDAFTextField, PDAnnotation, PDAnyAnnotation, PDAppearance, PDAppearanceCharacteristics, PDApplicationData, PDAxialShading, PDBorderStyle, PDBuildData, PDBuildProperties, PDColorSpace, PDCoonsShading, PDCSCalGray, PDCSCalRGB, PDCSCIEBased, PDCSDevice, PDCSDeviceCMYK, PDCSDeviceGray, PDCSDeviceN, PDCSDeviceRGB, PDCSICCBased, PDCSIndexed, PDCSLab, PDCSPattern, PDCSSeparation, PDCSSpecial, PDDestination, PDDocument, PDEmbeddedFile, PDExplicitDestination, PDExtGState, PDFileAttachmentAnnotation, PDFileSpecification, PDFileSpecificationURL, PDFont, PDFontAny, PDFontDescriptor, PDFontDescriptorEmbedded, PDFontDescriptorType1, PDFontMMType1, PDFontTrueType, PDFontType0, PDFontType1, PDFontType3, PDForm, PDFreeFormShading, PDFunction, PDFunctionBasedShading, PDIconFit, PDImage, PDInterpolationFunction, PDLatticeFormShading, PDLinkAnnotation, PDMarkupAnnotation, PDNamedDestination, PDObject, PDOutline, PDOutlineItem, PDOutlineNode, PDOutputIntent, PDPage, PDPageNode, PDPageTree, PDPattern, PDPopupAnnotation, PDPostScript, PDPostScriptFunction, PDRadialShading, PDResources, PDSampledFunction, PDShading, PDShadingPattern, PDSignature, PDSignatureReference, PDStampAnnotation, PDStitchingFunction, PDTensorProductShading, PDTextAnnotation, PDTextMarkupAnnotation, PDTilingPattern, PDTransformMethod, PDTransformMethodDocMDP, PDTransformMethodFieldMDP, PDTransformMethodIdentity, PDTransformMethodUR, PDTransformParams, PDWidgetAnnotation, PDXObject, StreamBasedCMap, StreamBasedGIDMap

public interface IAttributeSupport

This interface declares support for "generic attributes".

This means the object implementing this interface may be extended transparently by its clients with name/value pairs. These attributes and their values are stored but not interpreted by the object that implements this interface.


Method Summary
 Object getAttribute(Object key)
          get an attribute from the context
 Object removeAttribute(Object key)
          remove an attribute in the context
 Object setAttribute(Object key, Object o)
          set the value of an attribute in the context
 

Method Detail

setAttribute

Object setAttribute(Object key,
                    Object o)
set the value of an attribute in the context

Parameters:
key - the name of the attribute to set
o - the new value the attribute
Returns:
The previously associated object for key

getAttribute

Object getAttribute(Object key)
get an attribute from the context

Parameters:
key - the name of the attribute to get
Returns:
The value of the attribute to get

removeAttribute

Object removeAttribute(Object key)
remove an attribute in the context

Parameters:
key - the name of the attribute to remove
Returns:
The previously associated object for key

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.