MCPcopy Create free account
hub / github.com/GateNLP/gate-core / toXml

Method toXml

src/main/java/gate/corpora/DocumentImpl.java:763–766  ·  view source on GitHub ↗

Returns an XML document aming to preserve the original markups( the original markup will be in the same place and format as it was before processing the document) and include (if possible) the annotations specified in the aSourceAnnotationSet. It is equivalent to toXml(aSourceAnnotationSet, true).

(Set<Annotation> aSourceAnnotationSet)

Source from the content-addressed store, hash-verified

761 * toXml(aSourceAnnotationSet, true).
762 */
763 @Override
764 public String toXml(Set<Annotation> aSourceAnnotationSet) {
765 return toXml(aSourceAnnotationSet, true);
766 }
767
768 /**
769 * Returns an XML document aming to preserve the original markups( the

Callers

nothing calls this directly

Calls 15

getAnnotationsMethod · 0.95
statusChangedMethod · 0.95
insertsSafetyMethod · 0.95
prlnMethod · 0.95
getContentMethod · 0.95
getFeaturesMethod · 0.95
getEncodingMethod · 0.95
getNlMethod · 0.95
writeStartTagMethod · 0.95

Tested by

no test coverage detected