| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.lenya.cms.ant.PublicationTask
org.apache.lenya.cms.ant.WriteDCParametersTask
public class WriteDCParametersTask
Ant task to insert a label into an existing node in a tree.
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.Task | 
|---|
description, location, target, taskName, taskType, wrapper | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
project | 
| Constructor Summary | |
|---|---|
WriteDCParametersTask()
Creates a new instance of InsertLabelTask  | 
|
| Method Summary | |
|---|---|
 void | 
execute()
(non-Javadoc)  | 
 java.lang.String | 
getArea()
Get the area  | 
 java.lang.String | 
getCreator()
Get the creator  | 
 java.lang.String | 
getDescription()
Get the description  | 
 java.lang.String | 
getDocumentId()
Get the document-id  | 
 java.lang.String | 
getLanguage()
Get the language  | 
 java.lang.String | 
getPublisher()
Get the publisher  | 
 java.lang.String | 
getRights()
Get the rights  | 
 java.lang.String | 
getSubject()
Get the subject  | 
 java.lang.String | 
getTitle()
Get the title  | 
 void | 
setArea(java.lang.String string)
Set the area  | 
 void | 
setCreator(java.lang.String string)
Set the creator.  | 
 void | 
setDescription(java.lang.String string)
Set the description  | 
 void | 
setDocumentId(java.lang.String string)
Set the document-id  | 
 void | 
setLanguage(java.lang.String string)
Set the language.  | 
 void | 
setPublisher(java.lang.String string)
Set the publisher.  | 
 void | 
setRights(java.lang.String string)
Set the rights  | 
 void | 
setSubject(java.lang.String string)
Set the subject  | 
 void | 
setTitle(java.lang.String string)
Set the title  | 
 void | 
writeDublinCoreParameters(java.lang.String documentId,
                          java.lang.String area,
                          java.lang.String lang,
                          java.lang.String creator,
                          java.lang.String title,
                          java.lang.String description,
                          java.lang.String subject,
                          java.lang.String publisher,
                          java.lang.String rights)
Write the dublin core params.  | 
| Methods inherited from class org.apache.lenya.cms.ant.PublicationTask | 
|---|
assertString, getContextPrefix, getPublication, getPublicationDirectory, getPublicationId, getServletContext | 
| Methods inherited from class org.apache.tools.ant.Task | 
|---|
getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
getProject, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WriteDCParametersTask()
| Method Detail | 
|---|
public java.lang.String getCreator()
public java.lang.String getDescription()
getDescription in class org.apache.tools.ant.Taskpublic java.lang.String getPublisher()
public java.lang.String getRights()
public java.lang.String getSubject()
public java.lang.String getTitle()
public void setCreator(java.lang.String string)
string - the creatorpublic void setDescription(java.lang.String string)
setDescription in class org.apache.tools.ant.Taskstring - the descriptionpublic void setPublisher(java.lang.String string)
string - the publisherpublic void setRights(java.lang.String string)
string - the rightspublic void setSubject(java.lang.String string)
string - the subjectpublic void setTitle(java.lang.String string)
string - the titlepublic java.lang.String getArea()
public void setArea(java.lang.String string)
string - the areapublic java.lang.String getDocumentId()
public void setDocumentId(java.lang.String string)
string - the document-idpublic java.lang.String getLanguage()
public void setLanguage(java.lang.String string)
string - the language
public void writeDublinCoreParameters(java.lang.String documentId,
                                      java.lang.String area,
                                      java.lang.String lang,
                                      java.lang.String creator,
                                      java.lang.String title,
                                      java.lang.String description,
                                      java.lang.String subject,
                                      java.lang.String publisher,
                                      java.lang.String rights)
                               throws org.apache.tools.ant.BuildException,
                                      DocumentBuildException,
                                      DocumentException
documentId - the document-idarea - the arealang - the languagecreator - the creator.title - the titledescription - the descriptionsubject - the subjectpublisher - the publisherrights - the rights
org.apache.tools.ant.BuildException - if an error occurs
DocumentBuildException - if an error occurs
DocumentException - if an error occurs
public void execute()
             throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionTask.execute()
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||