xdoclet.sdk.xgg
Class XGGPlugin

java.lang.Object
  |
  +--java.beans.beancontext.BeanContextChildSupport
        |
        +--java.beans.beancontext.BeanContextSupport
              |
              +--xdoclet.beans.BeanContextSupportEx
                    |
                    +--xdoclet.Plugin
                          |
                          +--xdoclet.plugins.ScriptPlugin
                                |
                                +--xdoclet.plugins.VelocityPlugin
                                      |
                                      +--xdoclet.sdk.xgg.XGGPlugin
All Implemented Interfaces:
BeanContext, BeanContextChild, BeanContextServiceRevokedListener, BeanContextServicesListener, Collection, DesignMode, EventListener, PropertyChangeListener, Serializable, VetoableChangeListener, Visibility

public class XGGPlugin
extends VelocityPlugin

Generates Java Bean classes from DTDs and XSDs. These beans can be serialised back and forth to XML with Betwixt.

Version:
$Revision: 1.9 $
Author:
Aslak Hellesøy
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.beans.beancontext.BeanContextSupport
bcmListeners, children, designTime, locale, okToUseGui
 
Fields inherited from class java.beans.beancontext.BeanContextChildSupport
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport
 
Fields inherited from interface java.beans.beancontext.BeanContext
globalHierarchyLock
 
Fields inherited from interface java.beans.DesignMode
PROPERTYNAME
 
Constructor Summary
XGGPlugin()
          Constructor for the XGGPlugin object
 
Method Summary
 Binder createBinder()
          Description of the Method
 void execute()
          Description of the Method
protected  MetadataProvider getMetadataProvider()
           
 
Methods inherited from class xdoclet.plugins.VelocityPlugin
generate, generate, setTemplatePath
 
Methods inherited from class xdoclet.plugins.ScriptPlugin
createProperty, getContextObjects, getTemplatePath, setContextObject, validate
 
Methods inherited from class xdoclet.Plugin
Acleanup, AcreateMetadataCollection, AgetFilenameSubstitutionValue, AgetPackageName, AsetClasspath, checkClass, createAccept, createPackageSubstitution, getDestinationDir, getDestinationFileForAll, getDestinationFileForOne, getEncoding, getFileName, getFilteredMetadataCollection, getName, getPackageName, getXDoclet, isGenerateOneFile, jxpath, setDestination, setDestinationDir, setEncoding, setFileName, setMetadataProvider, setName, setPackageName
 
Methods inherited from class xdoclet.beans.BeanContextSupportEx
add, createInvocations, getInvocations, getParent, setParent
 
Methods inherited from class java.beans.beancontext.BeanContextSupport
addAll, addBeanContextMembershipListener, avoidingGui, bcsChildren, bcsPreDeserializationHook, bcsPreSerializationHook, childDeserializedHook, childJustAddedHook, childJustRemovedHook, classEquals, clear, contains, containsAll, containsKey, copyChildren, createBCSChild, deserialize, dontUseGui, fireChildrenAdded, fireChildrenRemoved, getBeanContextPeer, getChildBeanContextChild, getChildBeanContextMembershipListener, getChildPropertyChangeListener, getChildSerializable, getChildVetoableChangeListener, getChildVisibility, getLocale, getResource, getResourceAsStream, initialize, instantiateChild, isDesignTime, isEmpty, isSerializing, iterator, needsGui, okToUseGui, propertyChange, readChildren, remove, remove, removeAll, removeBeanContextMembershipListener, retainAll, serialize, setDesignTime, setLocale, size, toArray, toArray, validatePendingAdd, validatePendingRemove, vetoableChange, writeChildren
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, initializeBeanContextResources, isDelegated, releaseBeanContextResources, removePropertyChangeListener, removeVetoableChangeListener, serviceAvailable, serviceRevoked, setBeanContext, validatePendingSetBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

XGGPlugin

public XGGPlugin()
Constructor for the XGGPlugin object

Method Detail

createBinder

public Binder createBinder()
Description of the Method

Returns:
Description of the Return Value

execute

public void execute()
             throws IOException,
                    XDocletException
Description of the Method

Overrides:
execute in class ScriptPlugin
Throws:
IOException - Description of the Exception
XDocletException - Description of the Exception

getMetadataProvider

protected MetadataProvider getMetadataProvider()
Overrides:
getMetadataProvider in class Plugin


Copyright © 2000-2003 XDoclet Team. All Rights Reserved.