/** * Writes out the "default" CSS stylesheet specified via {@link #readBuiltinInlineCSSProperties()}, * saving the results to the given {@link OutputStream}. */ public static void writeDefaultStylesheet(OutputStream cssOutputStream) { writeStylesheet(readBuiltinInlineCSSProperties(), cssOutputStream); }
/** * Writes out the "default" CSS stylesheet specified via {@link #readBuiltinInlineCSSProperties()}, * returning the result as a String. */ public static String writeDefaultStylesheet() { return writeStylesheet(readBuiltinInlineCSSProperties()); }
/** * Reads in the custom CSS {@link Properties} Object specified by the given * {@link DOMOutputOptions}. If nothing has been supplied, then it reads in the * default CSS Properties via {@link #readBuiltinInlineCSSProperties()} as a fallback. */ public static Properties readInlineCSSProperties(DOMOutputOptions options) { Properties properties = options.getInlineCSSProperties(); if (properties==null) { properties = readBuiltinInlineCSSProperties(); } return properties; }
/** * Writes out the "default" CSS stylesheet specified via {@link #readBuiltinInlineCSSProperties()}, * returning the result as a String. */ public static String writeDefaultStylesheet() { return writeStylesheet(readBuiltinInlineCSSProperties()); }
/** * Writes out the "default" CSS stylesheet specified via {@link #readBuiltinInlineCSSProperties()}, * returning the result as a String. */ public static String writeDefaultStylesheet() { return writeStylesheet(readBuiltinInlineCSSProperties()); }
/** * Writes out the "default" CSS stylesheet specified via {@link #readBuiltinInlineCSSProperties()}, * saving the results to the given {@link OutputStream}. */ public static void writeDefaultStylesheet(OutputStream cssOutputStream) { writeStylesheet(readBuiltinInlineCSSProperties(), cssOutputStream); }
/** * Reads in the custom CSS {@link Properties} Object specified by the given * {@link DOMOutputOptions}. If nothing has been supplied, then it reads in the * default CSS Properties via {@link #readBuiltinInlineCSSProperties()} as a fallback. */ public static Properties readInlineCSSProperties(DOMOutputOptions options) { Properties properties = options.getInlineCSSProperties(); if (properties==null) { properties = readBuiltinInlineCSSProperties(); } return properties; }
/** * Writes out the "default" CSS stylesheet specified via {@link #readBuiltinInlineCSSProperties()}, * saving the results to the given {@link OutputStream}. */ public static void writeDefaultStylesheet(OutputStream cssOutputStream) { writeStylesheet(readBuiltinInlineCSSProperties(), cssOutputStream); }
/** * Reads in the custom CSS {@link Properties} Object specified by the given * {@link DOMOutputOptions}. If nothing has been supplied, then it reads in the * default CSS Properties via {@link #readBuiltinInlineCSSProperties()} as a fallback. */ public static Properties readInlineCSSProperties(DOMOutputOptions options) { Properties properties = options.getInlineCSSProperties(); if (properties==null) { properties = readBuiltinInlineCSSProperties(); } return properties; }
/** * Writes out the CSS stylesheet specified via the given {@link DOMOutputOptions} Object, * using the default if nothing has been specified, saving the results to the given * {@link OutputStream}. * * @param options * @param cssOutputStream */ public static void writeStylesheet(DOMOutputOptions options, OutputStream cssOutputStream) { /* First of all, see if custom CSS has been specified */ Properties cssProperties = options.getInlineCSSProperties(); if (cssProperties==null) { cssProperties = readBuiltinInlineCSSProperties(); } writeStylesheet(cssProperties, cssOutputStream); }
/** * Writes out the CSS stylesheet specified via the given {@link DOMOutputOptions} Object, * using the default if nothing has been specified, saving the results to the given * {@link OutputStream}. * * @param options * @param cssOutputStream */ public static void writeStylesheet(DOMOutputOptions options, OutputStream cssOutputStream) { /* First of all, see if custom CSS has been specified */ Properties cssProperties = options.getInlineCSSProperties(); if (cssProperties==null) { cssProperties = readBuiltinInlineCSSProperties(); } writeStylesheet(cssProperties, cssOutputStream); }
/** * Writes out the CSS stylesheet specified via the given {@link DOMOutputOptions} Object, * using the default if nothing has been specified, saving the results to the given * {@link OutputStream}. * * @param options * @param cssOutputStream */ public static void writeStylesheet(DOMOutputOptions options, OutputStream cssOutputStream) { /* First of all, see if custom CSS has been specified */ Properties cssProperties = options.getInlineCSSProperties(); if (cssProperties==null) { cssProperties = readBuiltinInlineCSSProperties(); } writeStylesheet(cssProperties, cssOutputStream); }