public class NoOperation extends AbstractAFPObject implements Completable
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
NoOperation(java.lang.String content)
Construct a tag logical element with the name and value specified.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComplete()
Returns true if this object is complete
|
void |
setComplete(boolean complete)
Sets whether or not this object is complete or not
|
java.lang.String |
toString() |
void |
writeToStream(java.io.OutputStream os)
Accessor method to obtain the byte array AFP datastream for the
NoOperation.
|
copySF, copySF, truncate, writeChunksToStream, writeObjectspublic NoOperation(java.lang.String content)
content - the content to recordpublic void writeToStream(java.io.OutputStream os)
throws java.io.IOException
writeToStream in interface Streamableos - The outputsteam streamjava.io.IOException - if an I/O exception occurs during processingpublic boolean isComplete()
isComplete in interface Completablepublic void setComplete(boolean complete)
setComplete in interface Completablecomplete - true if this object is completepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.