|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.util.LineEditor
org.jomc.util.SectionEditor
org.jomc.tools.JavaSources.JavaEditor
org.jomc.tools.JavaSources.JavaSpecificationEditor
public class JavaSources.JavaSpecificationEditor
Extension to JavaEditor for editing specification source code.
| Constructor Summary | |
|---|---|
JavaSources.JavaSpecificationEditor(org.jomc.util.LineEditor lineEditor,
org.jomc.model.Specification specification)
Creates a new JavaSpecificationEditor instance for editing the source code of a given specification
taking a LineEditor to chain. |
|
JavaSources.JavaSpecificationEditor(org.jomc.model.Specification specification)
Creates a new JavaSpecificationEditor instance for editing the source code of a given specification. |
|
| Method Summary | |
|---|---|
void |
editAnnotationsSection(org.jomc.util.Section s)
Edits the annotations section of the source code of the editor. |
void |
editDocumentationSection(org.jomc.util.Section s)
Edits the documentation section of the source code of the editor. |
void |
editLicenseSection(org.jomc.util.Section s)
Edits the license section of the source code of the editor. |
| Methods inherited from class org.jomc.tools.JavaSources.JavaEditor |
|---|
editSection, getOutput, isAnnotationsSectionPresent, isDocumentationSectionPresent, isLicenseSectionPresent |
| Methods inherited from class org.jomc.util.SectionEditor |
|---|
editLine, getSection, isSectionFinished |
| Methods inherited from class org.jomc.util.LineEditor |
|---|
edit, getLineSeparator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaSources.JavaSpecificationEditor(org.jomc.model.Specification specification)
JavaSpecificationEditor instance for editing the source code of a given specification.
specification - The specification to edit.
public JavaSources.JavaSpecificationEditor(org.jomc.util.LineEditor lineEditor,
org.jomc.model.Specification specification)
JavaSpecificationEditor instance for editing the source code of a given specification
taking a LineEditor to chain.
lineEditor - The editor to chain.specification - The specification to edit.| Method Detail |
|---|
public void editLicenseSection(org.jomc.util.Section s)
throws IOException
editLicenseSection in class JavaSources.JavaEditors - The section to edit.
NullPointerException - if s is null.
IOException - if editing s fails.
public void editAnnotationsSection(org.jomc.util.Section s)
throws IOException
editAnnotationsSection in class JavaSources.JavaEditors - The section to edit.
NullPointerException - if s is null.
IOException - if editing s fails.
public void editDocumentationSection(org.jomc.util.Section s)
throws IOException
editDocumentationSection in class JavaSources.JavaEditors - The section to edit.
NullPointerException - if s is null.
IOException - if editing s fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||