Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lenya.ac.* (82)org.apache.lenya.cms.* (248)org.apache.lenya.defaultpub.* (2)
org.apache.lenya.lucene.* (41)org.apache.lenya.net.* (8)org.apache.lenya.search.* (5)
org.apache.lenya.util.* (14)org.apache.lenya.workflow.* (30)org.apache.lenya.xml.* (20)

Package Samples:

org.apache.lenya.ac.cache
org.apache.lenya.ac.cifs
org.apache.lenya.ac.file
org.apache.lenya.ac.impl
org.apache.lenya.ac.ldap
org.apache.lenya.ac
org.apache.lenya.cms.ac.cocoon
org.apache.lenya.cms.ac.usecase
org.apache.lenya.cms.ac.workflow
org.apache.lenya.cms.ac
org.apache.lenya.cms.ant
org.apache.lenya.cms.authoring
org.apache.lenya.cms.cocoon.acting
org.apache.lenya.cms.cocoon.components.modules.input
org.apache.lenya.cms.cocoon.flow
org.apache.lenya.cms.cocoon.generation
org.apache.lenya.cms.cocoon.scheduler
org.apache.lenya.cms.cocoon.source
org.apache.lenya.cms.cocoon.task
org.apache.lenya.cms.cocoon.transformation

Classes:

MailTask: A task that sends an e-mail. Each parameter can either be provided as a task parameter or extracted from an XML document. If the parameter "uri" starts with a http:// or ftp:// prefix, the absolute URI is used. If not, the URI is interpreted as relative to the local publication. The task parameters are: uri : the URI to get the XML file from server : the SMTP server from : to : cc : bcc : subject : body : All parameters are optional. If the uri parameter is provided, the document is fetched from the URI and the parameters are extracted. Task parameters have a higher priority than elements of the ...
DefaultFilePublisher: The DefaultFilePublisher is a task that copies XML source files from the authoring directory to another location, usually the live directory. The following task parameters must be provided: publication-id : the publication ID authoring-path : the authoring path tree-authoring-path : the location of the tree.xml file live-path : the live path tree-live-path : the location of the tree.xml file replication-path : the replication path, where sources are waiting for replication sources : a comma-separated list of files to publish * @deprecated use the publish ant task instead.
AntTask: An object of this class is used to execute Ant tasks. The task parameters are: publication-id : the publication ID buildfile (optional) : the location of the build file relative to the publication directory. If this parameter is not provided, the file is loaded from DEFAULT_BUILDFILE 55 . target (optional) : the build target. If this parameter is not provided, the default target is executed. ant.* : the command-line parameters for Ant (not implemented yet!) properties.* : the project properties
SynchronizedWorkflowInstances: Synchronized workflow instances. A set of workflow instances with the same workflow schema can be synchronized. If a transition in this schema is marked as synchronized, it can only be invoked on all instances in the set at the same time. When a workflow event is invoked on a set of synchronized workflow instances, the transition is invoked only if all instances are in the source state of the transition, and all conditions of the transition are complied for all instances. Then the transition is invoked for all instances in the set. A common usecase of this concept is the simultaneous publishing ...
ResourceExistsAction: This action simply checks to see if a given resource exists. It checks whether the specified in the src attribute source exists or not. The action returns empty Map if it exists, null otherwise. Instead of src attribute, source can be specified using parameter named 'url' (this is old syntax). In order to differentiate between files and directories, the type can be specified using the parameter 'type' (<map:parameter name="type" value="file"/> or <map:parameter name="type" value="directory"/>). The parameter 'type' is optional. Note: org.apache.cocoon.selection.ResourceExistsSelector ...
LinkRewritingTransformer: Link rewriting transformer. This transformer is applied to an XHMTL document. It processes <xhtml:a href="..."> attributes of the following form: {context-prefix}/{publication-id}/{area}{document-url} These links are rewritten using the following rules: The area is replaced by the current area (obtained from the page envelope). A URL prefix is added depending on the proxy configuration of the publication. If the target document does not exist, the <a/> element is removed to disable the link. $Id: LinkRewritingTransformer.java,v 1.7 2004/03/16 11:12:16 gregor
HTMLFormSaveAction: FIXME: org.apache.xpath.compiler.XPathParser seems to have problems when namespaces are not declared within the root element. Unfortunately the XSLTs (during Cocoon transformation) are moving the namespaces to the elements which use them! One hack might be to parse the tree for namespaces (Node.getNamespaceURI), collect them and add them to the document root element, before sending it through the org.apache.xpath.compiler.XPathParser (called by XPathAPI) FIXME: There seems to be another problem with default namespaces WARNING: Internet Explorer sends X and Y coordinates for image buttons. These ...
SimpleLinkRewritingTransformer: This is a simple transformer which rewrites <a href="/context/publication/authoring/doctypes/2columns.html"> to <a href="/context/publication/$AREA/doctypes/2columns.html">. It also checks if the target of the link really exists if the area is "live". If the link target doesn't exist the link will be inactive. Furthermore, you can define the live-prefix in your publication.xconf, and the transformer will use it for rewriting the live links if it is available. Ideally this transformer could be replaced by the LinkRewrittingTransformer that Forrest uses if we employ the same scheme for ...
StaticHTMLExporter: This Exporter uses WGet to download HTML files from URIs and saves them. The Task parameters are: server-uri : the server uri server-port : the server port publication-id : the publication id export-path-prefix : the path to save the files to uris : a comma-separated list of uris to download (without server + port) substitute-regexp : a regular expression to substitute a part of the path
ResourceFilePublisher: The ResourceFilePublisher is a task that extends the DefaultFilePublisher . In addition to the default publisher it also copies resource files (e.g. images) from the authoring directory to another location, usually the live directory. In addition to the parameters that have to be provided for DefaultFilePublisher the following parameters have to be specified: resources-authoring-path : the authoring path for resources resources-live-path : the live path for resources
AbstractIPRange: A range of IP addresses, expressed by a network address and a subnet mask. Note: this class does not enforce that the network address and the subnet mask have the same size (i.e. either both IPv4 or both IPv6 addresses). If the the network address and subnet mask have different sizes, the range does not contain any hosts, that is contains(Machine) 55 will always return false .
DocumentIndexTransformer: This transformer lists the children of a document if the tag is present in this document. The list of the children is in the form : ... Multiple language : if a child doesn't exist in the parent language, then the version in the default language will be considered. If it doesn't exist too, any other existent language will be considered.
AntTaskTest: Class for testing AntTasks. Extend this class to test your own AntTask. The target can be passed as a command-line argument. If the argument is omitted, the target is "test". Override getTarget() 55 to provide a hard-coded target. Override evaluateTest() 55 to add your evaluation code.
Proxy: An object of this class represents a proxy configuration. Configuration example: <proxy area="live" ssl="true" url="https://www.host.com/ssl/default"/> <proxy area="live" ssl="false" url="http://www.host.com/default"/> <proxy area="authoring" ssl="true" url="https://www.host.com/lenya/default/authoring"/> <proxy area="authoring" ssl="false" url="http://www.host.com/lenya/default/authoring"/>
NamespaceHelper: A NamespaceHelper object simplifies the creation of elements in a certain namespace. All elements are owned by a document that is passed to the #NamespaceHelper(Document, String, String) constructor or created using the NamespaceHelper(String, String, String) 55 constructor.
SitetreeFragmentGenerator: Generates a fragment of the XML from the sitetree, corresponding to a given node. The node is specified by the sitemap parameters area/documentid. If the sitemap parameter initialTree is true, the top nodes of the tree will be generated and the node given by the sitemap parameters area/documentid will be unfolded. If initialTree is false, only the children of the selected node will be generated.
Condition: A condition can prevent a transition from firing, based on the current situation. Examples: Does the current user have a certain role on the current URL? Does a certain state variable have a certain value (e.g., is the document published)? (BooleanVariableCondition) Is the sun shining? (e.g., if the weather report may only be published on sunny days)
BulkCopyTask: Copies all files matching filename or a all specififed filesets from each source directory. Usage: <bulkCopy sourcedirs="dirOne:dirTwo" todir="WEB-INF/lib" flatten="true"> <fileset includes="java/lib/*"/> </bulkCopy> The above sample copies dirOne/java/lib/* and dirTwo/java/lib/* to WEB-INF/lib .
FallbackModule: This module checks if a file exists in a publiation, and if not, it chooses the core file. The attribute name must a path relatively to the webapps/lenya/lenya directory. Example: {fallback:xslt/style.xsl} looks if lenya/pubs/(publication-id)/lenya/xslt/style.xsl exists, and if not, it uses lenya/xslt/style.xsl .
HtmlDocument: The HtmlDocument class creates a Lucene org.apache.lucene.document.Document from an HTML document. It does this by using JTidy package. It can take input input from java.io.File or java.io.InputStream .
Transition: A transition describes the switching of a workflow instance from one state to another. A transition has a source state, a destination state, an event, a set of conditions, a set of assignments. Additionally, a transition can be marked as synchronized.
BooleanVariable: Boolean state variable. A workflow schema can contain a set of state variables. For each instance, the state variables hold certain values. Values can be assigned during transitions, so a variable can change its value when a transition fires. Currently, the workflow supports only boolean state variables.
ItemConfiguration: Use this class to create configurations from AbstractItem s or to build AbstractItem s from configurations.
WorkflowInvokerAction: Action to invoke a workflow transition independently from the request document URL. Parameters: area: The area. document-id: The document id. language: The language. event: The event to invoke.
URIParametrizerAction: Action to access the URI parameterizer. The map returned by this action is the map returned by the org.apache.lenya.cms.cocoon.uriparameterizer.URIParameterizer . The src attribute is the URI to parameterize.

Home | Contact Us | Privacy Policy | Terms of Service