public class TagLogicalElement extends AbstractTripletStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.TypetripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
TagLogicalElement(java.lang.String name,
java.lang.String value,
int tleID)
Construct a tag logical element with the name and value specified.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAttributeQualifier(int seqNumber,
int levNumber)
Sets the attribute qualifier of this structured field
|
void |
setAttributeValue(java.lang.String value)
Sets the attribute value of this structured field
|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTripletswriteContent, writeEnd, writeStartcopySF, copySF, truncate, writeChunksToStream, writeObjectspublic TagLogicalElement(java.lang.String name,
java.lang.String value,
int tleID)
name - the name of the tag logical elementvalue - the value of the tag logical elementtleID - unique identifier for TLE within AFP streampublic void setAttributeValue(java.lang.String value)
value - the attribute valuepublic void setAttributeQualifier(int seqNumber,
int levNumber)
seqNumber - the attribute sequence numberlevNumber - the attribute level numberpublic void writeToStream(java.io.OutputStream os)
throws java.io.IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamjava.io.IOException - an I/O exception of some sort has occurred.Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.