- AbstractStAXLoader<R> - Class in cdc.util.xml
-
- 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.XmlUtil.Context
-
The text is in an attribute delimited by double quotes ('"').
- ATTRIBUTE_SINGLE_QUOTE - cdc.util.xml.XmlUtil.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
-
- InvalidDataException - Exception in cdc.util.xml
-
- InvalidDataException(String) - Constructor for exception cdc.util.xml.InvalidDataException
-
- InvalidDataException(String, Throwable) - Constructor for exception cdc.util.xml.InvalidDataException
-
- InvalidStateException - Exception in cdc.util.xml
-
- InvalidStateException(String) - Constructor for exception cdc.util.xml.InvalidStateException
-
- isAttribute() - Method in enum cdc.util.xml.XmlUtil.Context
-
- isEnabled(XmlWriter.Feature) - Method in class cdc.util.xml.XmlWriter
-
Returns true
if a feature is enabled, false
otherwise.
- isIgnorableSpace(char) - Static method in class cdc.util.xml.XmlUtil
-
Returns true
when a character is an ignorable space.
- isIgnorableSpace(char[], int, int) - Static method in class cdc.util.xml.XmlUtil
-
Returns true
when the characters in an array range are ignorable spaces.
- isIgnorableSpace(String) - Static method in class cdc.util.xml.XmlUtil
-
Returns true
when a string is is composed of ignorable spaces.
- isStartElement(String) - Method in class cdc.util.xml.AbstractStAXParser
-
Returns true
if reader is on a START_ELEMENT that has a given name.
- xml - Variable in class cdc.util.xml.tools.XmlToHtml.MainArgs
-
XML input file (mandatory).
- 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
-
- XmlUtil - Class in cdc.util.xml
-
Xml utilities.
- XmlUtil.Context - Enum in cdc.util.xml
-
Escaping context.
- XmlUtil.EscapingPolicy - Enum in cdc.util.xml
-
- 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).