public class XmlDocumentationWriter extends AbstractDocumentationWriter
| Modifier and Type | Class and Description |
|---|---|
private static interface |
XmlDocumentationWriter.ElementWriter<T> |
| Modifier and Type | Field and Description |
|---|---|
private XMLStreamWriter |
writer |
| Constructor and Description |
|---|
XmlDocumentationWriter(OutputStream out) |
XmlDocumentationWriter(XMLStreamWriter writer) |
getDescription, getDynamicProperties, getExtensionType, getTags, initialize, initialize, initialize, initialize, initialize, write, write, writeBodyprivate final XMLStreamWriter writer
public XmlDocumentationWriter(OutputStream out) throws XMLStreamException
XMLStreamExceptionpublic XmlDocumentationWriter(XMLStreamWriter writer)
protected void writeHeader(ConfigurableComponent component) throws IOException
writeHeader in class AbstractDocumentationWriterIOExceptionprotected void writeExtensionName(String extensionName) throws IOException
writeExtensionName in class AbstractDocumentationWriterIOExceptionprotected void writeExtensionType(ExtensionType extensionType) throws IOException
writeExtensionType in class AbstractDocumentationWriterIOExceptionprotected void writeDeprecationNotice(DeprecationNotice deprecationNotice) throws IOException
writeDeprecationNotice in class AbstractDocumentationWriterIOExceptionprivate void writeDeprecationNotice(String reason, Set<String> alternatives) throws IOException
IOExceptionprotected void writeDescription(String description) throws IOException
writeDescription in class AbstractDocumentationWriterIOExceptionprotected void writeTags(List<String> tags) throws IOException
writeTags in class AbstractDocumentationWriterIOExceptionprotected void writeProperties(List<PropertyDescriptor> properties, Map<String,ServiceAPI> propertyServices) throws IOException
writeProperties in class AbstractDocumentationWriterIOExceptionprivate void writeProperty(PropertyDescriptor property, Map<String,ServiceAPI> propertyServices) throws IOException
IOExceptionprivate void writeResourceDefinition(ResourceDefinition resourceDefinition) throws IOException
IOExceptionprivate void writeResourceType(ResourceType resourceType) throws IOException
IOExceptionprivate void writeAllowableValue(AllowableValue allowableValue) throws IOException
IOExceptionprivate void writeDependencies(PropertyDescriptor propertyDescriptor) throws IOException
IOExceptionprotected void writeDynamicProperties(List<DynamicProperty> dynamicProperties) throws IOException
writeDynamicProperties in class AbstractDocumentationWriterIOExceptionprivate void writeDynamicProperty(DynamicProperty property) throws IOException
IOExceptionprotected void writeStatefulInfo(Stateful stateful) throws IOException
writeStatefulInfo in class AbstractDocumentationWriterIOExceptionprotected void writeRestrictedInfo(Restricted restricted) throws IOException
writeRestrictedInfo in class AbstractDocumentationWriterIOExceptionprivate void writeRestriction(Restriction restriction) throws IOException
IOExceptionprotected void writeInputRequirementInfo(InputRequirement.Requirement requirement) throws IOException
writeInputRequirementInfo in class AbstractDocumentationWriterIOExceptionprotected void writeSystemResourceConsiderationInfo(List<SystemResourceConsideration> considerations) throws IOException
writeSystemResourceConsiderationInfo in class AbstractDocumentationWriterIOExceptionprivate void writeSystemResourceConsideration(SystemResourceConsideration consideration) throws IOException
IOExceptionprotected void writeSeeAlso(SeeAlso seeAlso) throws IOException
writeSeeAlso in class AbstractDocumentationWriterIOExceptionprotected void writeRelationships(Set<Relationship> relationships) throws IOException
writeRelationships in class AbstractDocumentationWriterIOExceptionprotected void writeDynamicRelationship(DynamicRelationship dynamicRelationship) throws IOException
writeDynamicRelationship in class AbstractDocumentationWriterIOExceptionprotected void writeReadsAttributes(List<ReadsAttribute> attributes) throws IOException
writeReadsAttributes in class AbstractDocumentationWriterIOExceptionprivate void writeReadsAttribute(ReadsAttribute attribute) throws IOException
IOExceptionprotected void writeWritesAttributes(List<WritesAttribute> attributes) throws IOException
writeWritesAttributes in class AbstractDocumentationWriterIOExceptionprivate void writeWritesAttribute(WritesAttribute attribute) throws IOException
IOExceptionprotected void writeTriggerSerially(TriggerSerially triggerSerially) throws IOException
writeTriggerSerially in class AbstractDocumentationWriterIOExceptionprotected void writeTriggerWhenEmpty(TriggerWhenEmpty triggerWhenEmpty) throws IOException
writeTriggerWhenEmpty in class AbstractDocumentationWriterIOExceptionprotected void writeTriggerWhenAnyDestinationAvailable(TriggerWhenAnyDestinationAvailable triggerWhenAnyDestinationAvailable) throws IOException
writeTriggerWhenAnyDestinationAvailable in class AbstractDocumentationWriterIOExceptionprotected void writeSupportsBatching(SupportsBatching supportsBatching) throws IOException
writeSupportsBatching in class AbstractDocumentationWriterIOExceptionprotected void writeSupportsSensitiveDynamicProperties(SupportsSensitiveDynamicProperties supportsSensitiveDynamicProperties) throws IOException
writeSupportsSensitiveDynamicProperties in class AbstractDocumentationWriterIOExceptionprotected void writeEventDriven(EventDriven eventDriven) throws IOException
writeEventDriven in class AbstractDocumentationWriterIOExceptionprotected void writePrimaryNodeOnly(PrimaryNodeOnly primaryNodeOnly) throws IOException
writePrimaryNodeOnly in class AbstractDocumentationWriterIOExceptionprotected void writeSideEffectFree(SideEffectFree sideEffectFree) throws IOException
writeSideEffectFree in class AbstractDocumentationWriterIOExceptionprotected void writeDefaultSchedule(DefaultSchedule defaultSchedule) throws IOException
writeDefaultSchedule in class AbstractDocumentationWriterIOExceptionprotected void writeDefaultSettings(DefaultSettings defaultSettings) throws IOException
writeDefaultSettings in class AbstractDocumentationWriterIOExceptionprotected void writeFooter(ConfigurableComponent component) throws IOException
writeFooter in class AbstractDocumentationWriterIOExceptionprotected void writeProvidedServices(Collection<ServiceAPI> providedServices) throws IOException
writeProvidedServices in class AbstractDocumentationWriterIOExceptionprivate void writeProvidedService(ServiceAPI service) throws IOException
IOExceptionprivate <T> void writeArray(String tagName, Collection<T> values, XmlDocumentationWriter.ElementWriter<T> writer) throws IOException
IOExceptionprivate void writeTextArray(String outerTagName, String elementTagName, Collection<String> values) throws IOException
IOExceptionprivate <T> void writeTextArray(String outerTagName, String elementTagName, Collection<T> values, Function<T,String> transform) throws IOException
IOExceptionprivate void writeText(String text) throws IOException
IOExceptionprivate void writeEmptyElement(String elementName) throws IOException
IOExceptionprivate void writeStartElement(String elementName) throws IOException
IOExceptionprivate void writeEndElement()
throws IOException
IOExceptionprivate void writeTextElement(String name, String text) throws IOException
IOExceptionprivate void writeBooleanElement(String name, boolean value) throws IOException
IOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.