|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.AbstractStructuredObject
org.apache.fop.afp.modca.AbstractTripletStructuredObject
org.apache.fop.afp.modca.AbstractNamedAFPObject
public abstract class AbstractNamedAFPObject
This is the base class for all named data stream objects. A named data stream object has an 8 byte EBCIDIC name.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
protected java.lang.String |
name
The actual name of the object |
Fields inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
---|
triplets |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
---|
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets |
Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject |
---|
writeContent, writeEnd, writeStart, writeToStream |
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
copyChunks, copySF, truncate, writeChunksToStream, writeObjects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
Constructor Detail |
---|
protected AbstractNamedAFPObject()
protected AbstractNamedAFPObject(java.lang.String name)
name
- the object nameMethod Detail |
---|
protected int getNameLength()
public byte[] getNameBytes()
protected void copySF(byte[] data, byte type, byte category)
copySF
in class AbstractAFPObject
data
- 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.Object
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |