Commit 04b6fc99 authored by lindenb's avatar lindenb
Browse files

cont

parent 5f5efbad
import gov.nih.nlm.ncbi.snp.docsum.*;
import https.www_ncbi_nlm_nih_gov.snp.docsum.*;
import javax.xml.bind.*;
import javax.xml.stream.*;
import javax.xml.stream.events.*;
......@@ -6,7 +6,7 @@ class ParseDbSnp
{
public static void main(String[] args) throws Exception
{
JAXBContext jaxbCtxt=JAXBContext.newInstance("gov.nih.nlm.ncbi.snp.docsum");
JAXBContext jaxbCtxt=JAXBContext.newInstance("https.www_ncbi_nlm_nih_gov.snp.docsum");
Unmarshaller unmarshaller=jaxbCtxt.createUnmarshaller();
XMLInputFactory ifactory = XMLInputFactory.newInstance();
XMLEventReader r= ifactory.createXMLEventReader(System.in);
......
......@@ -1616,7 +1616,8 @@ ementFormDefault="qualified" attributeFormDefault="unqualified">
\subsubsection{Compiling the XML Schema for dbSNP with XJC}
\begin{lstlisting}[language=bash,basicstyle=\tiny,breaklines=false]
$ xjc -d . "ftp://ftp.ncbi.nlm.nih.gov/snp/specs/docsum_3.3.xsd"
$ wget -O docsum_3.4.xsd "ftp://ftp.ncbi.nlm.nih.gov/snp/specs/docsum_3.4.xsd"
$ xjc -d . docsum_3.4.xsd
parsing a schema...
compiling a schema...
gov/nih/nlm/ncbi/snp/docsum/Assay.java
......@@ -1646,7 +1647,7 @@ gov/nih/nlm/ncbi/snp/docsum/package-info.java
Search the non-genomic rs\# in dbSNP.
\begin{lstlisting}[language=java,basicstyle=\tiny]
import gov.nih.nlm.ncbi.snp.docsum.*;
import https.www_ncbi_nlm_nih_gov.snp.docsum.*;
import javax.xml.bind.*;
import javax.xml.stream.*;
import javax.xml.stream.events.*;
......@@ -1654,7 +1655,7 @@ class ParseDbSnp
{
public static void main(String[] args) throws Exception
{
JAXBContext jaxbCtxt=JAXBContext.newInstance("gov.nih.nlm.ncbi.snp.docsum");
JAXBContext jaxbCtxt=JAXBContext.newInstance("https.www_ncbi_nlm_nih_gov.snp.docsum");
Unmarshaller unmarshaller=jaxbCtxt.createUnmarshaller();
XMLInputFactory ifactory = XMLInputFactory.newInstance();
XMLEventReader r= ifactory.createXMLEventReader(System.in);
......@@ -1682,7 +1683,7 @@ class ParseDbSnp
\subsubsection{Compiling the XML Schema for dbSNP with XJC}
compile...
\begin{lstlisting}[language=bash,basicstyle=\tiny,breaklines=false]
$ javac ParseDbSnp.java gov/nih/nlm/ncbi/snp/docsum/*.java
$ javac ParseDbSnp.java https/www_ncbi_nlm_nih_gov/snp/docsum/*.java
\end{lstlisting}
and run...
\begin{lstlisting}[language=bash,basicstyle=\tiny,breaklines=false]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment