Class InvokeMediumMap

  • All Implemented Interfaces:
    Completable, Streamable

    public class InvokeMediumMap
    extends AbstractNamedAFPObject
    implements Completable
    The Invoke Medium Map structured field identifies the Medium Map that is to become active for the document. An Invoke Medium Map structured field affects the document's current environment. The Medium Map's effect on current environment parameter values lasts until a new Medium Map is invoked.
    • Constructor Detail

      • InvokeMediumMap

        public InvokeMediumMap​(java.lang.String name)
        Constructor for the Invoke Medium Map
        Parameters:
        name - the name of the medium map
    • Method Detail

      • writeToStream

        public void writeToStream​(java.io.OutputStream os)
                           throws java.io.IOException
        DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
        Specified by:
        writeToStream in interface Streamable
        Overrides:
        writeToStream in class AbstractStructuredObject
        Parameters:
        os - the outputsteam stream
        Throws:
        java.io.IOException - an I/O exception of some sort has occurred.
      • setComplete

        public void setComplete​(boolean complete)
        Description copied from interface: Completable
        Sets whether or not this object is complete or not
        Specified by:
        setComplete in interface Completable
        Parameters:
        complete - true if this object is complete
      • isComplete

        public boolean isComplete()
        Description copied from interface: Completable
        Returns true if this object is complete
        Specified by:
        isComplete in interface Completable
        Returns:
        true if this object is complete