/** Set an output property that will be in effect for the transformation. */ public void setOutputProperty(String name, String value) throws IllegalArgumentException { if (name == null) { throw new IllegalArgumentException("name is null"); } try { _sheet.setOutputMethodProperty("", name, value); } catch (XSLException ex) { throw new IllegalArgumentException(name + " = " + value); } }
/** * Set the output properties for the transformation. These properties will override properties set * in the Templates with xsl:output. */ public void setOutputProperties(Properties oformat) throws IllegalArgumentException { if (oformat == null) { _sheet.clearOutputMethodProperties(); } else { for (Enumeration keys = oformat.keys(); keys.hasMoreElements(); ) { String key = (String) keys.nextElement(); String val = oformat.getProperty(key); setOutputProperty(key, val); } } }
/** Return null. See comment for getOutputProperties(). */ public String getOutputProperty(String name) throws IllegalArgumentException { if (name == null) { throw new IllegalArgumentException("name is null"); } return _sheet.getOutputMethodProperty("", name); }
public Properties getOutputProperties() { return _sheet.getOutputMethodProperties(); }