Deprecated
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | 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.
|
| public | 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.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | build(final GroovyObject builder)
Overrides groovy. Implements groovy. |
| public Iterator | childNodes()
Overrides groovy. GroovyRuntimeException, because attributes can have no children.
|
| public GPathResult | findAll(final Closure<V>
a closure to filters the children of this GPathResult closure)Overrides groovy.
Deprecated
as a consequence of
Returns the children of this GPathResult matching the condition(s)
specified in the passed closure.
GPathResult being deprecated.
|
| public Iterator | iterator()
Overrides groovy. Implements java. T.
|
| public List | list()
Overrides groovy. |
| public String | |
| public Iterator | |
| public GPathResult | parents()
Overrides groovy.
Deprecated
as a consequence of
Throws a GPathResult being deprecated.
GroovyRuntimeException, because it is not implemented yet.
|
| public String | text()
Overrides groovy. String.
|
| public Writer | writeTo(final Writer
the Writer to which this Writable should output its data. out)Overrides groovy. Implements groovy. |
| attributeName | back to summary |
|---|---|
| pack-priv final String attributeName | |
| Attributes | back to summary |
|---|---|
| public Attributes(final GPathResult parent, final String name, final String namespacePrefix, final Map<String, String> namespaceTagHints)
Deprecated as a consequence of
| |
| Attributes | back to summary |
|---|---|
| public Attributes(final GPathResult parent, final String name, final Map<String, String> namespaceTagHints)
Deprecated as a consequence of
| |
| build | back to summary |
|---|---|
| public void build(final GroovyObject builder) Overrides groovy. Implements groovy. | |
| childNodes | back to summary |
|---|---|
| public Iterator Overrides groovy. Throws a
| |
| findAll | back to summary |
|---|---|
| public GPathResult findAll(final Closure<V> closure) Overrides groovy. Doc from groovy. Deprecated as a consequence of Returns the children of this GPathResult matching the condition(s) specified in the passed closure.
| |
| iterator | back to summary |
|---|---|
| public Iterator Overrides groovy. Implements java. Doc from java. Returns an iterator over elements of type
| |
| list | back to summary |
|---|---|
| public List Overrides groovy. Doc from groovy. Creates a list of objects representing this GPathResult.
| |
| name | back to summary |
|---|---|
| public String name() Overrides groovy. Doc from groovy. Returns the name of this GPathResult.
| |
| nodeIterator | back to summary |
|---|---|
| public Iterator Overrides groovy. | |
| parents | back to summary |
|---|---|
| public GPathResult parents() Overrides groovy. Doc from groovy. Deprecated as a consequence of Throws a
| |
| text | back to summary |
|---|---|
| public String text() Overrides groovy. Doc from groovy. Returns the text of this GPathResult as a
| |
| writeTo | back to summary |
|---|---|
| public Writer writeTo(final Writer out) throws IOException Overrides groovy. Implements groovy. Doc from groovy. Writes this object to the given writer. This is used to defer content creation until the point when it is streamed to the output destination. Oftentimes, content will be defined but not necessarily created (as is may be the case with a Closure definition.) In that case, the output is then 'deferred' to the point when it is serialized to the writer. This class may be used whenever an object should be responsible for creating its own textual representation, but creating the entire output as a single String would be inefficient (such as outputting a multi-gigabyte XML document.)
| |