# HG changeset patch # User ganjoo # Date 1307484050 14400 # Node ID d5cd409b8a18bf6187e5882510ba38824bf92f43 Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/DeleteTool1.py~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/DeleteTool1.py~ Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,46 @@ +import os + +galaxyhome=os.environ.get('GALAXY_HOME') + +f1=open(galaxyhome+'/tool_conf.xml','r') +f1.seek(0,0) + +f3=open(galaxyhome+'/tools/WebServiceToolWorkflow/DeleteTool2.xml','w') +f3.seek(0,0) + +f3.write('\n') +f3.write(' :Choose Web Service Tool to be deleted \n') + +f3.write(' \n DeleteTool2.py \n'+' $output \n $tool \n \n') +f3.write(' \n \n') + + +##first copy everything upto WebServiceTool1.xml into another file f2 +line = f1.readline() +lineStripped=line.lstrip() + +while not lineStripped == '
\n': + line = f1.readline() + lineStripped = line.lstrip() +else: + print line + +i=0 +while not lineStripped == '
\n': + i=i+1 + line = f1.readline() + lineStripped = line.lstrip() +else: + print line + +j=0 +while not j==i-1: + j=j+1 + f3.write(' \n') +else: + print i + +f3.write(' \n
\n') +f3.write(' \n \n \n') +f3.write(' \n \n
') + diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/DeleteTool1.xml~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/DeleteTool1.xml~ Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,32 @@ + + :Verify user + + DeleteTool1.py + $password + $output + + + + + + + + + + + + + + + + + +.. class:: infomark + +**TIP:** Only users with pseudo-admin priviledges can delete tools. To get access to this tool +email sganjoo@uga.edu + + + + + diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/DeleteTool2.py~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/DeleteTool2.py~ Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,83 @@ +import os,sys +import string + +clientNo = string.atoi(sys.argv[1]) + +#outputfile=open(sys.argv[1],'w') +#outputfile.seek(0,0) + +galaxyhome=os.environ.get('GALAXY_HOME') +f1=open(galaxyhome+'/tool_conf.xml','r') +f1.seek(0,0) +f2=open(galaxyhome+'/tool_conf_backup1.xml','w') +f2.seek(0,0) + +line = f1.readline() +f2.write(line) + +lineStripped=line.lstrip() +while not lineStripped == '
\n': + line = f1.readline() + lineStripped = line.lstrip() + f2.write(line) +else: + print line + + +i=1 +while not i==clientNo: + line = f1.readline() + lineStripped = line.lstrip() + f2.write(line) + i=i+1 +else: + line = f1.readline() + +while not lineStripped == '
\n': + line = f1.readline() + lineStripped = line.lstrip() + f2.write(line) +else: + print line + +i=1 +while not i==clientNo: + line = f1.readline() + lineStripped = line.lstrip() + f2.write(line) + i=i+1 +else: + line = f1.readline() + +while not lineStripped == '\n': + line = f1.readline() + f2.write(line) + lineStripped = line.lstrip() +else: + print line + +##close f1 and f2 +f1.close() +f2.close() + +f1=open(galaxyhome+'/tool_conf.xml','w') +f1.seek(0,0) +f2=open(galaxyhome+'/tool_conf_backup1.xml','r') +f2.seek(0,0) + +line = f2.readline() +f1.write(line) + +lineStripped=line.lstrip() + +##write entire f2 into f1 (reverse roles) +while not lineStripped == '\n': + line = f2.readline() + f1.write(line) + lineStripped = line.lstrip() +else: + print line + +f1.close() +f2.close() + diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/LICENSE.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/LICENSE.txt Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,7 @@ +Copyright (c) 2010, Sumedha Ganjoo and the University of Georgia + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/LICENSE.txt~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/LICENSE.txt~ Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,7 @@ +Copyright (c) 2009, John A. Miller and the University of Georgia + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/.classpath --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/.classpath Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/.project --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/.project Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,17 @@ + + + ParserForWADL + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/.settings/org.eclipse.jdt.core.prefs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/.settings/org.eclipse.jdt.core.prefs Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,12 @@ +#Mon Apr 12 19:03:29 EDT 2010 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Application.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Application.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Doc.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Doc.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Grammar.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Grammar.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Include.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Include.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Link.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Link.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Method.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Method.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Option.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Option.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Param.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Param.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Representation.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Representation.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Request.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Request.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Resource.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Resource.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Resources.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Resources.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Response.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/Response.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/WADLConstant.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/WADLConstant.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/WADLParser.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/WADLParser.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/lsdis/WADLParserDriver.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/lsdis/WADLParserDriver.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/trial.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/trial.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/bin/trialWADLParserDriver.class Binary file WebServiceToolWorkflow/ParserForWADL/bin/trialWADLParserDriver.class has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/lib/JdomParser.jar Binary file WebServiceToolWorkflow/ParserForWADL/lib/JdomParser.jar has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/lib/jaxen.jar Binary file WebServiceToolWorkflow/ParserForWADL/lib/jaxen.jar has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/lib/saxpath.jar Binary file WebServiceToolWorkflow/ParserForWADL/lib/saxpath.jar has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/lib/xalan.jar Binary file WebServiceToolWorkflow/ParserForWADL/lib/xalan.jar has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/lib/xerces.jar Binary file WebServiceToolWorkflow/ParserForWADL/lib/xerces.jar has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/lib/xml-apis.jar Binary file WebServiceToolWorkflow/ParserForWADL/lib/xml-apis.jar has changed diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Application.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Application.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,108 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Application.java . + * Created on : Nov 22, 2009 at 3:20:25 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.util.List; +import java.util.Map; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Application +{ + + private List resources; + private List docs; + private Grammar grammar; + private Map namespaces; + + public Application() + { + } + + public Application(List resources, List docs, Grammar grammar, Map namespaces) + { + this.resources = resources; + this.docs = docs; + this.grammar = grammar; + this.namespaces = namespaces; + } + + public List getDocs() + { + return docs; + } + + public void setDocs(List doc) + { + this.docs = doc; + } + + public Grammar getGrammar() + { + return grammar; + } + + public void setGrammar(Grammar grammar) + { + this.grammar = grammar; + } + + public Map getNamespaces() + { + return namespaces; + } + + public void setNamespaces(Map namespaces) + { + this.namespaces = namespaces; + } + + public List getResources() + { + return resources; + } + + public void setResources(List resources) + { + this.resources = resources; + } + + +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Doc.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Doc.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,91 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Doc.java . + * Created on : Nov 22, 2009 at 3:29:12 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Doc +{ + + private String title; + private String lang; + private String innerText; + + public Doc() + { + } + + public Doc(String title, String lang, String innerText) + { + this.title = title; + this.lang = lang; + this.innerText = innerText; + } + + public String getLang() + { + return lang; + } + + public void setLang(String lang) + { + this.lang = lang; + } + + public String getTitle() + { + return title; + } + + public void setTitle(String title) + { + this.title = title; + } + + public String getInnerText() + { + return innerText; + } + + public void setInnerText(String innerText) + { + this.innerText = innerText; + } +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Grammar.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Grammar.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,81 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Grammar.java . + * Created on : Nov 22, 2009 at 3:30:09 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.util.List; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Grammar +{ + + List docs; + List include; + + public Grammar() + { + } + + public Grammar(List docs, List include) + { + this.docs = docs; + this.include = include; + } + + public List getDocs() + { + return docs; + } + + public void setDocs(List docs) + { + this.docs = docs; + } + + public List getInclude() + { + return include; + } + + public void setInclude(List include) + { + this.include = include; + } +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Include.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Include.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,82 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Include.java . + * Created on : Nov 22, 2009 at 4:17:58 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.net.URI; +import java.util.List; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Include +{ + + List docs; + URI href; + + public Include() + { + } + + public Include(List docs, URI href) + { + this.docs = docs; + this.href = href; + } + + public List getDocs() + { + return docs; + } + + public void setDocs(List docs) + { + this.docs = docs; + } + + public URI getHref() + { + return href; + } + + public void setHref(URI href) + { + this.href = href; + } +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Link.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Link.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,105 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Link.java . + * Created on : Nov 22, 2009 at 4:54:49 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.util.List; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Link +{ + + private List docs; + private String resource_type; + private String rel; + private String rev; + + public Link(List docs, String resource_type, String rel, String rev) + { + this.docs = docs; + this.resource_type = resource_type; + this.rel = rel; + this.rev = rev; + } + + public Link() + { + } + + public List getDocs() + { + return docs; + } + + public void setDocs(List docs) + { + this.docs = docs; + } + + public String getRel() + { + return rel; + } + + public void setRel(String rel) + { + this.rel = rel; + } + + public String getResource_type() + { + return resource_type; + } + + public void setResource_type(String resource_type) + { + this.resource_type = resource_type; + } + + public String getRev() + { + return rev; + } + + public void setRev(String rev) + { + this.rev = rev; + } +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Method.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Method.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,130 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Method.java . + * Created on : Nov 22, 2009 at 4:04:55 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.net.URI; +import java.util.List; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Method +{ + + private List docs; + private Request request; + private List response; + private String id; + private String name; + private URI href; + + public Method() + { + } + + public Method(List docs, Request request, List response, String id, String name, URI href) + { + this.docs = docs; + this.request = request; + this.response = response; + this.id = id; + this.name = name; + this.href = href; + } + + public List getDocs() + { + return docs; + } + + public void setDocs(List docs) + { + this.docs = docs; + } + + public URI getHref() + { + return href; + } + + public void setHref(URI href) + { + this.href = href; + } + + public String getId() + { + return id; + } + + public void setId(String id) + { + this.id = id; + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public Request getRequest() + { + return request; + } + + public void setRequest(Request request) + { + this.request = request; + } + + public List getResponse() + { + return response; + } + + public void setResponse(List response) + { + this.response = response; + } +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Option.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Option.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,93 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Option.java . + * Created on : Nov 22, 2009 at 4:53:33 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.util.List; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Option +{ + + private List docs; + private String name; + private String mediaType; + + public Option() + { + } + + public Option(List docs, String name, String mediaType) + { + this.docs = docs; + this.name = name; + this.mediaType = mediaType; + } + + public List getDocs() + { + return docs; + } + + public void setDocs(List docs) + { + this.docs = docs; + } + + public String getMediaType() + { + return mediaType; + } + + public void setMediaType(String mediaType) + { + this.mediaType = mediaType; + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } +} diff -r 000000000000 -r d5cd409b8a18 WebServiceToolWorkflow/ParserForWADL/src/lsdis/Param.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/ParserForWADL/src/lsdis/Param.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,213 @@ +/* + * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. + * + * Author : Srikalyan Swayampakula. . + * Name of the File : Param.java . + * Created on : Nov 22, 2009 at 4:03:57 PM . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * 3. Neither the name of the University of Georgia nor the names + * of its contributors may be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package lsdis; + +import java.net.URI; +import java.util.List; + +/** + * + * @author Srikalyan Swayampakula. + */ +public class Param +{ + + private List docs; + private List