public class RenderingOptions
extends java.lang.Object
The API docs for don't explicitly state it, but the field values imply that the rendering options may be bitwise 'OR'ed together.
This is supported by using a comma separated list of when configuring rendering options (or manually bitwise OR the literal
values yourself). RENDER_EMPTY_TAGS,RENDER_WITH_TABS_AND_CRLF
will be equivalent to 65543 (65536 | 7)
.
Modifier and Type | Class and Description |
---|---|
static class |
RenderingOptions.Option
Provides a friendly text representation for each of the base options.
|
Constructor and Description |
---|
RenderingOptions() |
Modifier and Type | Method and Description |
---|---|
static int |
parse(java.lang.String s)
Parse the string into an associated option.
|
public static int parse(java.lang.String s) throws JcoException
s
- the literal value associated with RenderingOptions.Option
(e.g. "RENDER_WITH_TABS_AND_LF"), if a match is not
found, then the fallback is to assume the string is the correct integer value of the option.JcoException
- if the parse option could be interpretedCopyright Adaptris