org.apache.xalan.templates
Class XMLNSDecl
java.lang.Object
org.apache.xalan.templates.XMLNSDecl
- java.io.Serializable
public class XMLNSDecl
extends java.lang.Object
implements java.io.Serializable
Represents an xmlns declaration
XMLNSDecl(String prefix, String uri, boolean isExcluded) - Constructor XMLNSDecl
|
boolean | getIsExcluded() - Tell if this declaration should be excluded from the
result namespace.
|
String | getPrefix() - Return the prefix.
|
String | getURI() - Return the URI.
|
XMLNSDecl
public XMLNSDecl(String prefix,
String uri,
boolean isExcluded)
Constructor XMLNSDecl
prefix
- non-null reference to prefix, using "" for default namespace.uri
- non-null reference to namespace URI.isExcluded
- true if this namespace declaration should normally be excluded.
getIsExcluded
public boolean getIsExcluded()
Tell if this declaration should be excluded from the
result namespace.
- true if this namespace declaration should normally be excluded.
getPrefix
public String getPrefix()
Return the prefix.
- The prefix that is associated with this URI, or null
if the XMLNSDecl is declaring the default namespace.
getURI
public String getURI()
Return the URI.
- The URI that is associated with this declaration.
Copyright B) 2004 Apache XML Project. All Rights Reserved.