public XMLStringOutputOptions() { super(); this.serializationOptions = new SerializationOptions(); }
/** * Gets the public identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_PUBLIC}. * <p> * Default is null */ public String getDoctypePublic() { return serializationOptions.getDoctypePublic(); }
/** * Gets the system identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_SYSTEM}. * <p> * Default is null */ public String getDoctypeSystem() { return serializationOptions.getDoctypeSystem(); }
/** * Returns whether the resulting XML will be indented or not. * (This depends on how clever the underlying XSLT engine will be!) * <p> * Default is false. */ public boolean isIndenting() { return serializationOptions.isIndenting(); }
/** * Returns whether to use named entities for certain MathML symbols rather than * numeric character references. * <p> * Default is false. */ public boolean isUsingNamedEntities() { return serializationOptions.isUsingNamedEntities(); }
/** * Sets the system identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_SYSTEM}. * * @param doctypeSystem system identifier to use, null for no identifier. */ public void setDoctypeSystem(String doctypeSystem) { serializationOptions.setDoctypeSystem(doctypeSystem); } }
/** * Sets the public identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_PUBLIC}. * * @param doctypePublic public identifier to use, null for no identifier. */ public void setDoctypePublic(String doctypePublic) { serializationOptions.setDoctypePublic(doctypePublic); }
/** * Gets the {@link SerializationMethod} to use when generating the final output. * <p> * Default is {@link SerializationMethod#XML}. * This must not be null. * <p> * Note that {@link SerializationMethod#XHTML} is only supported properly if you are using * an XSLT 2.0 processor; otherwise it reverts to {@link SerializationMethod#XML} */ public SerializationMethod getSerializationMethod() { return serializationOptions.getSerializationMethod(); }
/** * Gets the encoding for the resulting serialized XML. * <p> * Default is {@link SerializationSpecifier#DEFAULT_ENCODING}. */ public String getEncoding() { return serializationOptions.getEncoding(); }
/** * Gets whether to include an XML declaration on the resulting output. * Default is false. */ public boolean isIncludingXMLDeclaration() { return serializationOptions.isIncludingXMLDeclaration(); }
/** * Returns whether the resulting XML will be indented or not. * (This depends on how clever the underlying XSLT engine will be!) * <p> * Default is false. */ public boolean isIndenting() { return serializationOptions.isIndenting(); }
/** * Returns whether to use named entities for certain MathML symbols rather than * numeric character references. * <p> * Default is false. */ public boolean isUsingNamedEntities() { return serializationOptions.isUsingNamedEntities(); }
/** * Sets the system identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_SYSTEM}. * * @param doctypeSystem system identifier to use, null for no identifier. */ public void setDoctypeSystem(String doctypeSystem) { serializationOptions.setDoctypeSystem(doctypeSystem); } }
/** * Sets the public identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_PUBLIC}. * * @param doctypePublic public identifier to use, null for no identifier. */ public void setDoctypePublic(String doctypePublic) { serializationOptions.setDoctypePublic(doctypePublic); }
/** * Gets the {@link SerializationMethod} to use when generating the final output. * <p> * Default is {@link SerializationMethod#XML}. * This must not be null. * <p> * Note that {@link SerializationMethod#XHTML} is only supported properly if you are using * an XSLT 2.0 processor; otherwise it reverts to {@link SerializationMethod#XML} */ public SerializationMethod getSerializationMethod() { return serializationOptions.getSerializationMethod(); }
/** * Gets the encoding for the resulting serialized XML. * <p> * Default is {@link SerializationSpecifier#DEFAULT_ENCODING}. */ public String getEncoding() { return serializationOptions.getEncoding(); }
/** * Gets whether to include an XML declaration on the resulting output. * Default is false. */ public boolean isIncludingXMLDeclaration() { return serializationOptions.isIncludingXMLDeclaration(); }
public XMLStringOutputOptions() { super(); this.serializationOptions = new SerializationOptions(); }
/** * Gets the public identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_PUBLIC}. * <p> * Default is null */ public String getDoctypePublic() { return serializationOptions.getDoctypePublic(); }
/** * Gets the system identifier to use in the resulting DOCTYPE declaration, * as described in {@link OutputKeys#DOCTYPE_SYSTEM}. * <p> * Default is null */ public String getDoctypeSystem() { return serializationOptions.getDoctypeSystem(); }