Skip navigation links
A B C D E F I L M N O P R S T V X 

A

alwaysFalse() - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns a constant value of false.
alwaysTrue() - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns a constant value of true.
and(NodeFilter) - Method in interface net.kyori.xml.node.filter.NodeFilter
Logical and with this with that.
apply(Node) - Method in interface net.kyori.xml.node.flattener.NodeFlattener
Deprecated.
only exists to implement Function
apply(Node) - Method in interface net.kyori.xml.node.parser.Parser
Deprecated.
only exists to implement Function
attribute() - Method in interface net.kyori.xml.node.AttributeNode
Gets the attribute.
attribute(String) - Method in interface net.kyori.xml.node.AttributeNode
 
attribute(String) - Method in interface net.kyori.xml.node.Node
Gets an attribute by its name.
AttributeNode - Interface in net.kyori.xml.node
A node around an attribute.
attributes() - Method in interface net.kyori.xml.node.AttributeNode
 
attributes(Collection<String>) - Method in interface net.kyori.xml.node.AttributeNode
 
attributes() - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes of this node.
attributes(String...) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes of this node matching a set of names.
attributes(Collection<String>) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes of this node matching a set of names.

B

bindParser(Class<T>) - Method in class net.kyori.xml.node.parser.ParserBinder
Creates a binding builder for binding a parser for T.
bindParser(TypeLiteral<T>) - Method in class net.kyori.xml.node.parser.ParserBinder
Creates a binding builder for binding a parser for T.
bindPrimitiveParser(Class<T>) - Method in class net.kyori.xml.node.parser.ParserBinder
Creates a binding builder for binding a primitive parser for T.
bindPrimitiveParser(TypeLiteral<T>) - Method in class net.kyori.xml.node.parser.ParserBinder
Creates a binding builder for binding a primitive parser for T.
bindRangeParser(Class<T>) - Method in class net.kyori.xml.node.parser.ParserBinder
Creates a binding builder for binding a range parser for T.
bindRangeParser(TypeLiteral<T>) - Method in class net.kyori.xml.node.parser.ParserBinder
Creates a binding builder for binding a range parser for T.
BooleanParser - Class in net.kyori.xml.node.parser
Parses a Node into a boolean.
BooleanParser() - Constructor for class net.kyori.xml.node.parser.BooleanParser
 
BranchLeafNodeFlattener - Class in net.kyori.xml.node.flattener
A node flattener that flattens a node into a stream of leaf nodes gathered from branch nodes.
BranchLeafNodeFlattener(String, String) - Constructor for class net.kyori.xml.node.flattener.BranchLeafNodeFlattener
 
BranchLeafNodeFlattener(Set<String>, Set<String>) - Constructor for class net.kyori.xml.node.flattener.BranchLeafNodeFlattener
 
BranchLeafNodeFlattener(NodeFilter, NodeFilter) - Constructor for class net.kyori.xml.node.flattener.BranchLeafNodeFlattener
 
build() - Method in interface net.kyori.xml.document.factory.DocumentFactory.Builder
Builds a document factory.
builder() - Static method in interface net.kyori.xml.document.factory.DocumentFactory
Creates a new builder.
builder(SAXBuilder) - Method in interface net.kyori.xml.document.factory.DocumentFactory.Builder
Sets the sax builder.
ByteParser - Class in net.kyori.xml.node.parser.number
Parses a Node into a byte.
ByteParser() - Constructor for class net.kyori.xml.node.parser.number.ByteParser
 

C

ClonedElement - Class in net.kyori.xml.element
An alternative to Element.clone().
ClonedElement(Element) - Constructor for class net.kyori.xml.element.ClonedElement
 
collect(Collector<? super Node, A, R>) - Method in interface net.kyori.xml.node.stream.NodeStream
Performs a mutable reduction operation on the nodes of this stream using a Collector.
concat(NodeStream, NodeStream) - Static method in interface net.kyori.xml.node.stream.NodeStream
Creates a lazily concatenated node stream whose elements are all the elements of the first stream followed by all the elements of the second stream.
configure() - Method in class net.kyori.xml.node.parser.number.NumberParserModule
 
configure() - Method in class net.kyori.xml.node.parser.ParserModule
 

D

DocumentFactory - Interface in net.kyori.xml.document.factory
A document factory.
DocumentFactory.Builder - Interface in net.kyori.xml.document.factory
A document factory builder.
DoubleParser - Class in net.kyori.xml.node.parser.number
Parses a Node into a double.
DoubleParser() - Constructor for class net.kyori.xml.node.parser.number.DoubleParser
 

E

element() - Method in interface net.kyori.xml.node.ElementNode
Gets the element.
element(String) - Method in interface net.kyori.xml.node.Node
Gets a single element node by its name.
ElementNode - Interface in net.kyori.xml.node
A node around an element.
Elements - Interface in net.kyori.xml.element
 
elements() - Method in interface net.kyori.xml.node.AttributeNode
 
elements(Collection<String>) - Method in interface net.kyori.xml.node.AttributeNode
 
elements() - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the children elements of this node.
elements(String) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the children elements of this node matching a name.
elements(String...) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the children elements of this node matching a set of names.
elements(Collection<String>) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the children elements of this node matching a set of names.
empty() - Static method in interface net.kyori.xml.node.stream.NodeStream
Creates an empty node stream.
EMPTY - Static variable in interface net.kyori.xml.node.stream.NodeStreamElement
 
empty() - Static method in interface net.kyori.xml.node.stream.NodeStreamElement
Gets an empty node stream element.
EnumParser<E extends java.lang.Enum<E>> - Class in net.kyori.xml.node.parser
Parses a Node into an enum constant.
EnumParser(Class<E>) - Constructor for class net.kyori.xml.node.parser.EnumParser
 
EnumParser(TypeLiteral<E>) - Constructor for class net.kyori.xml.node.parser.EnumParser
 

F

filter(Predicate<? super Node>) - Method in interface net.kyori.xml.node.stream.NodeStream
Returns a stream consisting of the nodes of this stream that match the given predicate.
findAny() - Method in interface net.kyori.xml.node.stream.NodeStream
Returns an Optional describing some node of the stream, or an empty Optional if the stream is empty.
findFirst() - Method in interface net.kyori.xml.node.stream.NodeStream
Returns an Optional describing the first node of this stream, or an empty Optional if the stream is empty.
finite(Node, String) - Method in class net.kyori.xml.node.parser.number.ByteParser
 
finite(Node, String) - Method in class net.kyori.xml.node.parser.number.DoubleParser
 
finite(Node, String) - Method in class net.kyori.xml.node.parser.number.FloatParser
 
finite(Node, String) - Method in class net.kyori.xml.node.parser.number.IntegerParser
 
finite(Node, String) - Method in class net.kyori.xml.node.parser.number.LongParser
 
finite(Node, String) - Method in interface net.kyori.xml.node.parser.number.NumberParser
Parses a Node's value into a finite T.
finite(Node, String) - Method in class net.kyori.xml.node.parser.number.ShortParser
 
flatMap(Function<? super Node, ? extends NodeStream>) - Method in interface net.kyori.xml.node.stream.NodeStream
Returns a stream consisting of the results of replacing each node of this stream with the contents of a mapped stream produced by applying the provided mapping function to each node.
flatten(Node, int) - Method in class net.kyori.xml.node.flattener.BranchLeafNodeFlattener
 
flatten(Node) - Method in interface net.kyori.xml.node.flattener.NodeFlattener
Flattens a node.
flatten(Node, int) - Method in interface net.kyori.xml.node.flattener.NodeFlattener
Flattens a node.
flatten(Node, int) - Method in class net.kyori.xml.node.flattener.PathNodeFlattener
 
FloatParser - Class in net.kyori.xml.node.parser.number
Parses a Node into a float.
FloatParser() - Constructor for class net.kyori.xml.node.parser.number.FloatParser
 
forEach(Consumer<? super Node>) - Method in interface net.kyori.xml.node.stream.NodeStream
Performs an action for each node of this stream.

I

ifPresent(Consumer<? super T>) - Method in interface net.kyori.xml.node.stream.NodeStreamElement
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
Impl() - Constructor for class net.kyori.xml.node.flattener.NodeFlattener.Impl
 
INCLUDE_ELEMENT_NAME - Static variable in interface net.kyori.xml.document.factory.DocumentFactory
The name of the include element.
includePaths(Path...) - Method in interface net.kyori.xml.document.factory.DocumentFactory.Builder
Sets the include paths.
includePaths(List<Path>) - Method in interface net.kyori.xml.document.factory.DocumentFactory.Builder
Sets the include paths.
INFINITY_SYMBOL_A - Static variable in interface net.kyori.xml.node.parser.number.NumberParser
 
INFINITY_SYMBOL_B - Static variable in interface net.kyori.xml.node.parser.number.NumberParser
 
inherit(Parent, Element) - Static method in interface net.kyori.xml.element.Elements
Inherit attributes from source into target.
inherit(Element, Element) - Static method in interface net.kyori.xml.element.Elements
Inherit attributes from source into target.
inherited(Node) - Static method in interface net.kyori.xml.element.Elements
Returns an element which inherits attributes from its parent element, if present.
inherited(Element) - Static method in interface net.kyori.xml.element.Elements
Returns an element which inherits attributes from its parent element, if present.
InheritedElement - Class in net.kyori.xml.element
An element which inherits attributes from its parent element, if present.
InheritedElement(Element) - Constructor for class net.kyori.xml.element.InheritedElement
 
IntegerParser - Class in net.kyori.xml.node.parser.number
Parses a Node into an integer.
IntegerParser() - Constructor for class net.kyori.xml.node.parser.number.IntegerParser
 

L

LongParser - Class in net.kyori.xml.node.parser.number
Parses a Node into a long.
LongParser() - Constructor for class net.kyori.xml.node.parser.number.LongParser
 

M

map(Function<? super Node, ? extends R>) - Method in interface net.kyori.xml.node.stream.NodeStream
Returns a stream consisting of the results of applying the given function to the nodes of this stream.
map(Function<? super T, ? extends R>) - Method in interface net.kyori.xml.node.stream.NodeStreamElement
Returns a stream element consisting of the result of applying the given function to T.
maybeOf(Attribute) - Static method in interface net.kyori.xml.node.Node
Creates a node from an attribute.
maybeOf(Element) - Static method in interface net.kyori.xml.node.Node
Creates a node from an element.
minimumDepth(int) - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns true when the depth is at least minimumDepth.

N

name() - Method in interface net.kyori.xml.node.AttributeNode
 
name() - Method in interface net.kyori.xml.node.ElementNode
 
name() - Method in interface net.kyori.xml.node.Node
Gets the name of this node.
named(String) - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns true if names is equal to the name of the node.
named(String...) - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns true if names contains the name of the node.
named(Set<String>) - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns true if names contains the name of the node.
named(String) - Method in interface net.kyori.xml.node.stream.NodeStream
Returns a stream consisting of the nodes of this stream that are named name.
named(String...) - Method in interface net.kyori.xml.node.stream.NodeStream
Returns a stream consisting of the nodes of this stream whose name is in names.
named(Collection<String>) - Method in interface net.kyori.xml.node.stream.NodeStream
Returns a stream consisting of the nodes of this stream whose name is in names.
NEGATIVE_INFINITY_SYMBOL_A - Static variable in interface net.kyori.xml.node.parser.number.NumberParser
 
NEGATIVE_INFINITY_SYMBOL_B - Static variable in interface net.kyori.xml.node.parser.number.NumberParser
 
negativeInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.ByteParser
 
negativeInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.DoubleParser
 
negativeInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.FloatParser
 
negativeInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.IntegerParser
 
negativeInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.LongParser
 
negativeInfinity(Node, String) - Method in interface net.kyori.xml.node.parser.number.NumberParser
Parses a Node's value into T's negative infinity.
negativeInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.ShortParser
 
net.kyori.xml - package net.kyori.xml
 
net.kyori.xml.document.factory - package net.kyori.xml.document.factory
 
net.kyori.xml.element - package net.kyori.xml.element
 
net.kyori.xml.node - package net.kyori.xml.node
 
net.kyori.xml.node.filter - package net.kyori.xml.node.filter
 
net.kyori.xml.node.flattener - package net.kyori.xml.node.flattener
 
net.kyori.xml.node.parser - package net.kyori.xml.node.parser
 
net.kyori.xml.node.parser.number - package net.kyori.xml.node.parser.number
 
net.kyori.xml.node.stream - package net.kyori.xml.node.stream
 
node(Node, int) - Method in class net.kyori.xml.node.flattener.NodeFlattener.Impl
 
Node - Interface in net.kyori.xml.node
 
node(String) - Method in interface net.kyori.xml.node.Node
Gets a single node by its name.
node() - Method in exception net.kyori.xml.XMLException
 
NodeFilter - Interface in net.kyori.xml.node.filter
A filter which accepts a node and depth.
NodeFilters - Class in net.kyori.xml.node.filter
 
NodeFlattener - Interface in net.kyori.xml.node.flattener
Takes a node and flattens it into a stream of nodes, similar to a flatMap operation on a Stream.
NodeFlattener.Impl - Class in net.kyori.xml.node.flattener
 
nodes() - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes and children elements of this node.
nodes(String) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes and children elements of this node matching a name.
nodes(String...) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes and children elements of this node matching a set of names.
nodes(Collection<String>) - Method in interface net.kyori.xml.node.Node
Creates a stream of nodes from the attributes and children elements of this node matching a set of names.
NodeStream - Interface in net.kyori.xml.node.stream
A stream of nodes.
NodeStreamElement<T> - Interface in net.kyori.xml.node.stream
 
normalizedValue() - Method in interface net.kyori.xml.node.AttributeNode
 
normalizedValue() - Method in interface net.kyori.xml.node.ElementNode
 
normalizedValue() - Method in interface net.kyori.xml.node.Node
Gets the normalized value of this node.
NumberParser<T extends java.lang.Number> - Interface in net.kyori.xml.node.parser.number
Parses a Node into a number of type T.
NumberParserModule - Class in net.kyori.xml.node.parser.number
A module that binds parsers for numbers.
NumberParserModule() - Constructor for class net.kyori.xml.node.parser.number.NumberParserModule
 

O

of(Attribute) - Static method in interface net.kyori.xml.node.Node
Creates a node from an attribute.
of(Element) - Static method in interface net.kyori.xml.node.Node
Creates a node from an element.
of(Node) - Static method in interface net.kyori.xml.node.stream.NodeStream
Creates a node stream consisting of a single node.
of(Stream<Node>) - Static method in interface net.kyori.xml.node.stream.NodeStream
Creates a node stream from a stream of nodes.
one() - Method in interface net.kyori.xml.node.stream.NodeStream
Gets a stream element representing a single node.
onlyAttributes() - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns true when the node is a AttributeNode.
onlyElements() - Static method in class net.kyori.xml.node.filter.NodeFilters
Gets a node filter that returns true when the node is a ElementNode.
optional() - Method in interface net.kyori.xml.node.stream.NodeStreamElement
Gets an optional representing T.
optional(T) - Method in interface net.kyori.xml.node.stream.NodeStreamElement
Gets T, or defaultValue.
or(NodeFilter) - Method in interface net.kyori.xml.node.filter.NodeFilter
Logical and with this with that.

P

parse(Optional<Node>) - Method in interface net.kyori.xml.node.parser.Parser
Parses a Node into T.
parse(Node) - Method in interface net.kyori.xml.node.parser.Parser
Parses a Node into T.
parse(NodeStream) - Method in interface net.kyori.xml.node.parser.Parser
Parses a stream of Node into a stream of T.
parse(Stream<Node>) - Method in interface net.kyori.xml.node.parser.Parser
Parses a stream of Node into a stream of T.
parseable(Node) - Method in interface net.kyori.xml.node.parser.SelectiveParser
Tests if node is parseable.
Parser<T> - Interface in net.kyori.xml.node.parser
Parses a Node into T.
ParserBinder - Class in net.kyori.xml.node.parser
A parser binder.
ParserBinder(Binder) - Constructor for class net.kyori.xml.node.parser.ParserBinder
 
ParserModule - Class in net.kyori.xml.node.parser
A module that binds common parsers.
ParserModule() - Constructor for class net.kyori.xml.node.parser.ParserModule
 
PathNodeFlattener - Class in net.kyori.xml.node.flattener
A flattener which follows a path of node names.
PathNodeFlattener(NodeFilter, String...) - Constructor for class net.kyori.xml.node.flattener.PathNodeFlattener
 
PathNodeFlattener(NodeFilter, List<String>) - Constructor for class net.kyori.xml.node.flattener.PathNodeFlattener
 
POSITIVE_INFINITY_SYMBOL_A - Static variable in interface net.kyori.xml.node.parser.number.NumberParser
 
POSITIVE_INFINITY_SYMBOL_B - Static variable in interface net.kyori.xml.node.parser.number.NumberParser
 
positiveInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.ByteParser
 
positiveInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.DoubleParser
 
positiveInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.FloatParser
 
positiveInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.IntegerParser
 
positiveInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.LongParser
 
positiveInfinity(Node, String) - Method in interface net.kyori.xml.node.parser.number.NumberParser
Parses a Node's value into T's positive infinity.
positiveInfinity(Node, String) - Method in class net.kyori.xml.node.parser.number.ShortParser
 
PrimitiveParser<T> - Interface in net.kyori.xml.node.parser
Parses a Node's value into T.

R

RangeParser<C extends java.lang.Comparable<C>> - Class in net.kyori.xml.node.parser
 
RangeParser(PrimitiveParser<C>) - Constructor for class net.kyori.xml.node.parser.RangeParser
 
read(Path) - Method in interface net.kyori.xml.document.factory.DocumentFactory
Reads a document.
requireAttribute(String) - Method in interface net.kyori.xml.node.Node
Gets a required attribute by its name.
required() - Method in interface net.kyori.xml.node.stream.NodeStreamElement
Gets T.

S

SelectiveParser<T> - Interface in net.kyori.xml.node.parser
Parses a Node into T if SelectiveParser.parseable(Node) returns true.
ShortParser - Class in net.kyori.xml.node.parser.number
Parses a Node into a short.
ShortParser() - Constructor for class net.kyori.xml.node.parser.number.ShortParser
 
stream() - Method in interface net.kyori.xml.node.stream.NodeStream
Gets the backing stream.
StringParser - Class in net.kyori.xml.node.parser
Parses a Node into a string.
StringParser() - Constructor for class net.kyori.xml.node.parser.StringParser
 

T

test(Node, int) - Method in interface net.kyori.xml.node.filter.NodeFilter
Tests if this filter allows node at a depth of depth.
throwingParse(Node, String) - Method in class net.kyori.xml.node.parser.BooleanParser
 
throwingParse(Node, String) - Method in class net.kyori.xml.node.parser.EnumParser
 
throwingParse(Node, String) - Method in interface net.kyori.xml.node.parser.number.NumberParser
 
throwingParse(Node) - Method in interface net.kyori.xml.node.parser.Parser
Parses a Node into T.
throwingParse(Node) - Method in interface net.kyori.xml.node.parser.PrimitiveParser
 
throwingParse(Node, String) - Method in interface net.kyori.xml.node.parser.PrimitiveParser
Parses a Node's value into T.
throwingParse(Node, String) - Method in class net.kyori.xml.node.parser.RangeParser
 
throwingParse(Node, String) - Method in class net.kyori.xml.node.parser.StringParser
 

V

value() - Method in interface net.kyori.xml.node.AttributeNode
 
value() - Method in interface net.kyori.xml.node.ElementNode
 
value() - Method in interface net.kyori.xml.node.Node
Gets the value of this node.

X

XMLException - Exception in net.kyori.xml
An exception involving XML.
XMLException(String) - Constructor for exception net.kyori.xml.XMLException
 
XMLException(Node, String) - Constructor for exception net.kyori.xml.XMLException
 
XMLException(String, Throwable) - Constructor for exception net.kyori.xml.XMLException
 
XMLException(Node, String, Throwable) - Constructor for exception net.kyori.xml.XMLException
 
A B C D E F I L M N O P R S T V X 
Skip navigation links