Package | Description |
---|---|
cc.redpen.model |
Elements of Documents such as List, Sentence are provided.
|
cc.redpen.validator |
Validators and the factory classes are provided.
|
cc.redpen.validator.section |
SectionValidators are provided.
|
Modifier and Type | Method and Description |
---|---|
Section |
Document.getLastSection()
Get last Section.
|
Section |
Document.DocumentBuilder.getLastSection()
Get last Section.
|
Section |
Section.getParentSection()
Get super section.
|
Section |
Document.getSection(int id)
Get the specified section.
|
Section |
Document.DocumentBuilder.getSection(int id)
Get the specified section.
|
Section |
Section.getSubSection(int id)
Get the iterator of subsections.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Section> |
Document.iterator() |
Modifier and Type | Method and Description |
---|---|
Document.DocumentBuilder |
Document.DocumentBuilder.appendSection(Section section)
Add a section.
|
void |
Section.appendSubSection(Section section)
Add a subsection.
|
void |
Section.setParentSection(Section parentSection)
Set super section.
|
Constructor and Description |
---|
Document(List<Section> sections,
Optional<String> fileName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Validator.preValidate(Section section)
Process input blocks before run validation.
|
void |
JavaScriptValidator.preValidate(Section section) |
void |
Validator.validate(Section section)
validate the input document and returns the invalid points.
|
void |
JavaScriptValidator.validate(Section section) |
Modifier and Type | Method and Description |
---|---|
void |
DuplicatedSectionValidator.preValidate(Section section) |
void |
SectionLengthValidator.validate(Section section) |
void |
ParagraphStartWithValidator.validate(Section section) |
void |
ParagraphNumberValidator.validate(Section section) |
void |
DuplicatedSectionValidator.validate(Section section) |
Copyright © 2015. All rights reserved.