StreamableAbstractDataObject, AbstractEnvironmentGroup, AbstractGraphicsDrawingOrderContainer, AbstractPageObject, ImageSegment, IMImageObject, IncludedResourceObject, IncludeObject, IncludePageOverlay, IncludePageSegment, InvokeMediumMap, ObjectEnvironmentGroup, PageSegment, PresentationTextObject, ResourceGroup, ResourceObjectpublic abstract class AbstractNamedAFPObject extends AbstractTripletStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
name |
The actual name of the object
|
LOG, SF_CLASS, SF_HEADER_LENGTHtriplets| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractNamedAFPObject() |
Default constructor
|
protected |
AbstractNamedAFPObject(java.lang.String name) |
Constructor for the ActiveEnvironmentGroup, this takes a
name parameter which should be 8 characters long.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
copySF(byte[] data,
byte type,
byte category) |
Copies the template structured field data array to the given byte array
|
java.lang.String |
getName() |
Returns the name of this object
|
byte[] |
getNameBytes() |
Returns the name as a byte array in EBCIDIC encoding
|
protected int |
getNameLength() |
Returns the name length
|
void |
setName(java.lang.String name) |
Sets the name of this object
|
java.lang.String |
toString() |
copySF, truncate, writeChunksToStream, writeObjectswriteContent, writeEnd, writeStart, writeToStreamaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletsprotected AbstractNamedAFPObject()
protected AbstractNamedAFPObject(java.lang.String name)
name - the object nameprotected int getNameLength()
public byte[] getNameBytes()
protected void copySF(byte[] data,
byte type,
byte category)
AbstractAFPObjectcopySF in class AbstractAFPObjectdata - the structured field data byte arraytype - the type codecategory - the category codepublic java.lang.String getName()
public void setName(java.lang.String name)
name - the object namepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.