org.apache.fop.render.afp.modca

Class NoOperation


public class NoOperation
extends AbstractAFPObject

The No Operation structured field may be used to carry comments or any other type of unarchitected data. Although not recommended, it may also be used to carry semantic data in private or exchange data streams. However, because receivers of interchange data streams should ignore the content of No Operation structured fields and because receiver-generator products are not required to propagate No Operation structured fields, no semantics should be attached to the data carried by the No Operation structured field in interchange

Field Summary

Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

log

Constructor Summary

NoOperation(String content)
Construct a tag logical element with the name and value specified.

Method Summary

void
writeDataStream(OutputStream os)
Accessor method to obtain the byte array AFP datastream for the NoOperation.

Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

writeDataStream, writeObjectList

Constructor Details

NoOperation

public NoOperation(String content)
Construct a tag logical element with the name and value specified.
Parameters:
content - the content to record

Method Details

writeDataStream

public void writeDataStream(OutputStream os)
            throws IOException
Accessor method to obtain the byte array AFP datastream for the NoOperation.
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The outputsteam stream

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.