Package org.apache.fop.afp.modca
Class InvokeMediumMap
- All Implemented Interfaces:
Completable,Streamable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type -
Field Summary
Fields inherited from class org.apache.fop.afp.modca.AbstractNamedAFPObject
nameFields inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject
tripletsFields inherited from class org.apache.fop.afp.modca.AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this object is completevoidsetComplete(boolean complete) Sets whether or not this object is complete or notvoidDataStream objects must implement the writeToStream() method to write its data to the given OutputStreamMethods inherited from class org.apache.fop.afp.modca.AbstractNamedAFPObject
copySF, getName, getNameBytes, getNameLength, setName, toStringMethods inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletsMethods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject
writeContent, writeEnd, writeStartMethods inherited from class org.apache.fop.afp.modca.AbstractAFPObject
copySF, truncate, writeChunksToStream, writeObjects
-
Constructor Details
-
InvokeMediumMap
Constructor for the Invoke Medium Map- Parameters:
name- the name of the medium map
-
-
Method Details
-
writeToStream
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Specified by:
writeToStreamin interfaceStreamable- Overrides:
writeToStreamin classAbstractStructuredObject- Parameters:
os- the outputsteam stream- Throws:
IOException- an I/O exception of some sort has occurred.
-
setComplete
public void setComplete(boolean complete) Description copied from interface:CompletableSets whether or not this object is complete or not- Specified by:
setCompletein interfaceCompletable- Parameters:
complete- true if this object is complete
-
isComplete
public boolean isComplete()Description copied from interface:CompletableReturns true if this object is complete- Specified by:
isCompletein interfaceCompletable- Returns:
- true if this object is complete
-