Deprecated
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | 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.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | appendNode(final Object newValue)
Implements abstract groovy. |
| public void | |
| public Iterator | childNodes()
Implements abstract groovy. GroovyRuntimeException, because an attribute can have no children.
|
| public GPathResult | find(final Closure<V>
a closure to filters the children of this GPathResult closure)Implements abstract groovy.
Deprecated
as a consequence of
Returns the first child of this GPathResult matching the condition(s)
specified in the passed closure.
GPathResult being deprecated.
|
| public GPathResult | findAll(final Closure<V>
a closure to filters the children of this GPathResult closure)Implements abstract 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()
Implements abstract groovy. Implements java. T.
|
| public String | |
| public String | Returns: the namespace of this AttributeReturns the URI of the namespace of this Attribute. |
| public Iterator | |
| public GPathResult | parents()
Implements abstract groovy.
Deprecated
as a consequence of
Throws a GPathResult being deprecated.
GroovyRuntimeException, because this method is not implemented yet.
|
| protected void | replaceBody(final Object newValue)
Implements abstract groovy. |
| protected void | replaceNode(final Closure<V> newValue)
Implements abstract groovy. |
| public int | Returns: 1Implements abstract groovy. 1.
|
| public String | Returns: the value of this AttributeImplements abstract groovy. |
| public Writer | writeTo(final Writer
the Writer to which this Writable should output its data. out)Implements groovy. |
| value | back to summary |
|---|---|
| private final String value | |
| Attribute | back to summary |
|---|---|
| public Attribute(final String name, final String value, final GPathResult parent, final String namespacePrefix, final Map<String, String> namespaceTagHints)
Deprecated as a consequence of | |
| appendNode | back to summary |
|---|---|
| protected void appendNode(final Object newValue) Implements abstract groovy. NOP, because an node can not be appended to an attribute. | |
| build | back to summary |
|---|---|
| public void build(final GroovyObject builder) Implements groovy. | |
| childNodes | back to summary |
|---|---|
| public Iterator Implements abstract groovy. Throws a
| |
| find | back to summary |
|---|---|
| public GPathResult find(final Closure<V> closure) Implements abstract groovy. Doc from groovy. Deprecated as a consequence of Returns the first child of this GPathResult matching the condition(s) specified in the passed closure.
| |
| findAll | back to summary |
|---|---|
| public GPathResult findAll(final Closure<V> closure) Implements abstract 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 Implements abstract groovy. Implements java. Doc from java. Returns an iterator over elements of type
| |
| name | back to summary |
|---|---|
| public String name() Overrides groovy. Doc from groovy. Returns the name of this GPathResult.
| |
| namespaceURI | back to summary |
|---|---|
| public String namespaceURI() Returns the URI of the namespace of this Attribute.
| |
| nodeIterator | back to summary |
|---|---|
| public Iterator Implements abstract groovy. | |
| parents | back to summary |
|---|---|
| public GPathResult parents() Implements abstract groovy. Deprecated as a consequence of Throws a
| |
| replaceBody | back to summary |
|---|---|
| protected void replaceBody(final Object newValue) Implements abstract groovy. NOP, because an attribute does not have a Body. | |
| replaceNode | back to summary |
|---|---|
| protected void replaceNode(final Closure<V> newValue) Implements abstract groovy. NOP, because an attribute does not have any Node to replace. | |
| size | back to summary |
|---|---|
| public int size() Implements abstract groovy. Returns the size of this Attribute, which is always
| |
| text | back to summary |
|---|---|
| public String text() Implements abstract groovy. Returns the value of this Attribute.
| |
| writeTo | back to summary |
|---|---|
| public Writer writeTo(final Writer out) throws IOException 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.)
| |