Package org.apache.xalan.templates
Class XMLNSDecl
java.lang.Object
org.apache.xalan.templates.XMLNSDecl
- All Implemented Interfaces:
Serializable
Represents an xmlns declaration
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Tell if this declaration should be excluded from the result namespace.Return the prefix.getURI()
Return the URI.
-
Constructor Details
-
XMLNSDecl
Constructor XMLNSDecl- Parameters:
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.
-
-
Method Details
-
getPrefix
Return the prefix.- Returns:
- The prefix that is associated with this URI, or null if the XMLNSDecl is declaring the default namespace.
-
getURI
Return the URI.- Returns:
- The URI that is associated with this declaration.
-
getIsExcluded
public boolean getIsExcluded()Tell if this declaration should be excluded from the result namespace.- Returns:
- true if this namespace declaration should normally be excluded.
-