public static class PPO_PreprocessPresentationObject.PPO_RepeatingGroup extends RepeatingGroupWithTriplets
| Modifier and Type | Class and Description |
|---|---|
static class |
PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag |
tripletsrepeatingGroupLength| Constructor and Description |
|---|
PPO_RepeatingGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
Decodes the given AFP data.
Parameter length specifies the length in bytes of the data to be decoded, beginning with position offset. |
java.util.EnumSet<PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag> |
getFlags() |
AFPObjectType |
getObjectType() |
byte[] |
getReserved3_4() |
int |
getxOrigin() |
int |
getyOrigin() |
void |
setFlag(PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag flag)
Sets the given flag and unsets the mutually exclusive flags.
|
void |
setFlags(java.util.EnumSet<PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag> flags) |
void |
setObjectType(AFPObjectType objectType) |
void |
setReserved3_4(byte[] reserved3_4) |
void |
setxOrigin(int xOrigin) |
void |
setyOrigin(int yOrigin) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
addTriplet, getTriplets, removeTriplet, setTriplets, validategetRepeatingGroupLength, setRepeatingGroupLengthpublic void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteabledecodeAFP in class RepeatingGroupWithTripletssfData - contains the AFP data to decode.offset - the byte index position where the decoding should start.length - the length in bytes of the data to be decoded, beginning with position offset.config - contains parameter used for decoding.AFPParserException - if the given AFP data are invalid.public void writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
throws java.io.IOException
IAFPDecodeableWriteablewriteAFP in interface IAFPDecodeableWriteablewriteAFP in class RepeatingGroupWithTripletsos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public void setFlag(PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag flag)
flag - PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag to set.public AFPObjectType getObjectType()
public void setObjectType(AFPObjectType objectType)
public byte[] getReserved3_4()
public void setReserved3_4(byte[] reserved3_4)
public java.util.EnumSet<PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag> getFlags()
public void setFlags(java.util.EnumSet<PPO_PreprocessPresentationObject.PPO_RepeatingGroup.PPO_Flag> flags)
public int getxOrigin()
public void setxOrigin(int xOrigin)
public int getyOrigin()
public void setyOrigin(int yOrigin)