com.caucho.xsl.java
Class XslAttributeNode

java.lang.Object
  extended by com.caucho.xsl.java.XslNode
      extended by com.caucho.xsl.java.XslAttributeNode

public class XslAttributeNode
extends XslNode

Represents any XSL 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
XslAttributeNode(QName name, java.lang.String value)
           
 
Method Summary
 void generate(JavaWriter out)
          Generates the code for the attribute
 java.lang.String toString()
          Returns a printable version of the node.
 
Methods inherited from class com.caucho.xsl.java.XslNode
addAttribute, addChild, addExpr, addNamespaceAttribute, addText, addVariableCount, allowJavaSelect, endAttributes, endElement, error, error, escapeJavaString, generateChildren, generateDeclaration, generateDeclarationChildren, generateId, getBaseURI, getChildren, getEndLine, getEnv, getFilename, getMatchNamespace, getNamespace, getOutputNamespace, getParent, getQName, getStartLine, getSystemId, getTagName, hasChildren, parseExpr, parseMatch, parseSelect, popCall, popScope, printAttributeValue, printAttributeValue, printExprTest, printFragmentString, printFragmentValue, printNamespace, printPopScope, printSelectBegin, printStringExpr, pushCall, setEndLocation, setGenerator, setParent, setQName, setStartLocation, stringExpr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XslAttributeNode

public XslAttributeNode(QName name,
                        java.lang.String value)
Method Detail

generate

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

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

toString

public java.lang.String toString()
Description copied from class: XslNode
Returns a printable version of the node.

Overrides:
toString in class XslNode