pax_global_header00006660000000000000000000000064115765155300014522gustar00rootroot0000000000000052 comment=d8afdf335438ab3a34b01cdbe8572ac2ad18399f kohsuke-maven-jellydoc-plugin-9d0f782/000077500000000000000000000000001157651553000177435ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/.gitignore000066400000000000000000000000311157651553000217250ustar00rootroot00000000000000target *.ipr *.iml *.iws kohsuke-maven-jellydoc-plugin-9d0f782/annotation/000077500000000000000000000000001157651553000221155ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/pom.xml000066400000000000000000000013041157651553000234300ustar00rootroot00000000000000 4.0.0 org.jvnet.maven-jellydoc-plugin jellydoc 1.5 ../pom.xml jellydoc-annotations Jellydoc annotations maven-javadoc-plugin kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemagen-on-jelly.sh000066400000000000000000000013101157651553000261250ustar00rootroot00000000000000#!/bin/bash -e # generate XSD from all the Jelly tags developed in Apache commons Jelly # these taglib.xml files are generated from Maven1. # # To generate taglib.xml on Jelly, run "maven jellydoc:doclet" and # "maven tags:doc". It needs to be built first with # "maven jar:install" and "maven tags:build". base=$PWD mkdir $base/schemas > /dev/null 2>&1 || true xsl=$base/src/main/resources/org/jvnet/maven/jellydoc/xsdgen.xsl cd $1 for xml in target/taglib.xml jelly-tags/*/target/taglib.xml do lib=$(basename $(dirname $(dirname $xml))) echo $lib echo $xml xmlstarlet tr $xsl $xml | xmlstarlet fo > $base/schemas/$lib.xsd done # this file created by core mv $base/schemas/..xsd $base/schemas/core.xsd kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/000077500000000000000000000000001157651553000235405ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/ant.xsd000066400000000000000000000120561157651553000250460ustar00rootroot00000000000000

A tag library for using Ant tasks within Jelly

Jelly can be invoked inside Ant and this tag library allows Ant tasks to be invoked from insideJelly. This allows Jelly to be used for more 'scripting' style targets, such as parsing XML databases,working with custom java beans, doing SQL, the use of JSTL and so forth.

Tag which sets an attribute on the parent Ant Task if the given value is not null.This can be useful when setting parameters on Ant tasks, only if they have been specifiedvia some well defined property, otherwise allowing the inbuilt default to be used. <a href="mailto:jstrachan@apache.org">James Strachan</a> Sets the name of the Ant task property to set. name The name of the Ant task property to set Sets the value of the Ant task property to set. value The value of the Ant task property to set Sets the default value to be used if the specified value is empty. A tag which creates a new FileScanner bean instance that can be used toiterate over fileSets <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the name of the variable exported by this tag Tag supporting ant's Tasks as well asdynamic runtime behaviour for 'unknown' tags. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> <a href="mailto:jstrachan@apache.org">James Strachan</a> Set the object underlying this tag. object The object.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/antlr.xsd000066400000000000000000000037641157651553000254120ustar00rootroot00000000000000

A tag library for working with the Antlrlibrary

kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/bean.xsd000066400000000000000000000115521157651553000251710ustar00rootroot00000000000000

A tag library for mapping tags to beans using a similar approach to Ant.

Creates a bean for the given tag which is then either output as a variableor can be added to a parent tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> Christian Sell $Revision: 480467 $ Creates a nested property via calling a beans createFoo() method theneither calling the setFoo(value) or addFoo(value) methods in a similar wayto how Ant tags construct themselves. <a href="mailto:jstrachan@apache.org">James Strachan</a> Christian Sell $Revision: 480467 $ Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the methodName. methodName The methodName to set
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/beanshell.xsd000066400000000000000000000025321157651553000262170ustar00rootroot00000000000000

A tag library for working with BeanShell expressions and scripts within Jelly

A tag which invokes a BeanShell script.. Jason Horman <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/betwixt.xsd000066400000000000000000000141611157651553000257510ustar00rootroot00000000000000

A tag library for turning XML into beans or beans into XML using the Betwixtlibrary

Parses some XML specified via the given URI (which can be relative or an absolute URL) and outputs theparsed object. Typically this tag is customized by setting the introspector attribute or nesting a childintrospector tag inside it. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the Betwixt XMLIntrospector instance used to define the metadata for how abean should appear as XML. Sets the URI from which XML is parsed. This can be relative to this Jelly script, usean absolute URI or a full URL Sets the variable name to output with the result of the XML parse. Sets the name of the root class to use for parsing the XML Sets the path that the root class should be bound to.This is optional and often unnecessary though can be used to ignore some wrappingelements, such as the <rss>element in the RSS unit test. Sets whether or not the current threads's context class loadershould be used to load the bean classes or not.This can be useful if running inside a web application or inside someapplication server. Sets the ClassLoader to be used to load bean classes from.If this is not specified then either the ClassLoader used to load this tag libraryis used or, if the 'useContextClassLoader' property is true, then thecurrent threads context class loader is used instead. Creates a Betwixt XMLIntrospector instance that can be used by the other Betwixt tags. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets whether attributes or elements should be used for primitive types.The default is false. Sets the name mapper used for element names.You can also use the Strings 'lowercase', 'uppercase' or 'hyphenated'as aliases to the common name mapping strategies or specify a class name String. Sets the name mapper used for attribute names.You can also use the Strings 'lowercase', 'uppercase' or 'hyphenated'as aliases to the common name mapping strategies or specify a class name String. Sets the variable name to output the new XMLIntrospector to.If this attribute is not specified then this tag must be nestedinside an <parse>or <output>tag
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/bsf.xsd000066400000000000000000000052501157651553000250340ustar00rootroot00000000000000

A collection of tag libraries for working with BSF based scripting languages like JavaScript, Jython and PNuts

A tag which evaluates its body using the current scripting language <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the columnNumber. columnNumber The columnNumber to set Sets the elementName. elementName The elementName to set Sets the engine. engine The engine to set Sets the fileName. fileName The fileName to set Sets the lineNumber. lineNumber The lineNumber to set
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/core.xsd000066400000000000000000001750031157651553000252160ustar00rootroot00000000000000

The core Tags from the JSTL plus Jelly extensions.

The root Jelly tag which should be evaluated first <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which terminates the execution of the current <forEach>or &lg;while>loop. This tag can take an optional boolean test attribute which if its truethen the break occurs otherwise the loop continues processing. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 718134 $ Sets the Jelly expression to evaluate (optional).If this is nullor evaluates to truethen the loop is terminated test the Jelly expression to evaluate Sets the variable name to export indicating if the item was broken var name of the variable to be exported Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which sets a variable from the result of an expression <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the variable name to define for this expression Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. Sets the expression to evaluate. Sets the default value to be used if the value exprsesion resultsin a null value or blank String Sets the target object on which to set a property. Sets the name of the property to set on the target object. Sets whether the body of the tag should be XML encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default.This is only used if this tag is specified with no value so that the text body of thistag is used as the body. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which calls a method in an object instantied by core:new Rodney Waldhoff $Revision: 480454 $ Sets the name of the variable exported by this tag Sets the name of a variable that exports the exception thrown bythe method's invocation (if any) Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the expression to evaluate. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the file to be included which is either an absolute file or a filerelative to the current directory Sets the URI (relative URI or absolute URL) for the script to evaluate. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag that pipes its body to a file denoted by the name attribute or to an in memory Stringwhich is then output to a variable denoted by the var variable. <a href="mailto:vinayc@apache.org">Vinay Chandran</a> Sets the file name for the output Sets whether the XML declaration should be output or not Sets the output mode, whether XML or HTML Sets whether pretty printing mode is turned on. The default is off so that whitespace is preserved Sets the XML encoding mode, which defaults to UTF-8 Sets wether to append at the end of the file(not really something you normally do with an XML file). Sets the var. var The var to set Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which performs an iteration while the result of an expression is true. <a href="mailto:eric@ericalexander.net">Eric Alexander</a> dIon Gillard $Revision: 480454 $ Setter for the expression e the expression to test Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which creates a List implementation and optionallyadds all of the elements identified by the items attribute.The exact implementation of List can be specified via theclass attribute <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ If this tag finds an attribute in the XML that's notignored by org.apache.commons.jelly.tags.core.UseBeanTag.ignorePropertiesand isn't abean property, should it throw an exception? ignoreUnknownProperties Sets {@link #ignoreUnknownProperties}. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which can retrieve the value of a static field of a given class.The following attributes are required:
  • var - The variable to which to assign the resulting value.
  • field - The name of the static field to retrieve.
  • className - The name of the class containing the static field.
Example usage:
 <j:getStatic var="closeOperation" className="javax.swing.JFrame"field="EXIT_ON_CLOSE"/>
$Revision: 480454 $
Sets the name of the variable exported by this tag. var The variable name. Sets the name of the field to retrieve. method The method name Sets the fully qualified name of the class containing the static field. className The name of the class. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
A tag which creates a new child variable scope for its body.So any variables defined within its body will no longer be in scopeafter this tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A simple tag used to preserve whitespace inside its body <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. An argument to a org.apache.commons.jelly.tags.core.NewTagor org.apache.commons.jelly.tags.core.InvokeTag.This tag MUST be enclosed within an org.apache.commons.jelly.tags.core.ArgTagParentimplementation. Rodney Waldhoff $Revision: 712845 $ The name of the argument class or type, if any.This may be a fully specified class name ora primitive type name( boolean , int, double, etc.). The (possibly null) value of this argument. Set the class loader to be used for instantiating application objectswhen required. classLoader The new class loader to use, or <code>null</code> to revert to the standard rules Determine whether to use the Context ClassLoader (the one found bycalling Thread.currentThread().getContextClassLoader())to resolve/load classes. If notusing Context ClassLoader, then the class-loading defaults tousing the calling-class' ClassLoader. boolean determines whether to use JellyContext ClassLoader. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. Executes the child <case>tag whose value equals my on attribute.Executes a child <default>tag when present and no <case>tag hasyet matched. CaseTag DefaultTag Rodney Waldhoff $Revision: 480454 $ $Date: 2006-11-28 23:48:51 -0800 (Tue, 28 Nov 2006) $ Sets the value to switch on.Note that the org.apache.commons.jelly.expression.Expressionis evaluated only once, when the <switch>tag is evaluated. on the value to switch on Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which instantiates an instance of the given classand then sets the properties on the bean.The class can be specified via a java.lang.Classinstance ora String which will be used to load the class using either the currentthread's context class loader or the class loader used to load thisJelly library.This tag can be used it as follows,
 <j:useBean var="person" class="com.acme.Person" name="James" location="${loc}"/> <j:useBean var="order" class="${orderClass}" amount="12" price="123.456"/>
<a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $
If this tag finds an attribute in the XML that's notignored by org.apache.commons.jelly.tags.core.UseBeanTag.ignorePropertiesand isn't abean property, should it throw an exception? ignoreUnknownProperties Sets {@link #ignoreUnknownProperties}. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
Parses the output of this tags body or of a given String as a Jelly scriptthen either outputting the Script as a variable or executing the script. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the variable name that will be used for the Document variable created Sets the text to be parsed by this parser text The text to be parsed by this parser Sets the XMLReader used for parsing Sets the jellyParser. jellyParser The jellyParser to set Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. The otherwise block of a choose/when/otherwise group of tags <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which catches exceptions thrown by its body.This allows conditional logic to be performed based on if exceptionsare thrown or to do some kind of custom exception logging logic. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 718134 $ Sets the name of the variable which is exposed with the Exception that getsthrown by evaluating the body of this tag or which is set to null if there isno exception thrown. exceptions The exceptions to set. Must be separated by ";" cause The cause to set. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body ifnone of its preceeding sibling <case>tags have been evaluated.This tag must be contained within the body of some <switch>tag. SwitchTag Rodney Waldhoff $Revision: 480454 $ $Date: 2006-11-28 23:48:51 -0800 (Tue, 28 Nov 2006) $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which removes the variable of the given name from the current variable scope. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 718134 $ Sets the name of the variable which will be removed by this tag.. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag that spawns the contained script in a separate thread <a href="mailto:vinayc@apache.org">Vinay Chandran</a> Sets the name of the thread. name The name to set Sets the destination of output Set the file which is generated from the output name The output file name Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body ifmy valueattribute equals my ancestor <switch>tag's "on"attribute.This tag must be contained within the body of some <switch>tag. SwitchTag Rodney Waldhoff $Revision: 480454 $ $Date: 2006-11-28 23:48:51 -0800 (Tue, 28 Nov 2006) $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which executes its body but passing no output.

Using this tag will still take the time to perform toString on each objectreturned to the output (but this toString value is discarded.A future version should go more internally so that this is avoided.

<a href="mailto:paul@activemath.org">Paul Libbrecht</a> $Revision: 480454 $
Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
Imports another script.

By default, the imported script does not have access tothe parent script's variable context. This behaviourmay be modified using the inheritattribute.

<a href="mailto:bob@eng.werken.com">bob mcwhirter</a> $Revision: 480454 $
Sets whether property inheritence is enabled or disabled Sets the URI (relative URI or absolute URL) for the script to evaluate. Sets the file for the script to evaluate. file The file to set Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
Iterates over a collection, iterator or an array of objects.Uses the same syntax as the JSTL forEachtag does. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the expression used to iterate over.This expression could resolve to an Iterator, Collection, Map, Array,Enumeration or comma separated String. Sets the variable name to export for the item being iterated over Sets the variable name to export the current index counter to Sets the starting index value Sets the ending index value Sets the index increment step Sets the variable name to export the current status to.The status is an implementation of the JSTL LoopTagStatus interface that providesthe following bean properties:
  • current - the current value of the loop items being iterated
  • index - the current index of the items being iterated
  • first - true if this is the first iteration, false otherwise
  • last - true if this is the last iteration, false otherwise
  • begin - the starting index of the loop
  • step - the stepping value of the loop
  • end - the end index of the loop
Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the Jelly expression to evaluate. If this returns true, the body ofthe tag is evaluated test the Jelly expression to evaluate Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which evaluates an expression out <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the Jexl expression to evaluate. true Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A Tag which can invoke a static method on a class, without aninstance of the class being needed.

Like the

org.apache.commons.jelly.tags.core.InvokeTag, this tag can take a set ofarguments using the org.apache.commons.jelly.tags.core.ArgTag.

The following attributes are required:

  • var - The variable to assign the return of the method call to
  • method - The name of the static method to invoke
  • className - The name of the class containing the static method

<a href="mailto:robert@bull-enterprises.com>Robert McIntosh</a> $Revision: 480454 $
Sets the name of the variable exported by this tag var The variable name Sets the name of a variable that exports the exception thrown bythe method's invocation (if any) Sets the name of the method to invoke method The method name Sets the fully qualified class name containing the static method className The name of the class Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
A tag which creates a new object of the given type <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the name of the variable exported by this tag Sets the class name of the object to instantiate Set the class loader to be used for instantiating application objectswhen required. classLoader The new class loader to use, or <code>null</code> to revert to the standard rules Determine whether to use the Context ClassLoader (the one found bycalling Thread.currentThread().getContextClassLoader())to resolve/load classes. If notusing Context ClassLoader, then the class-loading defaults tousing the calling-class' ClassLoader. boolean determines whether to use JellyContext ClassLoader. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which sets the bean properties on the given bean.So if you used it as follows, for example using the <j:new>tag.
 <j:new className="com.acme.Person" var="person"/> <j:setProperties object="${person}" name="James" location="${loc}"/>
Then it would set the name and location properties on the bean denoted bythe expression ${person}.

This tag can also be nested inside a bean tag such as the <useBean>tagor a JellySwing tag to set one or more properties, maybe inside some conditionallogic.

<a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $
Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/define.xsd000066400000000000000000000515731157651553000255250ustar00rootroot00000000000000

Tag library which allows the creation of new tags using Jelly script itself.

The <invoke>tag will invoke a given Script instance.It can be used with the <script>tag which defines scriptsas variables that can later be invoked by this <invoke>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the Script to be invoked by this tag, which typically has been previouslydefined by the use of the <script>tag. <extend>is used to extend a dynamic tag defined in an inheriteddynamic tag library

<a href="mailto:tima@intalio.com">Tim Anderson</a> $Revision: 480467 $ SuperTag Sets the name of the tag to create Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. Creates a new URLClassLoaderto dynamicallyload tags froms. <a href="mailto:stephenh@chase3000.com">Stephen Haberman</a> $Revision: 480467 $ var the variable to store the class loader in url the url to load the classes from Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. <script>tag is used to assign a Script objectto a variable. The script can then be called whenever the user wishesmaybe from inside an expression or more typically via the <invoke>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the variable name of the tag to create <invokeBody>tag is used inside a <tag>tag(i.e. the definition of a dynamic tag) to invoke the tags body whenthe tag is invoked. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ <super>tag is used to invoke a parent tag implementation, whena tag extends an existing tag <a href="mailto:tima@intalio.com">Tim Anderson</a> $Revision: 480467 $ ExtendTag This tag is bound onto a Java Bean class. When the tag is invoked a bean will be createdusing the tags attributes.The bean may also have an invoke method called invoke(), run(), execute() or some such methodwhich will be invoked after the bean has been configured. <a href="mailto:jstrachan@apache.org">James Strachan</a> <a href="mailto:jason@zenplex.com">Jason van Zyl</a> $Revision: 480467 $ Sets the name of the attribute Sets whether this attribute is mandatory or not Sets the default value of this attribute <tag>is used to define a new tagusing a Jelly script to implement the behaviour of the tag.Parameters can be passed into the new tag using normal XML attributenotations. Inside the body of the tag definition, the attributes canbe accessed as normal Jelly variables. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. Sets the org.apache.commons.beanutils.DynaClasswhich will be bound to this dynamic tag. Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties. After the body of this tag is invokedthen the beans invoke() method will be called, if the bean has one. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the method to invoke on the bean.This defaults to "run" so that Runnable objects can beinvoked, but this property can be set to whatever is required,such as "execute" or "invoke" Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. The <taglib>tag is used to define a new tag libraryusing a Jelly script. The tag library is identified by its URI.The tags for a taglib are declared using the org.apache.commons.jelly.tags.define.TagTag.You can 'inherit' tags from a previously defined taglib, as well,allowing runtime extension of tag libraries <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the namespace URI to register this new dynamic tag library with Sets whether this dynamic tag should inherit from the current existing tag libraryof the same URI. This feature is enabled by default so that tags can easily besome tags can be overridden in an existing library, such as when making Mock Tags.You can disable this option if you want to disable any tags in the base library,turning them into just normal static XML. inherit The inherit to set kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/dynabean.xsd000066400000000000000000000162601157651553000260460ustar00rootroot00000000000000

A tag library for creating new DynaClass and DynaBean objects from the beanutilslibrary

A tag which sets a variable from the result of an expression Theo Niemeijer 1.0 Sets the variable name to define for this expression Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. Sets the expression to evaluate. Sets the target object on which to set a property. Sets the name of the property to set on the target object. A tag which creates and defines and creates a DynaClassThe DynaClass object is placed by name in the context,so that a DynaBean tag can use it by name to instantiatea DynaBean object Theo Niemeijer 1.0 Sets the name of the new DynaClass Sets the name of the variable to export the DynaClass instance A tag which conditionally evaluates its body based on some condition Theo Niemeijer $Revision: 480467 $ Sets the DynaClass of the new instance to create Sets the name of the variable to export the new DynaBean instance to DynaProperty tag defines a property of a DynaClassIt can only exist inside a DynaClass parent contextThe properties are added to the properties arrayof the parent context, and will be used tocreate the DynaClass object Theo Niemeijer 1.0 Sets the name of this property Sets the type name of this property Sets the Class instance for this property
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/email.xsd000066400000000000000000000064041157651553000253530ustar00rootroot00000000000000

Tags for sending email using the JavaMail API

Basic tag for sending an email. Supports one attachment, multiple to addresses delimited by ";",multiple cc addresses, etc. Jason Horman <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Id: EmailTag.java 480467 2006-11-29 08:19:32Z bayard $ Set the smtp server for the message. If not set the systemproperty "mail.smtp.host" will be used. Set the from address for the message ";" seperated list of people to send to ";" seperated list of people to cc Set the email subject Set the message body. This will override the Jelly tag body Set the email attachment for the message. Only 1 attachment is supported right now Sets whether we should encode the XML body as text or not. The defaultis false so that the body will assumed to be valid XML
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/fmt.xsd000066400000000000000000000341731157651553000250560ustar00rootroot00000000000000 Support for tag handlers for <setLocale>, the bundle settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ Support for tag handlers for <formatDate>, the date and time formattingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ i18n exception message Setter for property value. value New value of property value. Setter for property type. type New value of property type. Setter for property dataStyle. dataStyle New value of property dataStyle. Setter for property timeStyle. timeStyle New value of property timeStyle. Setter for property pattern. pattern New value of property pattern. Setter for property timeZone. timeZone New value of property timeZone. Setter for property var. var New value of property var. Setter for property scope. scope New value of property scope. Support for tag handlers for <setTimeZone>, the time zone settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ Support for tag handlers for <param>, the parameter settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.1 handle body content trimming Setter for property value. value New value of property value. Support for tag handlers for <setLocale>, the locale settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.2 decide how to implement setResponseLocale Support for tag handlers for <timeZone>, the time zone loadingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ decide how to implement setResponseLocale Setter for property value. value New value of property value. Support for tag handlers for <bundle>, the resource bundle loadingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.1 decide how to implement setResponseLocale Setter for property basename. basename New value of property basename. Setter for property prefix. prefix New value of property prefix. Support for tag handlers for <message>, the lookup uplocalized message tag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.1 decide how to implement setResponseLocale Setter for property key. key New value of property key. Setter for property bundle. bundle New value of property bundle. Setter for property var. var New value of property var. Setter for property scope. scope New value of property scope. kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/html.xsd000066400000000000000000000057441157651553000252360ustar00rootroot00000000000000

Tags for parsing HTML so that it can be processed by Jelly using Andy Clark's NekoHTML

A tag which parses some HTML and defines a variable with the parsed Document.The HTML can either be specified as its body or can be passed in via thehtml property which can be a Reader, InputStream, URL or String URI. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the source of the HTML which is either a String URI, Reader or InputStream Sets whether attributes should be converted to a different case.Possible values are "upper", "lower" or "no-change" attribute The processing mode of attributes Sets whether elements should be converted to a different casePossible values are "upper", "lower" or "match" element The processing mode of elements
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/http.xsd000066400000000000000000000670071157651553000252510ustar00rootroot00000000000000

A tag library for working with HTTP, performing HTTP GET, POST and other actions

A tag to hold request headers dion $Id: HeaderTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property name. name New value of property name. Setter for property value. value New value of property value. A http get tag dion $Id: HeadTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A http session. This is the container for data shared across requests dion Setter for property httpClient. httpClient New value of property httpClient. Helper method for proxy hostproperty host the {@link #getProxy() proxy's} host property Helper method for proxy portproperty port the {@link #getProxy() proxy's} port property Setter for property host. host New value of property host. Setter for property port. port New value of property port. Setter for property proxy. proxy New value of property proxy. Setter for property secure. secure New value of property secure. Setter for property userAgent. userAgent New value of property userAgent. Setter for property strictMode. strictMode New value of property strictMode. A http put dion $Id: PutTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A tag to hold a part of a multiPartPost Setter for property name. name New value of property name. Setter for property value. value New value of property value. Setter for property contentType. value New value of contentType. A tag to hold parameters dion $Id: ParameterTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property name. name New value of property name. Setter for property value. value New value of property value. A Multipart MIME message postThis tag should contain one or more <part>tags, tospecify the multiple parts of the messageExample:
 <mppost uri="http://localhost?doit"> <part name="user" type="text/plain">Fred</part> <part name="data" type="text/plain">This is the second part of the message</part> </mppost>
<a href="mailto:wkeese@yahoo.com">Bill Keese</a> ???
Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders.
A http delete tag dion $Id: DeleteTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A http post dion Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A tag to set the body for posts and puts etc dion $Id: BodyTag.java 480468 2006-11-29 08:21:15Z bayard $ A http get tag dion $Id: GetTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A http get tag dion $Id: OptionsTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/interaction.xsd000066400000000000000000000065741157651553000266130ustar00rootroot00000000000000

A simple interaction tag library so that Jelly scripts can be interactive.

Jelly Tag that asks the user a question, and puts his answer into a variable,with the attribute "answer". This variable may be reused further as any otherJelly variable. <a href="mailto:smor@hasgard.net">Stéphane Mor </a> Sets the question to ask to the user. If a "default" attribute ispresent, it will appear inside []. question The question to ask to the user Sets the name of the variable that will hold the answer. This defaults to "interact.answer". answer the name of the variable that will hold the answer Sets the default answer to the question. If it is present, it will appearinside []. defaultInput the default answer to the question Sets the prompt that will be displayed before the user's input. prompt the prompt that will be displayed before the user's input. Sets the list of predefined commands. list the list of commands used for tab completion. Whether the completion should also happen on previouslyentered lines (default true). should whether it should
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/jaxme.xsd000066400000000000000000000134171157651553000253720ustar00rootroot00000000000000

A JAXBtag library using the Apache JaxMeimplementation.Tags are provided for marshalling java objects into xml and unmarshalling xml into java objects which will work with any JAXB implementation.The generation tag generates java objects which can be marshalled and unmarshalled byJaxMe and are specific to that implementation.

Generates java objects using JaxMe.This object can be marshalled into xml and the results unmarshalled using JaxMe. <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a> <a href="mailto:dev at commons.apache.org">Apache Commons Development Team</a> $Revision: 561590 $ Defines the schema against which the java object representationsshould be generated. Defines the target directory into which the generated objects will be placed.

Marshalls a generated object generated by a JAXB implementation into xml.

The result is placed into the processed content for further processing by enclosing tags.

<a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a> <a href="mailto:dev at commons.apache.org">Apache Commons Development Team</a> $Revision: 561590 $
Defines the generated objects which will be marshalled by specifying the package name. Defines the object to be unmarshalled into xml by specifying a jelly variable name.

Unmarshalls xml documents into java objects.

This tag unmarshalls the xml content contained into the JaxMe generated java objects in the packages specified.

<a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a> <a href="mailto:dev at commons.apache.org">Apache Commons Development Team</a> $Revision: 561590 $
Defines the generated objects to which the xml should be unmarshalled. Sets the name of the jelly variable to which the unmarshalled java object should be bound.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/jetty.xsd000066400000000000000000000447751157651553000254400ustar00rootroot00000000000000

Tags for starting Jetty HTTP servers and procesing HTTP requests using Jelly scripts

Declare an instance of a Jetty http server rtl $Id: JettyHttpServerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property var. var New value of property var. Setter for property logFileName. logFileName New value of property logFileName. Respond to a POST request to a Jetty http server rtl $Id: PostRequestTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a user realm for a Jetty http server rtl $Id: RealmTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property name. name New value of property name. Setter for property config. config New value of property config. Respond to a DELETE request to a Jetty http server rtl $Id: DeleteRequestTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a not found resource handler for a Jetty http server rtl $Id: NotFoundHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a security handler for a Jetty http server rtl $Id: SecurityHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property authenticationMethod. authenticationMethod Type of authentication (BASIC, FORM, DIGEST, CLIENT-CERT) Note that only BASIC and CLIENT-CERT are supported by Jetty as of v4.1.1 Set the response body in a response handler for a Jetty http server rtl A resource handler that uses Jelly scripts to provide resourcesto a context in a Jetty http server rtl $Id: JellyResourceHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a socket listener for a Jetty http server rtl $Id: SocketListenerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property port. port New value of property port. Setter for property host. host New value of property host. Set a response header in the request handler of a Jetty http server rtl Setter for property context path. path New value of property context path. Setter for property value. value New value of property value. A tag for the http PUT method Declare a static file resource handler for a Jetty http server rtl $Id: ResourceHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property allowedMethods. allowedMethods Comma separated list of allowed methods. Respond to a GET request to a Jetty http server rtl $Id: GetRequestTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a context for a Jetty http server rtl $Id: HttpContextTag.java 480470 2006-11-29 08:22:46Z bayard $ Add an authenticator to the context instance authenticator the authenticator to add Setter for property context path. path New resourceBase of property context path. Setter for property resourceBase. resourceBase New value of property resourceBase. Setter for property context path. path New resourceBase of property context path. Set the response code in the request handler of a Jetty http server rtl Setter for property value. value New value of property value.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/jface.xsd000066400000000000000000000276611157651553000253440ustar00rootroot00000000000000

The JellyJFace Library is a Jelly Library for creating Rich User Interfaces using SWT and JFace via XML markup (a Jelly script).JellyJFace is an eextension of JellySWT to add support for the JFace framework.

Implementation of SWT LayoutDataTag <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> Implementation of SWT ImageTag <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> This tag creates an JFace MenuManager <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> This tag adds a listener for selection changes in this viewer. <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> Sets the var. var The var to set This tag creates an JFace Action <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> This tag creates an JFace Viewer <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> This tag creates an JFace ContributionItem <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> This tag adds a listener for double-clicks in this viewer. <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> Sets the var. var The var to set Implementation of SWT WidgetTag <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> Implementation of SWT LayoutTag <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/jms.xsd000066400000000000000000000633661157651553000250670ustar00rootroot00000000000000

A tag library for working with JMS using the Messengerproject

Creates a Destination object from a String name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the Destination Sets the variable name to use for the Destination Defines a JMS connection for use by other JMS tags. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the Messenger (JMS connection pool) to use Sets the variable name to use for the exported Messenger (JMS connection pool) Sends a JMS message to some destination. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the JMS message to be sent Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag This tag can be used to measure the amount of time it takes to process JMS messages.This tag can be wrapped around any custom JMS tag which consumes JMS messages. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the number of messages in the group before the performance statistics are logged Sets the logger to which statistic messages will be sent Sets the JMS messageListener used to consume JMS messages on the given destination Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag This tag creates a JMS MessageListener which will invoke thistag's body whenever a JMS Message is received. The JMS Messagewill be available via a variable, which defaults to the 'message'variable name, but can be overloaded by the var attribute. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the variable used to make the JMS message available to this tagsbody when a message is received. Receives a JMS message. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the variable name to create for the received message, which will be null if nomessage could be returned in the given time period. Sets the timeout period in milliseconds to wait for a message. A valueof -1 will wait forever for a message. Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag Creates a JMS TextMessage <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the body of the message, a String. If this value is not set orthe value is null then the content of the tag will be used instead. Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message Adds a map entry to the outer Map Message tag <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the entry in the map message Sets the value of the entry in the map message.If no value is set then the body of the tag is used Creates a JMS MapMessage <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the Map of entries to be used for this Map Message Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message Creates a JMS ObjectMessage <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the body of the message, a serializable java object.If this value is not set or the value is null then the contentof the tag will be used instead. Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message Defines a property on an outer JMS Message tag <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the JMS property Sets the value of the JMS property.If no value is set then the body of the tag is used Performs a subscription to some JMS connection to a destination maybe with a selector.A JMS MessageListener can be specified, or a special child tag can explicitly set it onits parent (so a special tag could construct a MessageListener object and register it with this tag). <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the optional JMS Message selector for the subscription Sets the JMS messageListener used ot consume JMS messages on the given destination Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag A tag which creates a JMS message <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/jmx.xsd000066400000000000000000000117651157651553000250700ustar00rootroot00000000000000

A tag library for creating beans and MBeans and registering them with a JMX Server in a similar wayto the Ant tasks in Apache Commons Modeler

Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the server. server The server to set Registers a JavaBean or JMX MBean with a server.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name. name The name to set Sets the MBeanServer. If this attribute is not supplied then the parent <server>tagis used to get the MBeanServer instance to use. server The MBeanServer to register the mbeans with. Registers a JavaBean or JMX MBean with a server.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the arguments. arguments The arguments to set Sets the name. name The name to set Sets the parameters. parameters The parameters to set
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/jsl.xsd000066400000000000000000000166361157651553000250640ustar00rootroot00000000000000

The Jelly Stylesheet Library (JSL)

The JSL tag library implements an XSLT-like declarative XML based processing engine which allows dynamic stylesheets and a free mix and match of all Jelly tags within the script.

The JSL tag library relies on the XML tags in JSTL to do most of its work, so JSL just providesthe declarative XML processing via <jsl:stylesheet> <jsl:template>and <jsl:applyTemplates>

This tag represents a declarative matching rule, similar to the template tag in XSLT. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the priority. priority New value of property priority. Sets the name. name New value of property name. Sets the mode. mode New value of property mode. This tag implements a JSL stylesheet which is similar to anXSLT stylesheet but can use Jelly tags inside it <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the XMLOutput to use by the current stylesheet Sets the mode. mode New value of property mode. Sets the variable name to define for this expression Sets the XPath expression to evaluate. Implements the apply templates function in the stylesheet, similar to the XSLT equivalent.a JSP include. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the mode. mode New value of property mode. This tag performs a JSL stylesheet which was previouslycreated via an <stylesheet>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the stylesheet to use to style this tags body Sets the XPath expression to evaluate.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/junit.xsd000066400000000000000000000405401157651553000254140ustar00rootroot00000000000000

A collection of JUnittags for performing unit tests written in Jelly script.

The <suite>tag allows a test suite to be created and then test cases can either be individually ran or the whole suite ran.

The <case>tag allows a single test case to be created as part of a suite.

The <run>tag can be used to run a given Test, TestCase or TestSuite

There is an example of these tags in action here

Performs an assertion that a given boolean expression, or XPath expression istrue. If the expression returns false then this test fails. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the boolean expression to evaluate. If this expression returns truethen the test succeeds otherwise if it returns false then the text willfail with the content of the tag being the error message. Sets the boolean XPath expression to evaluate. If this expression returns truethen the test succeeds otherwise if it returns false then the text willfail with the content of the tag being the error message. Represents a collection of TestCases.. This tag is analagous toJUnit's TestSuite class. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the test suite whichi is exported Sets the name of this test suite This tag will run the given Test which could be an individual TestCase or a TestSuite.The TestResult can be specified to capture the output, otherwise the results are outputas XML so that they can be formatted in some custom manner. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the JUnit TestResult used to capture the results of the tst result The TestResult to use Sets the JUnit Test to run which could be an individual test or a TestSuite test The test to run Sets the TestListener.to be used to format the output of running the unit test cases listener The listener to set Checks that a file exists, and if not, then the test will fail. <a href="mailto:dion@apache.org">Dion Gillard</a> $Revision: 480470 $ The file to be tested. If this file exists, the test will pass. aFile the file to test. Compares an actual object against an expected object and if they are differentthen the test will fail. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the actual value which will be compared against theexpected value. Sets the expected value to be tested against Represents a single test case in a test suite; this tag is analagous toJUnit's TestCase class. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of this test case Checks that a file cant be found. <a href="mailto:dion@apache.org">Dion Gillard</a> $Revision: 480470 $ The file to be tested. If this file exists, the test will pass. aFile the file to test. Checks that a file exists, and if not, then the test will fail. <a href="mailto:dion@apache.org">Dion Gillard</a> $Revision: 480470 $ The file to be tested. If this file exists, the test will pass. aFile the file to test. The content to be checked for. If this text matches some partof the given file, the test will pass. This tag causes a failure message. The message can eitherbe specified in the tags body or via the message attribute. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the failure message. If this attribute is not specified then thebody of this tag will be used instead. Runs its body and asserts that an exception is thrown by it. If noexception is thrown the tag fails. By default all exceptions are caught.If however expectedwas specified the body must throwan exception of the given class, otherwise the assertion fails. Theexception thrown by the body can also be of any subtype of the specifiedexception class. The optional varattribute can be specified ifthe caught exception is to be exported to a variable. Sets the class name of exception expected to be thrown by the body. Theclass name must be fully qualified and can either be the expectedexception class itself or any supertype of it, but must be a subtype of java.lang.Throwable. Sets the variable name to define for this expression. Sets the class loader to be used to load the exception type
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/log.xsd000066400000000000000000000255611157651553000250520ustar00rootroot00000000000000

Custom tags for generating textual logging information using commons-logging which will use either log4j, logkit or JDK1.4 loggingdepending on the classpath and configuration.

A tag which generates ERROR level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates TRACE level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates INFO level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates DEBUG level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates FATAL level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates WARN level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/memory.xsd000066400000000000000000000042371157651553000255760ustar00rootroot00000000000000 Tag supporting displaying free memory. <a href="mailto:brett@apache.org">Brett Porter</a> Tag to invoke garbage collection. <a href="mailto:brett@apache.org">Brett Porter</a> kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/ojb.xsd000066400000000000000000000064511157651553000250400ustar00rootroot00000000000000

A variety of tags for working with the ObjectBridgepersistence engine

This Store tag will store the given object in ObjectBridge usingthe given broker or it will use the parent broker tags broker instance.

<a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $
Sets the value to be persisted Sets the persistence broker instance

Tag handler for <Driver>in JSTL, used to createa simple DataSource for prototyping.

<a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $
Sets the variable name to define for this expression Sets the persistence broker instance
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/quartz.xsd000066400000000000000000000115201157651553000256050ustar00rootroot00000000000000

A tag library for scheduling tasks to be run using the Quartzlibrary

Defines a schedulable job. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> Set the name of this job. name The name of this job. Set the group of this job. group The group of this job. Define a trigger using a cron time spec. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> Set the name. name. Set the group group The group Set the cron time spec. spec The cron time spec. Set the job name. jobName The job name. Set the job group. jobGroup The job group. Block and wait for the Quartz scheduler to shutdown. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a>
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/regexp.xsd000066400000000000000000000100351157651553000255510ustar00rootroot00000000000000 This tag checks whether a regexp contains a string. <a href="mailto:christian@inx-soft.com">Christian Amor Kvalheim</a> $Revision: 480471 $ Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. This tag checks whether a regexp matches a string. <a href="mailto:christian@inx-soft.com">Christian Amor Kvalheim</a> $Revision: 480471 $ Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/soap.xsd000066400000000000000000000112371157651553000252260ustar00rootroot00000000000000

Tags for invoking Web Services via Apache Axis

Invokes a web service <a href="mailto:jim@bnainc.net">James Birchfield</a> $Revision: 480474 $ Sets the end point to which the invocation will occur Sets the namespace of the operation Sets the service to be used by this invocation.If none is specified then a default is used. Sets the name of the variable to output the results of the SOAP call to. Sets the parameters for this SOAP call. This can be an array or collection ofSOAPBodyElements or types. Set the password for the SOAP call. Set the username for the SOAP call. Invokes a web service <a href="mailto:jim@bnainc.net">James Birchfield</a> $Revision: 480474 $ Sets the end point to which the invocation will occur Sets the name of the variable to output the results of the SOAP call to. The SOAPAction HTTP header.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/sql.xsd000066400000000000000000000344241157651553000250660ustar00rootroot00000000000000

The SQL Tags from the JSTL

There are some examples of these tags in action here

Tag handler for <Transaction>in JSTL.

Hans Bergsten
Sets the SQL DataSource. DataSource can bea String or a DataSource object. Sets the transaction isolation level.

Tag handler for <SetDataSource>in JSTL, used to createa simple DataSource for prototyping.

Hans Bergsten Justyna Horwat
Sets the scope of the variable to hold theresult.

Tag handler for <Param>in JSTL, used to setparameter values for a SQL statement.

Hans Bergsten

Tag handler for <Update>in JSTL.

Hans Bergsten Justyna Horwat
Sets the name of the variable to hold theresult. Sets the scope of the variable to hold theresult. Sets the SQL DataSource. DataSource can bea String or a DataSource object. Sets the SQL statement to use for thequery. The statement may contain parameter markers(question marks, ?). If so, the parameter values mustbe set using nested value elements.
Adds a new row to a parent <resultSet>Tag.This tag is useful for unit testing with Mock Tags to simulate the results returned by databases.

Tag handler for <Param>in JSTL, used to setparameter values for a SQL statement.

Justyna Horwat

Tag handler for <Query>in JSTL.

Hans Bergsten Justyna Horwat
The index of the first row returned can bespecified using startRow. Query result can be limited by specifyingthe maximum number of rows returned. Sets the name of the variable to hold theresult. Sets the scope of the variable to hold theresult. Sets the SQL DataSource. DataSource can bea String or a DataSource object. Sets the SQL statement to use for thequery. The statement may contain parameter markers(question marks, ?). If so, the parameter values mustbe set using nested value elements.

Tag handler for <Driver>in JSTL, used to createa simple DataSource for prototyping.

Hans Bergsten
Sets the scope of the variable to hold theresult.
This Tag creates a result set object based on its body content via child row tags.This tag is useful for unit testing with Mock Tags to simulate the results returned by databases. Sets the variable to export the result set to.
kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/swing.xsd000066400000000000000000001163361157651553000254210ustar00rootroot00000000000000

The JellySwing Library which is a Jelly Library for creating Rich User Interfaces using Swing via XML markup (a Jelly script)

Represents a tabular row inside a <tableLayout>tag which mimicks the <tr>HTML tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Represents a tabular cell inside a <tl>tag inside a <tableLayout>tag which mimicks the <td>HTML tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the horizontal alignment to a case insensitive value of {LEFT, CENTER, RIGHT} Sets the vertical alignment to a case insensitive value of {TOP, MIDDLE, BOTTOM} Sets the number of columns that this cell should span. The default value is 1 Sets the number of rows that this cell should span. The default value is 1 Sets whether or not this column should allow its component to stretch to fill the space available Sets whether or not this row should allow its component to stretch to fill the space available Creates a default TableModel using nested tableColumn tags. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Creates an etched border.The border will either be exported as a variable defined by the 'var' attributeor will be set on the parent widget's border property <a href="mailto:robert@bull-enterprises.com">Robert McIntosh</a> $Revision: 480474 $ Sets the etch type. Must be either EtchedBorder.LOWERED or EtchedBorder.RAISED type Sets the highlight color highlight Sets the shadow color shadow Sets the name of the variable to use to expose the new Border object.If this attribute is not set then the parent widget tag will have itsborder property set. A Layout tag which uses nested <gbc>tags to implement a GridBagLayout <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. A Layout tag which uses nested <borderAlign>tags to implement a BorderLayout <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the horizontal gap in pixels. Sets the vertical gap in pixels Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. This class represents a java.awt.GridBagConstraintsconstraints as passed inthe second argument of Container.add(Component,Object).It supports inheritence between such tags in the following fashion:
  • either using a basedOnattribute which issupposed to provide a reference to another
org.apache.commons.jelly.tags.swing.GbcTag.
  • either using a parent
  • org.apache.commons.jelly.tags.swing.GbcTag. The first version takes precedence.A Grid-bag-constraint inherits from another simply by setting other attributesas is done in org.apache.commons.jelly.tags.swing.impl.GridBagConstraintBean.setBasedOn.

    In essence, it looks really like nothing else than a bean-class...with

    org.apache.commons.jelly.tags.swing.GbcTag.getConstraints.Probably a shorter java-source is do-able.

    TODO: this class should probably be extended with special treatment for dimensionsusing the converter package.

    <a href="mailto:paul@activemath.org">Paul Libbrecht</a> $Revision: 480474 $
    Creates a Swing Action which on invocation will execute the body of this tag.The Action is then output as a variable for reuse if the 'var' attribute is specifiedotherwise the action is added to the parent JellySwing widget. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Creates a default TableColumnModel. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Implements CardLayout. Takes parameters hgap, vgap per the class. You canset the "var" attribute of this tag, this will store the layout managerin that context attribute, for later use. Hans Gilde hgap The hgap to set. vgap The vgap to set. Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. This tag creates a Swing component and adds it to its parent tag, optionally declaring thiscomponent as a variable if the varattribute is specified.

    This tag clears the reference to it's bean after doTag runs.This means that child tags can access the component (bean) normallyduring execution but should not hold a reference to thistag after their doTag completes.

    <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $
    Sets the Action of this component Sets the Font of this component Sets the Border of this component Sets the LayoutManager of this component Puts this tag into the context under the given nameallowing later calls to org.apache.commons.jelly.tags.swing.ComponentTag.rerun().For example, it makes sense to use ${myTag.rerun()} as a childof an actionelement. the name to be used
    A Layout tag which mimicks the table, tr and td tags of HTML. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. This class represents a layout-manager constraints as passed inthe second argument of Container.add(Component,Object).

    In essence, it looks really like nothing else than a bean-class...with

    org.apache.commons.jelly.tags.swing.ConstraintTag.getConstraintObject.Probably a shorter java-source is do-able.

    TODO: this class should probably be extended with special treatment for dimensiosusing the converter package.

    Creates an Font and attaches it to the parent component or exports the font asa reusable variable that can be attached to multiple widgets. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Represents a layout of a child component within its parent <borderLayout>layout. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the alignment of the child component which is a case insensitive valueof {NORTH, SOUTH, EAST, WEST, CENTER} which defaults to CENTER Creates an empty border.The border will either be exported as a variable defined by the 'var' attributeor will be set on the parent widget's border property <a href="mailto:robert@bull-enterprises.com">Robert McIntosh</a> $Revision: 480474 $ Sets the left inset left Sets the right inset right Sets the top inset top Sets the bottom inset bottom Sets the name of the variable to use to expose the new Border object.If this attribute is not set then the parent widget tag will have itsborder property set. Creates a titled border.The border will either be exported as a variable defined by the 'var' attributeor will be set on the parent widget's border property <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the color of the title for this border. Can be set via a nested tag. Sets the Font to be used by the title. Can be set via a nested tag. Sets the title text for this border. Sets the justification of the title. The String is case insensitive.Possible values are {LEFT, CENTER, RIGHT, LEADING, TRAILING} Sets the position of the title. The String is case insensitive.Possible values are {ABOVE_TOP, TOP, BELOW_TOP, ABOVE_BOTTOM, BOTTOM, BELOW_BOTTOM} Sets the name of the variable to use to expose the new Border object.If this attribute is not set then the parent widget tag will have itsborder property set. Implements a ButtonGroup. This tag acts like a Swing componentexcept that adding a component other than an AbstractButton, will be passedthrough to the parent tag. This is meant to make thebuttonGroup easier to use like this:
     <panel> <buttonGroup> <panel> <radioButton/> </panel> <panel> <radioButton/> </panel> </buttonGroup> </panel>

    Note that the following construct will silently fail, and shame on s/he who even tried it:

     <panel> <buttonGroup> <font .../> <panel> <radioButton/> </panel> <panel> <radioButton/> </panel> </buttonGroup> </panel>

    Hans Gilde
    Sets the Action of this component Sets the Font of this component Sets the Border of this component Sets the LayoutManager of this component Puts this tag into the context under the given nameallowing later calls to org.apache.commons.jelly.tags.swing.ComponentTag.rerun().For example, it makes sense to use ${myTag.rerun()} as a childof an actionelement. the name to be used
    Creates a Swing Dialog. A JDialog needs to have it's owner set in the constructor,which is why this class is needed instead of just using a BeanFactory. Dave Pekarek Krohn $Revision: 480474 $ var gained lost Creates a WindowListener which is attached to its parent window control which will invokenamed Jelly scripts as window events are fired, or will invoke its body if there is no scriptspecified for the named event type. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the name of the variable to use to expose the Event object Sets the Script to be executed when the window is activated. Sets the Script to be executed when the window is closed. Sets the Script to be executed when the window is closing. Sets the Script to be executed when the window is deactivated. Sets the Script to be executed when the window is deiconified. Sets the Script to be executed when the window is iconified. Sets the Script to be executed when the window is opened.
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/swt.xsd000066400000000000000000000411741157651553000251040ustar00rootroot00000000000000

    The JellySWT Library is a Jelly Library for creating Rich User Interfaces using SWT via XML markup (a Jelly script)

    Creates a LayoutData object and sets it on the parent Widget. <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Sets the name of the variable to use to expose the new Layout object.If this attribute is not set then the parent widget tag will have itslayout property set. This creates an image on the parent Widget. <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> CVS ImageTag.java,v 1.5 2004/09/07 02:41:40 dion Exp Sets the resource resource image resource location Sets the variable name Sets the src. src The src to set A helper class for working with SWT. <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Class to create a org.eclipse.swt.graphics.GCinstance within Jelly SWT. <a href="mailto:crafterm@apache.org">Marcus Crafter</a> CVS $Id: GCTag.java 480474 2006-11-29 08:29:13Z bayard $ Set the org.eclipse.swt.graphics.Drawablename for this org.eclipse.swt.graphics.GC. drawable a {@link GC} {@link Drawable} Sets the variable name. var the variable name of this {@link GC} instance A tag which implements a Listener to allow events to be processed byJelly scripts <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Sets the name of the variable to use to expose the event object whenit is fired. If not specified this defaults to "event" Sets the type of the event listener to listen for. type The type of the event to listen for This tag creates an SWT widget based on the parent tag, optionally declaringthis widget as a variable if the varattribute is specified. <a href="mailto:jstrachan@apache.org">James Strachan</a> <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 1.1 Creates a new Layout implementations and adds it to the parent Widget. <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Sets the name of the variable to use to expose the new Layout object.If this attribute is not set then the parent widget tag will have itslayout property set. Class to create a org.eclipse.swt.graphics.Fontinstance within Jelly SWT. <a href="mailto:crafterm@apache.org">Marcus Crafter</a> Written with much help thanks to the ImageTag class CVS $Id: FontTag.java 480474 2006-11-29 08:29:13Z bayard $ Set the type of this org.eclipse.swt.graphics.Font type {@link Font} type name Set the size of this org.eclipse.swt.graphics.Font size {@link Font} size Set the style of this org.eclipse.swt.graphics.Font(eg. bold, normal, italics) style the style of this {@link Font} Sets the variable name var the variable name of this {@link Font} instance This tag creates an SWT Menu <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Class to create a org.eclipse.swt.graphics.Colorinstance within Jelly SWT. <a href="mailto:crafterm@apache.org">Marcus Crafter</a> Written with much help thanks to the ImageTag class CVS $Id: ColorTag.java 480474 2006-11-29 08:29:13Z bayard $ Sets the RGB value for this org.eclipse.swt.graphics.Colorinstance rgb value (eg. #666666); Sets the variable name var the variable name of this {@link Color} instance This tag creates an SWT dialog. <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/threads.xsd000066400000000000000000000414641157651553000257230ustar00rootroot00000000000000

    A library for processing Jelly scripts using multiple threads.

    Puts the current thread to sleep for some amount of time. <a href="mailto:jason@jhorman.org">Jason Horman</a> How long to put the thread to sleep for howLong in millis Represents a group of threads. This is not the same as Java's thread groups.All of the threads in a thread group are started at the same time, not as theyare defined. Use this in conjunction with other tags like join to manipulatea group of threads. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set the variable name to store the thread group in A tag that spawns the contained script in a separate thread. A threadcan wait on another thread or another thread group to finish before starting. <a href="mailto:vinayc@apache.org">Vinay Chandran</a> <a href="mailto:jason@jhorman.org">Jason Horman</a> Sets the variable name to export, optional var The variable name Sets the name of the thread. name The name to set Set the threads priority. Defaults to Thread.NORM_PRIORITY Sets the thread to be a daemon thread if true Sets the destination of output Set the file which is generated from the output name The output file name Should a new context be created for this thread? Interrupts a thread or thread group. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set the thread to use in some way. Set the thread group to "use". threadGroup The threadGroup created with the <i>group</i> tag. If true the tag will search for a parent thread tag to "use" ifno thread was set via setThread. This is trueby default. This calls mutex.notify() or mutex.notifyAll() on the mutex passedin via the "mutex" attribute. <a href="mailto:jason@jhorman.org">Jason Horman</a> If set to true the notify will notify all waiting threads Set the mutex. Any object can be used as a mutex. Creates a mutex object and stores it in a variable <a href="mailto:jason@jhorman.org">Jason Horman</a> Sets the variable name to export var The variable name Synchronize a block inside of a thread using the passed in mutex. Themutex object passed in does not have to have been created using themutex tag, it can be any object at all. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set the mutex. Any object can be used as a mutex. This calls mutex.wait() on the mutex passed in via the "mutex" attribute. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set how long the wait should last. If <= 0 the wait will lastuntil a notify occurs. timeout in millis Set the mutex. Any object can be used as a mutex. A thread join waits until a thread or threadGroup is complete. <a href="mailto:jason@jhorman.org">Jason Horman</a> How long should the join wait. If <= 0 the join waits until thethread is dead. timeout in millis Set the thread to use in some way. Set the thread group to "use". threadGroup The threadGroup created with the <i>group</i> tag. If true the tag will search for a parent thread tag to "use" ifno thread was set via setThread. This is trueby default. This tag creates a dependency on another thread. If onlyWait is seta org.apache.commons.jelly.tags.threads.TimeoutExceptioncan be thrown. If status is set a org.apache.commons.jelly.tags.threads.RequirementExceptioncan be thrown. <a href="mailto:jason@jhorman.org">Jason Horman</a> Wait for a specific status. "SUCCESS", "FAILURE", "TIMED_OUT", or "AVOIDED". Ifwaiting on a thread group each thread in the group will have to have this statusset. Which thread will this tag check the status of Set the group of threads to wait on Set how long to wait for the thread to finish. If waiting for a groupthis will be the time to wait for each thread in the group to finish.
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/util.xsd000066400000000000000000000331401157651553000252360ustar00rootroot00000000000000

    A number of utility tags such as for tokenizing Strings.

    A tag which sleeps for a given amount of time. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the amount of time that this thread should sleep for in milliseconds. A tag which creates a java.io.Filefrom a given name. <a href="mailto:dion@apache.org">dIon Gillard</a> $Revision: 480466 $ Name of the file to be placed into the context name The fileName to set Name of the variable to contain the file var The var to set A tag which loads text from a file or URI into a Jelly variable. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the name of the variable which will be exported with the text value of thegiven file. Sets the file to be parsed as text Sets the encoding to use to read the file Sets the uri to be parsed as text.This can be an absolute URL or a relative or absolute URIfrom this Jelly script or the root context. A tag that replaces occurrences of a character or string in its body or(or value) and places the result into the context dion Sets the newChar. newChar The newChar to set Sets the oldChar. oldChar The oldChar to set Sets the newString. newString The newString to set Sets the oldString. oldString The oldString to set Sets the value. value The value to set Sets the var. var The var to set Set the items to be sorted newItems some collection The variable to hold the sorted collection. newVar the name of the variable. A tag which loads a properties file from a given file name or URIwhich are loaded into the current context. Jim Birchfield $Revision: 480466 $ Sets the file name to be used to load the properties file. Sets the URI of the properties file to use. This can be a full URL or a relative URIor an absolute URI to the root context of this JellyContext. If this is defined then a Properties object containing all theproperties will be created and exported, otherwise the current variablescope will be set to the value of the properties. var The var to set A tag which evaluates its body if the given file is available.The file can be specified via a File object or via a relative or absoluteURI from the current Jelly script. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the file to use to test whether it exists or not. file the file to test for Sets the URI to use to test for availability.The URI can be a full file based URL or a relative URIor an absolute URI from the root context. uri the URI of the file to test The variable name to hold the list of tokens the delimiter that separates the tokens
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/validate.xsd000066400000000000000000000162551157651553000260620ustar00rootroot00000000000000

    A tag library for validating XML using various schema languages like DTD, XML Schema, Relax NG as well as Relax and TREX. This tag library uses the JARVAPI to perform the validation.By default we use the MSV library by Kohsuke Kawaguchi as the implementation of JARV.

    This tag validates its body using a schema Verifier which canvalidate against DTDs, XML Schema, RelaxNG, Relax or TREX.Any JARV compliant Verifier could be used.The error messages are output as XML events so that they can be styled by the parent tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the schema Verifier that this tag will use to verify its body Sets the SAX ErrorHandler which is used to captureXML validation events.If an ErrorHandler is specifiedthen this tag will output its body and redirect all error messagesto the ErrorHandler.If no ErrorHandler is specified then this tag will just output theerror messages as XML events Sets the name of the variable that will contain a boolean flag for whether ornot the XML is valid. This tag performs an assertion that the tags body contains XMLwhich matches a givem schema validation. This tag is used withJellyUnit to implement an assertion. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the schema Verifier that this tag will use to verify its body Sets the SAX ErrorHandler which is used to captureXML validation events.If an ErrorHandler is specifiedthen this tag will output its body and redirect all error messagesto the ErrorHandler.If no ErrorHandler is specified then this tag will just output theerror messages as XML events Sets the name of the variable that will contain a boolean flag for whether ornot the XML is valid. This tag creates a new Verifier of a schema as a variableso that it can be used by a <validate>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the name of the variable that will be set to the new Verifier Sets the URI of the schema file to parse. If no URI and no file isspecified then the body of this tag is used as the source of the schema Sets the java.io.Fileof the schema to parse. If no URI and no file isspecified then the body of this tag is used as the source of the schema Sets the system ID used when parsing the schema Sets the factory used to create new schema verifier objects.If none is provided then the default MSV factory is used.
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/velocity.xsd000066400000000000000000000076511157651553000261270ustar00rootroot00000000000000 A tag that uses Velocity to render a specified template with theJellyContext storing the results in either a variable in theJellyContext or in a specified file. <a href="mailto:pete-apache-dev@kazmier.com">Pete Kazmier</a> $Id: MergeTag.java 480466 2006-11-29 08:17:52Z bayard $ Sets the var used to store the results of the merge. var The var to set in the JellyContext with the results of the merge. Sets the file name for the merged output. name The name of the output file that is used to store the results of the merge. Sets the base directory used for loading of templates by theVelocity file resource loader. basedir The directory where templates can be located by the Velocity file resource loader. Sets the filename of the template used to merge with theJellyContext. template The filename of the template to be merged. Sets the read-only flag for this adapter which preventsmodifications in the Velocity context from propogating to theJellyContext. readOnly <tt>true</tt> prevents modifications from propogating (the default), or <tt>false</tt> which permits modifications. Sets the output encoding mode which defaults to ISO-8859-1 usedwhen storing the results of a merge in a file. encoding The file encoding to use when writing the output. Sets the input encoding used in the specified template whichdefaults to ISO-8859-1. encoding The encoding used in the template. kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/xml.xsd000066400000000000000000000563031157651553000250670ustar00rootroot00000000000000

    The XML Tags from the JSTL

    A tag which defines a variable from an XPath expression.This function creates a variable of type java.util.Listor org.dom4j.Node(for example org.dom4j.Elementor org.dom4j.Attribute).Thus, the variable created from xml:set can beused from the other xml library functions. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the variable name to define for this expression Sets the XPath expression to evaluate. If set to true will only take the first element matching.It then guarantees that the result is of type org.dom4j.Nodethereby making sure that, for example,when an element is selected, one can directly call such methodsas setAttribute.
    If set to false, guarantees that a list is returned.If set to false, guarantees that a list is returned.
    If set to true, will ensure that the (XPath) text-valueof the selected node is taken instead of the nodeitself.This ensures that, thereafter, string manipulationscan be performed on the result. If set, returns a string delimited by this delimiter.Implies asStringto be true. Sets the xpath expression to use to sort selected nodes.Ignored if single is true. Set whether to sort ascending or descending.
    A tag to produce an XML element which can contain other attributesor elements like the <xsl:element>tag. James Strachan $Revision: 480471 $ Sets the qualified name of the element Sets the namespace URI of the element A tag which performs a copy-of operation like the XSLT tag James Strachan Sets the XPath expression to evaluate. A tag which outputs a comment to the underlying XMLOutput based on thecontents of its body. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the comment text. If no text is specified then the body of the tagis used instead. text The comment text to use A tag which parses some XML, applies an xslt transform to itand defines a variable with the transformed Document.The XML can either be specified as its body or can be passed in via thexml property which can be a Reader, InputStream, URL or String URI.The XSL can be passed in via thexslt property which can be a Reader, InputStream, URL or String URI. Robert Leftwich $Revision: 480471 $ Sets the source of the XSL which is either a String URI, Reader orInputStream xslt The source of the xslt Sets the source of the XML which is either a String URI, a File, Reader or InputStream Sets whether XML validation is enabled or disabled Sets the variable name that will be used for the Document variable created Sets the text to be parsed by this parser text The text to be parsed by this parser Sets the SAXReader used for parsing A tag which parses some XML and defines a variable with the parsed Document.The XML can either be specified as its body or can be passed in via thexml property which can be a Reader, InputStream, URL or String URI. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the source of the XML which is either a String URI, a File, Reader or InputStream Sets whether XML validation is enabled or disabled Sets the variable name that will be used for the Document variable created Sets the text to be parsed by this parser text The text to be parsed by this parser Sets the SAXReader used for parsing Sets a parameter in the parent transform tag Robert Leftwich $Revision: 480471 $ Sets the name of the attribute Sets the value of the attribute Replace namespace is a filter to change the namespace of anyelemement attribute passing through it. Diogo Quintela <dquintela@gmail.com> Sets the source namespace URI to replace. Sets the destination namespace URI to replace. A tag which performs a copy operation like the XSLT tag,performing a shallow copy of the element and its attributes but no content. James Strachan Sets the XPath expression to evaluate. A tag that can sort a list of xml nodes via an xpath expression. <a href="mailto:jason@jhorman.org">Jason Horman</a> $Id: SortTag.java 480471 2006-11-29 08:25:00Z bayard $ Set the list to sort. Sets the xpath expression to use to sort selected nodes. Set whether to sort ascending or descending. Adds an XML attribute to the parent element tag likethe <xsl:attribute>tag. James Strachan $Revision: 480471 $ Sets the name of the attribute. Sets the namespace URI of the element A tag which performs an iteration over the results of an XPath expression <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the XPath selection expression Sets the variable name to export for the item being iterated over Sets the xpath expression to use to sort selected nodes. Set whether to sort ascending or descending. Evaluates the XPath expression to be a boolean and only evaluates the bodyif the expression is true. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the XPath expression to evaluate. A tag which performs a string XPath expression; similar to <xsl:value-of>in XSLT <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the XPath expression to evaluate. A tag which outputs a DOCTYPE declaration to the current XML output pipe.Note that there should only be a single DOCTYPE declaration in any XML stream andit should occur before any element content. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the document type name of the DOCTYPE Sets the declared public identifier for DTD Sets the declared system identifier for the DTD
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/schemas/xmlunit.xsd000066400000000000000000000104521157651553000257620ustar00rootroot00000000000000

    Compares two XML documents using XMLUnit

    Sets the SAXReader used for parsing Compares two XML documents using XMLUnit (http://xmlunit.sourceforge.net/).If they are different an exception will be thrown. Sets the actual XML document which is either a Document, String (of anURI), URI, Reader, or InputStream. Sets the expected XML document which is either a Document, String (of anURI), URI, Reader, or InputStream. Controls whether whitespace differences should be interpreted asdifferences or not. The default is false. Note that theuse of the trimattribute is crucial here. Sets the SAXReader used for parsing Sets the SAXReader used for parsing
    kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/000077500000000000000000000000001157651553000227045ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/000077500000000000000000000000001157651553000236305ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/000077500000000000000000000000001157651553000245515ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/000077500000000000000000000000001157651553000253405ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/000077500000000000000000000000001157651553000264665ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/maven/000077500000000000000000000000001157651553000275745ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/maven/jellydoc/000077500000000000000000000000001157651553000314015ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/maven/jellydoc/annotation/000077500000000000000000000000001157651553000335535ustar00rootroot00000000000000NoContent.java000066400000000000000000000021741157651553000362520ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/maven/jellydoc/annotation/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc.annotation; import java.lang.annotation.Documented; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; import java.lang.annotation.Target; import java.lang.annotation.Inherited; /** * Used on the {@code Tag} class to indicate that this tag * doesn't accept any nested content model. * * @author Kohsuke Kawaguchi */ @Documented @Retention(SOURCE) @Target(TYPE) @Inherited public @interface NoContent { } Required.java000066400000000000000000000021161157651553000361170ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/maven/jellydoc/annotation/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc.annotation; import java.lang.annotation.Documented; import static java.lang.annotation.ElementType.METHOD; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; import java.lang.annotation.Target; /** * Used on the setter method on a Tag class to indicate that this attribute * is required. * * @author Kohsuke Kawaguchi */ @Documented @Retention(SOURCE) @Target(METHOD) public @interface Required { } TagLibUri.java000066400000000000000000000020511157651553000361570ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/annotation/src/main/java/org/jvnet/maven/jellydoc/annotation/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc.annotation; import java.lang.annotation.Documented; import static java.lang.annotation.ElementType.PACKAGE; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; import java.lang.annotation.Target; /** * Namespace URI of this jelly tag library. * * @author Kohsuke Kawaguchi */ @Documented @Retention(SOURCE) @Target(PACKAGE) public @interface TagLibUri { String value(); } kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/000077500000000000000000000000001157651553000241505ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/pom.xml000066400000000000000000000066031157651553000254720ustar00rootroot00000000000000 4.0.0 org.jvnet.maven-jellydoc-plugin jellydoc 1.5 ../pom.xml maven-jellydoc-plugin maven-plugin Maven Jellydoc plugin maven-plugin-plugin jellydoc ${project.groupId} jellydoc-annotations ${project.version} ${project.groupId} taglib-xml-writer ${project.version} net.java.dev.textile-j textile-j 2.2.864 org.apache.maven maven-plugin-api 2.0.1 org.apache.maven maven-core 2.0.1 org.apache.maven maven-project 2.0.1 org.apache.maven maven-artifact 2.0.1 nekohtml nekohtml 1.9.6.2 dom4j dom4j 1.6.1 jaxen jaxen 1.1.1 ant ant 1.6.5 org.apache.maven.reporting maven-reporting-impl 2.0.1 default-tools.jar java.vendor Sun Microsystems Inc. com.sun tools 1.5 system ${java.home}/../lib/tools.jar maven-plugin-plugin kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemagen-on-jelly.sh000066400000000000000000000014721157651553000301710ustar00rootroot00000000000000#!/bin/bash -e # generate XSD from all the Jelly tags developed in Apache commons Jelly # these taglib.xml files are generated from Maven1. # # To generate taglib.xml on Jelly, run "maven jellydoc:doclet" and # "maven tags:doc". It needs to be built first with # "maven jar:install" and "maven tags:build". base=$PWD mkdir $base/schemas > /dev/null 2>&1 || true xsl=$base/src/main/resources/org/jvnet/maven/jellydoc/xsdgen.xsl cd $1 for xml in target/taglib.xml jelly-tags/*/target/taglib.xml do lib=$(basename $(dirname $(dirname $xml))) echo $lib echo $xml if [ "$lib" != "jface" ]; then xmlstarlet tr $xsl $xml | xmlstarlet fo > $base/schemas/$lib.xsd fi done # this file created by core mv $base/schemas/..xsd $base/schemas/core.xsd cd $base rm jelly-schemas.zip || true zip jelly-schemas.zip schemas/*.xsd kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/000077500000000000000000000000001157651553000255735ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/ant.xsd000066400000000000000000000116031157651553000270760ustar00rootroot00000000000000

    A tag library for using Ant tasks within Jelly

    Jelly can be invoked inside Ant and this tag library allows Ant tasks to be invoked from insideJelly. This allows Jelly to be used for more 'scripting' style targets, such as parsing XML databases,working with custom java beans, doing SQL, the use of JSTL and so forth.

    Tag which sets an attribute on the parent Ant Task if the given value is not null.This can be useful when setting parameters on Ant tasks, only if they have been specifiedvia some well defined property, otherwise allowing the inbuilt default to be used. <a href="mailto:jstrachan@apache.org">James Strachan</a> Sets the name of the Ant task property to set. name The name of the Ant task property to set Sets the value of the Ant task property to set. value The value of the Ant task property to set Sets the default value to be used if the specified value is empty. A tag which creates a new FileScanner bean instance that can be used toiterate over fileSets <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the name of the variable exported by this tag Tag supporting ant's Tasks as well asdynamic runtime behaviour for 'unknown' tags. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> <a href="mailto:jstrachan@apache.org">James Strachan</a> Set the object underlying this tag. object The object.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/antlr.xsd000066400000000000000000000036451157651553000274430ustar00rootroot00000000000000

    A tag library for working with the Antlrlibrary

    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/bean.xsd000066400000000000000000000112601157651553000272200ustar00rootroot00000000000000

    A tag library for mapping tags to beans using a similar approach to Ant.

    Creates a bean for the given tag which is then either output as a variableor can be added to a parent tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> Christian Sell $Revision: 480467 $ Creates a nested property via calling a beans createFoo() method theneither calling the setFoo(value) or addFoo(value) methods in a similar wayto how Ant tags construct themselves. <a href="mailto:jstrachan@apache.org">James Strachan</a> Christian Sell $Revision: 480467 $ Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the methodName. methodName The methodName to set
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/beanshell.xsd000066400000000000000000000024721157651553000302550ustar00rootroot00000000000000

    A tag library for working with BeanShell expressions and scripts within Jelly

    A tag which invokes a BeanShell script.. Jason Horman <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/betwixt.xsd000066400000000000000000000136141157651553000300060ustar00rootroot00000000000000

    A tag library for turning XML into beans or beans into XML using the Betwixtlibrary

    Parses some XML specified via the given URI (which can be relative or an absolute URL) and outputs theparsed object. Typically this tag is customized by setting the introspector attribute or nesting a childintrospector tag inside it. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the Betwixt XMLIntrospector instance used to define the metadata for how abean should appear as XML. Sets the URI from which XML is parsed. This can be relative to this Jelly script, usean absolute URI or a full URL Sets the variable name to output with the result of the XML parse. Sets the name of the root class to use for parsing the XML Sets the path that the root class should be bound to.This is optional and often unnecessary though can be used to ignore some wrappingelements, such as the <rss>element in the RSS unit test. Sets whether or not the current threads's context class loadershould be used to load the bean classes or not.This can be useful if running inside a web application or inside someapplication server. Sets the ClassLoader to be used to load bean classes from.If this is not specified then either the ClassLoader used to load this tag libraryis used or, if the 'useContextClassLoader' property is true, then thecurrent threads context class loader is used instead. Creates a Betwixt XMLIntrospector instance that can be used by the other Betwixt tags. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets whether attributes or elements should be used for primitive types.The default is false. Sets the name mapper used for element names.You can also use the Strings 'lowercase', 'uppercase' or 'hyphenated'as aliases to the common name mapping strategies or specify a class name String. Sets the name mapper used for attribute names.You can also use the Strings 'lowercase', 'uppercase' or 'hyphenated'as aliases to the common name mapping strategies or specify a class name String. Sets the variable name to output the new XMLIntrospector to.If this attribute is not specified then this tag must be nestedinside an <parse>or <output>tag
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/bsf.xsd000066400000000000000000000050751157651553000270740ustar00rootroot00000000000000

    A collection of tag libraries for working with BSF based scripting languages like JavaScript, Jython and PNuts

    A tag which evaluates its body using the current scripting language <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the columnNumber. columnNumber The columnNumber to set Sets the elementName. elementName The elementName to set Sets the engine. engine The engine to set Sets the fileName. fileName The fileName to set Sets the lineNumber. lineNumber The lineNumber to set
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/core.xsd000066400000000000000000001710111157651553000272440ustar00rootroot00000000000000

    The core Tags from the JSTL plus Jelly extensions.

    The root Jelly tag which should be evaluated first <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which terminates the execution of the current <forEach>or &lg;while>loop. This tag can take an optional boolean test attribute which if its truethen the break occurs otherwise the loop continues processing. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 718134 $ Sets the Jelly expression to evaluate (optional).If this is nullor evaluates to truethen the loop is terminated test the Jelly expression to evaluate Sets the variable name to export indicating if the item was broken var name of the variable to be exported Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which sets a variable from the result of an expression <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the variable name to define for this expression Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. Sets the expression to evaluate. Sets the default value to be used if the value exprsesion resultsin a null value or blank String Sets the target object on which to set a property. Sets the name of the property to set on the target object. Sets whether the body of the tag should be XML encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default.This is only used if this tag is specified with no value so that the text body of thistag is used as the body. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which calls a method in an object instantied by core:new Rodney Waldhoff $Revision: 480454 $ Sets the name of the variable exported by this tag Sets the name of a variable that exports the exception thrown bythe method's invocation (if any) Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the expression to evaluate. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the file to be included which is either an absolute file or a filerelative to the current directory Sets the URI (relative URI or absolute URL) for the script to evaluate. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag that pipes its body to a file denoted by the name attribute or to an in memory Stringwhich is then output to a variable denoted by the var variable. <a href="mailto:vinayc@apache.org">Vinay Chandran</a> Sets the file name for the output Sets whether the XML declaration should be output or not Sets the output mode, whether XML or HTML Sets whether pretty printing mode is turned on. The default is off so that whitespace is preserved Sets the XML encoding mode, which defaults to UTF-8 Sets wether to append at the end of the file(not really something you normally do with an XML file). Sets the var. var The var to set Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which performs an iteration while the result of an expression is true. <a href="mailto:eric@ericalexander.net">Eric Alexander</a> dIon Gillard $Revision: 480454 $ Setter for the expression e the expression to test Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which creates a List implementation and optionallyadds all of the elements identified by the items attribute.The exact implementation of List can be specified via theclass attribute <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ If this tag finds an attribute in the XML that's notignored by org.apache.commons.jelly.tags.core.UseBeanTag.ignorePropertiesand isn't abean property, should it throw an exception? ignoreUnknownProperties Sets {@link #ignoreUnknownProperties}. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which can retrieve the value of a static field of a given class.The following attributes are required:
    • var - The variable to which to assign the resulting value.
    • field - The name of the static field to retrieve.
    • className - The name of the class containing the static field.
    Example usage:
     <j:getStatic var="closeOperation" className="javax.swing.JFrame"field="EXIT_ON_CLOSE"/>
    $Revision: 480454 $
    Sets the name of the variable exported by this tag. var The variable name. Sets the name of the field to retrieve. method The method name Sets the fully qualified name of the class containing the static field. className The name of the class. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    A tag which creates a new child variable scope for its body.So any variables defined within its body will no longer be in scopeafter this tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A simple tag used to preserve whitespace inside its body <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. An argument to a org.apache.commons.jelly.tags.core.NewTagor org.apache.commons.jelly.tags.core.InvokeTag.This tag MUST be enclosed within an org.apache.commons.jelly.tags.core.ArgTagParentimplementation. Rodney Waldhoff $Revision: 712845 $ The name of the argument class or type, if any.This may be a fully specified class name ora primitive type name( boolean , int, double, etc.). The (possibly null) value of this argument. Set the class loader to be used for instantiating application objectswhen required. classLoader The new class loader to use, or <code>null</code> to revert to the standard rules Determine whether to use the Context ClassLoader (the one found bycalling Thread.currentThread().getContextClassLoader())to resolve/load classes. If notusing Context ClassLoader, then the class-loading defaults tousing the calling-class' ClassLoader. boolean determines whether to use JellyContext ClassLoader. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. Executes the child <case>tag whose value equals my on attribute.Executes a child <default>tag when present and no <case>tag hasyet matched. CaseTag DefaultTag Rodney Waldhoff $Revision: 480454 $ $Date: 2006-11-28 23:48:51 -0800 (Tue, 28 Nov 2006) $ Sets the value to switch on.Note that the org.apache.commons.jelly.expression.Expressionis evaluated only once, when the <switch>tag is evaluated. on the value to switch on Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which instantiates an instance of the given classand then sets the properties on the bean.The class can be specified via a java.lang.Classinstance ora String which will be used to load the class using either the currentthread's context class loader or the class loader used to load thisJelly library.This tag can be used it as follows,
     <j:useBean var="person" class="com.acme.Person" name="James" location="${loc}"/> <j:useBean var="order" class="${orderClass}" amount="12" price="123.456"/>
    <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $
    If this tag finds an attribute in the XML that's notignored by org.apache.commons.jelly.tags.core.UseBeanTag.ignorePropertiesand isn't abean property, should it throw an exception? ignoreUnknownProperties Sets {@link #ignoreUnknownProperties}. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    Parses the output of this tags body or of a given String as a Jelly scriptthen either outputting the Script as a variable or executing the script. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the variable name that will be used for the Document variable created Sets the text to be parsed by this parser text The text to be parsed by this parser Sets the XMLReader used for parsing Sets the jellyParser. jellyParser The jellyParser to set Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. The otherwise block of a choose/when/otherwise group of tags <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which catches exceptions thrown by its body.This allows conditional logic to be performed based on if exceptionsare thrown or to do some kind of custom exception logging logic. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 718134 $ Sets the name of the variable which is exposed with the Exception that getsthrown by evaluating the body of this tag or which is set to null if there isno exception thrown. exceptions The exceptions to set. Must be separated by ";" cause The cause to set. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body ifnone of its preceeding sibling <case>tags have been evaluated.This tag must be contained within the body of some <switch>tag. SwitchTag Rodney Waldhoff $Revision: 480454 $ $Date: 2006-11-28 23:48:51 -0800 (Tue, 28 Nov 2006) $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which removes the variable of the given name from the current variable scope. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 718134 $ Sets the name of the variable which will be removed by this tag.. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag that spawns the contained script in a separate thread <a href="mailto:vinayc@apache.org">Vinay Chandran</a> Sets the name of the thread. name The name to set Sets the destination of output Set the file which is generated from the output name The output file name Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which conditionally evaluates its body ifmy valueattribute equals my ancestor <switch>tag's "on"attribute.This tag must be contained within the body of some <switch>tag. SwitchTag Rodney Waldhoff $Revision: 480454 $ $Date: 2006-11-28 23:48:51 -0800 (Tue, 28 Nov 2006) $ Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which executes its body but passing no output.

    Using this tag will still take the time to perform toString on each objectreturned to the output (but this toString value is discarded.A future version should go more internally so that this is avoided.

    <a href="mailto:paul@activemath.org">Paul Libbrecht</a> $Revision: 480454 $
    Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    Imports another script.

    By default, the imported script does not have access tothe parent script's variable context. This behaviourmay be modified using the inheritattribute.

    <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> $Revision: 480454 $
    Sets whether property inheritence is enabled or disabled Sets the URI (relative URI or absolute URL) for the script to evaluate. Sets the file for the script to evaluate. file The file to set Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    Iterates over a collection, iterator or an array of objects.Uses the same syntax as the JSTL forEachtag does. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the expression used to iterate over.This expression could resolve to an Iterator, Collection, Map, Array,Enumeration or comma separated String. Sets the variable name to export for the item being iterated over Sets the variable name to export the current index counter to Sets the starting index value Sets the ending index value Sets the index increment step Sets the variable name to export the current status to.The status is an implementation of the JSTL LoopTagStatus interface that providesthe following bean properties:
    • current - the current value of the loop items being iterated
    • index - the current index of the items being iterated
    • first - true if this is the first iteration, false otherwise
    • last - true if this is the last iteration, false otherwise
    • begin - the starting index of the loop
    • step - the stepping value of the loop
    • end - the end index of the loop
    Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    A tag which conditionally evaluates its body based on some condition <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the Jelly expression to evaluate. If this returns true, the body ofthe tag is evaluated test the Jelly expression to evaluate Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which evaluates an expression out <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the Jexl expression to evaluate. true Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A Tag which can invoke a static method on a class, without aninstance of the class being needed.

    Like the

    org.apache.commons.jelly.tags.core.InvokeTag, this tag can take a set ofarguments using the org.apache.commons.jelly.tags.core.ArgTag.

    The following attributes are required:

    • var - The variable to assign the return of the method call to
    • method - The name of the static method to invoke
    • className - The name of the class containing the static method

    <a href="mailto:robert@bull-enterprises.com>Robert McIntosh</a> $Revision: 480454 $
    Sets the name of the variable exported by this tag var The variable name Sets the name of a variable that exports the exception thrown bythe method's invocation (if any) Sets the name of the method to invoke method The method name Sets the fully qualified class name containing the static method className The name of the class Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    A tag which creates a new object of the given type <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $ Sets the name of the variable exported by this tag Sets the class name of the object to instantiate Set the class loader to be used for instantiating application objectswhen required. classLoader The new class loader to use, or <code>null</code> to revert to the standard rules Determine whether to use the Context ClassLoader (the one found bycalling Thread.currentThread().getContextClassLoader())to resolve/load classes. If notusing Context ClassLoader, then the class-loading defaults tousing the calling-class' ClassLoader. boolean determines whether to use JellyContext ClassLoader. Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML. A tag which sets the bean properties on the given bean.So if you used it as follows, for example using the <j:new>tag.
     <j:new className="com.acme.Person" var="person"/> <j:setProperties object="${person}" name="James" location="${loc}"/>
    Then it would set the name and location properties on the bean denoted bythe expression ${person}.

    This tag can also be nested inside a bean tag such as the <useBean>tagor a JellySwing tag to set one or more properties, maybe inside some conditionallogic.

    <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480454 $
    Sets whether whitespace inside this tag should be trimmed or not.Defaults to true so whitespace is trimmed Sets whether the body of the tag should be escaped as text (so that <and >areescaped as &lt; and &gt;), which is the default or leave the text as XML.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/define.xsd000066400000000000000000000501461157651553000275530ustar00rootroot00000000000000

    Tag library which allows the creation of new tags using Jelly script itself.

    The <invoke>tag will invoke a given Script instance.It can be used with the <script>tag which defines scriptsas variables that can later be invoked by this <invoke>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the Script to be invoked by this tag, which typically has been previouslydefined by the use of the <script>tag. <extend>is used to extend a dynamic tag defined in an inheriteddynamic tag library

    <a href="mailto:tima@intalio.com">Tim Anderson</a> $Revision: 480467 $ SuperTag Sets the name of the tag to create Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. Creates a new URLClassLoaderto dynamicallyload tags froms. <a href="mailto:stephenh@chase3000.com">Stephen Haberman</a> $Revision: 480467 $ var the variable to store the class loader in url the url to load the classes from Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. <script>tag is used to assign a Script objectto a variable. The script can then be called whenever the user wishesmaybe from inside an expression or more typically via the <invoke>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the variable name of the tag to create <invokeBody>tag is used inside a <tag>tag(i.e. the definition of a dynamic tag) to invoke the tags body whenthe tag is invoked. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ <super>tag is used to invoke a parent tag implementation, whena tag extends an existing tag <a href="mailto:tima@intalio.com">Tim Anderson</a> $Revision: 480467 $ ExtendTag This tag is bound onto a Java Bean class. When the tag is invoked a bean will be createdusing the tags attributes.The bean may also have an invoke method called invoke(), run(), execute() or some such methodwhich will be invoked after the bean has been configured. <a href="mailto:jstrachan@apache.org">James Strachan</a> <a href="mailto:jason@zenplex.com">Jason van Zyl</a> $Revision: 480467 $ Sets the name of the attribute Sets whether this attribute is mandatory or not Sets the default value of this attribute <tag>is used to define a new tagusing a Jelly script to implement the behaviour of the tag.Parameters can be passed into the new tag using normal XML attributenotations. Inside the body of the tag definition, the attributes canbe accessed as normal Jelly variables. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the tag to create Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. Sets the org.apache.commons.beanutils.DynaClasswhich will be bound to this dynamic tag. Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties. After the body of this tag is invokedthen the beans invoke() method will be called, if the bean has one. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the name of the method to invoke on the bean.This defaults to "run" so that Runnable objects can beinvoked, but this property can be set to whatever is required,such as "execute" or "invoke" Sets the name of the tag to create Sets the Java class name to use for the tag Sets the ClassLoader to use to load the class.If no value is set then the current threads context classloader is used. Sets the name of the attribute used to define the bean variable that this dynamictag will output its results as. This defaults to 'var' though this propertycan be used to change this if it conflicts with a bean property called 'var'. The <taglib>tag is used to define a new tag libraryusing a Jelly script. The tag library is identified by its URI.The tags for a taglib are declared using the org.apache.commons.jelly.tags.define.TagTag.You can 'inherit' tags from a previously defined taglib, as well,allowing runtime extension of tag libraries <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480467 $ Sets the namespace URI to register this new dynamic tag library with Sets whether this dynamic tag should inherit from the current existing tag libraryof the same URI. This feature is enabled by default so that tags can easily besome tags can be overridden in an existing library, such as when making Mock Tags.You can disable this option if you want to disable any tags in the base library,turning them into just normal static XML. inherit The inherit to set kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/dynabean.xsd000066400000000000000000000155741157651553000301100ustar00rootroot00000000000000

    A tag library for creating new DynaClass and DynaBean objects from the beanutilslibrary

    A tag which sets a variable from the result of an expression Theo Niemeijer 1.0 Sets the variable name to define for this expression Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. Sets the expression to evaluate. Sets the target object on which to set a property. Sets the name of the property to set on the target object. A tag which creates and defines and creates a DynaClassThe DynaClass object is placed by name in the context,so that a DynaBean tag can use it by name to instantiatea DynaBean object Theo Niemeijer 1.0 Sets the name of the new DynaClass Sets the name of the variable to export the DynaClass instance A tag which conditionally evaluates its body based on some condition Theo Niemeijer $Revision: 480467 $ Sets the DynaClass of the new instance to create Sets the name of the variable to export the new DynaBean instance to DynaProperty tag defines a property of a DynaClassIt can only exist inside a DynaClass parent contextThe properties are added to the properties arrayof the parent context, and will be used tocreate the DynaClass object Theo Niemeijer 1.0 Sets the name of this property Sets the type name of this property Sets the Class instance for this property
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/email.xsd000066400000000000000000000061541157651553000274100ustar00rootroot00000000000000

    Tags for sending email using the JavaMail API

    Basic tag for sending an email. Supports one attachment, multiple to addresses delimited by ";",multiple cc addresses, etc. Jason Horman <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Id: EmailTag.java 480467 2006-11-29 08:19:32Z bayard $ Set the smtp server for the message. If not set the systemproperty "mail.smtp.host" will be used. Set the from address for the message ";" seperated list of people to send to ";" seperated list of people to cc Set the email subject Set the message body. This will override the Jelly tag body Set the email attachment for the message. Only 1 attachment is supported right now Sets whether we should encode the XML body as text or not. The defaultis false so that the body will assumed to be valid XML
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/fmt.xsd000066400000000000000000000330041157651553000271010ustar00rootroot00000000000000 Support for tag handlers for <setLocale>, the bundle settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ Support for tag handlers for <formatDate>, the date and time formattingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ i18n exception message Setter for property value. value New value of property value. Setter for property type. type New value of property type. Setter for property dataStyle. dataStyle New value of property dataStyle. Setter for property timeStyle. timeStyle New value of property timeStyle. Setter for property pattern. pattern New value of property pattern. Setter for property timeZone. timeZone New value of property timeZone. Setter for property var. var New value of property var. Setter for property scope. scope New value of property scope. Support for tag handlers for <setTimeZone>, the time zone settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ Support for tag handlers for <param>, the parameter settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.1 handle body content trimming Setter for property value. value New value of property value. Support for tag handlers for <setLocale>, the locale settingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.2 decide how to implement setResponseLocale Support for tag handlers for <timeZone>, the time zone loadingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> $Revision: 480467 $ decide how to implement setResponseLocale Setter for property value. value New value of property value. Support for tag handlers for <bundle>, the resource bundle loadingtag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.1 decide how to implement setResponseLocale Setter for property basename. basename New value of property basename. Setter for property prefix. prefix New value of property prefix. Support for tag handlers for <message>, the lookup uplocalized message tag in JSTL. <a href="mailto:willievu@yahoo.com">Willie Vu</a> 1.1 decide how to implement setResponseLocale Setter for property key. key New value of property key. Setter for property bundle. bundle New value of property bundle. Setter for property var. var New value of property var. Setter for property scope. scope New value of property scope. kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/html.xsd000066400000000000000000000055521157651553000272660ustar00rootroot00000000000000

    Tags for parsing HTML so that it can be processed by Jelly using Andy Clark's NekoHTML

    A tag which parses some HTML and defines a variable with the parsed Document.The HTML can either be specified as its body or can be passed in via thehtml property which can be a Reader, InputStream, URL or String URI. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the source of the HTML which is either a String URI, Reader or InputStream Sets whether attributes should be converted to a different case.Possible values are "upper", "lower" or "no-change" attribute The processing mode of attributes Sets whether elements should be converted to a different casePossible values are "upper", "lower" or "match" element The processing mode of elements
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/http.xsd000066400000000000000000000644411157651553000273030ustar00rootroot00000000000000

    A tag library for working with HTTP, performing HTTP GET, POST and other actions

    A tag to hold request headers dion $Id: HeaderTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property name. name New value of property name. Setter for property value. value New value of property value. A http get tag dion $Id: HeadTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A http session. This is the container for data shared across requests dion Setter for property httpClient. httpClient New value of property httpClient. Helper method for proxy hostproperty host the {@link #getProxy() proxy's} host property Helper method for proxy portproperty port the {@link #getProxy() proxy's} port property Setter for property host. host New value of property host. Setter for property port. port New value of property port. Setter for property proxy. proxy New value of property proxy. Setter for property secure. secure New value of property secure. Setter for property userAgent. userAgent New value of property userAgent. Setter for property strictMode. strictMode New value of property strictMode. A http put dion $Id: PutTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A tag to hold a part of a multiPartPost Setter for property name. name New value of property name. Setter for property value. value New value of property value. Setter for property contentType. value New value of contentType. A tag to hold parameters dion $Id: ParameterTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property name. name New value of property name. Setter for property value. value New value of property value. A Multipart MIME message postThis tag should contain one or more <part>tags, tospecify the multiple parts of the messageExample:
     <mppost uri="http://localhost?doit"> <part name="user" type="text/plain">Fred</part> <part name="data" type="text/plain">This is the second part of the message</part> </mppost>
    <a href="mailto:wkeese@yahoo.com">Bill Keese</a> ???
    Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders.
    A http delete tag dion $Id: DeleteTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A http post dion Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A tag to set the body for posts and puts etc dion $Id: BodyTag.java 480468 2006-11-29 08:21:15Z bayard $ A http get tag dion $Id: GetTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders. A http get tag dion $Id: OptionsTag.java 480468 2006-11-29 08:21:15Z bayard $ Setter for property var. var New value of property var. Setter for property path. path New value of property path. Setter for property uri. uri New value of property uri. Setter for property followRedirects. followRedirects New value of property followRedirects. Setter for property parameters. parameters New value of property parameters. Setter for property requestHeaders. requestHeaders New value of property requestHeaders.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/interaction.xsd000066400000000000000000000064021157651553000306340ustar00rootroot00000000000000

    A simple interaction tag library so that Jelly scripts can be interactive.

    Jelly Tag that asks the user a question, and puts his answer into a variable,with the attribute "answer". This variable may be reused further as any otherJelly variable. <a href="mailto:smor@hasgard.net">Stéphane Mor </a> Sets the question to ask to the user. If a "default" attribute ispresent, it will appear inside []. question The question to ask to the user Sets the name of the variable that will hold the answer. This defaults to "interact.answer". answer the name of the variable that will hold the answer Sets the default answer to the question. If it is present, it will appearinside []. defaultInput the default answer to the question Sets the prompt that will be displayed before the user's input. prompt the prompt that will be displayed before the user's input. Sets the list of predefined commands. list the list of commands used for tab completion. Whether the completion should also happen on previouslyentered lines (default true). should whether it should
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/jaxme.xsd000066400000000000000000000131251157651553000274210ustar00rootroot00000000000000

    A JAXBtag library using the Apache JaxMeimplementation.Tags are provided for marshalling java objects into xml and unmarshalling xml into java objects which will work with any JAXB implementation.The generation tag generates java objects which can be marshalled and unmarshalled byJaxMe and are specific to that implementation.

    Generates java objects using JaxMe.This object can be marshalled into xml and the results unmarshalled using JaxMe. <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a> <a href="mailto:dev at commons.apache.org">Apache Commons Development Team</a> $Revision: 561590 $ Defines the schema against which the java object representationsshould be generated. Defines the target directory into which the generated objects will be placed.

    Marshalls a generated object generated by a JAXB implementation into xml.

    The result is placed into the processed content for further processing by enclosing tags.

    <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a> <a href="mailto:dev at commons.apache.org">Apache Commons Development Team</a> $Revision: 561590 $
    Defines the generated objects which will be marshalled by specifying the package name. Defines the object to be unmarshalled into xml by specifying a jelly variable name.

    Unmarshalls xml documents into java objects.

    This tag unmarshalls the xml content contained into the JaxMe generated java objects in the packages specified.

    <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a> <a href="mailto:dev at commons.apache.org">Apache Commons Development Team</a> $Revision: 561590 $
    Defines the generated objects to which the xml should be unmarshalled. Sets the name of the jelly variable to which the unmarshalled java object should be bound.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/jetty.xsd000066400000000000000000000434741157651553000274660ustar00rootroot00000000000000

    Tags for starting Jetty HTTP servers and procesing HTTP requests using Jelly scripts

    Declare an instance of a Jetty http server rtl $Id: JettyHttpServerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property var. var New value of property var. Setter for property logFileName. logFileName New value of property logFileName. Respond to a POST request to a Jetty http server rtl $Id: PostRequestTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a user realm for a Jetty http server rtl $Id: RealmTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property name. name New value of property name. Setter for property config. config New value of property config. Respond to a DELETE request to a Jetty http server rtl $Id: DeleteRequestTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a not found resource handler for a Jetty http server rtl $Id: NotFoundHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a security handler for a Jetty http server rtl $Id: SecurityHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property authenticationMethod. authenticationMethod Type of authentication (BASIC, FORM, DIGEST, CLIENT-CERT) Note that only BASIC and CLIENT-CERT are supported by Jetty as of v4.1.1 Set the response body in a response handler for a Jetty http server rtl A resource handler that uses Jelly scripts to provide resourcesto a context in a Jetty http server rtl $Id: JellyResourceHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a socket listener for a Jetty http server rtl $Id: SocketListenerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property port. port New value of property port. Setter for property host. host New value of property host. Set a response header in the request handler of a Jetty http server rtl Setter for property context path. path New value of property context path. Setter for property value. value New value of property value. A tag for the http PUT method Declare a static file resource handler for a Jetty http server rtl $Id: ResourceHandlerTag.java 480470 2006-11-29 08:22:46Z bayard $ Setter for property allowedMethods. allowedMethods Comma separated list of allowed methods. Respond to a GET request to a Jetty http server rtl $Id: GetRequestTag.java 480470 2006-11-29 08:22:46Z bayard $ Declare a context for a Jetty http server rtl $Id: HttpContextTag.java 480470 2006-11-29 08:22:46Z bayard $ Add an authenticator to the context instance authenticator the authenticator to add Setter for property context path. path New resourceBase of property context path. Setter for property resourceBase. resourceBase New value of property resourceBase. Setter for property context path. path New resourceBase of property context path. Set the response code in the request handler of a Jetty http server rtl Setter for property value. value New value of property value.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/jface.xsd000066400000000000000000000000001157651553000273510ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/jms.xsd000066400000000000000000000611121157651553000271050ustar00rootroot00000000000000

    A tag library for working with JMS using the Messengerproject

    Creates a Destination object from a String name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the Destination Sets the variable name to use for the Destination Defines a JMS connection for use by other JMS tags. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the Messenger (JMS connection pool) to use Sets the variable name to use for the exported Messenger (JMS connection pool) Sends a JMS message to some destination. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the JMS message to be sent Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag This tag can be used to measure the amount of time it takes to process JMS messages.This tag can be wrapped around any custom JMS tag which consumes JMS messages. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the number of messages in the group before the performance statistics are logged Sets the logger to which statistic messages will be sent Sets the JMS messageListener used to consume JMS messages on the given destination Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag This tag creates a JMS MessageListener which will invoke thistag's body whenever a JMS Message is received. The JMS Messagewill be available via a variable, which defaults to the 'message'variable name, but can be overloaded by the var attribute. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the variable used to make the JMS message available to this tagsbody when a message is received. Receives a JMS message. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the variable name to create for the received message, which will be null if nomessage could be returned in the given time period. Sets the timeout period in milliseconds to wait for a message. A valueof -1 will wait forever for a message. Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag Creates a JMS TextMessage <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the body of the message, a String. If this value is not set orthe value is null then the content of the tag will be used instead. Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message Adds a map entry to the outer Map Message tag <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the entry in the map message Sets the value of the entry in the map message.If no value is set then the body of the tag is used Creates a JMS MapMessage <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the Map of entries to be used for this Map Message Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message Creates a JMS ObjectMessage <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the body of the message, a serializable java object.If this value is not set or the value is null then the contentof the tag will be used instead. Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message Defines a property on an outer JMS Message tag <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the JMS property Sets the value of the JMS property.If no value is set then the body of the tag is used Performs a subscription to some JMS connection to a destination maybe with a selector.A JMS MessageListener can be specified, or a special child tag can explicitly set it onits parent (so a special tag could construct a MessageListener object and register it with this tag). <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the optional JMS Message selector for the subscription Sets the JMS messageListener used ot consume JMS messages on the given destination Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Destination to be used by this tag Sets the subject as a String which is used to create theJMS Destination to be used by this tag A tag which creates a JMS message <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the variable that the message will be exported to Sets the Messenger (the JMS connection pool) that will be used to send the message Sets the JMS Correlation ID to be used on the message Sets the reply-to destination to add to the message Sets the type name of the message
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/jmx.xsd000066400000000000000000000114731157651553000271170ustar00rootroot00000000000000

    A tag library for creating beans and MBeans and registering them with a JMX Server in a similar wayto the Ant tasks in Apache Commons Modeler

    Binds a Java bean to the given named Jelly tag so that the attributes ofthe tag set the bean properties.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the server. server The server to set Registers a JavaBean or JMX MBean with a server.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name. name The name to set Sets the MBeanServer. If this attribute is not supplied then the parent <server>tagis used to get the MBeanServer instance to use. server The MBeanServer to register the mbeans with. Registers a JavaBean or JMX MBean with a server.. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the arguments. arguments The arguments to set Sets the name. name The name to set Sets the parameters. parameters The parameters to set
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/jsl.xsd000066400000000000000000000161521157651553000271100ustar00rootroot00000000000000

    The Jelly Stylesheet Library (JSL)

    The JSL tag library implements an XSLT-like declarative XML based processing engine which allows dynamic stylesheets and a free mix and match of all Jelly tags within the script.

    The JSL tag library relies on the XML tags in JSTL to do most of its work, so JSL just providesthe declarative XML processing via <jsl:stylesheet> <jsl:template>and <jsl:applyTemplates>

    This tag represents a declarative matching rule, similar to the template tag in XSLT. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the priority. priority New value of property priority. Sets the name. name New value of property name. Sets the mode. mode New value of property mode. This tag implements a JSL stylesheet which is similar to anXSLT stylesheet but can use Jelly tags inside it <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the XMLOutput to use by the current stylesheet Sets the mode. mode New value of property mode. Sets the variable name to define for this expression Sets the XPath expression to evaluate. Implements the apply templates function in the stylesheet, similar to the XSLT equivalent.a JSP include. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the mode. mode New value of property mode. This tag performs a JSL stylesheet which was previouslycreated via an <stylesheet>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the stylesheet to use to style this tags body Sets the XPath expression to evaluate.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/junit.xsd000066400000000000000000000374221157651553000274540ustar00rootroot00000000000000

    A collection of JUnittags for performing unit tests written in Jelly script.

    The <suite>tag allows a test suite to be created and then test cases can either be individually ran or the whole suite ran.

    The <case>tag allows a single test case to be created as part of a suite.

    The <run>tag can be used to run a given Test, TestCase or TestSuite

    There is an example of these tags in action here

    Performs an assertion that a given boolean expression, or XPath expression istrue. If the expression returns false then this test fails. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the boolean expression to evaluate. If this expression returns truethen the test succeeds otherwise if it returns false then the text willfail with the content of the tag being the error message. Sets the boolean XPath expression to evaluate. If this expression returns truethen the test succeeds otherwise if it returns false then the text willfail with the content of the tag being the error message. Represents a collection of TestCases.. This tag is analagous toJUnit's TestSuite class. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of the test suite whichi is exported Sets the name of this test suite This tag will run the given Test which could be an individual TestCase or a TestSuite.The TestResult can be specified to capture the output, otherwise the results are outputas XML so that they can be formatted in some custom manner. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the JUnit TestResult used to capture the results of the tst result The TestResult to use Sets the JUnit Test to run which could be an individual test or a TestSuite test The test to run Sets the TestListener.to be used to format the output of running the unit test cases listener The listener to set Checks that a file exists, and if not, then the test will fail. <a href="mailto:dion@apache.org">Dion Gillard</a> $Revision: 480470 $ The file to be tested. If this file exists, the test will pass. aFile the file to test. Compares an actual object against an expected object and if they are differentthen the test will fail. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the actual value which will be compared against theexpected value. Sets the expected value to be tested against Represents a single test case in a test suite; this tag is analagous toJUnit's TestCase class. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the name of this test case Checks that a file cant be found. <a href="mailto:dion@apache.org">Dion Gillard</a> $Revision: 480470 $ The file to be tested. If this file exists, the test will pass. aFile the file to test. Checks that a file exists, and if not, then the test will fail. <a href="mailto:dion@apache.org">Dion Gillard</a> $Revision: 480470 $ The file to be tested. If this file exists, the test will pass. aFile the file to test. The content to be checked for. If this text matches some partof the given file, the test will pass. This tag causes a failure message. The message can eitherbe specified in the tags body or via the message attribute. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480470 $ Sets the failure message. If this attribute is not specified then thebody of this tag will be used instead. Runs its body and asserts that an exception is thrown by it. If noexception is thrown the tag fails. By default all exceptions are caught.If however expectedwas specified the body must throwan exception of the given class, otherwise the assertion fails. Theexception thrown by the body can also be of any subtype of the specifiedexception class. The optional varattribute can be specified ifthe caught exception is to be exported to a variable. Sets the class name of exception expected to be thrown by the body. Theclass name must be fully qualified and can either be the expectedexception class itself or any supertype of it, but must be a subtype of java.lang.Throwable. Sets the variable name to define for this expression. Sets the class loader to be used to load the exception type
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/log.xsd000066400000000000000000000246431157651553000271050ustar00rootroot00000000000000

    Custom tags for generating textual logging information using commons-logging which will use either log4j, logkit or JDK1.4 loggingdepending on the classpath and configuration.

    A tag which generates ERROR level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates TRACE level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates INFO level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates DEBUG level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates FATAL level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default. A tag which generates WARN level logging statement usingthe given category name. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $ Sets the name of the logger to use Sets the Log instance to use for logging. Sets whether the body of the tag should be encoded as text (so that <and >areencoded as &lt; and &gt;) or leave the text as XML which is the default.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/memory.xsd000066400000000000000000000041201157651553000276200ustar00rootroot00000000000000 Tag supporting displaying free memory. <a href="mailto:brett@apache.org">Brett Porter</a> Tag to invoke garbage collection. <a href="mailto:brett@apache.org">Brett Porter</a> kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/ojb.xsd000066400000000000000000000062551157651553000270750ustar00rootroot00000000000000

    A variety of tags for working with the ObjectBridgepersistence engine

    This Store tag will store the given object in ObjectBridge usingthe given broker or it will use the parent broker tags broker instance.

    <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $
    Sets the value to be persisted Sets the persistence broker instance

    Tag handler for <Driver>in JSTL, used to createa simple DataSource for prototyping.

    <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480468 $
    Sets the variable name to define for this expression Sets the persistence broker instance
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/quartz.xsd000066400000000000000000000112071157651553000276420ustar00rootroot00000000000000

    A tag library for scheduling tasks to be run using the Quartzlibrary

    Defines a schedulable job. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> Set the name of this job. name The name of this job. Set the group of this job. group The group of this job. Define a trigger using a cron time spec. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a> Set the name. name. Set the group group The group Set the cron time spec. spec The cron time spec. Set the job name. jobName The job name. Set the job group. jobGroup The job group. Block and wait for the Quartz scheduler to shutdown. <a href="mailto:bob@eng.werken.com">bob mcwhirter</a>
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/regexp.xsd000066400000000000000000000075451157651553000276200ustar00rootroot00000000000000 This tag checks whether a regexp contains a string. <a href="mailto:christian@inx-soft.com">Christian Amor Kvalheim</a> $Revision: 480471 $ Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. This tag checks whether a regexp matches a string. <a href="mailto:christian@inx-soft.com">Christian Amor Kvalheim</a> $Revision: 480471 $ Sets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes. kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/soap.xsd000066400000000000000000000106721157651553000272630ustar00rootroot00000000000000

    Tags for invoking Web Services via Apache Axis

    Invokes a web service <a href="mailto:jim@bnainc.net">James Birchfield</a> $Revision: 480474 $ Sets the end point to which the invocation will occur Sets the namespace of the operation Sets the service to be used by this invocation.If none is specified then a default is used. Sets the name of the variable to output the results of the SOAP call to. Sets the parameters for this SOAP call. This can be an array or collection ofSOAPBodyElements or types. Set the password for the SOAP call. Set the username for the SOAP call. Invokes a web service <a href="mailto:jim@bnainc.net">James Birchfield</a> $Revision: 480474 $ Sets the end point to which the invocation will occur Sets the name of the variable to output the results of the SOAP call to. The SOAPAction HTTP header.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/sql.xsd000066400000000000000000000331201157651553000271110ustar00rootroot00000000000000

    The SQL Tags from the JSTL

    There are some examples of these tags in action here

    Tag handler for <Transaction>in JSTL.

    Hans Bergsten
    Sets the SQL DataSource. DataSource can bea String or a DataSource object. Sets the transaction isolation level.

    Tag handler for <SetDataSource>in JSTL, used to createa simple DataSource for prototyping.

    Hans Bergsten Justyna Horwat
    Sets the scope of the variable to hold theresult.

    Tag handler for <Param>in JSTL, used to setparameter values for a SQL statement.

    Hans Bergsten

    Tag handler for <Update>in JSTL.

    Hans Bergsten Justyna Horwat
    Sets the name of the variable to hold theresult. Sets the scope of the variable to hold theresult. Sets the SQL DataSource. DataSource can bea String or a DataSource object. Sets the SQL statement to use for thequery. The statement may contain parameter markers(question marks, ?). If so, the parameter values mustbe set using nested value elements.
    Adds a new row to a parent <resultSet>Tag.This tag is useful for unit testing with Mock Tags to simulate the results returned by databases.

    Tag handler for <Param>in JSTL, used to setparameter values for a SQL statement.

    Justyna Horwat

    Tag handler for <Query>in JSTL.

    Hans Bergsten Justyna Horwat
    The index of the first row returned can bespecified using startRow. Query result can be limited by specifyingthe maximum number of rows returned. Sets the name of the variable to hold theresult. Sets the scope of the variable to hold theresult. Sets the SQL DataSource. DataSource can bea String or a DataSource object. Sets the SQL statement to use for thequery. The statement may contain parameter markers(question marks, ?). If so, the parameter values mustbe set using nested value elements.

    Tag handler for <Driver>in JSTL, used to createa simple DataSource for prototyping.

    Hans Bergsten
    Sets the scope of the variable to hold theresult.
    This Tag creates a result set object based on its body content via child row tags.This tag is useful for unit testing with Mock Tags to simulate the results returned by databases. Sets the variable to export the result set to.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/swing.xsd000066400000000000000000001131551157651553000274500ustar00rootroot00000000000000

    The JellySwing Library which is a Jelly Library for creating Rich User Interfaces using Swing via XML markup (a Jelly script)

    Represents a tabular row inside a <tableLayout>tag which mimicks the <tr>HTML tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Represents a tabular cell inside a <tl>tag inside a <tableLayout>tag which mimicks the <td>HTML tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the horizontal alignment to a case insensitive value of {LEFT, CENTER, RIGHT} Sets the vertical alignment to a case insensitive value of {TOP, MIDDLE, BOTTOM} Sets the number of columns that this cell should span. The default value is 1 Sets the number of rows that this cell should span. The default value is 1 Sets whether or not this column should allow its component to stretch to fill the space available Sets whether or not this row should allow its component to stretch to fill the space available Creates a default TableModel using nested tableColumn tags. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Creates an etched border.The border will either be exported as a variable defined by the 'var' attributeor will be set on the parent widget's border property <a href="mailto:robert@bull-enterprises.com">Robert McIntosh</a> $Revision: 480474 $ Sets the etch type. Must be either EtchedBorder.LOWERED or EtchedBorder.RAISED type Sets the highlight color highlight Sets the shadow color shadow Sets the name of the variable to use to expose the new Border object.If this attribute is not set then the parent widget tag will have itsborder property set. A Layout tag which uses nested <gbc>tags to implement a GridBagLayout <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. A Layout tag which uses nested <borderAlign>tags to implement a BorderLayout <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the horizontal gap in pixels. Sets the vertical gap in pixels Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. This class represents a java.awt.GridBagConstraintsconstraints as passed inthe second argument of Container.add(Component,Object).It supports inheritence between such tags in the following fashion:
    • either using a basedOnattribute which issupposed to provide a reference to another
    org.apache.commons.jelly.tags.swing.GbcTag.
  • either using a parent
  • org.apache.commons.jelly.tags.swing.GbcTag. The first version takes precedence.A Grid-bag-constraint inherits from another simply by setting other attributesas is done in org.apache.commons.jelly.tags.swing.impl.GridBagConstraintBean.setBasedOn.

    In essence, it looks really like nothing else than a bean-class...with

    org.apache.commons.jelly.tags.swing.GbcTag.getConstraints.Probably a shorter java-source is do-able.

    TODO: this class should probably be extended with special treatment for dimensionsusing the converter package.

    <a href="mailto:paul@activemath.org">Paul Libbrecht</a> $Revision: 480474 $
    Creates a Swing Action which on invocation will execute the body of this tag.The Action is then output as a variable for reuse if the 'var' attribute is specifiedotherwise the action is added to the parent JellySwing widget. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Creates a default TableColumnModel. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Implements CardLayout. Takes parameters hgap, vgap per the class. You canset the "var" attribute of this tag, this will store the layout managerin that context attribute, for later use. Hans Gilde hgap The hgap to set. vgap The vgap to set. Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. This tag creates a Swing component and adds it to its parent tag, optionally declaring thiscomponent as a variable if the varattribute is specified.

    This tag clears the reference to it's bean after doTag runs.This means that child tags can access the component (bean) normallyduring execution but should not hold a reference to thistag after their doTag completes.

    <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $
    Sets the Action of this component Sets the Font of this component Sets the Border of this component Sets the LayoutManager of this component Puts this tag into the context under the given nameallowing later calls to org.apache.commons.jelly.tags.swing.ComponentTag.rerun().For example, it makes sense to use ${myTag.rerun()} as a childof an actionelement. the name to be used
    A Layout tag which mimicks the table, tr and td tags of HTML. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the name of the variable to use to expose the new LayoutManager object.If this attribute is not set then the parent widget tag will have itslayout property set. This class represents a layout-manager constraints as passed inthe second argument of Container.add(Component,Object).

    In essence, it looks really like nothing else than a bean-class...with

    org.apache.commons.jelly.tags.swing.ConstraintTag.getConstraintObject.Probably a shorter java-source is do-able.

    TODO: this class should probably be extended with special treatment for dimensiosusing the converter package.

    Creates an Font and attaches it to the parent component or exports the font asa reusable variable that can be attached to multiple widgets. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Represents a layout of a child component within its parent <borderLayout>layout. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the alignment of the child component which is a case insensitive valueof {NORTH, SOUTH, EAST, WEST, CENTER} which defaults to CENTER Creates an empty border.The border will either be exported as a variable defined by the 'var' attributeor will be set on the parent widget's border property <a href="mailto:robert@bull-enterprises.com">Robert McIntosh</a> $Revision: 480474 $ Sets the left inset left Sets the right inset right Sets the top inset top Sets the bottom inset bottom Sets the name of the variable to use to expose the new Border object.If this attribute is not set then the parent widget tag will have itsborder property set. Creates a titled border.The border will either be exported as a variable defined by the 'var' attributeor will be set on the parent widget's border property <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the color of the title for this border. Can be set via a nested tag. Sets the Font to be used by the title. Can be set via a nested tag. Sets the title text for this border. Sets the justification of the title. The String is case insensitive.Possible values are {LEFT, CENTER, RIGHT, LEADING, TRAILING} Sets the position of the title. The String is case insensitive.Possible values are {ABOVE_TOP, TOP, BELOW_TOP, ABOVE_BOTTOM, BOTTOM, BELOW_BOTTOM} Sets the name of the variable to use to expose the new Border object.If this attribute is not set then the parent widget tag will have itsborder property set. Implements a ButtonGroup. This tag acts like a Swing componentexcept that adding a component other than an AbstractButton, will be passedthrough to the parent tag. This is meant to make thebuttonGroup easier to use like this:
     <panel> <buttonGroup> <panel> <radioButton/> </panel> <panel> <radioButton/> </panel> </buttonGroup> </panel>

    Note that the following construct will silently fail, and shame on s/he who even tried it:

     <panel> <buttonGroup> <font .../> <panel> <radioButton/> </panel> <panel> <radioButton/> </panel> </buttonGroup> </panel>

    Hans Gilde
    Sets the Action of this component Sets the Font of this component Sets the Border of this component Sets the LayoutManager of this component Puts this tag into the context under the given nameallowing later calls to org.apache.commons.jelly.tags.swing.ComponentTag.rerun().For example, it makes sense to use ${myTag.rerun()} as a childof an actionelement. the name to be used
    Creates a Swing Dialog. A JDialog needs to have it's owner set in the constructor,which is why this class is needed instead of just using a BeanFactory. Dave Pekarek Krohn $Revision: 480474 $ var gained lost Creates a WindowListener which is attached to its parent window control which will invokenamed Jelly scripts as window events are fired, or will invoke its body if there is no scriptspecified for the named event type. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480474 $ Sets the name of the variable to use to expose the Event object Sets the Script to be executed when the window is activated. Sets the Script to be executed when the window is closed. Sets the Script to be executed when the window is closing. Sets the Script to be executed when the window is deactivated. Sets the Script to be executed when the window is deiconified. Sets the Script to be executed when the window is iconified. Sets the Script to be executed when the window is opened.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/swt.xsd000066400000000000000000000377411157651553000271440ustar00rootroot00000000000000

    The JellySWT Library is a Jelly Library for creating Rich User Interfaces using SWT via XML markup (a Jelly script)

    Creates a LayoutData object and sets it on the parent Widget. <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Sets the name of the variable to use to expose the new Layout object.If this attribute is not set then the parent widget tag will have itslayout property set. This creates an image on the parent Widget. <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> CVS ImageTag.java,v 1.5 2004/09/07 02:41:40 dion Exp Sets the resource resource image resource location Sets the variable name Sets the src. src The src to set A helper class for working with SWT. <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Class to create a org.eclipse.swt.graphics.GCinstance within Jelly SWT. <a href="mailto:crafterm@apache.org">Marcus Crafter</a> CVS $Id: GCTag.java 480474 2006-11-29 08:29:13Z bayard $ Set the org.eclipse.swt.graphics.Drawablename for this org.eclipse.swt.graphics.GC. drawable a {@link GC} {@link Drawable} Sets the variable name. var the variable name of this {@link GC} instance A tag which implements a Listener to allow events to be processed byJelly scripts <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Sets the name of the variable to use to expose the event object whenit is fired. If not specified this defaults to "event" Sets the type of the event listener to listen for. type The type of the event to listen for This tag creates an SWT widget based on the parent tag, optionally declaringthis widget as a variable if the varattribute is specified. <a href="mailto:jstrachan@apache.org">James Strachan</a> <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a> 1.1 Creates a new Layout implementations and adds it to the parent Widget. <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Sets the name of the variable to use to expose the new Layout object.If this attribute is not set then the parent widget tag will have itslayout property set. Class to create a org.eclipse.swt.graphics.Fontinstance within Jelly SWT. <a href="mailto:crafterm@apache.org">Marcus Crafter</a> Written with much help thanks to the ImageTag class CVS $Id: FontTag.java 480474 2006-11-29 08:29:13Z bayard $ Set the type of this org.eclipse.swt.graphics.Font type {@link Font} type name Set the size of this org.eclipse.swt.graphics.Font size {@link Font} size Set the style of this org.eclipse.swt.graphics.Font(eg. bold, normal, italics) style the style of this {@link Font} Sets the variable name var the variable name of this {@link Font} instance This tag creates an SWT Menu <a href="mailto:jstrachan@apache.org">James Strachan</a> 1.1 Class to create a org.eclipse.swt.graphics.Colorinstance within Jelly SWT. <a href="mailto:crafterm@apache.org">Marcus Crafter</a> Written with much help thanks to the ImageTag class CVS $Id: ColorTag.java 480474 2006-11-29 08:29:13Z bayard $ Sets the RGB value for this org.eclipse.swt.graphics.Colorinstance rgb value (eg. #666666); Sets the variable name var the variable name of this {@link Color} instance This tag creates an SWT dialog. <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/threads.xsd000066400000000000000000000401561157651553000277530ustar00rootroot00000000000000

    A library for processing Jelly scripts using multiple threads.

    Puts the current thread to sleep for some amount of time. <a href="mailto:jason@jhorman.org">Jason Horman</a> How long to put the thread to sleep for howLong in millis Represents a group of threads. This is not the same as Java's thread groups.All of the threads in a thread group are started at the same time, not as theyare defined. Use this in conjunction with other tags like join to manipulatea group of threads. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set the variable name to store the thread group in A tag that spawns the contained script in a separate thread. A threadcan wait on another thread or another thread group to finish before starting. <a href="mailto:vinayc@apache.org">Vinay Chandran</a> <a href="mailto:jason@jhorman.org">Jason Horman</a> Sets the variable name to export, optional var The variable name Sets the name of the thread. name The name to set Set the threads priority. Defaults to Thread.NORM_PRIORITY Sets the thread to be a daemon thread if true Sets the destination of output Set the file which is generated from the output name The output file name Should a new context be created for this thread? Interrupts a thread or thread group. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set the thread to use in some way. Set the thread group to "use". threadGroup The threadGroup created with the <i>group</i> tag. If true the tag will search for a parent thread tag to "use" ifno thread was set via setThread. This is trueby default. This calls mutex.notify() or mutex.notifyAll() on the mutex passedin via the "mutex" attribute. <a href="mailto:jason@jhorman.org">Jason Horman</a> If set to true the notify will notify all waiting threads Set the mutex. Any object can be used as a mutex. Creates a mutex object and stores it in a variable <a href="mailto:jason@jhorman.org">Jason Horman</a> Sets the variable name to export var The variable name Synchronize a block inside of a thread using the passed in mutex. Themutex object passed in does not have to have been created using themutex tag, it can be any object at all. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set the mutex. Any object can be used as a mutex. This calls mutex.wait() on the mutex passed in via the "mutex" attribute. <a href="mailto:jason@jhorman.org">Jason Horman</a> Set how long the wait should last. If <= 0 the wait will lastuntil a notify occurs. timeout in millis Set the mutex. Any object can be used as a mutex. A thread join waits until a thread or threadGroup is complete. <a href="mailto:jason@jhorman.org">Jason Horman</a> How long should the join wait. If <= 0 the join waits until thethread is dead. timeout in millis Set the thread to use in some way. Set the thread group to "use". threadGroup The threadGroup created with the <i>group</i> tag. If true the tag will search for a parent thread tag to "use" ifno thread was set via setThread. This is trueby default. This tag creates a dependency on another thread. If onlyWait is seta org.apache.commons.jelly.tags.threads.TimeoutExceptioncan be thrown. If status is set a org.apache.commons.jelly.tags.threads.RequirementExceptioncan be thrown. <a href="mailto:jason@jhorman.org">Jason Horman</a> Wait for a specific status. "SUCCESS", "FAILURE", "TIMED_OUT", or "AVOIDED". Ifwaiting on a thread group each thread in the group will have to have this statusset. Which thread will this tag check the status of Set the group of threads to wait on Set how long to wait for the thread to finish. If waiting for a groupthis will be the time to wait for each thread in the group to finish.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/util.xsd000066400000000000000000000320071157651553000272720ustar00rootroot00000000000000

    A number of utility tags such as for tokenizing Strings.

    A tag which sleeps for a given amount of time. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the amount of time that this thread should sleep for in milliseconds. A tag which creates a java.io.Filefrom a given name. <a href="mailto:dion@apache.org">dIon Gillard</a> $Revision: 480466 $ Name of the file to be placed into the context name The fileName to set Name of the variable to contain the file var The var to set A tag which loads text from a file or URI into a Jelly variable. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the name of the variable which will be exported with the text value of thegiven file. Sets the file to be parsed as text Sets the encoding to use to read the file Sets the uri to be parsed as text.This can be an absolute URL or a relative or absolute URIfrom this Jelly script or the root context. A tag that replaces occurrences of a character or string in its body or(or value) and places the result into the context dion Sets the newChar. newChar The newChar to set Sets the oldChar. oldChar The oldChar to set Sets the newString. newString The newString to set Sets the oldString. oldString The oldString to set Sets the value. value The value to set Sets the var. var The var to set Set the items to be sorted newItems some collection The variable to hold the sorted collection. newVar the name of the variable. A tag which loads a properties file from a given file name or URIwhich are loaded into the current context. Jim Birchfield $Revision: 480466 $ Sets the file name to be used to load the properties file. Sets the URI of the properties file to use. This can be a full URL or a relative URIor an absolute URI to the root context of this JellyContext. If this is defined then a Properties object containing all theproperties will be created and exported, otherwise the current variablescope will be set to the value of the properties. var The var to set A tag which evaluates its body if the given file is available.The file can be specified via a File object or via a relative or absoluteURI from the current Jelly script. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the file to use to test whether it exists or not. file the file to test for Sets the URI to use to test for availability.The URI can be a full file based URL or a relative URIor an absolute URI from the root context. uri the URI of the file to test The variable name to hold the list of tokens the delimiter that separates the tokens
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/validate.xsd000066400000000000000000000156501157651553000301130ustar00rootroot00000000000000

    A tag library for validating XML using various schema languages like DTD, XML Schema, Relax NG as well as Relax and TREX. This tag library uses the JARVAPI to perform the validation.By default we use the MSV library by Kohsuke Kawaguchi as the implementation of JARV.

    This tag validates its body using a schema Verifier which canvalidate against DTDs, XML Schema, RelaxNG, Relax or TREX.Any JARV compliant Verifier could be used.The error messages are output as XML events so that they can be styled by the parent tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the schema Verifier that this tag will use to verify its body Sets the SAX ErrorHandler which is used to captureXML validation events.If an ErrorHandler is specifiedthen this tag will output its body and redirect all error messagesto the ErrorHandler.If no ErrorHandler is specified then this tag will just output theerror messages as XML events Sets the name of the variable that will contain a boolean flag for whether ornot the XML is valid. This tag performs an assertion that the tags body contains XMLwhich matches a givem schema validation. This tag is used withJellyUnit to implement an assertion. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the schema Verifier that this tag will use to verify its body Sets the SAX ErrorHandler which is used to captureXML validation events.If an ErrorHandler is specifiedthen this tag will output its body and redirect all error messagesto the ErrorHandler.If no ErrorHandler is specified then this tag will just output theerror messages as XML events Sets the name of the variable that will contain a boolean flag for whether ornot the XML is valid. This tag creates a new Verifier of a schema as a variableso that it can be used by a <validate>tag. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480466 $ Sets the name of the variable that will be set to the new Verifier Sets the URI of the schema file to parse. If no URI and no file isspecified then the body of this tag is used as the source of the schema Sets the java.io.Fileof the schema to parse. If no URI and no file isspecified then the body of this tag is used as the source of the schema Sets the system ID used when parsing the schema Sets the factory used to create new schema verifier objects.If none is provided then the default MSV factory is used.
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/velocity.xsd000066400000000000000000000074401157651553000301560ustar00rootroot00000000000000 A tag that uses Velocity to render a specified template with theJellyContext storing the results in either a variable in theJellyContext or in a specified file. <a href="mailto:pete-apache-dev@kazmier.com">Pete Kazmier</a> $Id: MergeTag.java 480466 2006-11-29 08:17:52Z bayard $ Sets the var used to store the results of the merge. var The var to set in the JellyContext with the results of the merge. Sets the file name for the merged output. name The name of the output file that is used to store the results of the merge. Sets the base directory used for loading of templates by theVelocity file resource loader. basedir The directory where templates can be located by the Velocity file resource loader. Sets the filename of the template used to merge with theJellyContext. template The filename of the template to be merged. Sets the read-only flag for this adapter which preventsmodifications in the Velocity context from propogating to theJellyContext. readOnly <tt>true</tt> prevents modifications from propogating (the default), or <tt>false</tt> which permits modifications. Sets the output encoding mode which defaults to ISO-8859-1 usedwhen storing the results of a merge in a file. encoding The file encoding to use when writing the output. Sets the input encoding used in the specified template whichdefaults to ISO-8859-1. encoding The encoding used in the template. kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/xml.xsd000066400000000000000000000544771157651553000271340ustar00rootroot00000000000000

    The XML Tags from the JSTL

    A tag which defines a variable from an XPath expression.This function creates a variable of type java.util.Listor org.dom4j.Node(for example org.dom4j.Elementor org.dom4j.Attribute).Thus, the variable created from xml:set can beused from the other xml library functions. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the variable name to define for this expression Sets the XPath expression to evaluate. If set to true will only take the first element matching.It then guarantees that the result is of type org.dom4j.Nodethereby making sure that, for example,when an element is selected, one can directly call such methodsas setAttribute.
    If set to false, guarantees that a list is returned.If set to false, guarantees that a list is returned.
    If set to true, will ensure that the (XPath) text-valueof the selected node is taken instead of the nodeitself.This ensures that, thereafter, string manipulationscan be performed on the result. If set, returns a string delimited by this delimiter.Implies asStringto be true. Sets the xpath expression to use to sort selected nodes.Ignored if single is true. Set whether to sort ascending or descending.
    A tag to produce an XML element which can contain other attributesor elements like the <xsl:element>tag. James Strachan $Revision: 480471 $ Sets the qualified name of the element Sets the namespace URI of the element A tag which performs a copy-of operation like the XSLT tag James Strachan Sets the XPath expression to evaluate. A tag which outputs a comment to the underlying XMLOutput based on thecontents of its body. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the comment text. If no text is specified then the body of the tagis used instead. text The comment text to use A tag which parses some XML, applies an xslt transform to itand defines a variable with the transformed Document.The XML can either be specified as its body or can be passed in via thexml property which can be a Reader, InputStream, URL or String URI.The XSL can be passed in via thexslt property which can be a Reader, InputStream, URL or String URI. Robert Leftwich $Revision: 480471 $ Sets the source of the XSL which is either a String URI, Reader orInputStream xslt The source of the xslt Sets the source of the XML which is either a String URI, a File, Reader or InputStream Sets whether XML validation is enabled or disabled Sets the variable name that will be used for the Document variable created Sets the text to be parsed by this parser text The text to be parsed by this parser Sets the SAXReader used for parsing A tag which parses some XML and defines a variable with the parsed Document.The XML can either be specified as its body or can be passed in via thexml property which can be a Reader, InputStream, URL or String URI. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the source of the XML which is either a String URI, a File, Reader or InputStream Sets whether XML validation is enabled or disabled Sets the variable name that will be used for the Document variable created Sets the text to be parsed by this parser text The text to be parsed by this parser Sets the SAXReader used for parsing Sets a parameter in the parent transform tag Robert Leftwich $Revision: 480471 $ Sets the name of the attribute Sets the value of the attribute Replace namespace is a filter to change the namespace of anyelemement attribute passing through it. Diogo Quintela <dquintela@gmail.com> Sets the source namespace URI to replace. Sets the destination namespace URI to replace. A tag which performs a copy operation like the XSLT tag,performing a shallow copy of the element and its attributes but no content. James Strachan Sets the XPath expression to evaluate. A tag that can sort a list of xml nodes via an xpath expression. <a href="mailto:jason@jhorman.org">Jason Horman</a> $Id: SortTag.java 480471 2006-11-29 08:25:00Z bayard $ Set the list to sort. Sets the xpath expression to use to sort selected nodes. Set whether to sort ascending or descending. Adds an XML attribute to the parent element tag likethe <xsl:attribute>tag. James Strachan $Revision: 480471 $ Sets the name of the attribute. Sets the namespace URI of the element A tag which performs an iteration over the results of an XPath expression <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the XPath selection expression Sets the variable name to export for the item being iterated over Sets the xpath expression to use to sort selected nodes. Set whether to sort ascending or descending. Evaluates the XPath expression to be a boolean and only evaluates the bodyif the expression is true. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the XPath expression to evaluate. A tag which performs a string XPath expression; similar to <xsl:value-of>in XSLT <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the XPath expression to evaluate. A tag which outputs a DOCTYPE declaration to the current XML output pipe.Note that there should only be a single DOCTYPE declaration in any XML stream andit should occur before any element content. <a href="mailto:jstrachan@apache.org">James Strachan</a> $Revision: 480471 $ Sets the document type name of the DOCTYPE Sets the declared public identifier for DTD Sets the declared system identifier for the DTD
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/schemas/xmlunit.xsd000066400000000000000000000101601157651553000300110ustar00rootroot00000000000000

    Compares two XML documents using XMLUnit

    Sets the SAXReader used for parsing Compares two XML documents using XMLUnit (http://xmlunit.sourceforge.net/).If they are different an exception will be thrown. Sets the actual XML document which is either a Document, String (of anURI), URI, Reader, or InputStream. Sets the expected XML document which is either a Document, String (of anURI), URI, Reader, or InputStream. Controls whether whitespace differences should be interpreted asdifferences or not. The default is false. Note that theuse of the trimattribute is crucial here. Sets the SAXReader used for parsing Sets the SAXReader used for parsing
    kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/000077500000000000000000000000001157651553000247375ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/000077500000000000000000000000001157651553000256635ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/000077500000000000000000000000001157651553000266045ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/000077500000000000000000000000001157651553000273735ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/jvnet/000077500000000000000000000000001157651553000305215ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/000077500000000000000000000000001157651553000316275ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/000077500000000000000000000000001157651553000334345ustar00rootroot00000000000000JellydocMojo.java000066400000000000000000000220611157651553000366130ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.factory.ArtifactFactory; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.resolver.AbstractArtifactResolutionException; import org.apache.maven.artifact.resolver.ArtifactResolver; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.AbstractMojoExecutionException; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.project.MavenProject; import org.apache.maven.project.MavenProjectHelper; import org.apache.maven.reporting.MavenReport; import org.apache.maven.reporting.MavenReportException; import org.apache.tools.ant.DefaultLogger; import org.apache.tools.ant.Project; import org.apache.tools.ant.taskdefs.Javadoc; import org.apache.tools.ant.types.FileSet; import org.apache.tools.ant.types.Path; import org.codehaus.doxia.sink.Sink; import org.codehaus.plexus.util.FileUtils; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.tree.DefaultDocument; import org.dom4j.io.DocumentSource; import org.dom4j.io.SAXReader; import javax.xml.transform.Templates; import javax.xml.transform.TransformerException; import javax.xml.transform.TransformerFactory; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; import java.io.File; import java.io.IOException; import java.io.FileOutputStream; import java.io.FileNotFoundException; import java.net.MalformedURLException; import java.util.Collection; import java.util.List; import java.util.Locale; /** * Generates jellydoc XML and other artifacts from there. * * @author Kohsuke Kawaguchi * @goal jellydoc * @phase generate-sources * @requiresDependencyResolution compile */ @SuppressWarnings({"unchecked"}) public class JellydocMojo extends AbstractMojo implements MavenReport { /** * The Maven Project Object * * @parameter expression="${project}" * @required * @readonly */ public MavenProject project; /** * The plugin dependencies. * * @parameter expression="${plugin.artifacts}" * @required * @readonly */ public List pluginArtifacts; /** * Version of this plugin. * * @parameter expression="${plugin.version}" * @required * @readonly */ public String pluginVersion; /** * Factory for creating artifact objects * * @component */ public ArtifactFactory factory; /** * Used for resolving artifacts * * @component */ public ArtifactResolver resolver; /** * The local repository where the artifacts are located. * * @parameter expression="${localRepository}" */ public ArtifactRepository localRepository; /** * @component */ public MavenProjectHelper helper; private File outputDirectory; public void execute() throws MojoExecutionException, MojoFailureException { Project p = new Project(); DefaultLogger logger = new DefaultLogger(); logger.setErrorPrintStream(System.err); logger.setOutputPrintStream(System.out); logger.setMessageOutputLevel( getLog().isDebugEnabled() ? Project.MSG_DEBUG : Project.MSG_INFO ); p.addBuildListener(logger); Javadoc javadoc = new Javadoc(); javadoc.setTaskName("jellydoc"); javadoc.setProject(p); for (Object dir : project.getCompileSourceRoots()) { FileSet fs = new FileSet(); fs.setProject(p); fs.setDir(new File(dir.toString())); javadoc.addFileset(fs); } javadoc.setClasspath(makePath(p,(Collection)project.getArtifacts())); Javadoc.DocletInfo d = javadoc.createDoclet(); d.setProject(p); d.setName(TagXMLDoclet.class.getName()); setParam(d, "-d", targetDir().getAbsolutePath()); Path docletPath = makePath(p, pluginArtifacts); try { Artifact self = factory.createArtifact("org.jvnet.maven-jellydoc-plugin", "maven-jellydoc-plugin", pluginVersion, null, "maven-plugin"); resolver.resolve(self,project.getPluginArtifactRepositories(),localRepository); docletPath.createPathElement().setLocation(self.getFile()); } catch (AbstractArtifactResolutionException e) { throw new MojoExecutionException("Failed to resolve plugin from within itself",e); } d.setPath(docletPath); // debug support // javadoc.createArg().setLine("-J-Xrunjdwp:transport=dt_socket,server=y,address=8000"); javadoc.execute(); generateSchema(); } public void generateSchema() throws MojoExecutionException { try { getLog().info("Generating XML Schema"); TransformerFactory tf = TransformerFactory.newInstance(); Templates templates = tf.newTemplates(new StreamSource(JellydocMojo.class.getResource("xsdgen.xsl").toExternalForm())); File source = new File(project.getBasedir(), "target/taglib.xml"); for(Element lib : (List)new SAXReader().read(source).selectNodes("/tags/library")) { String prefix = lib.attributeValue("prefix"); File schema = new File(project.getBasedir(), "target/taglib-"+prefix+".xsd"); lib.getParent().remove(lib); // make it on its own DefaultDocument newDoc = new DefaultDocument(); newDoc.setRootElement(lib); templates.newTransformer().transform( new DocumentSource(newDoc), new StreamResult(new FileOutputStream(schema))); helper.attachArtifact(project,"xsd","taglib-"+prefix,schema); } } catch (TransformerException e) { throw new MojoExecutionException("Failed to generate schema",e); } catch (DocumentException e) { throw new MojoExecutionException("Failed to generate schema",e); } catch (FileNotFoundException e) { throw new MojoExecutionException("Failed to generate schema",e); } } private Path makePath(Project p, Collection artifacts) { Path docletPath = new Path(p); for (Artifact artifact : artifacts) docletPath.createPathElement().setLocation(artifact.getFile()); return docletPath; } private File targetDir() { return new File(project.getBasedir(),"target"); } private void setParam(Javadoc.DocletInfo d, String name, String value) { Javadoc.DocletParam dp = d.createParam(); dp.setName(name); dp.setValue(value); } // private Path makePath(Project p, List list) { // Path src = new Path(p); // for (Object dir : list) // src.createPathElement().setLocation(new File(dir.toString())); // return src; // } public void generate(Sink sink, Locale locale) throws MavenReportException { try { execute(); new ReferenceRenderer(sink,new File(targetDir(),"taglib.xml").toURI().toURL()).render(); FileUtils.copyDirectory(targetDir(),new File(targetDir(),"site"),"taglib-*.xsd",null); } catch (AbstractMojoExecutionException e) { throw new MavenReportException("Failed to generate report",e); } catch (MalformedURLException e) { throw new MavenReportException("Failed to generate report",e); } catch (DocumentException e) { throw new MavenReportException("Failed to generate report",e); } catch (IOException e) { throw new MavenReportException("Failed to generate report",e); } } public String getOutputName() { return "jelly-taglib-ref"; } public String getName(Locale locale) { return "Jelly taglib reference"; } public String getCategoryName() { return CATEGORY_PROJECT_REPORTS; } public String getDescription(Locale locale) { return "Jelly taglib reference"; } public void setReportOutputDirectory(File outputDirectory) { this.outputDirectory = outputDirectory; } public File getReportOutputDirectory() { return this.outputDirectory; } public boolean isExternalReport() { return false; } public boolean canGenerateReport() { // TODO: check if the current project has any source files return true; } } ReferenceRenderer.java000066400000000000000000000165311157651553000376130ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import org.apache.maven.reporting.AbstractMavenReportRenderer; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.SAXReader; import org.codehaus.doxia.sink.Sink; import java.net.URL; import java.util.List; import java.util.Set; import java.util.HashSet; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.ArrayList; import java.io.StringWriter; import net.java.textilej.parser.MarkupParser; import net.java.textilej.parser.builder.HtmlDocumentBuilder; import net.java.textilej.parser.markup.confluence.ConfluenceDialect; /** * Generates a Maven report from taglib.xml. * * @author Kohsuke Kawaguchi */ public class ReferenceRenderer extends AbstractMavenReportRenderer { private final Document taglibXml; private static final Comparator SORT_BY_NAME = new Comparator() { public int compare(Element o1, Element o2) { return o1.attributeValue("name").compareTo(o2.attributeValue("name")); } }; public ReferenceRenderer(Sink sink, URL taglibXml) throws DocumentException { super(sink); this.taglibXml = new SAXReader().read(taglibXml); } public String getTitle() { return "Jelly Taglib references"; } protected void renderBody() { List libraries = sortByName((List) taglibXml.getRootElement().elements("library")); paragraph("The following Jelly tag libraries are defined in this project."); if(libraries.size()>1) { startTable(); tableHeader(new String[]{"Namespace URI","Description"}); for (Element library : libraries) { sink.tableRow(); sink.tableCell(); sink.rawText(String.format("%s", library.attributeValue("prefix"), library.attributeValue("uri") )); sink.tableCell_(); docCell(library); sink.tableRow_(); } endTable(); } for( Element library : libraries) { String prefix = library.attributeValue("prefix"); anchor(prefix); startSection(library.attributeValue("uri")); doc(library); paragraphHtml("This tag library is also available as an XML Schema"); renderSummaryTable(library,prefix); for( Element tag : sortByName((List)library.elements("tag"))) renderTagReference(prefix,tag); endSection(); } } private void paragraphHtml(String rawText) { sink.paragraph(); sink.rawText(rawText); sink.paragraph_(); } private void renderSummaryTable(Element library, String prefix) { startTable(); tableHeader(new String[]{"Tag Name","Description"}); List tags = sortByName((List) library.elements("tag")); for( Element tag : tags) { sink.tableRow(); sink.tableCell(); String name = tag.attributeValue("name"); sink.rawText(""+name+""); sink.tableCell_(); docCell(tag); sink.tableRow_(); } endTable(); } private List sortByName(List list) { List tags = new ArrayList(list); Collections.sort(tags,SORT_BY_NAME); return tags; } /** * Generates a documentation for one tag. */ private void renderTagReference(String taglibPrefix,Element tag) { String name = tag.attributeValue("name"); anchor(taglibPrefix +':'+ name); startSection(name); doc(tag); if(hasVisibleAttributes(tag)) { startTable(); tableHeader(new String[]{"Attribute Name","Type","Description"}); for( Element att : sortByName((List)tag.elements("attribute"))) renderAttribute(att); endTable(); } // renders description of the body if(tag.attributeValue("no-content","false").equals("true")) paragraph("This tag does not accept any child elements/text."); else { Element body = tag.element("body"); if(body!=null) { startSection("body"); doc(body); endSection(); } } endSection(); } private boolean hasVisibleAttributes(Element tag) { for( Element att : (List)tag.elements("attribute")) { String name = att.attributeValue("name"); if(!HIDDEN_ATTRIBUTES.contains(name)) return true; } return false; } private void anchor(String name) { sink.anchor(name); sink.anchor_(); } /** * Generates a documentation for one attribute. */ private void renderAttribute(Element att) { String name = att.attributeValue("name"); if(HIDDEN_ATTRIBUTES.contains(name)) return; // defined in TagSupport. sink.tableRow(); String suffix=""; if(att.attributeValue("use","optional").equals("required")) suffix+=" (required)"; if(att.attributeValue("deprecated","false").equals("true")) suffix+=" (deprecated)"; tableCell(name +suffix); tableCell(att.attributeValue("type")); docCell(att); sink.tableRow_(); } /** * Renders the <doc> tag as raw text. */ private void doc(Element tag) { sink.rawText(docXml(tag)); } /** * Renders the <doc> tag as table cell. */ private void docCell(Element tag) { sink.tableCell(); sink.rawText(docXml(tag)); sink.tableCell_(); } private String docXml(Element parent) { Element doc = parent.element("doc"); // remove all javadoc tags that don't belong. doc.content().removeAll(doc.elements("authortag")); String xml = doc.getText(); StringWriter w = new StringWriter(); MarkupParser parser = new MarkupParser(new ConfluenceDialect()); HtmlDocumentBuilder builder = new HtmlDocumentBuilder(w) { @Override public void lineBreak() { // no line break since IDEs usually don't wrap text. } }; builder.setEmitAsDocument(false); parser.setBuilder(builder); parser.parse(xml); return w.toString(); } private static final Set HIDDEN_ATTRIBUTES = new HashSet(Arrays.asList("escapeText","trim")); } TagXMLDoclet.java000066400000000000000000000322171157651553000364540ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import com.sun.javadoc.AnnotationDesc; import com.sun.javadoc.AnnotationDesc.ElementValuePair; import com.sun.javadoc.ClassDoc; import com.sun.javadoc.Doc; import com.sun.javadoc.DocErrorReporter; import com.sun.javadoc.Doclet; import com.sun.javadoc.MethodDoc; import com.sun.javadoc.PackageDoc; import com.sun.javadoc.Parameter; import com.sun.javadoc.ProgramElementDoc; import com.sun.javadoc.RootDoc; import com.sun.javadoc.SeeTag; import com.sun.javadoc.Tag; import com.sun.xml.txw2.TXW; import com.sun.xml.txw2.TypedXmlWriter; import com.sun.xml.txw2.output.StreamSerializer; import org.cyberneko.html.parsers.SAXParser; import org.jvnet.maven.jellydoc.annotation.NoContent; import org.jvnet.maven.jellydoc.annotation.Required; import org.jvnet.maven.jellydoc.annotation.TagLibUri; import org.xml.sax.Attributes; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; import java.beans.Introspector; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.StringReader; import java.lang.annotation.Annotation; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.Stack; /** * Main Doclet class to generate Tag Library ML. * * @author Gopinath M.R. * @author James Strachan * @author Rodney Waldhoff */ // #### somehow we need to handle taglib inheritence... public class TagXMLDoclet extends Doclet { private String targetFileName = null; private String encodingFormat; public TagXMLDoclet (RootDoc root) throws Exception { readOptions(root); File targetFile = new File(targetFileName); targetFile.getParentFile().mkdirs(); FileOutputStream writer = new FileOutputStream(targetFileName); Tags tw = TXW.create(Tags.class,new StreamSerializer(writer)); javadocXML(root,tw); tw.commit(); } /** * Generates the xml for the tag libraries */ private void javadocXML(RootDoc root, Tags tw) throws SAXException { Set pkgs = new HashSet(); for (ClassDoc c : root.specifiedClasses()) pkgs.add(c.containingPackage()); pkgs.addAll(Arrays.asList(root.specifiedPackages())); // Generate for packages. for (PackageDoc pkg : pkgs) packageXML(pkg,tw); } /** * Generates doc for a tag library */ private void packageXML(PackageDoc packageDoc, Tags tw) throws SAXException { System.out.println( "processing package: " + packageDoc.name()); ClassDoc[] classArray = packageDoc.ordinaryClasses(); // lets see if we find a Tag boolean foundTag = false; for (ClassDoc classDoc : classArray) { if (isTag(classDoc)) { foundTag = true; break; } } if (!foundTag) return; Library library = tw.library(); library.name(packageDoc.name()); String name = packageDoc.name(); int idx = name.lastIndexOf('.'); if ( idx > 0 ) { name = name.substring(idx+1); } library.prefix(name); String uri = findUri(packageDoc.annotations()); if(uri==null) uri = "jelly:" + name; // fallback library.uri(uri); // generate Doc element. docXML(packageDoc,library); // generate tags for (ClassDoc c : classArray) { if (isTag(c)) { tagXML(c,library.tag()); } } } private String findUri(AnnotationDesc[] an) { for (AnnotationDesc a : an) if(a.annotationType().qualifiedName().equals(TagLibUri.class.getName())) for (ElementValuePair e : a.elementValues()) if(e.element().name().equals("value")) return e.value().value().toString(); return null; } private boolean has(ProgramElementDoc doc, Class type) { for (AnnotationDesc a : doc.annotations()) if(a.annotationType().qualifiedName().equals(type.getName())) return true; return false; } /** * @return true if this class is a Jelly Tag */ private boolean isTag(ClassDoc classDoc) { ClassDoc[] interfaceArray = classDoc.interfaces(); for (ClassDoc i : interfaceArray) { String name = i.qualifiedName(); if ("org.apache.commons.jelly.Tag".equals(name)) { return true; } } ClassDoc base = classDoc.superclass(); return base != null && isTag(base); } /** * Generates doc for a tag */ private void tagXML(ClassDoc classDoc, org.jvnet.maven.jellydoc.Tag tag) throws SAXException { if (classDoc.isAbstract()) { return; } tag.className(classDoc.name()); String name = classDoc.name(); if ( name.endsWith( "Tag" ) ) { name = name.substring(0, name.length() - 3 ); } name = Introspector.decapitalize(name); System.out.println( "processing tag: " + name); tag.name(name); if(has(classDoc,NoContent.class)) tag.noContent(true); // generate "doc" sub-element docXML(classDoc,tag); // generate the attributes propertiesXML(classDoc,tag); } /** * Generates doc for a tag property */ private void propertiesXML(ClassDoc classDoc, org.jvnet.maven.jellydoc.Tag tag) throws SAXException { MethodDoc[] methodArray = classDoc.methods(); for (MethodDoc m : methodArray) { propertyXML(m,tag); } ClassDoc base = classDoc.superclass(); if ( base != null ) { propertiesXML( base, tag); } } /** * Generates doc for a tag property */ private void propertyXML(MethodDoc methodDoc, org.jvnet.maven.jellydoc.Tag tag) throws SAXException { if ( ! methodDoc.isPublic() || methodDoc.isStatic() ) { return; } String name = methodDoc.name(); if ( ! name.startsWith( "set" ) ) { return; } Parameter[] parameterArray = methodDoc.parameters(); if ( parameterArray == null || parameterArray.length != 1 ) { return; } Parameter parameter = parameterArray[0]; name = name.substring(3); name = Introspector.decapitalize(name); if ( name.equals( "body") || name.equals( "context" ) || name.equals( "parent" ) ) { return; } Attribute a = tag.attribute(); a.name(name); a.type(parameter.typeName()); if(has(methodDoc, Required.class)) a.use("required"); // maybe do more semantics, like use custom tags to denote if its required, optional etc. // generate "doc" sub-element docXML(methodDoc,a); } /** * Generates doc for element "doc" */ private void docXML(Doc doc, Item w) throws SAXException { TypedXmlWriter d = w.doc(); // handle the "comment" part, including {@link} tags { for (Tag tag : doc.inlineTags()) { // if tags[i] is an @link tag if (tag instanceof SeeTag) { String label = ((SeeTag) tag).label(); // if the label is null or empty, use the class#member part of the link if (null == label || "".equals(label)) { StringBuffer buf = new StringBuffer(); String className = ((SeeTag) tag).referencedClassName(); if ("".equals(className)) { className = null; } String memberName = ((SeeTag) tag).referencedMemberName(); if ("".equals(memberName)) { memberName = null; } if (null != className) { buf.append(className); if (null != memberName) { buf.append("."); } } if (null != memberName) { buf.append(memberName); } label = buf.toString(); } parseHTML(label,d); } else { parseHTML(tag.text(),d); } } } // handle the "tags" part for (Tag tag : doc.tags()) javadocTagXML(tag,w); } protected void parseHTML(String text, final TypedXmlWriter d) throws SAXException { SAXParser parser = new SAXParser(); parser.setProperty( "http://cyberneko.org/html/properties/names/elems", "lower" ); parser.setProperty( "http://cyberneko.org/html/properties/names/attrs", "lower" ); parser.setContentHandler( new DefaultHandler() { private Stack w = new Stack(); { w.push(d); } public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { if ( validDocElementName( localName ) ) { w.push(w.peek()._element(localName,TypedXmlWriter.class)); } } public void endElement(String namespaceURI, String localName, String qName) throws SAXException { if ( validDocElementName( localName ) ) { w.pop(); } } public void characters(char[] ch, int start, int length) throws SAXException { w.peek()._pcdata(new String(ch,start,length)); } } ); try { parser.parse( new InputSource(new StringReader( text )) ); } catch (IOException e) { System.err.println( "This should never happen!" + e ); } } /** * @return true if the given name is a valid HTML markup element. */ protected boolean validDocElementName(String name) { return ! name.equalsIgnoreCase( "html" ) && ! name.equalsIgnoreCase( "body" ); } /** * Generates doc for all tag elements. */ private void javadocTagXML(Tag tag, Item w) throws SAXException { String name = tag.name().substring(1) + "tag"; if (! tag.text().equals("")) w._element(name,TypedXmlWriter.class)._pcdata(tag.text()); } public static boolean start(RootDoc root) { try { new TagXMLDoclet(root); return true; } catch (Exception e) { e.printStackTrace(); System.exit(1); return false; } } private void readOptions(RootDoc root) { for (String[] opt : root.options()) { if (opt[0].equals("-d")) { targetFileName = opt[1] + "/taglib.xml"; } if (opt[0].equals("-encoding")) { encodingFormat = opt[1]; } } } public static int optionLength(String option) { if(option.equals("-d")) { return 2; } if(option.equals("-encoding")) { return 2; } return 0; } public static boolean validOptions(String options[][], DocErrorReporter reporter) { boolean foundEncodingOption = false; boolean foundDirOption = false; for (String[] opt : options) { if (opt[0].equals("-d")) { if (foundDirOption) { reporter.printError("Only one -d option allowed."); return false; } else { foundDirOption = true; } } if (opt[0].equals("-encoding")) { if (foundEncodingOption) { reporter.printError("Only one -encoding option allowed."); return false; } else { foundEncodingOption = true; } } } if (!foundDirOption) { reporter.printError("Usage: javadoc -d -doclet TagXMLDoclet ..."); return false; } return true; } } kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/resources/000077500000000000000000000000001157651553000276755ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/resources/org/000077500000000000000000000000001157651553000304645ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/resources/org/jvnet/000077500000000000000000000000001157651553000316125ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/resources/org/jvnet/maven/000077500000000000000000000000001157651553000327205ustar00rootroot00000000000000000077500000000000000000000000001157651553000344465ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/resources/org/jvnet/maven/jellydocxsdgen.xsl000066400000000000000000000031501157651553000364650ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/maven-jellydoc-plugin/src/main/resources/org/jvnet/maven/jellydoc kohsuke-maven-jellydoc-plugin-9d0f782/pom.xml000066400000000000000000000061041157651553000212610ustar00rootroot00000000000000 4.0.0 org.jvnet.maven-jellydoc-plugin jellydoc 1.5 pom Jellydoc https://maven-jellydoc-plugin.dev.java.net/ Generate documentation from Jelly tag libraries scm:git:git@github.com/kohsuke/maven-jellydoc-plugin.git scm:git:ssh://git@github.com/kohsuke/maven-jellydoc-plugin.git http://maven-jellydoc-plugin.kohsuke.org/ Apache Software License http://www.apache.org/licenses/LICENSE-2.0 repo maven.jenkins-ci.org http://maven.jenkins-ci.org:8081/content/repositories/releases maven.jenkins-ci.org http://maven.jenkins-ci.org:8081/content/repositories/snapshots github-pages gitsite:git@github.com/kohsuke/maven-jellydoc-plugin.git m.g.o-public http://maven.glassfish.org/content/groups/public/ true false m.g.o-public http://maven.glassfish.org/content/groups/public/ true false maven-compiler-plugin 1.5 1.5 org.apache.maven.scm maven-scm-provider-gitexe 1.3 org.apache.maven.scm maven-scm-manager-plexus 1.3 org.kathrynhuxtable.maven.wagon wagon-gitsite 0.3.1 maven-jellydoc-plugin annotation taglib-xml-writer kohsuke-maven-jellydoc-plugin-9d0f782/src/000077500000000000000000000000001157651553000205325ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/src/site/000077500000000000000000000000001157651553000214765ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/src/site/apt/000077500000000000000000000000001157651553000222625ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/src/site/apt/index.apt000066400000000000000000000045441157651553000241060ustar00rootroot00000000000000 ------ Jelly Taglib Doc Generator ------ ------ <<>> is a Maven2 plugin for generating taglib documentation for {{{http://commons.apache.org/jelly/}Apache Commons Jelly}} from Java source code. In addition, this tool also has the following features: * Generating XML Schema for taglib, which in turn can be used in schema-aware editors * A set of annotations to describe the constraints of tags (such as whether an attribute is required.) [] To use this plugin, typically you configure your POM like this: ------------------------------- org.jvnet.maven-jellydoc-plugin maven-jellydoc-plugin ------------------------------- When you run the <<>> goal in Maven, this will render HTML documentation and XML schema, and they will be added to the generated site. Alternatively, or in addition, adding the <<>> goal to the build section will attach XML schema to the artifacts, (thus if you deploy or release, the schema will also gets deployed.) ------------------------------- org.jvnet.maven-jellydoc-plugin maven-jellydoc-plugin jellydoc ------------------------------- This Maven plugin is implemented as a javadoc doclet, and thus it scans your source code and find out all the Jelly tags classes. Documentation will be taken from javadoc. Quick links * {{{maven-jellydoc-plugin/plugin-info.html}Maven Plugin Reference}} * {{{nonav/jellydoc-annotations/apidocs/}Annoations javadoc}} [] Schema for official Jelly tag libraries For your convenience, I've run this tool on {{{http://commons.apache.org/jelly/libs/index.html}the official Jelly tag libraries}} maintained at Apache and generated schemas. {{{./jelly-schemas.zip}They can be downloaded from here}}. These schemas can be then loaded into your IDE to enable schema-guided editing of those tags. kohsuke-maven-jellydoc-plugin-9d0f782/src/site/site.xml000066400000000000000000000014001157651553000231570ustar00rootroot00000000000000 org.kohsuke maven-skin 1.1 ${reports} kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/000077500000000000000000000000001157651553000233155ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/pom.xml000066400000000000000000000013161157651553000246330ustar00rootroot00000000000000 4.0.0 org.jvnet.maven-jellydoc-plugin jellydoc 1.5 ../pom.xml taglib-xml-writer taglib-xml-writer com.sun.xml.txw2 txw2 20090102 kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/000077500000000000000000000000001157651553000241045ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/000077500000000000000000000000001157651553000250305ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/000077500000000000000000000000001157651553000257515ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/000077500000000000000000000000001157651553000265405ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/000077500000000000000000000000001157651553000276665ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/000077500000000000000000000000001157651553000307745ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/000077500000000000000000000000001157651553000326015ustar00rootroot00000000000000Attribute.java000066400000000000000000000016361157651553000353360ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import com.sun.xml.txw2.annotation.XmlAttribute; /** * @author Kohsuke Kawaguchi */ public interface Attribute extends Item { @XmlAttribute Attribute name(String value); @XmlAttribute Attribute type(String value); @XmlAttribute Attribute use(String value); } Body.java000066400000000000000000000013561157651553000342670ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; /** * Describes the body of a tag. * * @author Kohsuke Kawaguchi */ public interface Body extends Item { } Item.java000066400000000000000000000016051157651553000342650ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import com.sun.xml.txw2.TypedXmlWriter; import com.sun.xml.txw2.annotation.XmlElement; /** * @author Kohsuke Kawaguchi */ public interface Item extends TypedXmlWriter { @XmlElement TypedXmlWriter doc(); @XmlElement void doc(String content); } Library.java000066400000000000000000000017421157651553000347750ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import com.sun.xml.txw2.annotation.XmlAttribute; import com.sun.xml.txw2.annotation.XmlElement; /** * @author Kohsuke Kawaguchi */ public interface Library extends Item { @XmlAttribute Library name(String name); @XmlAttribute Library prefix(String name); @XmlAttribute Library uri(String name); @XmlElement Tag tag(); } Tag.java000066400000000000000000000020351157651553000341000ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import com.sun.xml.txw2.annotation.XmlAttribute; import com.sun.xml.txw2.annotation.XmlElement; /** * @author Kohsuke Kawaguchi */ public interface Tag extends Item { @XmlAttribute Tag className(String value); @XmlAttribute Tag name(String value); @XmlAttribute("no-content") Tag noContent(boolean value); @XmlElement Attribute attribute(); @XmlElement Body body(); } Tags.java000066400000000000000000000015271157651553000342700ustar00rootroot00000000000000kohsuke-maven-jellydoc-plugin-9d0f782/taglib-xml-writer/src/main/java/org/jvnet/maven/jellydoc/* * Copyright 2009, Kohsuke Kawaguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jvnet.maven.jellydoc; import com.sun.xml.txw2.TypedXmlWriter; import com.sun.xml.txw2.annotation.XmlElement; /** * @author Kohsuke Kawaguchi */ @XmlElement("tags") public interface Tags extends TypedXmlWriter { Library library(); }