Top Deprecated
Apache Groovy 3.0.20

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
groovy.util.XmlNodePrinter.NamespaceContext.NamespaceContext(XmlNodePrinter.NamespaceContext context)

Deprecated as a consequence of XmlNodePrinter.NamespaceContext being deprecated. See corresponding docs for further information.

groovy.util.XmlNodePrinter.printList(List<E> list, XmlNodePrinter.NamespaceContext ctx)

Deprecated as a consequence of XmlNodePrinter.NamespaceContext being deprecated. See corresponding docs for further information.

groovy.util.XmlNodePrinter.printName(Node node, XmlNodePrinter.NamespaceContext ctx, boolean begin, boolean preserve)

Deprecated as a consequence of XmlNodePrinter.NamespaceContext being deprecated. See corresponding docs for further information.

groovy.util.XmlNodePrinter.printNameAttributes(Map<K, V> attributes, XmlNodePrinter.NamespaceContext ctx)

Deprecated as a consequence of XmlNodePrinter.NamespaceContext being deprecated. See corresponding docs for further information.

groovy.util.XmlNodePrinter.printNamespace(Object object, XmlNodePrinter.NamespaceContext ctx)

Deprecated as a consequence of XmlNodePrinter.NamespaceContext being deprecated. See corresponding docs for further information.

groovy.util.XmlSlurper.currentNode

Deprecated as a consequence of Node being deprecated. See corresponding docs for further information.

Returns:

The GPathResult instance created by consuming a stream of SAX events Note if one of the parse methods has been called then this returns null Note if this is called more than once all calls after the first will return null
groovy.util.XmlSlurper.getDocument
()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

An object which supports GPath expressions
groovy.util.XmlSlurper.parse
(final InputSource
the InputSource to parse
input
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

An object which supports GPath expressions
groovy.util.XmlSlurper.parse
(final File
the File to parse
file
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

An object which supports GPath expressions
groovy.util.XmlSlurper.parse
(final InputStream
the InputStream to parse
input
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

An object which supports GPath expressions
groovy.util.XmlSlurper.parse
(final Reader
the Reader to parse
in
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

An object which supports GPath expressions
groovy.util.XmlSlurper.parse
(final String
a String containing the URI to parse
uri
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

An object which supports GPath expressions
groovy.util.XmlSlurper.parseText
(final String
a String containing XML to parse
text
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.XmlSlurper.setKeepWhitespace(boolean
If true then whitespace before elements is kept. The default is to discard the whitespace.
keepWhitespace
)

use setKeepIgnorableWhitespace

groovy.util.XmlUtil.asString(GPathResult node)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the pretty String representation of the GPathResult
groovy.util.XmlUtil.serialize
(GPathResult
a GPathResult to serialize to a String
node
)

groovy.util.XmlUtil.serialize(GPathResult
a GPathResult to serialize
node
,
OutputStream
the OutputStream to write to
os
)

groovy.util.XmlUtil.serialize(GPathResult
a GPathResult to serialize
node
,
Writer
the Writer to write to
w
)

groovy.util.slurpersupport.Attribute.Attribute(final String
of the attribute
name
,
final String
of the attribute
value
,
final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
the namespace prefix if any
namespacePrefix
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attribute.find(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attribute.findAll(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attribute.parents()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attributes.Attributes(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
if the GPathResult corresponds to something with a name, e.g. a node
name
,
final String
the namespace prefix if any
namespacePrefix
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attributes.Attributes(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
if the GPathResult corresponds to something with a name, e.g. a node
name
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attributes.findAll(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Attributes.parents()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.FilteredAttributes.FilteredAttributes(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Closure<V>
the Closure to use to filter the attributes
closure
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.FilteredNodeChildren.FilteredNodeChildren(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Closure<V>
the Closure to use to filter the nodes
closure
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.FilteredNodeChildren.pop()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.GPathResult.GPathResult(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
if the GPathResult corresponds to something with a name, e.g. a node
name
,
final String
the namespace prefix if any
namespacePrefix
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the children of this GPathResult
groovy.util.slurpersupport.GPathResult.children
()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

this
groovy.util.slurpersupport.GPathResult.declareNamespace
(final Map<K, V>
the mappings to add
newNamespaceMapping
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the first child matching the closure
groovy.util.slurpersupport.GPathResult.find
(Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the children matching the closure
groovy.util.slurpersupport.GPathResult.findAll
(Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.GPathResult.parent

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the parents GPathResult or this for the root
groovy.util.slurpersupport.GPathResult.parent
()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the parents of this GPathResult
groovy.util.slurpersupport.GPathResult.parents
()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

the parent or this
groovy.util.slurpersupport.GPathResult.pop
()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NoChildren.NoChildren(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
if the GPathResult corresponds to something with a name, e.g. a node
name
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

this
groovy.util.slurpersupport.NoChildren.find
(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Returns:

this
groovy.util.slurpersupport.NoChildren.findAll
(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NoChildren.parents()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Node.Node(final Node
the parent node
parent
,
final String
the name for the node
name
,
final Map<K, V>
the attributes for the node
attributes
,
final Map<K, V>
the namespace mappings for attributes
attributeNamespaces
,
final String
the namespace URI if any
namespaceURI
)

Deprecated as a consequence of Node being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Node.appendNode(final Object newValue, final GPathResult result)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Node.parent

Deprecated as a consequence of Node being deprecated. See corresponding docs for further information.

Returns:

the parent of this Node
groovy.util.slurpersupport.Node.parent
()

Deprecated as a consequence of Node being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.Node.replaceNode(final Closure<V> replacementClosure, final GPathResult result)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.NodeChild(final Node
a node
node
,
final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
the namespace prefix if any
namespacePrefix
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of Node and GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.NodeChild(final Node
a node
node
,
final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of Node and GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.find(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.findAll(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.node

Deprecated as a consequence of Node being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.parent()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChild.parents()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChildren.NodeChildren(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
if the GPathResult corresponds to something with a name, e.g. a node
name
,
final String
the namespace prefix if any
namespacePrefix
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChildren.NodeChildren(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final String
if the GPathResult corresponds to something with a name, e.g. a node
name
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChildren.NodeChildren(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChildren.find(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChildren.findAll(final Closure<V>
a closure to filters the children of this GPathResult
closure
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeChildren.parents()

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.util.slurpersupport.NodeParents.NodeParents(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated. See corresponding docs for further information.

groovy.xml.XmlSlurper.setKeepWhitespace(boolean
If true then whitespace before elements is kept. The default is to discard the whitespace.
keepWhitespace
)

use setKeepIgnorableWhitespace

Returns:

an Iterator for a NodeList
org.codehaus.groovy.runtime.XmlGroovyMethods.iterator
(final NodeList
a NodeList
nodeList
)

Returns:

the string representation of the element
org.codehaus.groovy.runtime.XmlGroovyMethods.serialize
(Element
the element to serialize
element
)