jacquard 1.12.0 by The Web Engineering Factory and Toolworks

uk.co.weft.xhtmlgen
Class ClassGenerator

java.lang.Object
  extended byuk.co.weft.domutil.AttributeGenerator
      extended byuk.co.weft.xhtmlgen.ClassGenerator
All Implemented Interfaces:
NodeGenerator

public class ClassGenerator
extends AttributeGenerator

DOCUMENT ME!

Version:
$Revision: 1.3.4.1 $
Author:
$author$

Field Summary
protected  java.lang.String className
          the name of the class I generate
 
Fields inherited from class uk.co.weft.domutil.AttributeGenerator
debug, name, namespaceURI, token
 
Fields inherited from interface uk.co.weft.domutil.NodeGenerator
NAMESPACEURIMAGICTOKEN
 
Constructor Summary
ClassGenerator(java.lang.String name)
          Creates a new ClassGenerator object.
 
Method Summary
 Node generate(Document doc, Context c)
          construct a class attribute and return it.
 
Methods inherited from class uk.co.weft.domutil.AttributeGenerator
getName, getNamespaceURI, init, setDebug, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected java.lang.String className
the name of the class I generate

Constructor Detail

ClassGenerator

public ClassGenerator(java.lang.String name)
Creates a new ClassGenerator object.

Parameters:
name - DOCUMENT ME!
Method Detail

generate

public Node generate(Document doc,
                     Context c)
construct a class attribute and return it.

Specified by:
generate in interface NodeGenerator
Overrides:
generate in class AttributeGenerator
Parameters:
doc - the document in which this element is to be created.
c - the context in which this generation takes place
Returns:
the element created.

jacquard 1.12.0 by The Web Engineering Factory and Toolworks