
de.larssh.utils.xml.TransformerFactoryAttributes Maven / Gradle / Ivy
// Generated by delombok at Fri Dec 30 22:57:48 UTC 2022
package de.larssh.utils.xml;
/**
* A collection of attributes to be used for instances of
* {@link javax.xml.transform.TransformerFactory}.
*/
@SuppressWarnings("PMD.ClassNamingConventions")
public final class TransformerFactoryAttributes {
/**
* Xalan Attributes
*
*
* Based on revision
* 1595241 of the official
* Xalan documentation
*/
public static final class Xalan {
/**
* Optimize stylesheet processing. By default, this attribute is set to
* {@code true}. You may need to set it to {@code false} for tooling
* applications. For more information, see
* DTM optimize.
*/
public static final TransformerFactoryAttribute OPTIMIZE = new TransformerFactoryAttribute<>("http://xml.apache.org/xalan/features/optimize");
/**
* Produce output incrementally, rather than waiting to finish parsing the input
* before generating any output. By default this attribute is set to
* {@code false}. You can turn this attribute on to transform large documents
* where the stylesheet structure is optimized to execute individual templates
* without having to parse the entire document. For more information, see
* DTM
* incremental.
*/
public static final TransformerFactoryAttribute INCREMENTAL = new TransformerFactoryAttribute<>("http://xml.apache.org/xalan/features/incremental");
/**
* Provide a SourceLocator
* that can be used during a transformation to obtain the location of individual
* nodes in a source document (system ID, line number, and column number).
*
*
* By default, this attribute is set to {@code false}. Setting this attribute to
* {@code true} involves a substantial increase in storage cost per source
* document node. If you want to use the NodeInfo
* extension functions (or some other mechanism) to provide this information
* during a transform, you must set the attribute to {@code true} before
* generating the {@link javax.xml.transform.Transformer} and processing the
* stylesheet.
*/
public static final TransformerFactoryAttribute SOURCE_LOCATION = new TransformerFactoryAttribute<>("http://xml.apache.org/xalan/properties/source-location");
@java.lang.SuppressWarnings("all")
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(justification = "generated code")
@lombok.Generated
private Xalan() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
@java.lang.SuppressWarnings("all")
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(justification = "generated code")
@lombok.Generated
private TransformerFactoryAttributes() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}