- AbstractChild - Class in cdc.util.data
-
Base class of nodes that are children (they have a parent node).
- AbstractChild() - Constructor for class cdc.util.data.AbstractChild
-
- AbstractContentNode - Class in cdc.util.data
-
Base class for nodes with content: text and comment.
- AbstractContentNode(Parent, String) - Constructor for class cdc.util.data.AbstractContentNode
-
- AbstractResourceLoader<R> - Class in cdc.util.data.util
-
Helper class for data loading.
- AbstractResourceLoader(FailureReaction) - Constructor for class cdc.util.data.util.AbstractResourceLoader
-
- accepts(Element, String, String) - Method in interface cdc.util.data.util.AttributePredicate
-
Returns true when the attribute must be kept.
- accepts(Parent, Element) - Method in interface cdc.util.data.util.ElementPredicate
-
Returns true when an element must be kept.
- accepts(Parent, Text) - Method in interface cdc.util.data.util.TextPredicate
-
Returns true when a text must be kept.
- addAttribute(Attribute) - Method in class cdc.util.data.Element
-
Adds an attribute.
- addAttribute(String, boolean) - Method in class cdc.util.data.Element
-
Adds a boolean attribute.
- addAttribute(String, byte) - Method in class cdc.util.data.Element
-
Adds a byte attribute.
- addAttribute(String, double) - Method in class cdc.util.data.Element
-
Adds a double attribute.
- addAttribute(String, float) - Method in class cdc.util.data.Element
-
Adds a float attribute.
- addAttribute(String, int) - Method in class cdc.util.data.Element
-
Adds an int attribute.
- addAttribute(String, long) - Method in class cdc.util.data.Element
-
Adds a long attribute.
- addAttribute(String, short) - Method in class cdc.util.data.Element
-
Adds a short attribute.
- addAttribute(String, Object) - Method in class cdc.util.data.Element
-
Adds an object attribute.
- addAttribute(String, String) - Method in class cdc.util.data.Element
-
Adds a string attribute.
- addAttributes(Attribute...) - Method in class cdc.util.data.Element
-
Adds an array of attributes to this element.
- addAttributes(Collection<Attribute>) - Method in class cdc.util.data.Element
-
Adds all attributes of a collection to this element.
- addChild(C) - Method in interface cdc.util.data.Parent
-
Adds a child to this parent.
- addChildren(Child...) - Method in interface cdc.util.data.Parent
-
Adds all children of an array to this parent.
- addChildren(Iterable<? extends Child>) - Method in interface cdc.util.data.Parent
-
Adds all children of an Iterable to this parent.
- addComment(String) - Method in interface cdc.util.data.Parent
-
Adds a comment as last child.
- addComment(String, boolean) - Method in interface cdc.util.data.Parent
-
Adds a comment as last child.
- addElement(String) - Method in interface cdc.util.data.Parent
-
Creates and adds a child element as last child, if possible.
- addText(String) - Method in class cdc.util.data.Element
-
Adds a text as last child.
- addText(String, boolean) - Method in class cdc.util.data.Element
-
Adds a text as last child.
- ALLOW_MIXED_CONTENT - cdc.util.data.xml.XmlDataReader.Feature
-
If enabled, mixed content is allowed.
- ALWAYS_ENTITIZE_ATTRIBUTES - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- and(AttributePredicate) - Method in interface cdc.util.data.util.AttributePredicate
-
Returns a predicate that is the logical and combination of this one and another one.
- and(ElementPredicate) - Method in interface cdc.util.data.util.ElementPredicate
-
Returns a predicate that is the logical and combination of this one and another one.
- and(TextPredicate) - Method in interface cdc.util.data.util.TextPredicate
-
Returns a predicate that is the logical and combination of this one and another one.
- andThen(AttributeNameConverter) - Method in interface cdc.util.data.util.AttributeNameConverter
-
Returns a converter that first applies this converter and then other.
- andThen(AttributeValueConverter) - Method in interface cdc.util.data.util.AttributeValueConverter
-
Returns a converter that first applies this converter and then other.
- andThen(ElementNameConverter) - Method in interface cdc.util.data.util.ElementNameConverter
-
Returns a converter that first applies this converter and then other.
- andThen(TextContentConverter) - Method in interface cdc.util.data.util.TextContentConverter
-
Returns a converter that first applies this converter and then other.
- ANY_ATTRIBUTE - Static variable in interface cdc.util.data.util.AttributePredicate
-
An attribute predicate that always returns true.
- ANY_ELEMENT - Static variable in interface cdc.util.data.util.ElementPredicate
-
An element predicate that always returns true.
- ANY_NODE - Static variable in interface cdc.util.data.Node
-
A Node Predicate that always return true.
- ANY_TEXT - Static variable in interface cdc.util.data.util.TextPredicate
-
- APPEND_FINAL_EOL - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- appendContent(char[], int, int) - Method in class cdc.util.data.AbstractContentNode
-
- appendContent(CharSequence, int, int) - Method in class cdc.util.data.AbstractContentNode
-
- appendContent(String) - Method in class cdc.util.data.AbstractContentNode
-
- Attribute - Class in cdc.util.data
-
XML like attribute ([name, value] pair).
- Attribute(Attribute) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, boolean) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, byte) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, double) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, float) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, int) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, long) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, short) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, E) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, Object) - Constructor for class cdc.util.data.Attribute
-
- Attribute(String, String) - Constructor for class cdc.util.data.Attribute
-
- ATTRIBUTE - cdc.util.data.paths.Part.Type
-
The part designates an attribute.
- attributeFilter - Variable in class cdc.util.data.xml.XmlDataReader
-
The filter attributes.
- attributeNameConverter - Variable in class cdc.util.data.xml.XmlDataReader
-
Attribute name converter.
- AttributeNameConverter - Interface in cdc.util.data.util
-
Interface used to convert (replace) an attribute name.
- AttributePredicate - Interface in cdc.util.data.util
-
Interface used to filter attributes.
- attributeValueConverter - Variable in class cdc.util.data.xml.XmlDataReader
-
Attribute value converter.
- AttributeValueConverter - Interface in cdc.util.data.util
-
Interface used to convert (replace) an attribute value.
- CACHE - Static variable in class cdc.util.data.xml.XmlDataReader
-
The cache of strings used to share attributes and elements names.
- canAddChild(Child) - Method in class cdc.util.data.Document
-
- canAddChild(Child) - Method in class cdc.util.data.Element
-
- canAddChild(Child) - Method in interface cdc.util.data.Parent
-
Returns true when a child can be added.
- cdc.util.data - package cdc.util.data
-
- cdc.util.data.paths - package cdc.util.data.paths
-
- cdc.util.data.tools - package cdc.util.data.tools
-
- cdc.util.data.util - package cdc.util.data.util
-
- cdc.util.data.xml - package cdc.util.data.xml
-
- changeAttributeValue(String, Function<String, String>) - Method in class cdc.util.data.Element
-
Changes the value of attributes that have a given name.
- changeAttributeValue(String, Function<String, String>, boolean) - Method in class cdc.util.data.Element
-
Changes the value of attributes that have a given name.
- changeComments(Function<String, String>) - Method in interface cdc.util.data.Parent
-
Changes all comments locally.
- changeComments(Function<String, String>, boolean) - Method in interface cdc.util.data.Parent
-
Changes all comments recursively.
- changeName(Function<String, String>) - Method in class cdc.util.data.Element
-
Changes the element name.
- changeName(Function<String, String>, boolean) - Method in class cdc.util.data.Element
-
Changes element names recursively.
- changeNamedTexts(String, Function<String, String>) - Method in interface cdc.util.data.Parent
-
Changes or set text under element that have a given name, locally.
- changeNamedTexts(String, Function<String, String>, boolean) - Method in interface cdc.util.data.Parent
-
Changes or set text under element that have a given name, recursively.
- changeTexts(Function<String, String>) - Method in interface cdc.util.data.Parent
-
Changes all texts locally.
- changeTexts(Function<String, String>, boolean) - Method in interface cdc.util.data.Parent
-
Changes all texts recursively.
- Child - Interface in cdc.util.data
-
Interface implemented by child nodes: they have an optional parent.
- clearContent() - Method in class cdc.util.data.AbstractContentNode
-
- clone(boolean) - Method in class cdc.util.data.AbstractChild
-
- clone(boolean) - Method in interface cdc.util.data.Child
-
- clone(boolean) - Method in class cdc.util.data.Comment
-
- clone(boolean) - Method in class cdc.util.data.Document
-
- clone(boolean) - Method in class cdc.util.data.Element
-
- clone(boolean) - Method in interface cdc.util.data.Node
-
Return a clone of this node.
- clone(boolean) - Method in interface cdc.util.data.Parent
-
- clone(boolean) - Method in class cdc.util.data.Text
-
- close() - Method in class cdc.util.data.xml.XmlDataWriter
-
- Comment - Class in cdc.util.data
-
Comment node.
- Comment() - Constructor for class cdc.util.data.Comment
-
- Comment(Comment) - Constructor for class cdc.util.data.Comment
-
- Comment(Parent) - Constructor for class cdc.util.data.Comment
-
- Comment(Parent, String) - Constructor for class cdc.util.data.Comment
-
- Comment(String) - Constructor for class cdc.util.data.Comment
-
- COMMENT - cdc.util.data.NodeType
-
The node is a comment (it is a
Child and a
Leaf).
- compareAttribute(String) - Static method in class cdc.util.data.Element
-
Returns a comparator that compares the values of a particular attribute.
- compareNameAndAttribute(String) - Static method in class cdc.util.data.Element
-
Returns a comparator that compares the names then the values of a particular attribute.
- compose(AttributeNameConverter) - Method in interface cdc.util.data.util.AttributeNameConverter
-
Returns a converter that first applies other then this converter.
- compose(AttributeValueConverter) - Method in interface cdc.util.data.util.AttributeValueConverter
-
Returns a converter that first applies other then this converter.
- compose(ElementNameConverter) - Method in interface cdc.util.data.util.ElementNameConverter
-
Returns a converter that first applies other then this converter.
- compose(TextContentConverter) - Method in interface cdc.util.data.util.TextContentConverter
-
Returns a converter that first applies other then this converter.
- convertAttributeName(Element, String) - Method in interface cdc.util.data.util.AttributeNameConverter
-
Returns the name that should be used instead of the original name.
- convertAttributeValue(Element, String, String) - Method in interface cdc.util.data.util.AttributeValueConverter
-
Returns the value that should be used instead of the original value.
- convertElementName(Parent, String) - Method in interface cdc.util.data.util.ElementNameConverter
-
Returns the element name to use instead of the original name.
- convertTextContent(Parent, String) - Method in interface cdc.util.data.util.TextContentConverter
-
- create(XmlDataReader.Feature...) - Static method in class cdc.util.data.xml.XmlDataReader
-
- getAttribute(String) - Method in class cdc.util.data.Element
-
Returns the attribute that has a particular name, or null.
- getAttributeAsBoolean(String, boolean) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a boolean or a default value.
- getAttributeAsByte(String, byte) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a byte.
- getAttributeAsDouble(String, double) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a double.
- getAttributeAsEnum(String, Class<E>, E) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as an enum.
- getAttributeAsFloat(String, float) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a float.
- getAttributeAsInt(String, int) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as an int.
- getAttributeAsLong(String, long) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a long.
- getAttributeAsOptionalBoolean(String, Boolean) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a Boolean or a default value.
- getAttributeAsOptionalByte(String, Byte) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a Byte.
- getAttributeAsOptionalDouble(String, Double) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a Double.
- getAttributeAsOptionalEnum(String, Class<E>, E) - Method in class cdc.util.data.Element
-
- getAttributeAsOptionalFloat(String, Float) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a Float.
- getAttributeAsOptionalInt(String, Integer) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as an Integer.
- getAttributeAsOptionalLong(String, Long) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a Long.
- getAttributeAsOptionalRawEnum(String, Class<? extends Enum<?>>, Enum<?>) - Method in class cdc.util.data.Element
-
- getAttributeAsOptionalShort(String, Short) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a Short.
- getAttributeAsRawEnum(String, Class<? extends Enum<?>>, Enum<?>) - Method in class cdc.util.data.Element
-
- getAttributeAsShort(String, short) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a short.
- getAttributeAt(int) - Method in class cdc.util.data.Element
-
Returns the attribute at a given index.
- getAttributeFilter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getAttributeIndex(String) - Method in class cdc.util.data.Element
-
Returns the index of the attribute that has a particular name or -1.
- getAttributeName() - Method in class cdc.util.data.paths.Part
-
- getAttributeNameConverter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getAttributes() - Method in class cdc.util.data.Element
-
- getAttributesCount() - Method in class cdc.util.data.Element
-
- getAttributesCount() - Method in class cdc.util.data.util.DataStats
-
- getAttributeValue(String) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a string or null.
- getAttributeValue(String, String) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute as a string or a default value.
- getAttributeValue(String, String, FailureReaction) - Method in class cdc.util.data.Element
-
Returns the value associated to an attribute.
- getAttributeValueConverter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getChild(Class<T>) - Method in interface cdc.util.data.Parent
-
- getChild(Class<T>, Predicate<? super T>) - Method in interface cdc.util.data.Parent
-
- getChildAt(int) - Method in interface cdc.util.data.Parent
-
Returns the child at a given, index or null.
- getChildAt(Class<T>, int) - Method in interface cdc.util.data.Parent
-
Returns the child that is an instance of a given class and is at a given position.
- getChildAt(Class<T>, Predicate<? super T>, int) - Method in interface cdc.util.data.Parent
-
Returns the child that is an instance of a given class, matches a Predicate and is at a given position.
- getChildren() - Method in class cdc.util.data.Document
-
- getChildren() - Method in class cdc.util.data.Element
-
- getChildren() - Method in interface cdc.util.data.Parent
-
- getChildren(Class<T>) - Method in interface cdc.util.data.Parent
-
Returns an Iterable of children that are instance of a given class.
- getChildren(Class<T>, Predicate<? super T>) - Method in interface cdc.util.data.Parent
-
Returns an Iterable of children that are instance of a given class and match a predicate.
- getChildrenCount() - Method in interface cdc.util.data.Parent
-
- getChildrenCount(Class<? extends Node>) - Method in interface cdc.util.data.Parent
-
Returns the number of children that match a class.
- getChildrenCount(Class<T>, Predicate<? super T>) - Method in interface cdc.util.data.Parent
-
Returns the number of children that match a class and predicate.
- getComments() - Method in interface cdc.util.data.Parent
-
- getContent() - Method in class cdc.util.data.AbstractContentNode
-
- getContentType() - Method in class cdc.util.data.Element
-
- getDescription() - Method in enum cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- getDocument() - Method in class cdc.util.data.AbstractChild
-
- getDocument() - Method in class cdc.util.data.Document
-
- getDocument() - Method in interface cdc.util.data.Node
-
- getElementName() - Method in class cdc.util.data.paths.Part
-
- getElementNameConverter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getElementNamed(String) - Method in interface cdc.util.data.Parent
-
Returns the first child element that has a given name or null.
- getElementNamedAt(String, int) - Method in interface cdc.util.data.Parent
-
Returns the child element that has a given name and index.
- getElementNamedIgnoreCase(String) - Method in interface cdc.util.data.Parent
-
Returns the first child element that has a given name, ignoring case, or null.
- getElementNamedIgnoreCaseAt(String, int) - Method in interface cdc.util.data.Parent
-
Returns the child element that has a given name, ignoring case, and index.
- getElementNamedText(String) - Method in class cdc.util.data.Element
-
Returns the text content of the first child element that has a given name.
- getElementNamedText(String, String) - Method in class cdc.util.data.Element
-
Returns the text content of the first child element that has a given name.
- getElementNamedWithAttribute(String, String, String) - Method in interface cdc.util.data.Parent
-
- getElementPostFilter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getElementPreFilter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getElements() - Method in interface cdc.util.data.Parent
-
- getElementsNamed(String) - Method in interface cdc.util.data.Parent
-
Returns an Iterable of children elements that have a given name.
- getElementsNamedIgnoreCase(String) - Method in interface cdc.util.data.Parent
-
Returns an Iterable of children elements that have a given name, ignoring case.
- getEntityResolver() - Method in class cdc.util.data.xml.XmlDataReader
-
- getIndex() - Method in interface cdc.util.data.Child
-
- getLastChild() - Method in interface cdc.util.data.Parent
-
- getLastPart() - Method in class cdc.util.data.paths.Path
-
- getLength() - Method in class cdc.util.data.paths.Path
-
- getLogger() - Method in class cdc.util.data.util.AbstractResourceLoader
-
- getModifiableChildren() - Method in class cdc.util.data.Document
-
- getModifiableChildren() - Method in class cdc.util.data.Element
-
- getModifiableChildren() - Method in interface cdc.util.data.Parent
-
- getName() - Method in class cdc.util.data.Attribute
-
- getName() - Method in class cdc.util.data.Element
-
- getName() - Method in class cdc.util.data.paths.Part
-
- getName() - Method in class cdc.util.data.paths.Path
-
- getName() - Method in enum cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- getNameAndAttributes(Element) - Static method in interface cdc.util.data.Node
-
- getNodesCount(NodeType) - Method in class cdc.util.data.util.DataStats
-
- getParent() - Method in class cdc.util.data.AbstractChild
-
- getParent() - Method in interface cdc.util.data.Child
-
- getParent() - Method in class cdc.util.data.paths.Path
-
- getParent(Class<E>) - Method in interface cdc.util.data.Child
-
Returns the parent of this child, cast to a target class.
- getPart(int) - Method in class cdc.util.data.paths.Path
-
- getParts() - Method in class cdc.util.data.paths.Path
-
- getParts() - Method in class cdc.util.data.paths.SPath
-
- getQName() - Method in class cdc.util.data.Comment
-
- getQName() - Method in class cdc.util.data.Document
-
- getQName() - Method in class cdc.util.data.Element
-
- getQName() - Method in interface cdc.util.data.Node
-
- getQName() - Method in class cdc.util.data.Text
-
- getReaction() - Method in class cdc.util.data.util.AbstractResourceLoader
-
- getRootChild() - Method in interface cdc.util.data.Child
-
Returns the highest ancestor of this child that is a child.
- getRootElement() - Method in class cdc.util.data.AbstractChild
-
- getRootElement() - Method in class cdc.util.data.Document
-
- getRootElement() - Method in interface cdc.util.data.Node
-
Returns the root element of this node.
- getRootElement(Document) - Static method in class cdc.util.data.Document
-
Returns the root element of a document.
- getSelectorName() - Method in class cdc.util.data.paths.Part
-
- getSelectorValue() - Method in class cdc.util.data.paths.Part
-
- getSortedAttributes() - Method in class cdc.util.data.Element
-
- getSubPath(int, int) - Method in class cdc.util.data.paths.Path
-
- getText() - Method in class cdc.util.data.Element
-
Returns the merged content of all children text nodes, if this node has no element children.
- getText(String) - Method in class cdc.util.data.Element
-
Returns the merged content of all children text nodes, if this node has no element children.
- getTextAsBoolean(boolean) - Method in class cdc.util.data.Element
-
- getTextAsByte(byte) - Method in class cdc.util.data.Element
-
- getTextAsDouble(double) - Method in class cdc.util.data.Element
-
- getTextAsEnum(Class<E>, E) - Method in class cdc.util.data.Element
-
- getTextAsFloat(float) - Method in class cdc.util.data.Element
-
- getTextAsInt(int) - Method in class cdc.util.data.Element
-
- getTextAsLong(long) - Method in class cdc.util.data.Element
-
- getTextAsOptionalBoolean(Boolean) - Method in class cdc.util.data.Element
-
- getTextAsOptionalByte(Byte) - Method in class cdc.util.data.Element
-
- getTextAsOptionalDouble(Double) - Method in class cdc.util.data.Element
-
- getTextAsOptionalEnum(Class<E>, E) - Method in class cdc.util.data.Element
-
- getTextAsOptionalFloat(Float) - Method in class cdc.util.data.Element
-
- getTextAsOptionalInt(Integer) - Method in class cdc.util.data.Element
-
- getTextAsOptionalLong(Long) - Method in class cdc.util.data.Element
-
- getTextAsOptionalShort(Short) - Method in class cdc.util.data.Element
-
- getTextAsShort(short) - Method in class cdc.util.data.Element
-
- getTextContentConverter() - Method in class cdc.util.data.xml.XmlDataReader
-
- getTexts() - Method in interface cdc.util.data.Parent
-
- getType() - Method in class cdc.util.data.Comment
-
- getType() - Method in class cdc.util.data.Document
-
- getType() - Method in class cdc.util.data.Element
-
- getType() - Method in interface cdc.util.data.Node
-
- getType() - Method in class cdc.util.data.paths.Part
-
- getType() - Method in class cdc.util.data.Text
-
- getType(String) - Static method in class cdc.util.data.paths.Part
-
- getValue() - Method in class cdc.util.data.Attribute
-
- getValueAsBoolean() - Method in class cdc.util.data.Attribute
-
- getValueAsByte() - Method in class cdc.util.data.Attribute
-
- getValueAsDouble() - Method in class cdc.util.data.Attribute
-
- getValueAsEnum(Class<E>) - Method in class cdc.util.data.Attribute
-
- getValueAsFloat() - Method in class cdc.util.data.Attribute
-
- getValueAsInt() - Method in class cdc.util.data.Attribute
-
- getValueAsLong() - Method in class cdc.util.data.Attribute
-
- getValueAsShort() - Method in class cdc.util.data.Attribute
-
- getXmlWriter() - Method in class cdc.util.data.xml.XmlDataWriter
-
- NAME_COMPARATOR - Static variable in class cdc.util.data.Attribute
-
A Comparator of attributes that compares names.
- NAME_COMPARATOR - Static variable in class cdc.util.data.Element
-
A comparator of elements using their names.
- named(String) - Static method in class cdc.util.data.Attribute
-
Creates a Predicate that accepts Attributes with a given name.
- named(String) - Static method in class cdc.util.data.Element
-
Creates a Predicate that accepts Nodes that are element with a given name.
- named(String...) - Static method in class cdc.util.data.Attribute
-
Creates a Predicate that accepts Attributes with a name belonging to an array.
- named(String...) - Static method in class cdc.util.data.Element
-
Creates a Predicate that accepts Nodes that are element whose named belongs to an array.
- named(Set<String>) - Static method in class cdc.util.data.Attribute
-
Creates a Predicate that accepts Attributes with a name belonging to a set.
- named(Set<String>) - Static method in class cdc.util.data.Element
-
Creates a Predicate that accepts Nodes that are element whose named belongs to a set.
- namedIgnoreCase(String) - Static method in class cdc.util.data.Element
-
Creates a Predicate that accepts Nodes that are element with a given name, ignoring case.
- namedWithAttribute(String, String, String) - Static method in class cdc.util.data.Element
-
Creates a Predicate that accepts Nodes that are elements with a given name and have an attribute with a given value.
- Node - Interface in cdc.util.data
-
Base interface of data nodes.
- Nodes - Class in cdc.util.data
-
- NodeType - Enum in cdc.util.data
-
Enumeration of possible node types.
- NON_IGNORABLE_TEXT - Static variable in interface cdc.util.data.util.TextPredicate
-
- NON_TEXT - cdc.util.data.ElementContentType
-
The element has only non-text children: elements or comments.
- normalize() - Method in class cdc.util.data.paths.Path
-
- not() - Method in interface cdc.util.data.util.AttributePredicate
-
- not() - Method in interface cdc.util.data.util.ElementPredicate
-
- not() - Method in interface cdc.util.data.util.TextPredicate
-
- read(File) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- read(File, Compressor) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- read(InputStream) - Method in class cdc.util.data.xml.XmlDataReader
-
- read(InputStream, String) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads an InputStream.
- read(String) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- read(String, Compressor) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- read(String, Charset) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a string.
- read(URL) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads an URL.
- read(URL, Compressor) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads an URL.
- readRoot(File) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- readRoot(File, Compressor) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- readRoot(InputStream) - Method in class cdc.util.data.xml.XmlDataReader
-
- readRoot(InputStream, String) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads an InputStream.
- readRoot(String) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- readRoot(String, Compressor) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a file.
- readRoot(String, Charset) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads a string.
- readRoot(URL) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads an URL.
- readRoot(URL, Compressor) - Method in class cdc.util.data.xml.XmlDataReader
-
Reads an URL.
- RECURSE - Static variable in class cdc.util.data.util.DataUtil
-
- REMOVE_COMMENTS - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- REMOVE_EMPTY_ATTRIBUTES - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- REMOVE_PURE_ELEMENTS - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- removeAttribute(String) - Method in class cdc.util.data.Element
-
Removes an attribute identified by its name.
- removeAttributes() - Method in class cdc.util.data.Element
-
Remove all attributes of this element.
- removeAttributes(Predicate<Attribute>) - Method in class cdc.util.data.Element
-
- removeAttributes(Predicate<Attribute>, boolean) - Method in class cdc.util.data.Element
-
- removeAttributesNamed(String) - Method in class cdc.util.data.Element
-
- removeAttributesNamed(String...) - Method in class cdc.util.data.Element
-
- removeAttributesNamed(String, boolean) - Method in class cdc.util.data.Element
-
- removeAttributesNamed(Set<String>) - Method in class cdc.util.data.Element
-
- removeAttributesNamed(Set<String>, boolean) - Method in class cdc.util.data.Element
-
- removeChild(Child) - Method in interface cdc.util.data.Parent
-
Remove a child.
- removeChildAt(int) - Method in interface cdc.util.data.Parent
-
Removes the child located at a given index.
- removeChildren() - Method in interface cdc.util.data.Parent
-
Removes all children locally.
- removeChildren(Predicate<? super Child>) - Method in interface cdc.util.data.Parent
-
Removes all children that match a predicate.
- removeChildren(Predicate<? super Child>, boolean, boolean) - Method in interface cdc.util.data.Parent
-
Removes all children that match a predicate, recursively.
- removeComments() - Method in interface cdc.util.data.Parent
-
Removes all comments locally.
- removeComments(boolean) - Method in interface cdc.util.data.Parent
-
Removes all comments recursively.
- removeComments(Parent, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Removes comments nodes.
- removed - Variable in class cdc.util.data.tools.XmlNormalizer.MainArgs
-
Set of attributes and elements to remove.
- removeElementsNamed(String) - Method in interface cdc.util.data.Parent
-
Removes all children elements that have a given name.
- removeElementsNamed(String, boolean) - Method in interface cdc.util.data.Parent
-
Removes all children elements that have a given name, recursively.
- removeEmptyAttributes(Parent, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Recursively removes empty attributes.
- removeIgnorableText(Parent, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Removes text that can be ignored.
- removeIgnorableTexts() - Method in interface cdc.util.data.Parent
-
Removes all ignorable texts locally.
- removeIgnorableTexts(boolean) - Method in interface cdc.util.data.Parent
-
Removes all ignorable texts recursively.
- removeMatchingAttributes(Parent, AttributePredicate, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Removes matching attributes.
- removeMatchingChildren(Parent, Predicate<? super Child>, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Removes matching children.
- removePureElements(Parent, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Removes pure elements (they have no children and no attributes).
- removeTexts() - Method in interface cdc.util.data.Parent
-
Removes all texts locally.
- removeTexts(boolean) - Method in interface cdc.util.data.Parent
-
Removes all texts recursively.
- renamed - Variable in class cdc.util.data.tools.XmlNormalizer.MainArgs
-
Renaming of attributes and elements.
- resetParent() - Method in class cdc.util.data.AbstractChild
-
- save(Document, File, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Document to a File.
- save(Document, OutputStream, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Document to an OutputStream.
- save(Document, Writer, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Document to a Writer.
- save(Document, String, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Document to a File.
- save(Node, boolean, File, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Node to a File.
- save(Node, boolean, OutputStream, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Node to an OutputStream.
- save(Node, boolean, Writer, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Node to a Writer.
- save(Node, boolean, String, String, XmlWriter.Feature...) - Static method in class cdc.util.data.xml.XmlDataWriter
-
Saves a Node to a File.
- scramble(boolean) - Static method in interface cdc.util.data.util.AttributeValueConverter
-
- scramble(boolean) - Static method in interface cdc.util.data.util.TextContentConverter
-
- SCRAMBLE_ATTRIBUTES - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- SCRAMBLE_ELEMENTS - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- scrambled - Variable in class cdc.util.data.tools.XmlNormalizer.MainArgs
-
Set of attributes and elements to scramble.
- SELECTOR - cdc.util.data.paths.Part.Type
-
The part designates an element selector, using an attribute.
- set - Variable in class cdc.util.data.tools.XmlNormalizer.MainArgs
-
Setting of attributes values and elements contents.
- setAttributeFilter(AttributePredicate) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the attribute filter.
- setAttributeNameConverter(AttributeNameConverter) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the attribute name converter.
- setAttributeValueConverter(AttributeValueConverter) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the attribute value converter.
- setContent(String) - Method in class cdc.util.data.AbstractContentNode
-
- setContentOfMatchingElements(Parent, ElementPredicate, TextContentConverter, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
- setContentOfMatchingTexts(Parent, TextPredicate, TextContentConverter, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Sets the content of matching texts.
- setElementNameConverter(ElementNameConverter) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the element name converter.
- setElementPostFilter(ElementPredicate) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the element post filter.
- setElementPreFilter(ElementPredicate) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the element pre filter.
- setEnabled(XmlNormalizer.MainArgs.Feature, boolean) - Method in class cdc.util.data.tools.XmlNormalizer.MainArgs
-
- setEnabled(XmlDataReader.Feature, boolean) - Method in class cdc.util.data.xml.XmlDataReader
-
Enables or disables a feature.
- setEntityResolver(EntityResolver) - Method in class cdc.util.data.xml.XmlDataReader
-
Sets the entity resolver.
- setIndex(int) - Method in interface cdc.util.data.Child
-
Set the index of this child.
- setName(String) - Method in class cdc.util.data.Element
-
Sets the name of this element.
- setNameOfMatchingAttributes(Parent, AttributePredicate, AttributeNameConverter, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Sets names of matching attributes.
- setNameOfMatchingElements(Parent, Predicate<? super Element>, ElementNameConverter, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Sets the name of matching elements.
- setParent(Parent) - Method in class cdc.util.data.AbstractChild
-
- setParent(Parent) - Method in interface cdc.util.data.Child
-
Sets or changes the parent of this child.
- setTextContentConverter(TextContentConverter) - Method in class cdc.util.data.xml.XmlDataReader
-
- setValue(boolean) - Method in class cdc.util.data.Attribute
-
- setValue(byte) - Method in class cdc.util.data.Attribute
-
- setValue(double) - Method in class cdc.util.data.Attribute
-
- setValue(float) - Method in class cdc.util.data.Attribute
-
- setValue(int) - Method in class cdc.util.data.Attribute
-
- setValue(long) - Method in class cdc.util.data.Attribute
-
- setValue(short) - Method in class cdc.util.data.Attribute
-
- setValue(E) - Method in class cdc.util.data.Attribute
-
- setValue(Object) - Method in class cdc.util.data.Attribute
-
- setValue(String) - Method in class cdc.util.data.Attribute
-
- setValueOfMatchingAttributes(Parent, AttributePredicate, AttributeValueConverter, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Sets value of matching attributes.
- SHARE_ATTRIBUTE_NAMES - cdc.util.data.xml.XmlDataReader.Feature
-
If enabled, attributes names are shared using an internal cache.
- SHARE_ELEMENT_NAMES - cdc.util.data.xml.XmlDataReader.Feature
-
If enabled, element names are shared using an internal cache.
- SORT_ATTRIBUTES - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- SORT_ELEMENTS - cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- sortAttributes(Parent, Comparator<Attribute>, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Sorts attributes of elements using a user defined sorter.
- sortChildren(Parent, Predicate<? super Parent>, Comparator<? super Child>, Evaluator<? super Parent>) - Static method in class cdc.util.data.util.DataUtil
-
Sorts children nodes using a user-defined comparator.
- sortChildren(Comparator<? super Child>) - Method in interface cdc.util.data.Parent
-
Sorts children locally.
- sortChildren(Comparator<? super Child>, boolean) - Method in interface cdc.util.data.Parent
-
Sorts children recursively.
- SPath - Class in cdc.util.data.paths
-
Simple path.
- SPath(String) - Constructor for class cdc.util.data.paths.SPath
-
- valueOf(String) - Static method in enum cdc.util.data.ElementContentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.data.NodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.data.paths.Part.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.util.data.xml.XmlDataReader.Feature
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum cdc.util.data.ElementContentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.data.NodeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.data.paths.Part.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cdc.util.data.xml.XmlDataReader.Feature
-
Returns an array containing the constants of this enum type, in
the order they are declared.