org.apache.xalan.templates

Class XMLNSDecl

public class XMLNSDecl extends Object implements Serializable

Represents an xmlns declaration
Constructor Summary
XMLNSDecl(String prefix, String uri, boolean isExcluded)
Constructor XMLNSDecl
Method Summary
booleangetIsExcluded()
Tell if this declaration should be excluded from the result namespace.
StringgetPrefix()
Return the prefix.
StringgetURI()
Return the URI.

Constructor Detail

XMLNSDecl

public XMLNSDecl(String prefix, String uri, boolean isExcluded)
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 Detail

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.

getPrefix

public String getPrefix()
Return the prefix.

Returns: 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.

Returns: The URI that is associated with this declaration.

Copyright B) 2006 Apache XML Project. All Rights Reserved.