public class HtmlProcessorDocumentationWriter extends HtmlDocumentationWriter
ADDITIONAL_DETAILS_HTML, LOGGER| Constructor and Description |
|---|
HtmlProcessorDocumentationWriter(ExtensionManager extensionManager) |
| Modifier and Type | Method and Description |
|---|---|
private String |
defaultIfBlank(String test,
String defaultValue) |
private List<DynamicRelationship> |
getDynamicRelationships(Processor processor) |
private List<ReadsAttribute> |
getReadsAttributes(Processor processor)
Collects the attributes that a processor is reading from.
|
private List<WritesAttribute> |
getWritesAttributes(Processor processor)
Collects the attributes that a processor is writing to.
|
private void |
handleReadsAttributes(XMLStreamWriter xmlStreamWriter,
Processor processor)
Writes out just the attributes that are being read in a table form.
|
private void |
handleWritesAttributes(XMLStreamWriter xmlStreamWriter,
Processor processor)
Writes out just the attributes that are being written to in a table form.
|
protected void |
writeAdditionalBodyInfo(ConfigurableComponent configurableComponent,
XMLStreamWriter xmlStreamWriter)
This method may be overridden by sub classes to write additional
information to the body of the documentation.
|
private void |
writeAttributeInfo(Processor processor,
XMLStreamWriter xmlStreamWriter)
Writes all the attributes that a processor says it reads and writes
|
private void |
writeDynamicRelationships(Processor processor,
XMLStreamWriter xmlStreamWriter) |
private void |
writeRelationships(Processor processor,
XMLStreamWriter xmlStreamWriter)
Writes a table describing the relations a processor has.
|
getDescription, getTitle, iterateAndLinkComponents, join, write, writeDescription, writeHead, writeLink, writeProperties, writeSimpleElement, writeSimpleElement, writeValidValuespublic HtmlProcessorDocumentationWriter(ExtensionManager extensionManager)
protected void writeAdditionalBodyInfo(ConfigurableComponent configurableComponent, XMLStreamWriter xmlStreamWriter) throws XMLStreamException
HtmlDocumentationWriterwriteAdditionalBodyInfo in class HtmlDocumentationWriterconfigurableComponent - the component to describexmlStreamWriter - the stream writerXMLStreamException - thrown if there was a problem writing to the
XML streamprivate void writeAttributeInfo(Processor processor, XMLStreamWriter xmlStreamWriter) throws XMLStreamException
processor - the processor to describexmlStreamWriter - the xml stream writer to useXMLStreamException - thrown if there was a problem writing the XMLprivate void handleReadsAttributes(XMLStreamWriter xmlStreamWriter, Processor processor) throws XMLStreamException
xmlStreamWriter - the xml stream writer to useprocessor - the processor to describeXMLStreamException - xseprivate void handleWritesAttributes(XMLStreamWriter xmlStreamWriter, Processor processor) throws XMLStreamException
xmlStreamWriter - the xml stream writer to useprocessor - the processor to describeXMLStreamException - xseprivate List<ReadsAttribute> getReadsAttributes(Processor processor)
processor - the processor to describeprivate List<WritesAttribute> getWritesAttributes(Processor processor)
processor - the processor to describeprivate void writeRelationships(Processor processor, XMLStreamWriter xmlStreamWriter) throws XMLStreamException
processor - the processor to describexmlStreamWriter - the stream writer to useXMLStreamException - thrown if there was a problem writing the xmlprivate void writeDynamicRelationships(Processor processor, XMLStreamWriter xmlStreamWriter) throws XMLStreamException
XMLStreamExceptionprivate List<DynamicRelationship> getDynamicRelationships(Processor processor)
Copyright © 2023 Apache NiFi Project. All rights reserved.