Package org.apache.uima.cas.impl

Examples of org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer


      FileOutputStream out = null;

      try {
        // write XMI
        out = new FileOutputStream(name);
        XmiCasSerializer ser = new XmiCasSerializer(aCas.getTypeSystem());
        XMLSerializer xmlSer = new XMLSerializer(out, false);
        ser.serialize(aCas, xmlSer.getContentHandler());
      } finally {
        if (out != null) {
          out.close();
        }
      }
View Full Code Here

TOP

Related Classes of org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.