public class DouiServiceInterfaceDocumentationGenerator extends GenericServiceInterfaceDocumentationGenerator
GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage
Modifier and Type | Field and Description |
---|---|
protected String |
appendToUrl |
protected String |
imageDescription |
protected String |
imageName |
protected String |
lastServiceInterfaceInstanceId |
protected GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage |
lastSIImage |
protected Set<String> |
referencedProcessActions |
protected boolean |
renderedFirstImage |
protected Document |
xmlDoc |
protected XPath |
xPath |
docResource, reGenerateImages, serviceInterfaceImages
Constructor and Description |
---|
DouiServiceInterfaceDocumentationGenerator() |
addServiceInstance, addToServiceInterfaceImages, documentationGetServiceInterfaceDescription, documentationGetServiceInterfaceName, documentationGetServiceInterfaceSummary, generateDocumentationForServiceInterface, generateDocumentationImageForServiceInterface, getDefaultServiceInterfaceDetailedDescription
protected String appendToUrl
protected boolean renderedFirstImage
protected String imageName
protected String imageDescription
protected GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage lastSIImage
protected String lastServiceInterfaceInstanceId
protected Document xmlDoc
protected XPath xPath
public DouiServiceInterfaceDocumentationGenerator()
protected void documentationSetTemplateSections(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
documentationSetTemplateSections
in class GenericServiceInterfaceDocumentationGenerator
PortalException
protected String generateDocumentationImagesForServiceInterface(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
generateDocumentationImagesForServiceInterface
in class GenericServiceInterfaceDocumentationGenerator
PortalException
protected void generateImage(ServiceInterfaceConfig serviceInterfaceConfig, File tempFile, String serviceInstanceId, IDocumentationTemplate template, Locale locale) throws PortalException, IOException, InterruptedException
generateImage
in class GenericServiceInterfaceDocumentationGenerator
PortalException
IOException
InterruptedException
protected void generateLinksDocumentation(Node rootNode, DouiServiceInterfaceInstanceDefinition dsiid, IResource resource, Locale locale, XPath xPath, ServiceInterfaceConfig serviceInterfaceConfig, IDocumentationTemplate template) throws PortalException
PortalException
protected IDocumentationTemplate.DocumentationSection getLinksDocumentationSection(IResource resource, Locale locale, ServiceInterfaceConfig serviceInterfaceConfig, IDocumentationTemplate template) throws PortalException
PortalException
protected String generateControlsDocumentation(Node rootNode, DouiServiceInterfaceInstanceDefinition dsiid, IResource resource, Locale locale, XPath xPath, ServiceInterfaceConfig serviceInterfaceConfig) throws PortalException, XPathExpressionException, IOException
protected String parseLocalizedString(IResource resource, String documentation) throws IOException
IOException
protected GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage createNewServiceInterfaceImageEntry(String pathToImage)
createNewServiceInterfaceImageEntry
in class GenericServiceInterfaceDocumentationGenerator
protected void addServiceImageToTemplate(String pathToImage, ServiceInterfaceConfig serviceInterfaceConfig, Locale locale, IDocumentationTemplate template) throws PortalException
addServiceImageToTemplate
in class GenericServiceInterfaceDocumentationGenerator
PortalException
protected String getImageUrl(String filePath, ServiceInterfaceConfig serviceInterfaceConfig, String serviceInstanceId, Locale locale, IDocumentationTemplate template) throws PortalException
getImageUrl
in class GenericServiceInterfaceDocumentationGenerator
PortalException
protected void documentationSetTemplateSectionFields(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, Node sourceNode, IDocumentationTemplate.DocumentationSection dataSection) throws PortalException
PortalException
protected IDocumentationTemplate.DocumentationSectionEntry documentationSetTemplateSectionField(IResource resource, Locale locale, Node fieldNode) throws PortalException
PortalException
protected DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(ServiceInterfaceConfig serviceInterfaceConfig, String originalServiceInstanceId) throws PortalException
PortalException
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.