Author: kono
Date: 2010-02-02 18:57:06 -0800 (Tue, 02 Feb 2010)
New Revision: 19159
Removed:
csplugins/trunk/ucsd/kono/BiomartClient/src/edu/ucsd/bioeng/idekerlab/biomartclient/utils/BiomartXMLQuery.java
Log:
Unused class removed.
Deleted:
csplugins/trunk/ucsd/kono/BiomartClient/src/edu/ucsd/bioeng/idekerlab/biomartclient/utils/BiomartXMLQuery.java
===================================================================
---
csplugins/trunk/ucsd/kono/BiomartClient/src/edu/ucsd/bioeng/idekerlab/biomartclient/utils/BiomartXMLQuery.java
2010-02-03 02:40:59 UTC (rev 19158)
+++
csplugins/trunk/ucsd/kono/BiomartClient/src/edu/ucsd/bioeng/idekerlab/biomartclient/utils/BiomartXMLQuery.java
2010-02-03 02:57:06 UTC (rev 19159)
@@ -1,55 +0,0 @@
-package edu.ucsd.bioeng.idekerlab.biomartclient.utils;
-
-import java.io.StringWriter;
-
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import com.sun.org.apache.xerces.internal.impl.xs.opti.DefaultDocument;
-
-public class BiomartXMLQuery extends DefaultDocument {
-
- private enum Format {
- XSL, HTML, TSV;
- }
-
-
- private static final String ENCODING = "UTF-8";
-
- private String virtualSchemaName;
- private String formatter;
-
-
- public String getQueryString() {
- final TransformerFactory tff = TransformerFactory.newInstance();
- final Transformer tf;
-
- String result = null;
- try {
- tf = tff.newTransformer();
- tf.setOutputProperty(OutputKeys.ENCODING, ENCODING);
-
- StringWriter strWtr = new StringWriter();
- StreamResult strResult = new StreamResult(strWtr);
-
-
- tf.transform(new DOMSource(this.getDocumentElement()),
strResult);
-
- result = strResult.getWriter().toString();
-
- } catch (TransformerConfigurationException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (TransformerException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
-
- return result;
- }
-}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.