|
|||||||
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. |
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, asText, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isText, visitBy, visitBy |
Methods inherited from class java.lang.Object |
---|
equals, 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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |