public class NoOperation extends AbstractAFPObject implements Completable
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
NoOperation(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
|
String |
toString() |
void |
writeToStream(OutputStream os)
Accessor method to obtain the byte array AFP datastream for the
NoOperation.
|
copySF, copySF, truncate, writeChunksToStream, writeObjects
public NoOperation(String content)
content
- the content to recordpublic void writeToStream(OutputStream os) throws IOException
writeToStream
in interface Streamable
os
- The outputsteam streamIOException
- if an I/O exception occurs during processingpublic boolean isComplete()
isComplete
in interface Completable
public void setComplete(boolean complete)
setComplete
in interface Completable
complete
- true if this object is completeCopyright © 2025 Apache Software Foundation. All rights reserved.