Class NamespaceAlias

All Implemented Interfaces:
Serializable, SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, Document, Element, Node, NodeList

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:
  • Constructor Details

    • NamespaceAlias

      public NamespaceAlias(int docOrderNumber)
      Constructor NamespaceAlias
      Parameters:
      docOrderNumber - The document order number
  • Method Details

    • setStylesheetPrefix

      public void setStylesheetPrefix(String v)
      Set the "stylesheet-prefix" attribute.
      Parameters:
      v - non-null prefix value.
    • getStylesheetPrefix

      public String getStylesheetPrefix()
      Get the "stylesheet-prefix" attribute.
      Returns:
      non-null prefix value.
    • setStylesheetNamespace

      public void setStylesheetNamespace(String v)
      Set the value for the stylesheet namespace.
      Parameters:
      v - non-null prefix value.
    • getStylesheetNamespace

      public String getStylesheetNamespace()
      Get the value for the stylesheet namespace.
      Returns:
      non-null prefix value.
    • setResultPrefix

      public void setResultPrefix(String v)
      Set the "result-prefix" attribute.
      Parameters:
      v - non-null prefix value.
    • getResultPrefix

      public String getResultPrefix()
      Get the "result-prefix" attribute.
      Returns:
      non-null prefix value.
    • setResultNamespace

      public void setResultNamespace(String v)
      Set the result namespace.
      Parameters:
      v - non-null namespace value
    • getResultNamespace

      public String getResultNamespace()
      Get the result namespace value.
      Returns:
      non-null namespace value.
    • recompose

      public void recompose(StylesheetRoot root)
      This function is called to recompose() all of the namespace alias properties elements.
      Overrides:
      recompose in class ElemTemplateElement
      Parameters:
      root - The owning root stylesheet