|
|||||||
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 | |
---|---|
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. |
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 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 |
---|
public String getNamespace()
public NamespaceDecl getNext()
public String getPrefix()
public String toString()
Node
toString
in class Node
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |