com.caucho.xsl.java
Class XslParam

java.lang.Object
  extended by com.caucho.xsl.java.XslNode
      extended by com.caucho.xsl.java.XslParam
All Implemented Interfaces:
XslTopNode

public class XslParam
extends XslNode
implements XslTopNode

Represents an xsl:param node from the stylesheet.


Field Summary
 
Fields inherited from class com.caucho.xsl.java.XslNode
_children, _endLine, _filename, _gen, _matchNamespace, _outputNamespace, _parent, _startLine, _systemId
 
Constructor Summary
XslParam()
           
 
Method Summary
 void addAttribute(QName name, java.lang.String value)
          Adds an attribute.
 void endAttributes()
          Ends the attributes.
 void generate(JavaWriter out)
          Generates the code for the tag
 java.lang.String getName()
          Returns the param name.
 java.lang.String getTagName()
          returns the tag name.
 void setGlobal(boolean isGlobal)
          Set true for global param.
 void setParent(XslNode parent)
          Sets the parent.
 
Methods inherited from class com.caucho.xsl.java.XslNode
addChild, addExpr, addNamespaceAttribute, addText, addVariableCount, allowJavaSelect, endElement, error, error, escapeJavaString, generateChildren, generateDeclaration, generateDeclarationChildren, generateId, getBaseURI, getChildren, getEndLine, getEnv, getFilename, getMatchNamespace, getNamespace, getOutputNamespace, getParent, getQName, getStartLine, getSystemId, hasChildren, parseExpr, parseMatch, parseSelect, popCall, popScope, printAttributeValue, printAttributeValue, printExprTest, printFragmentString, printFragmentValue, printNamespace, printPopScope, printSelectBegin, printStringExpr, pushCall, setEndLocation, setGenerator, setQName, setStartLocation, stringExpr, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XslParam

public XslParam()
Method Detail

getTagName

public java.lang.String getTagName()
returns the tag name.

Overrides:
getTagName in class XslNode

getName

public java.lang.String getName()
Returns the param name.


setParent

public void setParent(XslNode parent)
Sets the parent.

Overrides:
setParent in class XslNode

setGlobal

public void setGlobal(boolean isGlobal)
Set true for global param.


addAttribute

public void addAttribute(QName name,
                         java.lang.String value)
                  throws XslParseException
Adds an attribute.

Overrides:
addAttribute in class XslNode
Throws:
XslParseException

endAttributes

public void endAttributes()
                   throws XslParseException
Ends the attributes.

Overrides:
endAttributes in class XslNode
Throws:
XslParseException

generate

public void generate(JavaWriter out)
              throws java.lang.Exception
Generates the code for the tag

Specified by:
generate in class XslNode
Parameters:
out - the output writer for the generated java.
Throws:
java.lang.Exception