public interface INodeHolder extends IAbstraction
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_ARGUMENT_CONVERTER_PREFIX
Attribute for arguments prefix.
|
static String |
ATTRIBUTE_ARGUMENT_FORMATTER_PREFIX
Attribute for arguments prefix.
|
static String |
ATTRIBUTE_CEVALUATION
Attribute for content evaluation on force content scenarios.
|
static String |
ATTRIBUTE_COMPARATOR
Attribute for comparator.
|
static String |
ATTRIBUTE_CONVERTER
Attribute for converter.
|
static String |
ATTRIBUTE_EVALUATION
Attribute for value evaluation.
|
static String |
ATTRIBUTE_FORCE_CONTENT
Attribute to force evaluation using 'tag getValue()'.
|
static String |
ATTRIBUTE_FORCE_VALUE
Attribute to force evaluation using 'attribute value' or 'tag
getValue()'.
|
static String |
ATTRIBUTE_FORMATTER
Attribute for formatter.
|
static String |
ATTRIBUTE_PROPERTY
Attribute for property access.
|
static String |
ATTRIBUTE_READER
Attribute for reader.
|
static String |
ATTRIBUTE_VALUE
Attribute for value.
|
DEFAULT_EVAL_ARGS, DEFAULT_EVAL_FORMATTER_ARGS, FEATURE_EVAL_ARGS, FEATURE_EVAL_FORMATTER_ARGS| Modifier and Type | Method and Description |
|---|---|
void |
append(nu.xom.Node node)
Append node to the node.
|
void |
append(String text)
Append text to the node.
|
boolean |
attributeContains(String name,
String value)
Check if an attribute exists, and if it exists, if it contains the given
value.
|
boolean |
attributeEquals(String name,
String value)
Check if an attribute exists, and if it exists, if it is equal to the
given value.
|
void |
detach()
Detaches the current node.
|
String |
getAttribute(String name)
Get attribute value by type.
|
String |
getAttribute(String name,
String defaultValue)
Get attribute value by type.
|
String |
getAttributeValue()
Set attribute value to look for on
getObject(...)
calls.Default is ATTRIBUTE_VALUE. |
nu.xom.Node |
getNode()
Get the hold node.
|
String |
getQualifiedName()
Get qualified name (include namespace).
|
boolean |
hasAttribute(String name)
Check if an given attribute is present.
|
boolean |
hasName(String name)
Check a tag name.
|
void |
prepend(nu.xom.Node node)
Prepend a note to the node.
|
void |
prepend(String text)
Prepend text to the node.
|
void |
removeAttribute(String name)
Remove a attribute.
|
void |
setAttribute(String name,
String value)
Set attribute value.
|
void |
setAttributeValue(String attributeValue)
Set value attribute holder.
|
void |
setNode(nu.xom.Node node)
Set the hold node.
|
void |
setValue(String text)
Set text to a node removing all children elements.
|
String |
toXML()
The XML representation.
|
getArguments, getArguments, getComparator, getComparator, getConverter, getConverter, getFormatter, getFormatter, getFormatterArguments, getFormatterArguments, getObject, getObject, getReader, getReader, getValue, getValuestatic final String ATTRIBUTE_PROPERTY
static final String ATTRIBUTE_FORCE_VALUE
static final String ATTRIBUTE_FORCE_CONTENT
static final String ATTRIBUTE_VALUE
static final String ATTRIBUTE_ARGUMENT_CONVERTER_PREFIX
static final String ATTRIBUTE_EVALUATION
static final String ATTRIBUTE_CEVALUATION
static final String ATTRIBUTE_READER
static final String ATTRIBUTE_CONVERTER
static final String ATTRIBUTE_FORMATTER
static final String ATTRIBUTE_ARGUMENT_FORMATTER_PREFIX
static final String ATTRIBUTE_COMPARATOR
nu.xom.Node getNode()
void setNode(nu.xom.Node node)
node - The node.void detach()
String getAttributeValue()
getObject(...)
calls.Default is ATTRIBUTE_VALUE.void setAttributeValue(String attributeValue)
attributeValue - A attribute name.String getQualifiedName()
boolean hasName(String name)
name - The name.boolean hasAttribute(String name)
name - The attribute name.String getAttribute(String name)
name - The name.String getAttribute(String name, String defaultValue)
name - The name.defaultValue - The defaul value.void setAttribute(String name, String value)
name - The name.value - The value.void removeAttribute(String name)
name - The attribute name.boolean attributeContains(String name, String value)
name - The attribute name.value - The attribute value.boolean attributeEquals(String name, String value)
name - The attribute name.value - The attribute value.void setValue(String text)
text - The expected text.void prepend(String text)
text - A text.void prepend(nu.xom.Node node)
node - A node.void append(String text)
text - A text.void append(nu.xom.Node node)
node - A node.String toXML()
Copyright © 2016. All rights reserved.