public class SARAnnotationWriter extends Object
| Constructor and Description |
|---|
SARAnnotationWriter(OutputStream stream) |
SARAnnotationWriter(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
writeAnnotation(SARAnnotation sarAnnotation) |
void |
writeAnnotations(Iterable<SARAnnotation> sarAnnotations) |
public SARAnnotationWriter(OutputStream stream) throws IOException, ParserConfigurationException
public SARAnnotationWriter(String path) throws IOException, ParserConfigurationException
public void close()
public void writeAnnotation(SARAnnotation sarAnnotation) throws TransformerException
TransformerExceptionpublic void writeAnnotations(Iterable<SARAnnotation> sarAnnotations) throws TransformerException
TransformerException