org.apache.vinci.transport.document
Class XMLToXTalk
java.lang.Object
org.apache.vinci.transport.document.XMLToXTalk
public class XMLToXTalk
- extends java.lang.Object
Class for parsing an XML document and converting directly to XTalk.
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
xmlToXTalk(java.io.Reader r,
java.lang.String filename,
boolean purgeWhitespace,
java.lang.String xml_filename)
Right now we assume there are NO processing instructions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmlToXTalk
public static void xmlToXTalk(java.io.Reader r,
java.lang.String filename,
boolean purgeWhitespace,
java.lang.String xml_filename)
throws ServiceException,
java.io.IOException
- Right now we assume there are NO processing instructions. Given an XML file, create an XTalk
representation of that data. If xml_filename is non-null, then this method will also create a
UTF-8 representation of the xml file, exactly mimicing the XTalk encoding (e.g. removing
irrelevant whitespace, expanding entity refs, etc).
- Throws:
ServiceException
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.