@CreoleResource(name="Inline XML Exporter", tool=true, autoinstances=, icon="InlineXML") public class InlineXMLExporter extends DocumentExporter
defaultExtension, fileType, filter, mimeTypenamefeatures| Constructor and Description |
|---|
InlineXMLExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(Document doc,
OutputStream out,
FeatureMap options)
Exports the provided
Document instance to the specified
OutputStream using the specified options. |
String |
getAnnotationSetName() |
List<String> |
getAnnotationTypes() |
String |
getEncoding() |
Boolean |
getIncludeFeatures() |
Boolean |
getIncludeOriginalMarkups() |
String |
getRootElement() |
void |
setAnnotationSetName(String annotationSetName) |
void |
setAnnotationTypes(List<String> annotationTypes) |
void |
setEncoding(String encoding) |
void |
setIncludeFeatures(Boolean includeFeatures) |
void |
setIncludeOriginalMarkups(Boolean includeOriginalMarkups) |
void |
setRootElement(String rootElement) |
export, export, export, getDefaultExtension, getFileFilter, getFileType, getInstance, getMimeType, getNamecheckParameterValues, cleanup, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getParameterValue, getParameterValue, getParameterValues, init, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringgetFeatures, setFeaturesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFeatures, setFeaturespublic String getAnnotationSetName()
public String getEncoding()
@RunTime @CreoleParameter(defaultValue="UTF-8") public void setEncoding(String encoding)
public String getRootElement()
@RunTime @Optional @CreoleParameter public void setRootElement(String rootElement)
@RunTime @Optional @CreoleParameter public void setAnnotationSetName(String annotationSetName)
@RunTime @CreoleParameter(defaultValue="Person;Location;Organization") public void setAnnotationTypes(List<String> annotationTypes)
public Boolean getIncludeOriginalMarkups()
@RunTime @CreoleParameter(defaultValue="false") public void setIncludeOriginalMarkups(Boolean includeOriginalMarkups)
public Boolean getIncludeFeatures()
@RunTime @CreoleParameter(defaultValue="true") public void setIncludeFeatures(Boolean includeFeatures)
public void export(Document doc, OutputStream out, FeatureMap options) throws IOException
DocumentExporterDocument instance to the specified
OutputStream using the specified options.export in class DocumentExporterdoc - the document to exportout - the OutputStream to export the document tooptions - DocumentExporter specific optionsIOExceptionCopyright © 2024 GATE. All rights reserved.