Package simplenlg.xmlrealiser.wrapper

Examples of simplenlg.xmlrealiser.wrapper.NLGSpec


    // of the file, once,
    // instead of on the elements.
    m.setProperty("com.sun.xml.internal.bind.namespacePrefixMapper",
        new RecordingNamespacePrefixMapper());

    NLGSpec nlg = new NLGSpec();
    nlg.setRecording(record);

    StringWriter osTemp = new StringWriter();
    m.marshal(nlg, osTemp);

    // Prettify it.
View Full Code Here

TOP

Related Classes of simplenlg.xmlrealiser.wrapper.NLGSpec

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.