|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.Node dk.brics.xact.AttrNode dk.brics.xact.Attribute
public class Attribute
Attribute node.
Constructor Summary | |
---|---|
Attribute(String localname,
String value)
Constructs a new attribute node with no namespace. |
|
Attribute(String localname,
String value,
Origin origin)
Constructs a new attribute node with no namespace. |
|
Attribute(String namespace,
String localname,
String value)
Constructs a new attribute node. |
|
Attribute(String namespace,
String localname,
String value,
AttrNode nextattribute,
Origin origin)
Constructs a new attribute node. |
|
Attribute(String namespace,
String localname,
String value,
Origin origin)
Constructs a new attribute node. |
Method Summary | ||
---|---|---|
Attribute |
copy(AttrNode nextattribute)
Returns a copy of this attribute with the given successor. |
|
String |
getValue()
Returns the value. |
|
String |
toString()
Returns a description of this node. |
|
(package private) void |
visitAnyBy(AnyNodeVisitor v)
Visits this node by the given any-node visitor. |
|
(package private) void |
visitNormalizedBy(NodeVisitor v)
Visits this normalized node it by the given visitor. |
|
(package private)
|
visitNormalizedBy(NodeVisitorParameterized<R,A> v,
A arg)
Visits this normalized node it by the given visitor. |
Methods inherited from class dk.brics.xact.AttrNode |
---|
getExpandedName, getLocalName, getNamespace, getNextAttr, getNextAttribute |
Methods inherited from class dk.brics.xact.Node |
---|
asAttribute, asComment, asElement, asNamespaceDecl, asProcessingInstruction, asTemplate, asText, expanded, follow, follow, follow, follow, forward, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isTemplate, isText, visitBy, visitBy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute(String localname, String value)
public Attribute(String localname, String value, Origin origin)
public Attribute(String namespace, String localname, String value)
public Attribute(String namespace, String localname, String value, AttrNode nextattribute, Origin origin)
public Attribute(String namespace, String localname, String value, Origin origin)
Method Detail |
---|
public Attribute copy(AttrNode nextattribute)
AttrNode
copy
in class AttrNode
public String getValue()
public String toString()
Node
toString
in class Node
void visitAnyBy(AnyNodeVisitor v)
Node
visitAnyBy
in class Node
void visitNormalizedBy(NodeVisitor v)
Node
visitNormalizedBy
in class Node
<R,A> R visitNormalizedBy(NodeVisitorParameterized<R,A> v, A arg)
Node
visitNormalizedBy
in class Node
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |