org.apache.xalan.templates

Class NamespaceAlias

public class NamespaceAlias extends ElemTemplateElement

Object to hold an xsl:namespace element. A stylesheet can use the xsl:namespace-alias element to declare that one namespace URI is an alias for another namespace URI.

See Also: literal-result-element in XSLT Specification

Constructor Summary
NamespaceAlias(int docOrderNumber)
Constructor NamespaceAlias
Method Summary
StringgetResultNamespace()
Get the result namespace value.
StringgetResultPrefix()
Get the "result-prefix" attribute.
StringgetStylesheetNamespace()
Get the value for the stylesheet namespace.
StringgetStylesheetPrefix()
Get the "stylesheet-prefix" attribute.
voidrecompose(StylesheetRoot root)
This function is called to recompose() all of the namespace alias properties elements.
voidsetResultNamespace(String v)
Set the result namespace.
voidsetResultPrefix(String v)
Set the "result-prefix" attribute.
voidsetStylesheetNamespace(String v)
Set the value for the stylesheet namespace.
voidsetStylesheetPrefix(String v)
Set the "stylesheet-prefix" attribute.

Constructor Detail

NamespaceAlias

public NamespaceAlias(int docOrderNumber)
Constructor NamespaceAlias

Parameters: docOrderNumber The document order number

Method Detail

getResultNamespace

public String getResultNamespace()
Get the result namespace value.

Returns: non-null namespace value.

getResultPrefix

public String getResultPrefix()
Get the "result-prefix" attribute.

Returns: non-null prefix value.

getStylesheetNamespace

public String getStylesheetNamespace()
Get the value for the stylesheet namespace.

Returns: non-null prefix value.

getStylesheetPrefix

public String getStylesheetPrefix()
Get the "stylesheet-prefix" attribute.

Returns: non-null prefix value.

recompose

public void recompose(StylesheetRoot root)
This function is called to recompose() all of the namespace alias properties elements.

Parameters: root The owning root stylesheet

setResultNamespace

public void setResultNamespace(String v)
Set the result namespace.

Parameters: v non-null namespace value

setResultPrefix

public void setResultPrefix(String v)
Set the "result-prefix" attribute.

Parameters: v non-null prefix value.

setStylesheetNamespace

public void setStylesheetNamespace(String v)
Set the value for the stylesheet namespace.

Parameters: v non-null prefix value.

setStylesheetPrefix

public void setStylesheetPrefix(String v)
Set the "stylesheet-prefix" attribute.

Parameters: v non-null prefix value.

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