org.apache.commons.jelly.tags.jaxme
Class GeneratorTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.apache.commons.jelly.tags.jaxme.GeneratorTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class GeneratorTag
extends org.apache.commons.jelly.TagSupport

Generates java objects using JaxMe. This object can be marshalled into xml and the results unmarshalled using JaxMe.

Version:
$Revision: 155420 $
Author:
Jochen Wiedmann, Jakarta Commons Development Team

Field Summary
private  java.lang.String schemaUrl
           
private  java.lang.String target
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
GeneratorTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
private  java.io.File getSchemaFile()
           
 java.lang.String getSchemaUrl()
           
 java.lang.String getTarget()
           
private  java.io.File getTargetDirectory()
           
 void setSchemaUrl(java.lang.String schemaUrl)
          Defines the schema against which the java object representations should be generated.
 void setTarget(java.lang.String target)
          Defines the target directory into which the generated objects will be placed.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schemaUrl

private java.lang.String schemaUrl

target

private java.lang.String target
Constructor Detail

GeneratorTag

public GeneratorTag()
Method Detail

getSchemaUrl

public java.lang.String getSchemaUrl()

setSchemaUrl

public void setSchemaUrl(java.lang.String schemaUrl)
Defines the schema against which the java object representations should be generated.


getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String target)
Defines the target directory into which the generated objects will be placed.


getSchemaFile

private java.io.File getSchemaFile()
                            throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

getTargetDirectory

private java.io.File getTargetDirectory()
                                 throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException