Package org.apache.xmlgraphics.ps
Class PSProcSets.StdProcSet
java.lang.Object
org.apache.xmlgraphics.ps.PSResource
org.apache.xmlgraphics.ps.PSProcSet
org.apache.xmlgraphics.ps.PSProcSets.StdProcSet
- All Implemented Interfaces:
Comparable
,PSCommandMap
- Enclosing class:
- PSProcSets
The standard procset used by XML Graphics Commons.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map
A Map<String, String> of standard shorthand macros defined in thePSProcSets.StdProcSet
.Fields inherited from class org.apache.xmlgraphics.ps.PSResource
TYPE_CIDFONT, TYPE_CMAP, TYPE_ENCODING, TYPE_FILE, TYPE_FONT, TYPE_FORM, TYPE_PATTERN, TYPE_PROCSET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapCommand
(String command) Maps a standard PostScript command (like "setlinejoin" or "setrgbcolor") to a macro.void
writeTo
(PSGenerator gen) Methods inherited from class org.apache.xmlgraphics.ps.PSProcSet
getResourceSpecification, getRevision, getVersion
-
Field Details
-
STANDARD_MACROS
A Map<String, String> of standard shorthand macros defined in thePSProcSets.StdProcSet
.
-
-
Constructor Details
-
StdProcSet
public StdProcSet()
-
-
Method Details
-
writeTo
- Throws:
IOException
-
mapCommand
Maps a standard PostScript command (like "setlinejoin" or "setrgbcolor") to a macro. If no mapping is available, the command itself is returned again.- Specified by:
mapCommand
in interfacePSCommandMap
- Parameters:
command
- the command- Returns:
- the mapped command (or the "command" parameter if no mapping is available)
-