|
|||||||
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.NamespaceDecl
public class NamespaceDecl
Namespace declaration node.
Provides a namespace prefix for use by XMLPrinter
.
Constructor Summary | |
---|---|
NamespaceDecl(String prefix,
String namespace)
Constructs a new namespace declaration node. |
|
NamespaceDecl(String prefix,
String namespace,
NamespaceDecl nextnsdecl,
Origin origin)
Constructs a new namespace declaration node. |
|
NamespaceDecl(String prefix,
String namespace,
Origin origin)
Constructs a new namespace declaration node. |
Method Summary | ||
---|---|---|
(package private) NamespaceDecl |
copy(NamespaceDecl nextnsdecl)
Returns a copy of this node with the given successor. |
|
String |
getNamespace()
Returns the namespace URI. |
|
NamespaceDecl |
getNext()
Returns the next namespace declaration. |
|
String |
getPrefix()
Returns the prefix. |
|
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.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 NamespaceDecl(String prefix, String namespace)
public NamespaceDecl(String prefix, String namespace, NamespaceDecl nextnsdecl, Origin origin)
public NamespaceDecl(String prefix, String namespace, Origin origin)
Method Detail |
---|
NamespaceDecl copy(NamespaceDecl nextnsdecl)
public String getNamespace()
public NamespaceDecl getNext()
public String getPrefix()
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 |