public class NoOperation extends AbstractAFPObject implements Completable
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, 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, writeObjects
public NoOperation(java.lang.String content)
content
- the content to recordpublic void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
os
- The outputsteam streamjava.io.IOException
- 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 completepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.