- AbstractStAXLoader<R> - Class in cdc.util.xml
-
Base class used to load an XML file.
- AbstractStAXLoader(Function<XMLStreamReader, ? extends AbstractStAXParser<R>>) - Constructor for class cdc.util.xml.AbstractStAXLoader
-
- AbstractStAXParser<R> - Class in cdc.util.xml
-
Class that can facilitate the writing of an XML parser over an XMLStreamReader.
- AbstractStAXParser(XMLStreamReader) - Constructor for class cdc.util.xml.AbstractStAXParser
-
- AbstractStAXParser.ElementParser<C> - Interface in cdc.util.xml
-
- addAttribute(String, boolean) - Method in class cdc.util.xml.XmlWriter
-
Adds a boolean attribute to current element.
- addAttribute(String, byte) - Method in class cdc.util.xml.XmlWriter
-
Adds a byte attribute to current element.
- addAttribute(String, char) - Method in class cdc.util.xml.XmlWriter
-
Adds a char attribute to current element.
- addAttribute(String, double) - Method in class cdc.util.xml.XmlWriter
-
Adds a double attribute to current element.
- addAttribute(String, float) - Method in class cdc.util.xml.XmlWriter
-
Adds a float attribute to current element.
- addAttribute(String, int) - Method in class cdc.util.xml.XmlWriter
-
Adds an int attribute to current element.
- addAttribute(String, long) - Method in class cdc.util.xml.XmlWriter
-
Adds a long attribute to current element.
- addAttribute(String, short) - Method in class cdc.util.xml.XmlWriter
-
Adds a short attribute to current element.
- addAttribute(String, Object) - Method in class cdc.util.xml.XmlWriter
-
Adds an Object attribute to current element.
- addAttribute(String, String) - Method in class cdc.util.xml.XmlWriter
-
Adds a String attribute to current element.
- addCData(String) - Method in class cdc.util.xml.XmlWriter
-
Inserts a CData section with a content.
- addCDataContent(String) - Method in class cdc.util.xml.XmlWriter
-
Adds content to current CData.
- addComment(String) - Method in class cdc.util.xml.XmlWriter
-
Inserts a comment section with a content.
- addCommentContent(String) - Method in class cdc.util.xml.XmlWriter
-
Adds content to current comment.
- addDefaultNamespace(String) - Method in class cdc.util.xml.XmlWriter
-
- addElement(String, String) - Method in class cdc.util.xml.XmlWriter
-
- addElementContent(String) - Method in class cdc.util.xml.XmlWriter
-
- addElementIfNonEmpty(String, String) - Method in class cdc.util.xml.XmlWriter
-
- addNamespace(String, String) - Method in class cdc.util.xml.XmlWriter
-
Adds a namespace declaration.
- addProcessingInstruction(String, String) - Method in class cdc.util.xml.XmlWriter
-
- addProcessingInstructionContent(String) - Method in class cdc.util.xml.XmlWriter
-
- addStyleSheet(String) - Method in class cdc.util.xml.XmlWriter
-
Helper function used to insert a StyleSheet Processing Instruction.
- ALLOW_PARTIAL_XML - cdc.util.xml.XmlWriter.Feature
-
If enabled, partial xml writing is allowed.
- ALWAYS_ENTITIZE_ATTRIBUTES - cdc.util.xml.XmlWriter.Feature
-
If set, always replaces certain characters by their entity in attributes, even if this is not necessary.
- AMP - Static variable in class cdc.util.xml.XmlWriter
-
- APOS - Static variable in class cdc.util.xml.XmlWriter
-
- APPEND_FINAL_EOL - cdc.util.xml.XmlWriter.Feature
-
If set, and PRETTY_PRINT is also enabled, appends EOL on last line.
- ATTRIBUTE_DOUBLE_QUOTE - cdc.util.xml.XmlUtils.Context
-
The text is in an attribute delimited by double quotes ('"').
- ATTRIBUTE_SINGLE_QUOTE - cdc.util.xml.XmlUtils.Context
-
The text is in an attribute delimited by single quotes (''').
- ignoreElement() - Method in class cdc.util.xml.AbstractStAXParser
-
Must be called after a START_ELEMENT has been found.
- IN_CDATA - cdc.util.xml.XmlWriterContext.Type
-
After calling beginCData.
- IN_CLOSED_DOC - cdc.util.xml.XmlWriterContext.Type
-
After closing of the root element.
- IN_CLOSED_STREAM - cdc.util.xml.XmlWriterContext.Type
-
After calling endDocument.
- IN_COMMENT - cdc.util.xml.XmlWriterContext.Type
-
After calling beginComment.
- IN_MIXED_CONTENT - cdc.util.xml.XmlWriterContext.Type
-
Replaces IN_TAG and indicates that the element content is complex.
- IN_OPEN_DOC - cdc.util.xml.XmlWriterContext.Type
-
After calling beginDocument
- IN_OPEN_STREAM - cdc.util.xml.XmlWriterContext.Type
-
Initial state, before calling beginDocument.
- IN_PI - cdc.util.xml.XmlWriterContext.Type
-
After calling begingProcessingInstruction.
- IN_SIMPLE_CONTENT - cdc.util.xml.XmlWriterContext.Type
-
Replaces IN_TAG and indicates that the element content is simple.
- IN_TAG - cdc.util.xml.XmlWriterContext.Type
-
After calling beginElement.
- inputs - Variable in class cdc.util.xml.tools.XmlStats.MainArgs
-
- IntSet - Class in cdc.util.xml
-
- IntSet(int...) - Constructor for class cdc.util.xml.IntSet
-
- InvalidStateException - Exception in cdc.util.xml
-
- InvalidStateException(String) - Constructor for exception cdc.util.xml.InvalidStateException
-
- isAttribute() - Method in enum cdc.util.xml.XmlUtils.Context
-
- isEnabled(XmlWriter.Feature) - Method in class cdc.util.xml.XmlWriter
-
Returns true
if a feature is enabled, false
otherwise.
- isNameChar(int) - Static method in class cdc.util.xml.XmlUtils
-
- isNameStartChar(int) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a code point is valid as first character of an xml name.
- isStartElement(String) - Method in class cdc.util.xml.AbstractStAXParser
-
Returns true
if reader is on a START_ELEMENT that has a given name.
- isValidName(String) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a string is a valid xml name.
- isValidXml(String, XmlVersion) - Static method in class cdc.util.xml.XmlUtils
-
- isValidXml10(String) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a string is null
or contains only valid XML 1.0 characters.
- isValidXml11(String) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a string is null
or contains only valid XML 1.1 characters.
- isWhiteSpace(char[], int, int) - Static method in class cdc.util.xml.XmlUtils
-
- isWhiteSpace(int) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a code point is a white space.
- isWhiteSpace(String) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a string is null
or contains only white spaces.
- isXml10Char(int) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a code point is valid for XML 1.0.
- isXml11Char(int) - Static method in class cdc.util.xml.XmlUtils
-
Returns true
if a code point is valid for XML 1.1.
- isXmlChar(int, XmlVersion) - Static method in class cdc.util.xml.XmlUtils
-
- validate(String, XmlVersion, FailureReaction) - Static method in class cdc.util.xml.XmlUtils
-
- validate(String, XmlVersion, FailureReaction, int) - Static method in class cdc.util.xml.XmlUtils
-
Checks that a string contains only valid characters, and replaces invalid chars.
- valueOf(String) - Static method in enum cdc.util.xml.XmlUtils.Context
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.xml.XmlUtils.EscapingPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.xml.XmlVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.xml.XmlWriter.Feature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.xml.XmlWriterContext.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum cdc.util.xml.XmlUtils.Context
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.xml.XmlUtils.EscapingPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.xml.XmlVersion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.xml.XmlWriter.Feature
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.xml.XmlWriterContext.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- version - Variable in class cdc.util.xml.XmlWriter
-
- xml - Variable in class cdc.util.xml.tools.XmlToHtml.MainArgs
-
XML input file (mandatory).
- XML_1_0 - cdc.util.xml.XmlVersion
-
- XML_1_1 - cdc.util.xml.XmlVersion
-
- XML_SCHEMA_INSTANCE - Static variable in class cdc.util.xml.XmlWriter
-
- XMLNS - Static variable in class cdc.util.xml.XmlWriter
-
- XMLNS_XSI - Static variable in class cdc.util.xml.XmlWriter
-
- XmlStats - Class in cdc.util.xml.tools
-
Utility that counts elements, attributes and texts in XML files.
- XmlStats.MainArgs - Class in cdc.util.xml.tools
-
- XmlToHtml - Class in cdc.util.xml.tools
-
Utility to convert an XML file to HTML using an XSLT.
- XmlToHtml.MainArgs - Class in cdc.util.xml.tools
-
- XmlUtils - Class in cdc.util.xml
-
Xml utilities.
- XmlUtils.Context - Enum in cdc.util.xml
-
Escaping context.
- XmlUtils.EscapingPolicy - Enum in cdc.util.xml
-
- XmlVersion - Enum in cdc.util.xml
-
Enumeration of available XML versions.
- XmlWriter - Class in cdc.util.xml
-
Basic XML writer.
- XmlWriter() - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to System.out, with UTF-8 encoding.
- XmlWriter(File) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file using UTF-8 encoding.
- XmlWriter(File, Compressor) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with UTF-8 encoding and compressor.
- XmlWriter(File, String) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with a given encoding.
- XmlWriter(File, String, Compressor) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with a given encoding and compressor.
- XmlWriter(OutputStream) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to an OutputStream with UTF-8 encoding.
- XmlWriter(OutputStream, String) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to an OutputStream with a given encoding.
- XmlWriter(PrintStream) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a PrintStream, with UTF-8 encoding.
- XmlWriter(Writer) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a Writer, with UTF-8 encoding.
- XmlWriter(Writer, String) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a Writer with a given encoding.
- XmlWriter(String) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with UTF-8 encoding.
- XmlWriter(String, Compressor) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with a UTF-8 encoding and compressor.
- XmlWriter(String, String) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with a given encoding.
- XmlWriter(String, String, Compressor) - Constructor for class cdc.util.xml.XmlWriter
-
Creates an XmlWriter to a file with a given encoding and compressor.
- XmlWriter.Feature - Enum in cdc.util.xml
-
Enumeration of features supported by the writer.
- XmlWriterContext - Class in cdc.util.xml
-
Used to manage the writer current context.
- XmlWriterContext() - Constructor for class cdc.util.xml.XmlWriterContext
-
- XmlWriterContext.Type - Enum in cdc.util.xml
-
- XSI_SCHEMA_LOCATION - Static variable in class cdc.util.xml.XmlWriter
-
- xslt - Variable in class cdc.util.xml.tools.XmlToHtml.MainArgs
-
XSLT transformation file (mandatory).