public class TagLogicalElement extends AbstractTripletStructuredObject
Modifier and Type | Class and Description |
---|---|
static class |
TagLogicalElement.State
Holds the attribute state of a TLE
|
AbstractAFPObject.Category, AbstractAFPObject.Type
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
TagLogicalElement(TagLogicalElement.State state)
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 |
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, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart
copySF, copySF, truncate, writeChunksToStream, writeObjects
public TagLogicalElement(TagLogicalElement.State state)
state
- the state of the tag logical elementpublic 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 Streamable
writeToStream
in class AbstractStructuredObject
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.