[jboss-svn-commits] JBL Code SVN: r36363 - in labs/jbossesb/workspace/johan.kumps/product/services/semantics: src/main/java/org and 44 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Dec 10 17:59:47 EST 2010
Author: johan.kumps
Date: 2010-12-10 17:59:44 -0500 (Fri, 10 Dec 2010)
New Revision: 36363
Added:
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/OldServiceInvocationAction.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/query/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/query/SparQLQueryAction.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/ExceptionConstants.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/rdf.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/result.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-fault-types.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-request-types.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-response-types.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/rdf.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/result.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-types.xsd
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/quickstart/webservice_proxy_basic/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/quickstart/webservice_proxy_basic/SparqlQueryService.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.class
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/view/
labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/view/index.jsp
Modified:
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/ServiceInvocationAction.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/configuration/OWLKnowledgeBaseManager.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/Constants.java
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/META-INF/jboss-esb.xml
labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/jbm-queue-service.xml
Log:
Copied: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/OldServiceInvocationAction.java (from rev 35972, labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/ServiceInvocationAction.java)
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/OldServiceInvocationAction.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/OldServiceInvocationAction.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,464 @@
+package org.jboss.soa.esb.services.semantics.actions.invocation;
+
+import java.io.ByteArrayOutputStream;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Marshaller;
+import javax.xml.bind.PropertyException;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.services.semantics.configuration.OWLKnowledgeBaseManager;
+import org.jboss.soa.esb.services.semantics.model.ConceptValueType;
+import org.jboss.soa.esb.services.semantics.model.DataTypeValueType;
+import org.jboss.soa.esb.services.semantics.model.ObjectFactory;
+import org.jboss.soa.esb.services.semantics.model.ObjectTypeInputType;
+import org.jboss.soa.esb.services.semantics.model.ObjectTypeValueType;
+import org.jboss.soa.esb.services.semantics.model.ServiceQueryResponseType;
+import org.jboss.soa.esb.services.semantics.model.ServiceQueryRequestType.Inputs;
+import org.jboss.soa.esb.services.semantics.model.ServiceQueryResponseType.Outputs;
+import org.jboss.soa.esb.services.semantics.monitoring.ServiceInvocationMBean;
+import org.jboss.soa.esb.services.semantics.monitoring.model.ServiceMetatDataType;
+import org.jboss.soa.esb.services.semantics.utils.Constants;
+import org.mindswap.exceptions.ExecutionException;
+import org.mindswap.owl.OWLClass;
+import org.mindswap.owl.OWLDataProperty;
+import org.mindswap.owl.OWLDataValue;
+import org.mindswap.owl.OWLIndividual;
+import org.mindswap.owl.OWLIndividualList;
+import org.mindswap.owl.OWLKnowledgeBase;
+import org.mindswap.owl.OWLObjectProperty;
+import org.mindswap.owl.OWLProperty;
+import org.mindswap.owl.OWLType;
+import org.mindswap.owl.OWLValue;
+import org.mindswap.owls.OWLSFactory;
+import org.mindswap.owls.process.Process;
+import org.mindswap.owls.process.execution.ProcessExecutionEngine;
+import org.mindswap.owls.process.variable.Input;
+import org.mindswap.owls.process.variable.Output;
+import org.mindswap.owls.service.Service;
+import org.mindswap.query.ValueMap;
+import org.mindswap.utils.Utils;
+
+/**
+ * This service invocation action invoking the selected service.
+ *
+ * @author <a href="mailto:johan.kumps at telenet.be">Johan Kumps</a>
+ *
+ */
+public class OldServiceInvocationAction extends AbstractActionLifecycle {
+
+ /**
+ * The Logger instance for this action
+ */
+ private static Logger logger = Logger
+ .getLogger(OldServiceInvocationAction.class);
+
+ private JAXBContext jaxbContext = null;
+ private Marshaller marshaller = null;
+
+ public OldServiceInvocationAction(ConfigTree config)
+ throws ConfigurationException {
+ try {
+ jaxbContext = JAXBContext
+ .newInstance(Constants.SEMANTIC_MODEL_PACKAGE);
+ marshaller = jaxbContext.createMarshaller();
+ } catch (JAXBException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * Method executing the service identified by the given {@link java.net.URI}
+ * using the given inputs.
+ *
+ * @param serviceURI
+ * the service to be executed.
+ * @param inputs
+ * the inputs to be used when invoking the service
+ * @return the outputs generated by the service upon invocation.
+ * @throws URISyntaxException
+ */
+ public Message invoke(Message message) throws ActionProcessingException {
+
+ List<URI> uriSelectedServices = (List<URI>) message.getBody().get(
+ Constants.SELECTED_SERVICES_URI_MESSAGE_KEY);
+ String messageID = (String) message.getBody().get("messageID");
+
+ OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
+ .getInstance().getOwlKnowledgeBase();
+
+ Process process = null;
+ List userInputs = null;
+
+ ProcessExecutionEngine processExecutionEngine = OWLSFactory
+ .createExecutionEngine();
+
+ ValueMap<Output, OWLValue> outputs = new ValueMap<Output, OWLValue>();
+
+ List<ServiceMetatDataType> invokedServices = new ArrayList<ServiceMetatDataType>();
+
+ URI currentServiceURI = null;
+ Service currentService = null;
+ for (Iterator<URI> iter = uriSelectedServices.iterator(); iter
+ .hasNext();) {
+ currentServiceURI = iter.next();
+
+ currentService = owlKnowledgeBase.getService(currentServiceURI);
+ process = currentService.getProcess();
+
+ if (!((Inputs) message.getBody().get(
+ Constants.CONSUMER_INPUTS_MESSAGE_KEY))
+ .getObjectTypeInput().isEmpty()) {
+ userInputs = ((Inputs) message.getBody().get(
+ Constants.CONSUMER_INPUTS_MESSAGE_KEY))
+ .getObjectTypeInput();
+ try {
+ outputs = processExecutionEngine.execute(process, this
+ .buildProcessInputsObjectTypeInputs(userInputs,
+ process, currentServiceURI),
+ owlKnowledgeBase);
+ invokedServices
+ .add(this.getServiceMetaData(currentService));
+ } catch (ExecutionException e) {
+ e.getCause().printStackTrace();
+ logger.error(e.getMessage());
+ throw new ActionProcessingException(e);
+ }
+
+ } else if (!((Inputs) message.getBody().get(
+ Constants.CONSUMER_INPUTS_MESSAGE_KEY)).getDataTypeInput()
+ .isEmpty()) {
+ userInputs = ((Inputs) message.getBody().get(
+ Constants.CONSUMER_INPUTS_MESSAGE_KEY))
+ .getDataTypeInput();
+ try {
+ outputs.putMap(processExecutionEngine.execute(process, this
+ .buildProcessInputsDataTypeInputs(userInputs,
+ process, currentServiceURI),
+ owlKnowledgeBase));
+ invokedServices
+ .add(this.getServiceMetaData(currentService));
+ } catch (ExecutionException e) {
+ logger.error(e.getMessage());
+ throw new ActionProcessingException(e);
+ }
+ }
+ }
+
+ ServiceInvocationMBean.getInstance().setServicesLastInvocation(
+ invokedServices);
+
+ this.buildResponseMessage(this.buildServiceQueryResponseType(messageID,
+ outputs, process), message);
+
+ return message;
+
+ }
+
+ private ServiceMetatDataType getServiceMetaData(Service currentService) {
+ ServiceMetatDataType serviceMetatDataType = new ServiceMetatDataType();
+ serviceMetatDataType.setName(currentService.getName());
+ serviceMetatDataType.setDescription(currentService.getProfile()
+ .getTextDescription());
+ serviceMetatDataType.setUri(currentService.getURI().toString());
+ return serviceMetatDataType;
+ }
+
+ /**
+ * This method converts the base data type consumer inputs into the
+ * parameters for the execution engine
+ *
+ * @param userInputs
+ * the consumer inputs to convert
+ * @param process
+ * the process inputs
+ * @param serviceURI
+ * the uri of the service to invoke
+ * @return the inputs for the execution engine
+ */
+ private ValueMap<Input, OWLValue> buildProcessInputsDataTypeInputs(
+ List<DataTypeValueType> userInputs, Process process, URI serviceURI) {
+ // initialize the input values to be empty
+ ValueMap<Input, OWLValue> inputs = new ValueMap<Input, OWLValue>();
+ OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
+ .getInstance().getOwlKnowledgeBase();
+
+ DataTypeValueType currentUserInput = null;
+
+ // looping over all given inputs
+ for (int i = 0; i < userInputs.size(); i++) {
+ currentUserInput = userInputs.get(i);
+
+ // get the parameter using the local name
+ inputs.setValue(process.getInput(owlKnowledgeBase.getEntity(
+ URI.create(currentUserInput.getName())).getLocalName()),
+ owlKnowledgeBase.createDataValue(currentUserInput
+ .getValue()));
+ }
+
+ return inputs;
+ }
+
+ /**
+ * This method converts the object type consumer inputs into the parameters
+ * for the execution engine
+ *
+ * @param userInputs
+ * the consumer inputs to convert
+ * @param process
+ * the process inputs
+ * @param serviceURI
+ * the uri of the service to invoke
+ * @return the inputs for the execution engine
+ */
+ private ValueMap<Input, OWLValue> buildProcessInputsObjectTypeInputs(
+ List<ObjectTypeInputType> userInputs, Process process,
+ URI serviceURI) {
+ // initialize the input values to be empty
+ ValueMap<Input, OWLValue> inputs = new ValueMap<Input, OWLValue>();
+ OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
+ .getInstance().getOwlKnowledgeBase();
+
+ OWLIndividualList<Input> processInputs = process.getInputs();
+ ObjectTypeInputType currentUserInput = null;
+
+ OWLClass rootClass = null;
+ OWLIndividual rootIndividual = null;
+
+ DataTypeValueType currentDataValue = null;
+ OWLDataProperty currentDataProperty = null;
+
+ ObjectTypeValueType currentObjectValue = null;
+ OWLClass currentObjectValueClass = null;
+ OWLIndividual currentObjectValueIndividual = null;
+ OWLObjectProperty currentObjectProperty = null;
+ DataTypeValueType currentObjectValueDataValue = null;
+ OWLDataProperty currentObjectValueDataProperty = null;
+
+ // String currentProcessInputLocalName = null;
+
+ try {
+ // looping over all given inputs
+ for (int i = 0; i < userInputs.size(); i++) {
+ currentUserInput = userInputs.get(i);
+ // root instance
+ rootClass = owlKnowledgeBase.getClass(new URI(currentUserInput
+ .getClazz()));
+ rootIndividual = owlKnowledgeBase.createInstance(rootClass,
+ null);
+
+ if (logger.isDebugEnabled()) {
+ logger.debug("rootClass : " + rootClass);
+ logger.debug("rootIndividual : " + rootIndividual);
+ }
+ // Lowering all datavalues
+ for (Iterator<DataTypeValueType> dataValueIterator = currentUserInput
+ .getDataTypeValue().iterator(); dataValueIterator
+ .hasNext();) {
+ currentDataValue = dataValueIterator.next();
+ currentDataProperty = owlKnowledgeBase
+ .getDataProperty(new URI(currentDataValue.getName()));
+ if (logger.isDebugEnabled()) {
+ logger.debug("currentDataProperty : "
+ + currentDataProperty);
+ }
+ rootIndividual.addProperty(currentDataProperty,
+ currentDataValue.getValue());
+ }
+ // transfering all objectvalues
+ for (Iterator<ObjectTypeValueType> objectValueIterator = currentUserInput
+ .getObjectTypeValue().iterator(); objectValueIterator
+ .hasNext();) {
+ currentObjectValue = objectValueIterator.next();
+ currentObjectValueClass = owlKnowledgeBase
+ .getClass(new URI(currentObjectValue.getClazz()));
+ currentObjectValueIndividual = owlKnowledgeBase
+ .createInstance(currentObjectValueClass, null);
+
+ if (logger.isDebugEnabled()) {
+ logger.debug("currentObjectValueClass : "
+ + currentObjectValueClass);
+ logger.debug("currentObjectValueIndividual : "
+ + currentObjectValueIndividual);
+ }
+ // looping data values of the current object value
+ for (Iterator<DataTypeValueType> objectValueDataValueIterator = currentObjectValue
+ .getDataValue().iterator(); objectValueDataValueIterator
+ .hasNext();) {
+ currentObjectValueDataValue = objectValueDataValueIterator
+ .next();
+ currentObjectValueDataProperty = owlKnowledgeBase
+ .getDataProperty(new URI(
+ currentObjectValueDataValue.getName()));
+ currentObjectValueIndividual.addProperty(
+ currentObjectValueDataProperty,
+ currentObjectValueDataValue.getValue());
+
+ if (logger.isDebugEnabled()) {
+ logger.debug("currentObjectValueDataProperty : "
+ + currentObjectValueDataProperty);
+ }
+ }
+ // owlKnowledgeBase.getEntity(URI.create(currentObjectValue.getConcept())).getLocalName()
+
+ currentObjectProperty = owlKnowledgeBase
+ .getObjectProperty(URI.create(currentObjectValue
+ .getName()));
+ rootIndividual.addProperty(currentObjectProperty,
+ currentObjectValueIndividual);
+ }
+ if (logger.isDebugEnabled()) {
+ logger.debug("Genereted RDF : "
+ + rootIndividual.toRDF(true, true));
+ }
+
+ // get the parameter using the local name
+ inputs.setValue(process.getInput(processInputs.get(0)
+ .getLocalName()), rootIndividual);
+ }
+
+ } catch (URISyntaxException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ return inputs;
+ }
+
+ /**
+ * This message builds a ServiceQueryResponseType instance based on the
+ * outputs of the service
+ *
+ * @param messageId
+ * the id of the consumer request
+ * @param outputs
+ * the service outputs (effects)
+ * @param process
+ * the process being invoked
+ * @return the ServiceQueryResponseType containing the effects of the
+ * service
+ */
+ private ServiceQueryResponseType buildServiceQueryResponseType(
+ String messageId, ValueMap<Output, OWLValue> outputs,
+ Process process) {
+
+ Output currentOutput = null;
+ OWLIndividual currentOwlIndividual = null;
+ Outputs serviceOutputs = ObjectFactory.getInstance()
+ .createServiceQueryResponseTypeOutputs();
+ ServiceQueryResponseType serviceQueryResponse = ObjectFactory
+ .getInstance().createServiceQueryResponseType();
+ for (Iterator<Output> iter = outputs.getVariables().iterator(); iter
+ .hasNext();) {
+ currentOutput = iter.next();
+
+ ConceptValueType output = ObjectFactory.getInstance()
+ .createConceptValueType();
+ if (currentOutput.getParamType().isClass()) {
+ currentOwlIndividual = outputs.getIndividualValue(currentOutput);
+
+ Set<OWLProperty> keys = currentOwlIndividual.getProperties().keySet();
+ OWLProperty currentProperty = null;
+
+ StringBuffer outString = new StringBuffer("SymposiumConcepts.owlBestBuyInformation\n");
+ for (Iterator<OWLProperty> iter2 = keys.iterator(); iter2.hasNext();){
+ currentProperty = iter2.next();
+ if (currentProperty.isDatatypeProperty()){
+ outString.append(currentProperty.getLocalName() + " = " + currentOwlIndividual.getProperty((OWLDataProperty)currentProperty).getValue() + "\n");
+ }
+ }
+
+ output.setDataValue(outString.toString());
+ } else {
+ output.setDataValue(outputs.getDataValue(
+ currentOutput.getName()).toString());
+ }
+
+ output.setConcept(currentOutput.getURI().toString());
+
+ serviceOutputs.getOutput().add(output);
+ }
+
+ serviceQueryResponse.setOutputs(serviceOutputs);
+
+ serviceQueryResponse.setId(messageId);
+
+ return serviceQueryResponse;
+ }
+
+ /*
+ * private ServiceQueryResponseType buildServiceQueryResponseType( String
+ * messageId, ValueMap<Output, OWLValue> outputs, Process process) {
+ *
+ * OWLIndividualList<Output> processOutputs = process.getOutputs();
+ *
+ *
+ * Output currentOutput = null;
+ *
+ * ServiceQueryResponseType serviceQueryResponse = ObjectFactory
+ * .getInstance().createServiceQueryResponseType();
+ * serviceQueryResponse.setId(messageId); Outputs serviceOutputs =
+ * ObjectFactory.getInstance() .createServiceQueryResponseTypeOutputs();
+ * OWLIndividual currentOwlIndividual = null; for (int i = 0; i <
+ * processOutputs.size(); i++) { currentOutput = processOutputs.get(i);
+ *
+ * ConceptValueType output = ObjectFactory.getInstance()
+ * .createConceptValueType(); if (currentOutput.getParamType().isClass()) {
+ * currentOwlIndividual = outputs.getIndividualValue(process.getOutput());
+ * output.setDataValue(Utils.formatRDF(currentOwlIndividual.toRDF(true,
+ * true))); } else {
+ * output.setDataValue(outputs.getDataValue(currentOutput.getName())
+ * .toString()); } output.setConcept(currentOutput.getURI().toString());
+ *
+ * serviceOutputs.getOutput().add(output); }
+ * serviceQueryResponse.setOutputs(serviceOutputs);
+ *
+ * return serviceQueryResponse; }
+ */
+
+ /**
+ * Method marshalling the ServiceQueryResponseType into an XML document to
+ * be added to the Message this action returns
+ *
+ * @param serviceQueryResponseType
+ * the ServiceQueryResponseType instance to marshal to an XML
+ * document
+ * @param message
+ * the message to contain the ServiceQueryResponseType as an XML
+ * document
+ * @return the message to be returned by this action
+ */
+ private Message buildResponseMessage(
+ ServiceQueryResponseType serviceQueryResponseType, Message message) {
+ ByteArrayOutputStream outStream = new ByteArrayOutputStream();
+ try {
+ this.marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,
+ Boolean.TRUE);
+ this.marshaller.marshal(ObjectFactory.getInstance()
+ .createServiceQueryResponse(serviceQueryResponseType),
+ outStream);
+ message.getBody().add(outStream.toString());
+ } catch (PropertyException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ } catch (JAXBException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ return message;
+ }
+}
Modified: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/ServiceInvocationAction.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/ServiceInvocationAction.java 2010-12-10 22:55:03 UTC (rev 36362)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/invocation/ServiceInvocationAction.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -1,20 +1,8 @@
package org.jboss.soa.esb.services.semantics.actions.invocation;
-import java.io.ByteArrayOutputStream;
import java.net.URI;
import java.net.URISyntaxException;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import javax.xml.bind.Marshaller;
-import javax.xml.bind.PropertyException;
-
import org.apache.log4j.Logger;
import org.jboss.soa.esb.ConfigurationException;
import org.jboss.soa.esb.actions.AbstractActionLifecycle;
@@ -22,68 +10,71 @@
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.services.semantics.configuration.OWLKnowledgeBaseManager;
-import org.jboss.soa.esb.services.semantics.model.ConceptValueType;
-import org.jboss.soa.esb.services.semantics.model.DataTypeValueType;
-import org.jboss.soa.esb.services.semantics.model.ObjectFactory;
-import org.jboss.soa.esb.services.semantics.model.ObjectTypeInputType;
-import org.jboss.soa.esb.services.semantics.model.ObjectTypeValueType;
-import org.jboss.soa.esb.services.semantics.model.ServiceQueryResponseType;
-import org.jboss.soa.esb.services.semantics.model.ServiceQueryRequestType.Inputs;
-import org.jboss.soa.esb.services.semantics.model.ServiceQueryResponseType.Outputs;
-import org.jboss.soa.esb.services.semantics.monitoring.ServiceInvocationMBean;
-import org.jboss.soa.esb.services.semantics.monitoring.model.ServiceMetatDataType;
import org.jboss.soa.esb.services.semantics.utils.Constants;
+import org.jboss.soa.esb.services.semantics.utils.ExceptionConstants;
import org.mindswap.exceptions.ExecutionException;
-import org.mindswap.owl.OWLClass;
-import org.mindswap.owl.OWLDataProperty;
-import org.mindswap.owl.OWLDataValue;
import org.mindswap.owl.OWLIndividual;
import org.mindswap.owl.OWLIndividualList;
import org.mindswap.owl.OWLKnowledgeBase;
-import org.mindswap.owl.OWLObjectProperty;
-import org.mindswap.owl.OWLProperty;
-import org.mindswap.owl.OWLType;
import org.mindswap.owl.OWLValue;
import org.mindswap.owls.OWLSFactory;
-import org.mindswap.owls.process.Process;
+import org.mindswap.owls.process.execution.DefaultProcessMonitor;
import org.mindswap.owls.process.execution.ProcessExecutionEngine;
import org.mindswap.owls.process.variable.Input;
import org.mindswap.owls.process.variable.Output;
import org.mindswap.owls.service.Service;
+import org.mindswap.owls.process.Process;
import org.mindswap.query.ValueMap;
-import org.mindswap.utils.Utils;
/**
- * This service invocation action invoking the selected service.
+ * This action will perform the invocation of the specified semantic service.
*
- * @author <a href="mailto:johan.kumps at telenet.be">Johan Kumps</a>
+ * @author Johan Kumps
*
*/
public class ServiceInvocationAction extends AbstractActionLifecycle {
- /**
- * The Logger instance for this action
- */
+ /* The URI of the semantic service to invoke */
+ private URI serviceURI = null;
+
+ /* The Logger to use in this class. */
private static Logger logger = Logger
.getLogger(ServiceInvocationAction.class);
+
+ /* The OWLKnowledgeBase containing all ontologies to use */
+ private OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
+ .getInstance().getOwlKnowledgeBase();
+
+ /* The ProcessExecutionEngine to use to invoke the service */
+ private ProcessExecutionEngine exec = null;
- private JAXBContext jaxbContext = null;
- private Marshaller marshaller = null;
-
+ /**
+ * Constructor initialising this action using the given configuration
+ * @param config the configuration to use
+ * @throws ConfigurationException when something goes wrong during the initialisation
+ */
public ServiceInvocationAction(ConfigTree config)
throws ConfigurationException {
- try {
- jaxbContext = JAXBContext
- .newInstance(Constants.SEMANTIC_MODEL_PACKAGE);
- marshaller = jaxbContext.createMarshaller();
- } catch (JAXBException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ // SERVICE_URI is optional in config --> if not provided --> expected in
+ // Message itself
+ String uriParam = config.getAttribute(Constants.SERVICE_URI, null);
+ if (uriParam != null) {
+ // URI is provided --> should be valid
+ try {
+ this.serviceURI = new URI(uriParam);
+ } catch (URISyntaxException e) {
+ throw new ConfigurationException(
+ ExceptionConstants.INVALID_SERVICE_URI);
+ }
}
+
+ this.exec = OWLSFactory.createExecutionEngine();
+ // Attach a listener to the execution engine
+ this.exec.addMonitor(new DefaultProcessMonitor());
}
/**
- * Method executing the service identified by the given {@link java.net.URI}
+ * Method invoking the service identified by the given {@link java.net.URI}
* using the given inputs.
*
* @param serviceURI
@@ -94,371 +85,127 @@
* @throws URISyntaxException
*/
public Message invoke(Message message) throws ActionProcessingException {
-
- List<URI> uriSelectedServices = (List<URI>) message.getBody().get(
- Constants.SELECTED_SERVICES_URI_MESSAGE_KEY);
- String messageID = (String) message.getBody().get("messageID");
-
- OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
- .getInstance().getOwlKnowledgeBase();
-
- Process process = null;
- List userInputs = null;
-
- ProcessExecutionEngine processExecutionEngine = OWLSFactory
- .createExecutionEngine();
-
- ValueMap<Output, OWLValue> outputs = new ValueMap<Output, OWLValue>();
-
- List<ServiceMetatDataType> invokedServices = new ArrayList<ServiceMetatDataType>();
-
- URI currentServiceURI = null;
- Service currentService = null;
- for (Iterator<URI> iter = uriSelectedServices.iterator(); iter
- .hasNext();) {
- currentServiceURI = iter.next();
-
- currentService = owlKnowledgeBase.getService(currentServiceURI);
- process = currentService.getProcess();
-
- if (!((Inputs) message.getBody().get(
- Constants.CONSUMER_INPUTS_MESSAGE_KEY))
- .getObjectTypeInput().isEmpty()) {
- userInputs = ((Inputs) message.getBody().get(
- Constants.CONSUMER_INPUTS_MESSAGE_KEY))
- .getObjectTypeInput();
- try {
- outputs = processExecutionEngine.execute(process, this
- .buildProcessInputsObjectTypeInputs(userInputs,
- process, currentServiceURI),
- owlKnowledgeBase);
- invokedServices
- .add(this.getServiceMetaData(currentService));
- } catch (ExecutionException e) {
- e.getCause().printStackTrace();
- logger.error(e.getMessage());
- throw new ActionProcessingException(e);
- }
-
- } else if (!((Inputs) message.getBody().get(
- Constants.CONSUMER_INPUTS_MESSAGE_KEY)).getDataTypeInput()
- .isEmpty()) {
- userInputs = ((Inputs) message.getBody().get(
- Constants.CONSUMER_INPUTS_MESSAGE_KEY))
- .getDataTypeInput();
- try {
- outputs.putMap(processExecutionEngine.execute(process, this
- .buildProcessInputsDataTypeInputs(userInputs,
- process, currentServiceURI),
- owlKnowledgeBase));
- invokedServices
- .add(this.getServiceMetaData(currentService));
- } catch (ExecutionException e) {
- logger.error(e.getMessage());
- throw new ActionProcessingException(e);
- }
+ URI serviceURI = this.getServiceURI(message);
+ if (serviceURI == null){
+ // stop the invocation due to invalid serviceURI
+ logger.error("SERVICE_URI mandatory in order to process the message correctly.");
+ throw new ActionProcessingException(ExceptionConstants.SERVICE_URI_UNKOWN);
+ } else {
+ if (logger.isInfoEnabled()){
+ logger.info("Service invocation sequence started...");
}
+ //Go on with invocation
+ Service service = this.owlKnowledgeBase.getService(serviceURI);
+
+ ValueMap<Input, OWLValue> inputs = buildInputs(service.getProcess(), message);
+ ValueMap<Output, OWLValue> outputs;
+ try {
+ outputs = this.exec.execute(service.getProcess(), inputs, this.owlKnowledgeBase);
+ this.addOutputsToMessage(service.getProcess(), outputs, message);
+ } catch (ExecutionException e) {
+ throw new ActionProcessingException(e.getMessage());
+ }
+ if (logger.isInfoEnabled()){
+ logger.info("Service invocation sequence ended.");
+ }
+ return message;
}
-
- ServiceInvocationMBean.getInstance().setServicesLastInvocation(
- invokedServices);
-
- this.buildResponseMessage(this.buildServiceQueryResponseType(messageID,
- outputs, process), message);
-
- return message;
-
}
- private ServiceMetatDataType getServiceMetaData(Service currentService) {
- ServiceMetatDataType serviceMetatDataType = new ServiceMetatDataType();
- serviceMetatDataType.setName(currentService.getName());
- serviceMetatDataType.setDescription(currentService.getProfile()
- .getTextDescription());
- serviceMetatDataType.setUri(currentService.getURI().toString());
- return serviceMetatDataType;
- }
-
/**
- * This method converts the base data type consumer inputs into the
- * parameters for the execution engine
- *
- * @param userInputs
- * the consumer inputs to convert
- * @param process
- * the process inputs
- * @param serviceURI
- * the uri of the service to invoke
- * @return the inputs for the execution engine
+ * Method adding service outputs to Message
+ * @param outputs the outputs of the service being invoked
+ * @param message the message to add the outputs to
+ * @throws ActionProcessingException
*/
- private ValueMap<Input, OWLValue> buildProcessInputsDataTypeInputs(
- List<DataTypeValueType> userInputs, Process process, URI serviceURI) {
- // initialize the input values to be empty
- ValueMap<Input, OWLValue> inputs = new ValueMap<Input, OWLValue>();
- OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
- .getInstance().getOwlKnowledgeBase();
-
- DataTypeValueType currentUserInput = null;
-
- // looping over all given inputs
- for (int i = 0; i < userInputs.size(); i++) {
- currentUserInput = userInputs.get(i);
-
- // get the parameter using the local name
- inputs.setValue(process.getInput(owlKnowledgeBase.getEntity(
- URI.create(currentUserInput.getName())).getLocalName()),
- owlKnowledgeBase.createDataValue(currentUserInput
- .getValue()));
+ private void addOutputsToMessage(Process process, ValueMap<Output, OWLValue> outputs,
+ Message message) throws ActionProcessingException {
+ if (outputs.size() == 1){
+ //--> use standard message body
+ Output serviceOutput = process.getOutput();
+ if (serviceOutput.getParamType().isDataType()){
+ if (logger.isInfoEnabled()){
+ logger.info("Service Output 0 : isDataValue");
+ }
+ message.getBody().add(outputs.getDataValue(serviceOutput));
+ } else {
+ if (logger.isInfoEnabled()){
+ logger.info("Service Output 0 : !isDataValue");
+ }
+ message.getBody().add(((OWLIndividual) outputs.getIndividualValue(serviceOutput)).toRDF(true, true));
+ }
+ } else {
+ throw new ActionProcessingException("Not yet supported! (serviceOutputs.size() > 1)");
}
-
- return inputs;
+
}
/**
- * This method converts the object type consumer inputs into the parameters
- * for the execution engine
- *
- * @param userInputs
- * the consumer inputs to convert
- * @param process
- * the process inputs
- * @param serviceURI
- * the uri of the service to invoke
- * @return the inputs for the execution engine
+ * Method building Inputs for the service to invoke based on the given message
+ * @param service the service to invoke
+ * @param message the message to use to build Inputs
+ * @return the Inputs to use when invoking the service
*/
- private ValueMap<Input, OWLValue> buildProcessInputsObjectTypeInputs(
- List<ObjectTypeInputType> userInputs, Process process,
- URI serviceURI) {
- // initialize the input values to be empty
+ private ValueMap<Input, OWLValue> buildInputs(Process process, Message message) throws ActionProcessingException {
ValueMap<Input, OWLValue> inputs = new ValueMap<Input, OWLValue>();
- OWLKnowledgeBase owlKnowledgeBase = OWLKnowledgeBaseManager
- .getInstance().getOwlKnowledgeBase();
-
- OWLIndividualList<Input> processInputs = process.getInputs();
- ObjectTypeInputType currentUserInput = null;
-
- OWLClass rootClass = null;
- OWLIndividual rootIndividual = null;
-
- DataTypeValueType currentDataValue = null;
- OWLDataProperty currentDataProperty = null;
-
- ObjectTypeValueType currentObjectValue = null;
- OWLClass currentObjectValueClass = null;
- OWLIndividual currentObjectValueIndividual = null;
- OWLObjectProperty currentObjectProperty = null;
- DataTypeValueType currentObjectValueDataValue = null;
- OWLDataProperty currentObjectValueDataProperty = null;
-
- // String currentProcessInputLocalName = null;
-
- try {
- // looping over all given inputs
- for (int i = 0; i < userInputs.size(); i++) {
- currentUserInput = userInputs.get(i);
- // root instance
- rootClass = owlKnowledgeBase.getClass(new URI(currentUserInput
- .getClazz()));
- rootIndividual = owlKnowledgeBase.createInstance(rootClass,
- null);
-
- if (logger.isDebugEnabled()) {
- logger.debug("rootClass : " + rootClass);
- logger.debug("rootIndividual : " + rootIndividual);
+
+ OWLIndividualList<Input> serviceInputs = process.getInputs();
+ if (serviceInputs.size() == 1){
+ //1 Input --> use standard message body
+ String inputRDFXML = (String)message.getBody().get();
+ Input input = serviceInputs.get(0);
+ if (input.isDataValue()){
+ if (logger.isInfoEnabled()){
+ logger.info("Service Input 0 : isDataValue");
}
- // Lowering all datavalues
- for (Iterator<DataTypeValueType> dataValueIterator = currentUserInput
- .getDataTypeValue().iterator(); dataValueIterator
- .hasNext();) {
- currentDataValue = dataValueIterator.next();
- currentDataProperty = owlKnowledgeBase
- .getDataProperty(new URI(currentDataValue.getName()));
- if (logger.isDebugEnabled()) {
- logger.debug("currentDataProperty : "
- + currentDataProperty);
- }
- rootIndividual.addProperty(currentDataProperty,
- currentDataValue.getValue());
+ inputs.setValue(input, this.owlKnowledgeBase.createDataValue(inputRDFXML));
+ } else {
+ if (logger.isInfoEnabled()){
+ logger.info("Service Input 0 : !isDataValue");
}
- // transfering all objectvalues
- for (Iterator<ObjectTypeValueType> objectValueIterator = currentUserInput
- .getObjectTypeValue().iterator(); objectValueIterator
- .hasNext();) {
- currentObjectValue = objectValueIterator.next();
- currentObjectValueClass = owlKnowledgeBase
- .getClass(new URI(currentObjectValue.getClazz()));
- currentObjectValueIndividual = owlKnowledgeBase
- .createInstance(currentObjectValueClass, null);
-
- if (logger.isDebugEnabled()) {
- logger.debug("currentObjectValueClass : "
- + currentObjectValueClass);
- logger.debug("currentObjectValueIndividual : "
- + currentObjectValueIndividual);
- }
- // looping data values of the current object value
- for (Iterator<DataTypeValueType> objectValueDataValueIterator = currentObjectValue
- .getDataValue().iterator(); objectValueDataValueIterator
- .hasNext();) {
- currentObjectValueDataValue = objectValueDataValueIterator
- .next();
- currentObjectValueDataProperty = owlKnowledgeBase
- .getDataProperty(new URI(
- currentObjectValueDataValue.getName()));
- currentObjectValueIndividual.addProperty(
- currentObjectValueDataProperty,
- currentObjectValueDataValue.getValue());
-
- if (logger.isDebugEnabled()) {
- logger.debug("currentObjectValueDataProperty : "
- + currentObjectValueDataProperty);
- }
- }
- // owlKnowledgeBase.getEntity(URI.create(currentObjectValue.getConcept())).getLocalName()
-
- currentObjectProperty = owlKnowledgeBase
- .getObjectProperty(URI.create(currentObjectValue
- .getName()));
- rootIndividual.addProperty(currentObjectProperty,
- currentObjectValueIndividual);
- }
- if (logger.isDebugEnabled()) {
- logger.debug("Genereted RDF : "
- + rootIndividual.toRDF(true, true));
- }
-
- // get the parameter using the local name
- inputs.setValue(process.getInput(processInputs.get(0)
- .getLocalName()), rootIndividual);
+ inputs.setValue(input, this.owlKnowledgeBase.parseLiteral(inputRDFXML));
}
-
- } catch (URISyntaxException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ return inputs;
+ } else {
+ throw new ActionProcessingException("Not yet supported! (serviceInputs.size() != 1)");
}
- return inputs;
}
/**
- * This message builds a ServiceQueryResponseType instance based on the
- * outputs of the service
+ * Method determining the {@link java.net.URI} of the service to invoke. If
+ * the action configuration contains the serviceURI parameter, this value
+ * will be used. If not the message should contain the {@link java.net.URI}
+ * identified by the SERVICE_URI key.
*
- * @param messageId
- * the id of the consumer request
- * @param outputs
- * the service outputs (effects)
- * @param process
- * the process being invoked
- * @return the ServiceQueryResponseType containing the effects of the
- * service
+ * @param message
+ * @return
*/
- private ServiceQueryResponseType buildServiceQueryResponseType(
- String messageId, ValueMap<Output, OWLValue> outputs,
- Process process) {
-
- Output currentOutput = null;
- OWLIndividual currentOwlIndividual = null;
- Outputs serviceOutputs = ObjectFactory.getInstance()
- .createServiceQueryResponseTypeOutputs();
- ServiceQueryResponseType serviceQueryResponse = ObjectFactory
- .getInstance().createServiceQueryResponseType();
- for (Iterator<Output> iter = outputs.getVariables().iterator(); iter
- .hasNext();) {
- currentOutput = iter.next();
-
- ConceptValueType output = ObjectFactory.getInstance()
- .createConceptValueType();
- if (currentOutput.getParamType().isClass()) {
- currentOwlIndividual = outputs.getIndividualValue(currentOutput);
-
- Set<OWLProperty> keys = currentOwlIndividual.getProperties().keySet();
- OWLProperty currentProperty = null;
-
- StringBuffer outString = new StringBuffer("SymposiumConcepts.owlBestBuyInformation\n");
- for (Iterator<OWLProperty> iter2 = keys.iterator(); iter2.hasNext();){
- currentProperty = iter2.next();
- if (currentProperty.isDatatypeProperty()){
- outString.append(currentProperty.getLocalName() + " = " + currentOwlIndividual.getProperty((OWLDataProperty)currentProperty).getValue() + "\n");
+ private URI getServiceURI(Message message) {
+ if (this.serviceURI == null) {
+ // SERVICE_URI not part of action configuration --> get from Message
+ String uriParam = (String) message.getBody().get(
+ Constants.SERVICE_URI);
+ if (uriParam != null && !uriParam.equals("")) {
+ try {
+ return new URI(uriParam);
+ } catch (URISyntaxException e) {
+ if (logger.isInfoEnabled()){
+ logger.info("Using SERVICE_URI (" + uriParam + ") provided in Message but appears to be syntactically invalid.");
}
+ return null;
}
-
- output.setDataValue(outString.toString());
} else {
- output.setDataValue(outputs.getDataValue(
- currentOutput.getName()).toString());
+ if (logger.isInfoEnabled()){
+ logger.info("SERVICE_URI not provided in Message but expected bacause action configuration does not contain the URI neigther.");
+ }
+ return null;
}
-
- output.setConcept(currentOutput.getURI().toString());
-
- serviceOutputs.getOutput().add(output);
+ } else {
+ if (logger.isInfoEnabled()){
+ logger.info("Using SERVICE_URI (" + this.serviceURI + ") provided in action configuration.");
+ }
+ return this.serviceURI;
}
-
- serviceQueryResponse.setOutputs(serviceOutputs);
-
- serviceQueryResponse.setId(messageId);
-
- return serviceQueryResponse;
}
- /*
- * private ServiceQueryResponseType buildServiceQueryResponseType( String
- * messageId, ValueMap<Output, OWLValue> outputs, Process process) {
- *
- * OWLIndividualList<Output> processOutputs = process.getOutputs();
- *
- *
- * Output currentOutput = null;
- *
- * ServiceQueryResponseType serviceQueryResponse = ObjectFactory
- * .getInstance().createServiceQueryResponseType();
- * serviceQueryResponse.setId(messageId); Outputs serviceOutputs =
- * ObjectFactory.getInstance() .createServiceQueryResponseTypeOutputs();
- * OWLIndividual currentOwlIndividual = null; for (int i = 0; i <
- * processOutputs.size(); i++) { currentOutput = processOutputs.get(i);
- *
- * ConceptValueType output = ObjectFactory.getInstance()
- * .createConceptValueType(); if (currentOutput.getParamType().isClass()) {
- * currentOwlIndividual = outputs.getIndividualValue(process.getOutput());
- * output.setDataValue(Utils.formatRDF(currentOwlIndividual.toRDF(true,
- * true))); } else {
- * output.setDataValue(outputs.getDataValue(currentOutput.getName())
- * .toString()); } output.setConcept(currentOutput.getURI().toString());
- *
- * serviceOutputs.getOutput().add(output); }
- * serviceQueryResponse.setOutputs(serviceOutputs);
- *
- * return serviceQueryResponse; }
- */
-
- /**
- * Method marshalling the ServiceQueryResponseType into an XML document to
- * be added to the Message this action returns
- *
- * @param serviceQueryResponseType
- * the ServiceQueryResponseType instance to marshal to an XML
- * document
- * @param message
- * the message to contain the ServiceQueryResponseType as an XML
- * document
- * @return the message to be returned by this action
- */
- private Message buildResponseMessage(
- ServiceQueryResponseType serviceQueryResponseType, Message message) {
- ByteArrayOutputStream outStream = new ByteArrayOutputStream();
- try {
- this.marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,
- Boolean.TRUE);
- this.marshaller.marshal(ObjectFactory.getInstance()
- .createServiceQueryResponse(serviceQueryResponseType),
- outStream);
- message.getBody().add(outStream.toString());
- } catch (PropertyException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (JAXBException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- return message;
- }
}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/query/SparQLQueryAction.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/query/SparQLQueryAction.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/actions/query/SparQLQueryAction.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,118 @@
+package org.jboss.soa.esb.services.semantics.actions.query;
+
+import java.io.StringReader;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionLifecycleException;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.services.semantics.configuration.OWLKnowledgeBaseManager;
+import org.jboss.soa.esb.services.semantics.model.DataTypeValueType;
+import org.jboss.soa.esb.services.semantics.model.ExpectedOutputType;
+import org.jboss.soa.esb.services.semantics.model.ObjectTypeInputType;
+import org.jboss.soa.esb.services.semantics.model.ServiceQueryRequestType;
+import org.jboss.soa.esb.services.semantics.utils.Constants;
+import org.mindswap.common.ClosableIterator;
+import org.mindswap.common.Variable;
+import org.mindswap.exceptions.ParseException;
+import org.mindswap.owl.OWLEntity;
+import org.mindswap.owl.OWLIndividual;
+import org.mindswap.owl.OWLKnowledgeBase;
+import org.mindswap.owl.OWLValue;
+import org.mindswap.query.QueryLanguage;
+import org.mindswap.query.ValueMap;
+import org.w3._2005._09.sparql_protocol_types.QueryRequestType;
+import org.xml.sax.InputSource;
+
+/**
+ * This class is the SPARQL implementation of the DiscoveryAction interface.
+ *
+ * @author <a href="mailto:johan.kumps at telenet.be">Johan Kumps</a>
+ *
+ */
+public class SparQLQueryAction extends AbstractActionLifecycle {
+
+ /**
+ * The Logger instance for this action
+ */
+ private static Logger logger = Logger
+ .getLogger(SparQLQueryAction.class);
+
+ protected ConfigTree _config = null;
+
+ private JAXBContext jaxbContext = null;
+ private Unmarshaller unmarshaller = null;
+
+ /*
+ *
+ */
+ public SparQLQueryAction(ConfigTree config)
+ throws ActionLifecycleException {
+ _config = config;
+ try {
+ jaxbContext = JAXBContext
+ .newInstance(Constants.SPARQL_QUERY_MODEL_PACKAGE);
+ unmarshaller = jaxbContext.createUnmarshaller();
+ } catch (JAXBException e) {
+ logger.error(e.getMessage());
+ throw new ActionLifecycleException(e);
+ }
+ }
+
+ public Message query(Message message) throws ActionProcessingException {
+ if (logger.isDebugEnabled()) {
+ logger.debug("Message received: [" + message + "].");
+ }
+ QueryRequestType queryRequestType = this.parseServiceQuery(message);
+ if (logger.isDebugEnabled()) {
+ logger.debug("Parsed query : ["
+ + queryRequestType.getQuery() + "].");
+ }
+ System.out.println("-->" + queryRequestType.getQuery());
+ return message;
+ }
+
+ /**
+ * Method extracting a ServiceQueryRequestType instance out of the given
+ * Message
+ *
+ * @param message
+ * the Message instance to use to extract a
+ * ServiceQueryRequestType instance
+ * @return the extracted ServiceQueryRequestType instance
+ * @throws JAXBException
+ */
+ private QueryRequestType parseServiceQuery(Message message)
+ throws ActionProcessingException {
+ final String request = (String) message.getBody().get();
+
+ InputSource requestInputSource = new InputSource(new StringReader(
+ request));
+
+ try {
+ QueryRequestType queryRequestType = (QueryRequestType) ((JAXBElement) this.unmarshaller
+ .unmarshal(requestInputSource)).getValue();
+
+ return queryRequestType;
+ } catch (JAXBException e) {
+ logger.error(e.getMessage());
+ throw new ActionProcessingException(e);
+ }
+
+ }
+
+
+
+}
Modified: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/configuration/OWLKnowledgeBaseManager.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/configuration/OWLKnowledgeBaseManager.java 2010-12-10 22:55:03 UTC (rev 36362)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/configuration/OWLKnowledgeBaseManager.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -32,18 +32,18 @@
this.owlKnowledgeBase = OWLFactory.createKB();
this.owlKnowledgeBase.setReasoner("Pellet");
- /*// Load default service ontologies
+ // Load default service ontologies
try {
this.owlKnowledgeBase
.read(new URI(
"file://C:/projecten/JBossESB/ssoa/owls-api-3.0/getGreeting-Simulated.owl"));
- this.owlKnowledgeBase
- .read(new URI(
- "file://C:/projecten/JBossESB/ssoa/owls-api-3.0/BookFinder.owl"));
- this.owlKnowledgeBase
- .read(new URI(
- "file://C:/projecten/JBossESB/ssoa/owls-api-3.0/GetWeather2-Simulated.owl"));
- // this.owlKnowledgeBase.read(new
+// this.owlKnowledgeBase
+// .read(new URI(
+// "file://C:/projecten/JBossESB/ssoa/owls-api-3.0/BookFinder.owl"));
+// this.owlKnowledgeBase
+// .read(new URI(
+// "file://C:/projecten/JBossESB/ssoa/owls-api-3.0/GetWeather2-Simulated.owl"));
+// // this.owlKnowledgeBase.read(new
// URI("file://C:/projecten/JBossESB/ssoa/owls-api-3.0/GetWeather2.owl"));
} catch (IOException e) {
// TODO Auto-generated catch block
@@ -51,7 +51,7 @@
} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
- }*/
+ }
}
}
Modified: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/Constants.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/Constants.java 2010-12-10 22:55:03 UTC (rev 36362)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/Constants.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -3,6 +3,7 @@
import org.jboss.soa.esb.services.semantics.model.ServiceQueryRequestType;
import org.jboss.soa.esb.services.semantics.monitoring.model.ListInvokedServicesRequestType;
import org.jboss.soa.esb.services.semantics.configuration.model.RegistrationRequestType;
+import org.w3._2005._09.sparql_protocol_types.QueryRequestType;
/**
* Class containing constants used by the semantics JBoss ESB service
@@ -19,6 +20,9 @@
public static final String SEMANTIC_MODEL_PACKAGE = ServiceQueryRequestType.class
.getPackage().getName();
+ public static final String SPARQL_QUERY_MODEL_PACKAGE = QueryRequestType.class
+ .getPackage().getName();
+
public static final String SEMANTIC_CONFIGURATION_MODEL_PACKAGE = RegistrationRequestType.class
.getPackage().getName();
@@ -26,5 +30,10 @@
.getPackage().getName();
public static final String SERVICE_QUERY_RESPONSE_FACTORY_CLASS_NAME_CONFIG_ATTRIBUTE_NAME = "serviceQueryResponseFactoryClass";
+
+
+
+
+ public static final String SERVICE_URI = "serviceURI";
}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/ExceptionConstants.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/ExceptionConstants.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/jboss/soa/esb/services/semantics/utils/ExceptionConstants.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,8 @@
+package org.jboss.soa.esb.services.semantics.utils;
+
+public class ExceptionConstants {
+
+ public static final String INVALID_SERVICE_URI = "Given service URI is not a valid URI";
+ public static final String SERVICE_URI_UNKOWN = "No service URI could be determined using action config nor using the Message";
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,45 @@
+
+package org.w3._1999._02._22_rdf_syntax_ns;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._1999._02._22_rdf_syntax_ns package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _RDF_QNAME = new QName("http://www.w3.org/1999/02/22-rdf-syntax-ns", "RDF");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._1999._02._22_rdf_syntax_ns
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns", name = "RDF")
+ public JAXBElement<Object> createRDF(Object value) {
+ return new JAXBElement<Object>(_RDF_QNAME, Object.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,45 @@
+
+package org.w3._1999._02._22_rdf_syntax_ns_;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._1999._02._22_rdf_syntax_ns_ package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _RDF_QNAME = new QName("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "RDF");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._1999._02._22_rdf_syntax_ns_
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", name = "RDF")
+ public JAXBElement<Object> createRDF(Object value) {
+ return new JAXBElement<Object>(_RDF_QNAME, Object.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,55 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.xml.ws.WebFault;
+import org.w3._2005._09.sparql_protocol_types.FaultDetailsType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebFault(name = "malformed-query", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types")
+public class MalformedQueryFault
+ extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private FaultDetailsType faultInfo;
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ */
+ public MalformedQueryFault(String message, FaultDetailsType faultInfo) {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ * @param cause
+ */
+ public MalformedQueryFault(String message, FaultDetailsType faultInfo, Throwable cause) {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.w3._2005._09.sparql_protocol_types.FaultDetailsType
+ */
+ public FaultDetailsType getFaultInfo() {
+ return faultInfo;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,55 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.xml.ws.WebFault;
+import org.w3._2005._09.sparql_protocol_types.FaultDetailsType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebFault(name = "query-request-refused", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types")
+public class QueryRequestRefusedFault
+ extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private FaultDetailsType faultInfo;
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ */
+ public QueryRequestRefusedFault(String message, FaultDetailsType faultInfo) {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ * @param cause
+ */
+ public QueryRequestRefusedFault(String message, FaultDetailsType faultInfo, Throwable cause) {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.w3._2005._09.sparql_protocol_types.FaultDetailsType
+ */
+ public FaultDetailsType getFaultInfo() {
+ return faultInfo;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,40 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import org.w3._2005._09.sparql_protocol_types.QueryRequest;
+import org.w3._2005._09.sparql_protocol_types.QueryResult;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebService(name = "SparqlQueryInterface", targetNamespace = "http://www.w3.org/2005/08/sparql-protocol-query/")
+ at SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface SparqlQueryInterface {
+
+
+ /**
+ *
+ * @param query
+ * @return
+ * returns org.w3._2005._09.sparql_protocol_types.QueryResult
+ * @throws QueryRequestRefusedFault
+ * @throws MalformedQueryFault
+ */
+ @WebMethod
+ @WebResult(name = "query-result", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types/", partName = "response")
+ public QueryResult query(
+ @WebParam(name = "query-request", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types/", partName = "query")
+ QueryRequest query)
+ throws MalformedQueryFault, QueryRequestRefusedFault
+ ;
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,53 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebServiceClient(name = "SparqlQueryService", targetNamespace = "http://www.w3.org/2005/08/sparql-protocol-query", wsdlLocation = "file:/C:/jb/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl")
+public class SparqlQueryService
+ extends Service
+{
+
+ private final static URL SPARQLQUERYSERVICE_WSDL_LOCATION;
+
+ static {
+ URL url = null;
+ try {
+ url = new URL("file:/C:/jb/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl");
+ } catch (MalformedURLException e) {
+ e.printStackTrace();
+ }
+ SPARQLQUERYSERVICE_WSDL_LOCATION = url;
+ }
+
+ public SparqlQueryService(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public SparqlQueryService() {
+ super(SPARQLQUERYSERVICE_WSDL_LOCATION, new QName("http://www.w3.org/2005/08/sparql-protocol-query", "SparqlQueryService"));
+ }
+
+ /**
+ *
+ * @return
+ * returns SparqlQueryServicePortType
+ */
+ @WebEndpoint(name = "SparqlQueryService")
+ public SparqlQueryServicePortType getSparqlQueryService() {
+ return (SparqlQueryServicePortType)super.getPort(new QName("http://www.w3.org/2005/08/sparql-protocol-query", "SparqlQueryService"), SparqlQueryServicePortType.class);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,40 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import org.w3._2005._09.sparql_protocol_types.QueryRequestType;
+import org.w3._2005._09.sparql_protocol_types.QueryResultType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebService(name = "SparqlQueryServicePortType", targetNamespace = "http://www.w3.org/2005/08/sparql-protocol-query")
+ at SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface SparqlQueryServicePortType {
+
+
+ /**
+ *
+ * @param queryRequest
+ * @return
+ * returns org.w3._2005._09.sparql_protocol_types.QueryResultType
+ * @throws QueryRequestRefusedFault
+ * @throws MalformedQueryFault
+ */
+ @WebMethod(action = "http://www.w3.org/2005/08/sparql-protocol-query/query")
+ @WebResult(name = "query-result", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types", partName = "queryRespone")
+ public QueryResultType query(
+ @WebParam(name = "query-request", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types", partName = "queryRequest")
+ QueryRequestType queryRequest)
+ throws MalformedQueryFault, QueryRequestRefusedFault
+ ;
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,67 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * This element contains human-readable information
+ * about the fault returned by
+ * the SPARQL query processing service.
+ *
+ *
+ * <p>Java class for FaultDetailsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="FaultDetailsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fault-details" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "FaultDetailsType", propOrder = {
+ "faultDetails"
+})
+public class FaultDetailsType {
+
+ @XmlElement(name = "fault-details", required = true)
+ protected String faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultDetails(String value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,64 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element ref="{http://www.w3.org/2005/09/sparql-protocol-types/}fault-details" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+
+})
+ at XmlRootElement(name = "malformed-query")
+public class MalformedQuery {
+
+ @XmlElement(name = "fault-details", namespace = "http://www.w3.org/2005/09/sparql-protocol-types/")
+ protected String faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultDetails(String value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,62 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MalformedQueryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MalformedQueryType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element name="fault-details" type="{http://www.w3.org/2005/09/sparql-protocol-types}FaultDetailsType" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MalformedQueryType", propOrder = {
+
+})
+public class MalformedQueryType {
+
+ @XmlElement(name = "fault-details")
+ protected FaultDetailsType faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public FaultDetailsType getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public void setFaultDetails(FaultDetailsType value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,115 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._2005._09.sparql_protocol_types package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _MalformedQuery_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "malformed-query");
+ private final static QName _QueryRequest_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "query-request");
+ private final static QName _QueryResult_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "query-result");
+ private final static QName _QueryRequestRefused_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "query-request-refused");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2005._09.sparql_protocol_types
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link QueryRequestRefusedType }
+ *
+ */
+ public QueryRequestRefusedType createQueryRequestRefusedType() {
+ return new QueryRequestRefusedType();
+ }
+
+ /**
+ * Create an instance of {@link FaultDetailsType }
+ *
+ */
+ public FaultDetailsType createFaultDetailsType() {
+ return new FaultDetailsType();
+ }
+
+ /**
+ * Create an instance of {@link QueryRequestType }
+ *
+ */
+ public QueryRequestType createQueryRequestType() {
+ return new QueryRequestType();
+ }
+
+ /**
+ * Create an instance of {@link MalformedQueryType }
+ *
+ */
+ public MalformedQueryType createMalformedQueryType() {
+ return new MalformedQueryType();
+ }
+
+ /**
+ * Create an instance of {@link QueryResultType }
+ *
+ */
+ public QueryResultType createQueryResultType() {
+ return new QueryResultType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link FaultDetailsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "malformed-query")
+ public JAXBElement<FaultDetailsType> createMalformedQuery(FaultDetailsType value) {
+ return new JAXBElement<FaultDetailsType>(_MalformedQuery_QNAME, FaultDetailsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QueryRequestType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "query-request")
+ public JAXBElement<QueryRequestType> createQueryRequest(QueryRequestType value) {
+ return new JAXBElement<QueryRequestType>(_QueryRequest_QNAME, QueryRequestType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QueryResultType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "query-result")
+ public JAXBElement<QueryResultType> createQueryResult(QueryResultType value) {
+ return new JAXBElement<QueryResultType>(_QueryResult_QNAME, QueryResultType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link FaultDetailsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "query-request-refused")
+ public JAXBElement<FaultDetailsType> createQueryRequestRefused(FaultDetailsType value) {
+ return new JAXBElement<FaultDetailsType>(_QueryRequestRefused_QNAME, FaultDetailsType.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,135 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="default-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="named-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "query",
+ "defaultGraphUri",
+ "namedGraphUri"
+})
+ at XmlRootElement(name = "query-request")
+public class QueryRequest {
+
+ @XmlElement(required = true)
+ protected String query;
+ @XmlElement(name = "default-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> defaultGraphUri;
+ @XmlElement(name = "named-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> namedGraphUri;
+
+ /**
+ * Gets the value of the query property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQuery() {
+ return query;
+ }
+
+ /**
+ * Sets the value of the query property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQuery(String value) {
+ this.query = value;
+ }
+
+ /**
+ * Gets the value of the defaultGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the defaultGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDefaultGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getDefaultGraphUri() {
+ if (defaultGraphUri == null) {
+ defaultGraphUri = new ArrayList<String>();
+ }
+ return this.defaultGraphUri;
+ }
+
+ /**
+ * Gets the value of the namedGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the namedGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNamedGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getNamedGraphUri() {
+ if (namedGraphUri == null) {
+ namedGraphUri = new ArrayList<String>();
+ }
+ return this.namedGraphUri;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,64 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element ref="{http://www.w3.org/2005/09/sparql-protocol-types/}fault-details" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+
+})
+ at XmlRootElement(name = "query-request-refused")
+public class QueryRequestRefused {
+
+ @XmlElement(name = "fault-details", namespace = "http://www.w3.org/2005/09/sparql-protocol-types/")
+ protected String faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultDetails(String value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,62 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for QueryRequestRefusedType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryRequestRefusedType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element name="fault-details" type="{http://www.w3.org/2005/09/sparql-protocol-types}FaultDetailsType" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryRequestRefusedType", propOrder = {
+
+})
+public class QueryRequestRefusedType {
+
+ @XmlElement(name = "fault-details")
+ protected FaultDetailsType faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public FaultDetailsType getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public void setFaultDetails(FaultDetailsType value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,133 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for QueryRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryRequestType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="default-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="named-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryRequestType", propOrder = {
+ "query",
+ "defaultGraphUri",
+ "namedGraphUri"
+})
+public class QueryRequestType {
+
+ @XmlElement(required = true)
+ protected String query;
+ @XmlElement(name = "default-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> defaultGraphUri;
+ @XmlElement(name = "named-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> namedGraphUri;
+
+ /**
+ * Gets the value of the query property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQuery() {
+ return query;
+ }
+
+ /**
+ * Sets the value of the query property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQuery(String value) {
+ this.query = value;
+ }
+
+ /**
+ * Gets the value of the defaultGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the defaultGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDefaultGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getDefaultGraphUri() {
+ if (defaultGraphUri == null) {
+ defaultGraphUri = new ArrayList<String>();
+ }
+ return this.defaultGraphUri;
+ }
+
+ /**
+ * Gets the value of the namedGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the namedGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNamedGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getNamedGraphUri() {
+ if (namedGraphUri == null) {
+ namedGraphUri = new ArrayList<String>();
+ }
+ return this.namedGraphUri;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,93 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3._2005.sparql_results.Sparql;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results}sparql"/>
+ * <element ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns}RDF"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "sparql",
+ "rdf"
+})
+ at XmlRootElement(name = "query-result")
+public class QueryResult {
+
+ @XmlElement(namespace = "http://www.w3.org/2005/sparql-results")
+ protected Sparql sparql;
+ @XmlElement(name = "RDF", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns")
+ protected Object rdf;
+
+ /**
+ * Gets the value of the sparql property.
+ *
+ * @return
+ * possible object is
+ * {@link Sparql }
+ *
+ */
+ public Sparql getSparql() {
+ return sparql;
+ }
+
+ /**
+ * Sets the value of the sparql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Sparql }
+ *
+ */
+ public void setSparql(Sparql value) {
+ this.sparql = value;
+ }
+
+ /**
+ * Gets the value of the rdf property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getRDF() {
+ return rdf;
+ }
+
+ /**
+ * Sets the value of the rdf property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setRDF(Object value) {
+ this.rdf = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,94 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3._2005.sparql_results_.Sparql;
+
+
+/**
+ * The type for serializing query results, either as
+ * XML or RDF/XML.
+ *
+ * <p>Java class for QueryResultType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryResultType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}sparql"/>
+ * <element ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}RDF"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryResultType", propOrder = {
+ "sparql",
+ "rdf"
+})
+public class QueryResultType {
+
+ @XmlElement(namespace = "http://www.w3.org/2005/sparql-results#")
+ protected Sparql sparql;
+ @XmlElement(name = "RDF", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
+ protected Object rdf;
+
+ /**
+ * Gets the value of the sparql property.
+ *
+ * @return
+ * possible object is
+ * {@link Sparql }
+ *
+ */
+ public Sparql getSparql() {
+ return sparql;
+ }
+
+ /**
+ * Sets the value of the sparql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Sparql }
+ *
+ */
+ public void setSparql(Sparql value) {
+ this.sparql = value;
+ }
+
+ /**
+ * Gets the value of the rdf property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getRDF() {
+ return rdf;
+ }
+
+ /**
+ * Sets the value of the rdf property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setRDF(Object value) {
+ this.rdf = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/_09/sparql_protocol_types/package-info.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2005/09/sparql-protocol-types")
+package org.w3._2005._09.sparql_protocol_types;
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Binding.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,149 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results}uri"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}bnode"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}literal"/>
+ * </choice>
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "uri",
+ "bnode",
+ "literal"
+})
+ at XmlRootElement(name = "binding")
+public class Binding {
+
+ protected String uri;
+ protected String bnode;
+ protected Literal literal;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the uri property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUri() {
+ return uri;
+ }
+
+ /**
+ * Sets the value of the uri property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUri(String value) {
+ this.uri = value;
+ }
+
+ /**
+ * Gets the value of the bnode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBnode() {
+ return bnode;
+ }
+
+ /**
+ * Sets the value of the bnode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBnode(String value) {
+ this.bnode = value;
+ }
+
+ /**
+ * Gets the value of the literal property.
+ *
+ * @return
+ * possible object is
+ * {@link Literal }
+ *
+ */
+ public Literal getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Sets the value of the literal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Literal }
+ *
+ */
+ public void setLiteral(Literal value) {
+ this.literal = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Head.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,101 @@
+
+package org.w3._2005.sparql_results;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}variable" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}link" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "variable",
+ "link"
+})
+ at XmlRootElement(name = "head")
+public class Head {
+
+ protected List<Variable> variable;
+ protected List<Link> link;
+
+ /**
+ * Gets the value of the variable property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the variable property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVariable().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Variable }
+ *
+ *
+ */
+ public List<Variable> getVariable() {
+ if (variable == null) {
+ variable = new ArrayList<Variable>();
+ }
+ return this.variable;
+ }
+
+ /**
+ * Gets the value of the link property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the link property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLink().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Link }
+ *
+ *
+ */
+ public List<Link> getLink() {
+ if (link == null) {
+ link = new ArrayList<Link>();
+ }
+ return this.link;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Link.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,60 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results}hrefAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "link")
+public class Link {
+
+ @XmlAttribute(required = true)
+ protected String href;
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Literal.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,89 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="datatype" type="{http://www.w3.org/2005/sparql-results}URI-reference" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "content"
+})
+ at XmlRootElement(name = "literal")
+public class Literal {
+
+ @XmlValue
+ protected String content;
+ @XmlAttribute
+ protected String datatype;
+
+ /**
+ * Gets the value of the content property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContent() {
+ return content;
+ }
+
+ /**
+ * Sets the value of the content property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContent(String value) {
+ this.content = value;
+ }
+
+ /**
+ * Gets the value of the datatype property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDatatype() {
+ return datatype;
+ }
+
+ /**
+ * Sets the value of the datatype property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDatatype(String value) {
+ this.datatype = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,129 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._2005.sparql_results package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Bnode_QNAME = new QName("http://www.w3.org/2005/sparql-results", "bnode");
+ private final static QName _Boolean_QNAME = new QName("http://www.w3.org/2005/sparql-results", "boolean");
+ private final static QName _Uri_QNAME = new QName("http://www.w3.org/2005/sparql-results", "uri");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2005.sparql_results
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Link }
+ *
+ */
+ public Link createLink() {
+ return new Link();
+ }
+
+ /**
+ * Create an instance of {@link Literal }
+ *
+ */
+ public Literal createLiteral() {
+ return new Literal();
+ }
+
+ /**
+ * Create an instance of {@link Head }
+ *
+ */
+ public Head createHead() {
+ return new Head();
+ }
+
+ /**
+ * Create an instance of {@link Results }
+ *
+ */
+ public Results createResults() {
+ return new Results();
+ }
+
+ /**
+ * Create an instance of {@link Result }
+ *
+ */
+ public Result createResult() {
+ return new Result();
+ }
+
+ /**
+ * Create an instance of {@link Sparql }
+ *
+ */
+ public Sparql createSparql() {
+ return new Sparql();
+ }
+
+ /**
+ * Create an instance of {@link Variable }
+ *
+ */
+ public Variable createVariable() {
+ return new Variable();
+ }
+
+ /**
+ * Create an instance of {@link Binding }
+ *
+ */
+ public Binding createBinding() {
+ return new Binding();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results", name = "bnode")
+ public JAXBElement<String> createBnode(String value) {
+ return new JAXBElement<String>(_Bnode_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results", name = "boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results", name = "uri")
+ public JAXBElement<String> createUri(String value) {
+ return new JAXBElement<String>(_Uri_QNAME, String.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Result.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,100 @@
+
+package org.w3._2005.sparql_results;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}binding" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "binding"
+})
+ at XmlRootElement(name = "result")
+public class Result {
+
+ protected List<Binding> binding;
+ @XmlAttribute
+ @XmlSchemaType(name = "positiveInteger")
+ protected BigInteger index;
+
+ /**
+ * Gets the value of the binding property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the binding property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBinding().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Binding }
+ *
+ *
+ */
+ public List<Binding> getBinding() {
+ if (binding == null) {
+ binding = new ArrayList<Binding>();
+ }
+ return this.binding;
+ }
+
+ /**
+ * Gets the value of the index property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getIndex() {
+ return index;
+ }
+
+ /**
+ * Sets the value of the index property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setIndex(BigInteger value) {
+ this.index = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Results.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,69 @@
+
+package org.w3._2005.sparql_results;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}result" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "result"
+})
+ at XmlRootElement(name = "results")
+public class Results {
+
+ protected List<Result> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Result }
+ *
+ *
+ */
+ public List<Result> getResult() {
+ if (result == null) {
+ result = new ArrayList<Result>();
+ }
+ return this.result;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Sparql.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,121 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}head"/>
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results}results"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}boolean"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "head",
+ "results",
+ "_boolean"
+})
+ at XmlRootElement(name = "sparql")
+public class Sparql {
+
+ @XmlElement(required = true)
+ protected Head head;
+ protected Results results;
+ @XmlElement(name = "boolean")
+ protected Boolean _boolean;
+
+ /**
+ * Gets the value of the head property.
+ *
+ * @return
+ * possible object is
+ * {@link Head }
+ *
+ */
+ public Head getHead() {
+ return head;
+ }
+
+ /**
+ * Sets the value of the head property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Head }
+ *
+ */
+ public void setHead(Head value) {
+ this.head = value;
+ }
+
+ /**
+ * Gets the value of the results property.
+ *
+ * @return
+ * possible object is
+ * {@link Results }
+ *
+ */
+ public Results getResults() {
+ return results;
+ }
+
+ /**
+ * Sets the value of the results property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Results }
+ *
+ */
+ public void setResults(Results value) {
+ this.results = value;
+ }
+
+ /**
+ * Gets the value of the boolean property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isBoolean() {
+ return _boolean;
+ }
+
+ /**
+ * Sets the value of the boolean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBoolean(Boolean value) {
+ this._boolean = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/Variable.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,65 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "variable")
+public class Variable {
+
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results/package-info.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2005/sparql-results", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.w3._2005.sparql_results;
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Binding.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,149 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}uri"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}bnode"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}literal"/>
+ * </choice>
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results#}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "uri",
+ "bnode",
+ "literal"
+})
+ at XmlRootElement(name = "binding")
+public class Binding {
+
+ protected String uri;
+ protected String bnode;
+ protected Literal literal;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the uri property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUri() {
+ return uri;
+ }
+
+ /**
+ * Sets the value of the uri property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUri(String value) {
+ this.uri = value;
+ }
+
+ /**
+ * Gets the value of the bnode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBnode() {
+ return bnode;
+ }
+
+ /**
+ * Sets the value of the bnode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBnode(String value) {
+ this.bnode = value;
+ }
+
+ /**
+ * Gets the value of the literal property.
+ *
+ * @return
+ * possible object is
+ * {@link Literal }
+ *
+ */
+ public Literal getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Sets the value of the literal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Literal }
+ *
+ */
+ public void setLiteral(Literal value) {
+ this.literal = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Head.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,101 @@
+
+package org.w3._2005.sparql_results_;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}variable" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}link" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "variable",
+ "link"
+})
+ at XmlRootElement(name = "head")
+public class Head {
+
+ protected List<Variable> variable;
+ protected List<Link> link;
+
+ /**
+ * Gets the value of the variable property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the variable property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVariable().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Variable }
+ *
+ *
+ */
+ public List<Variable> getVariable() {
+ if (variable == null) {
+ variable = new ArrayList<Variable>();
+ }
+ return this.variable;
+ }
+
+ /**
+ * Gets the value of the link property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the link property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLink().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Link }
+ *
+ *
+ */
+ public List<Link> getLink() {
+ if (link == null) {
+ link = new ArrayList<Link>();
+ }
+ return this.link;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Link.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,60 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results#}hrefAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "link")
+public class Link {
+
+ @XmlAttribute(required = true)
+ protected String href;
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Literal.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,89 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="datatype" type="{http://www.w3.org/2005/sparql-results#}URI-reference" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "content"
+})
+ at XmlRootElement(name = "literal")
+public class Literal {
+
+ @XmlValue
+ protected String content;
+ @XmlAttribute
+ protected String datatype;
+
+ /**
+ * Gets the value of the content property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContent() {
+ return content;
+ }
+
+ /**
+ * Sets the value of the content property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContent(String value) {
+ this.content = value;
+ }
+
+ /**
+ * Gets the value of the datatype property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDatatype() {
+ return datatype;
+ }
+
+ /**
+ * Sets the value of the datatype property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDatatype(String value) {
+ this.datatype = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,129 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._2005.sparql_results_ package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Boolean_QNAME = new QName("http://www.w3.org/2005/sparql-results#", "boolean");
+ private final static QName _Bnode_QNAME = new QName("http://www.w3.org/2005/sparql-results#", "bnode");
+ private final static QName _Uri_QNAME = new QName("http://www.w3.org/2005/sparql-results#", "uri");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2005.sparql_results_
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Results }
+ *
+ */
+ public Results createResults() {
+ return new Results();
+ }
+
+ /**
+ * Create an instance of {@link Result }
+ *
+ */
+ public Result createResult() {
+ return new Result();
+ }
+
+ /**
+ * Create an instance of {@link Head }
+ *
+ */
+ public Head createHead() {
+ return new Head();
+ }
+
+ /**
+ * Create an instance of {@link Variable }
+ *
+ */
+ public Variable createVariable() {
+ return new Variable();
+ }
+
+ /**
+ * Create an instance of {@link Sparql }
+ *
+ */
+ public Sparql createSparql() {
+ return new Sparql();
+ }
+
+ /**
+ * Create an instance of {@link Binding }
+ *
+ */
+ public Binding createBinding() {
+ return new Binding();
+ }
+
+ /**
+ * Create an instance of {@link Literal }
+ *
+ */
+ public Literal createLiteral() {
+ return new Literal();
+ }
+
+ /**
+ * Create an instance of {@link Link }
+ *
+ */
+ public Link createLink() {
+ return new Link();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results#", name = "boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results#", name = "bnode")
+ public JAXBElement<String> createBnode(String value) {
+ return new JAXBElement<String>(_Bnode_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results#", name = "uri")
+ public JAXBElement<String> createUri(String value) {
+ return new JAXBElement<String>(_Uri_QNAME, String.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Result.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,100 @@
+
+package org.w3._2005.sparql_results_;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}binding" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "binding"
+})
+ at XmlRootElement(name = "result")
+public class Result {
+
+ protected List<Binding> binding;
+ @XmlAttribute
+ @XmlSchemaType(name = "positiveInteger")
+ protected BigInteger index;
+
+ /**
+ * Gets the value of the binding property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the binding property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBinding().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Binding }
+ *
+ *
+ */
+ public List<Binding> getBinding() {
+ if (binding == null) {
+ binding = new ArrayList<Binding>();
+ }
+ return this.binding;
+ }
+
+ /**
+ * Gets the value of the index property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getIndex() {
+ return index;
+ }
+
+ /**
+ * Sets the value of the index property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setIndex(BigInteger value) {
+ this.index = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Results.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,69 @@
+
+package org.w3._2005.sparql_results_;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}result" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "result"
+})
+ at XmlRootElement(name = "results")
+public class Results {
+
+ protected List<Result> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Result }
+ *
+ *
+ */
+ public List<Result> getResult() {
+ if (result == null) {
+ result = new ArrayList<Result>();
+ }
+ return this.result;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Sparql.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,121 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}head"/>
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}results"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}boolean"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "head",
+ "results",
+ "_boolean"
+})
+ at XmlRootElement(name = "sparql")
+public class Sparql {
+
+ @XmlElement(required = true)
+ protected Head head;
+ protected Results results;
+ @XmlElement(name = "boolean")
+ protected Boolean _boolean;
+
+ /**
+ * Gets the value of the head property.
+ *
+ * @return
+ * possible object is
+ * {@link Head }
+ *
+ */
+ public Head getHead() {
+ return head;
+ }
+
+ /**
+ * Sets the value of the head property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Head }
+ *
+ */
+ public void setHead(Head value) {
+ this.head = value;
+ }
+
+ /**
+ * Gets the value of the results property.
+ *
+ * @return
+ * possible object is
+ * {@link Results }
+ *
+ */
+ public Results getResults() {
+ return results;
+ }
+
+ /**
+ * Sets the value of the results property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Results }
+ *
+ */
+ public void setResults(Results value) {
+ this.results = value;
+ }
+
+ /**
+ * Gets the value of the boolean property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isBoolean() {
+ return _boolean;
+ }
+
+ /**
+ * Sets the value of the boolean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBoolean(Boolean value) {
+ this._boolean = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/Variable.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,65 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results#}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "variable")
+public class Variable {
+
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/java/org/w3/_2005/sparql_results_/package-info.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2005/sparql-results#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.w3._2005.sparql_results_;
Modified: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/META-INF/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/META-INF/jboss-esb.xml 2010-12-10 22:55:03 UTC (rev 36362)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/META-INF/jboss-esb.xml 2010-12-10 22:59:44 UTC (rev 36363)
@@ -5,11 +5,14 @@
<providers>
<jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
- <jms-bus busid="SemanticServiceInvokerEsbChannel">
+ <jms-bus busid="SparqlQueryEsbChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/semanticServiceInvoker" selector="serviceName='SemanticServiceInvoker'" />
</jms-bus>
-
+ <jms-bus busid="SemanticServiceInvokerEsbChannel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/SparqlQuery"
+ selector="serviceName='SparqlQuery'" />
+ </jms-bus>
<jms-bus busid="ManagementCBR_RequestEsbChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/ManagementCBR_Request" selector="serviceName='SemanticServiceRegistryManager'" />
@@ -26,12 +29,14 @@
<jms-message-filter dest-type="QUEUE"
dest-name="queue/CBR_ToIsRegistered" />
</jms-bus>
- <jms-bus busid="CBR_ToListRegisteredEsbChannel"> <jms-message-filter
- dest-type="QUEUE" dest-name="queue/CBR_ToListRegistered" /> </jms-bus>
- <jms-bus busid="SSOA_MonitorEsbChannel">
+ <jms-bus busid="CBR_ToListRegisteredEsbChannel">
<jms-message-filter dest-type="QUEUE"
- dest-name="queue/ssoaMonitor" selector="serviceName='SSOA_Monitor'" />
+ dest-name="queue/CBR_ToListRegistered" />
</jms-bus>
+ <jms-bus busid="SSOA_MonitorEsbChannel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/ssoaMonitor"
+ selector="serviceName='SSOA_Monitor'" />
+ </jms-bus>
<jms-bus busid="CBR_ToListInvokedServicesEsbChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/CBR_ToListInvokedServices" />
@@ -40,6 +45,23 @@
</providers>
<services>
+ <service category="SSOA" name="SparqlQuery"
+ description="Service the semantic service consumer invokes to achieve its goal">
+ <listeners>
+ <jms-listener name="SparqlQuery" busidref="SparqlQueryEsbChannel"
+ maxThreads="1" />
+ </listeners>
+ <actions inXsd="/sparql-protocol-request-types.xsd" outXsd="/sparql-protocol-response-types.xsd"
+ faultXsd="/sparql-protocol-fault-types.xsd" validate="true">
+ <action name="action" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="false" />
+ </action>
+ <action name="action2"
+ class="org.jboss.soa.esb.services.semantics.actions.query.SparQLQueryAction"
+ process="query">
+ </action>
+ </actions>
+ </service>
<service category="SSOA" name="SemanticServiceInvoker"
description="Service the semantic service consumer invokes to achieve its goal">
<listeners>
@@ -55,7 +77,7 @@
class="org.jboss.soa.esb.services.semantics.actions.selection.AllMatchesServiceSelectionAction"
process="select" />
<action name="invoke"
- class="org.jboss.soa.esb.services.semantics.actions.invocation.ServiceInvocationAction"
+ class="org.jboss.soa.esb.services.semantics.actions.invocation.OldServiceInvocationAction"
process="invoke" />
</actions>
</service>
@@ -136,13 +158,13 @@
process="listRegistered" />
</actions>
</service>
-
+
<!-- Monitoring -->
<service category="SSOA" name="SSOA_Monitor"
description="Service to be used to get runtime information about the execution environment">
<listeners>
- <jms-listener name="SSOA_Monitor"
- busidref="SSOA_MonitorEsbChannel" maxThreads="1" />
+ <jms-listener name="SSOA_Monitor" busidref="SSOA_MonitorEsbChannel"
+ maxThreads="1" />
</listeners>
<actions inXsd="/monitor-request.xsd" outXsd="/monitor-response.xsd"
faultXsd="/monitor-fault.xsd" validate="false">
@@ -155,16 +177,18 @@
<route-to service-category="SSOA" service-name="ListInvokedServices"
expression="count(/semmon:monitoringRequestElement/semmon:listInvokedServicesLastExecutionCommand)>0" />
-
+
</property>
</action>
</actions>
</service>
<!-- Registration -->
- <service category="SSOA" name="ListInvokedServices" description="Move to the Blue Team">
+ <service category="SSOA" name="ListInvokedServices"
+ description="Move to the Blue Team">
<listeners>
- <jms-listener name="CBR_ToListInvokedServices" busidref="CBR_ToListInvokedServicesEsbChannel" />
+ <jms-listener name="CBR_ToListInvokedServices"
+ busidref="CBR_ToListInvokedServicesEsbChannel" />
</listeners>
<actions>
<action name="ListInvokedServices"
Modified: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/jbm-queue-service.xml 2010-12-10 22:55:03 UTC (rev 36362)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/jbm-queue-service.xml 2010-12-10 22:59:44 UTC (rev 36363)
@@ -1,6 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=SparqlQuery"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
+ </depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=SparqlQuery_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
+ </depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.esb.quickstart.destination:service=Queue,name=semanticServiceInvoker"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/rdf.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/rdf.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/rdf.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" version="$Id: rdf.xsd,v 1.3 2005/09/30 22:56:10 kclark Exp $">
+
+<!-- http://www.w3.org/TR/rdf-syntax-grammar/ -->
+ <!-- "Define" rdf:RDF -->
+ <xs:complexType name="RDFType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The content of the root RDF element must be valid RDF/XML as
+ defined in the RDF/XML Syntax Specification (Revised):
+ http://www.w3.org/TR/rdf-syntax-grammar/
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="RDF" type="xs:anyType"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/result.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/result.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/result.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- RELAX NG Schema for SPARQL Query Results XML Format This XML schema
+ is normative. $Id: result.xsd,v 1.1 2007/10/17 14:48:47 eric Exp $ -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" targetNamespace="http://www.w3.org/2005/sparql-results#"
+ xmlns:res="http://www.w3.org/2005/sparql-results#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <!-- Using xsi namespaced terms such as xsi:schemaLocation is tricky. as
+ Relax requires them to be given when used. However, WXS has this knowledge
+ built in and validators complain when they are explicitly listed without
+ a schemaLocation (which is forbidden by the WXS spec).. -->
+ <xs:complexType name="SparqlType">
+ <xs:sequence>
+ <xs:element name="head" type="res:HeadType" />
+ <xs:choice>
+ <xs:element name="results" type="res:ResultsType" />
+ <xs:element name="boolean" type="xs:boolean" />
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="HeadType">
+ <xs:sequence>
+ <xs:element name="variable" minOccurs="0" maxOccurs="unbounded"
+ type="res:VariableType" />
+ <xs:element name="link" minOccurs="0" maxOccurs="unbounded"
+ type="res:LinkType" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="VariableType">
+ <xs:attribute name="name" use="required" type="xs:NMTOKEN" />
+ </xs:complexType>
+
+ <xs:complexType name="LinkType">
+ <xs:attribute name="href" use="required" type="res:URI-reference" />
+ </xs:complexType>
+
+ <xs:complexType name="ResultsType">
+ <xs:sequence>
+ <xs:element name="result" minOccurs="0" maxOccurs="unbounded"
+ type="res:ResultType" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- SELECT solution, single match or row -->
+ <xs:complexType name="ResultType">
+ <xs:sequence>
+ <xs:element name="binding" minOccurs="0" maxOccurs="unbounded"
+ type="res:BindingType" />
+ </xs:sequence>
+ <xs:attribute name="index" type="xs:positiveInteger" />
+ </xs:complexType>
+ <!-- SELECT binding in a solution -->
+
+ <xs:complexType name="BindingType">
+ <xs:choice>
+ <xs:element name="uri" type="xs:string" />
+ <xs:element name="bnode" type="xs:string" />
+ <xs:element name="literal">
+ <xs:complexType mixed="true">
+ <xs:attribute name="datatype" type="res:URI-reference" />
+ <!-- <xs:attribute ref="xml:lang"/> -->
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="name" use="required" type="xs:NMTOKEN" />
+ </xs:complexType>
+<!-- -->
+<!-- <xs:attributeGroup name="indexAttr">-->
+<!-- <xs:attribute name="index" use="required" type="xs:positiveInteger" />-->
+<!-- </xs:attributeGroup>-->
+<!-- <xs:attributeGroup name="datatypeAttr">-->
+<!-- <xs:attribute name="datatype" use="required" type="res:URI-reference" />-->
+<!-- </xs:attributeGroup>-->
+ <xs:simpleType name="URI-reference">
+ <xs:restriction base="xs:anyURI" />
+ </xs:simpleType>
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-fault-types.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-fault-types.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-fault-types.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
+ version="$Id: sparql-protocol-types.xsd,v 1.17 2006/01/11 19:15:22 kclark Exp $"
+ targetNamespace="http://www.w3.org/2005/09/sparql-protocol-types"
+ xmlns:st="http://www.w3.org/2005/09/sparql-protocol-types" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vbr="http://www.w3.org/2005/sparql-results#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <xs:import namespace="http://www.w3.org/2005/sparql-results#"
+ schemaLocation="result.xsd" />
+
+ <xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ schemaLocation="rdf.xsd" />
+
+ <xs:complexType name="FaultDetailsType">
+ <xs:annotation>
+ <xs:documentation> This element contains human-readable information
+ about the fault returned by
+ the SPARQL query processing service.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element type="xs:string" name="fault-details" />
+ </xs:sequence>
+
+ </xs:complexType>
+
+ <xs:complexType name="MalformedQueryType">
+ <xs:all>
+ <xs:element name="fault-details" minOccurs="0" maxOccurs="1"
+ type="st:FaultDetailsType" />
+ </xs:all>
+ </xs:complexType>
+
+ <xs:complexType name="QueryRequestRefusedType">
+ <xs:all>
+ <xs:element name="fault-details" minOccurs="0" maxOccurs="1"
+ type="st:FaultDetailsType" />
+ </xs:all>
+ </xs:complexType>
+
+ <xs:element name="malformedQuery" type="st:MalformedQueryType"></xs:element>
+ <xs:element name="queryRequestRefused" type="st:QueryRequestRefusedType"></xs:element>
+
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-request-types.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-request-types.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-request-types.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
+ version="$Id: sparql-protocol-types.xsd,v 1.17 2006/01/11 19:15:22 kclark Exp $"
+ targetNamespace="http://www.w3.org/2005/09/sparql-protocol-types"
+ xmlns:st="http://www.w3.org/2005/09/sparql-protocol-types" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vbr="http://www.w3.org/2005/sparql-results#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <xs:import namespace="http://www.w3.org/2005/sparql-results#"
+ schemaLocation="result.xsd" />
+
+ <xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ schemaLocation="rdf.xsd" />
+
+
+ <xs:complexType name="QueryRequestType">
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" name="query" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>query is an xs:string constrained by the language
+ definition,
+ http://www.w3.org/TR/rdf-sparql-query/#grammar, as "a
+ sequence of characters in
+ the language defined by the [SPARQL]
+ grammar, starting with the Query
+ production"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="default-graph-uri"
+ type="xs:anyURI" />
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="named-graph-uri"
+ type="xs:anyURI" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="query-request" type="st:QueryRequestType"></xs:element>
+
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-response-types.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-response-types.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/src/main/resources/sparql-protocol-response-types.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
+ version="$Id: sparql-protocol-types.xsd,v 1.17 2006/01/11 19:15:22 kclark Exp $"
+ targetNamespace="http://www.w3.org/2005/09/sparql-protocol-types"
+ xmlns:st="http://www.w3.org/2005/09/sparql-protocol-types" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vbr="http://www.w3.org/2005/sparql-results#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <xs:import namespace="http://www.w3.org/2005/sparql-results#"
+ schemaLocation="result.xsd" />
+
+ <xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ schemaLocation="rdf.xsd" />
+
+ <xs:complexType name="QueryResultType">
+ <xs:annotation>
+ <xs:documentation>The type for serializing query results, either as
+ XML or RDF/XML.</xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:element name="sparql" maxOccurs="1" type="vbr:SparqlType" />
+ <xs:element name="RDF" maxOccurs="1" type="rdf:RDFType" />
+ </xs:choice>
+ </xs:complexType>
+
+ <xs:element name="query-result" type="st:QueryResultType"></xs:element>
+
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/web.xml 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>SparqlQueryService</servlet-name>
+ <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_proxy_basic.SparqlQueryService</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>SparqlQueryService</servlet-name>
+ <url-pattern>/SparqlQueryService</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/rdf.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/rdf.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/rdf.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" version="$Id: rdf.xsd,v 1.3 2005/09/30 22:56:10 kclark Exp $">
+
+<!-- http://www.w3.org/TR/rdf-syntax-grammar/ -->
+ <!-- "Define" rdf:RDF -->
+ <xs:element name="RDF" type="xs:anyType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The content of the root RDF element must be valid RDF/XML as
+ defined in the RDF/XML Syntax Specification (Revised):
+ http://www.w3.org/TR/rdf-syntax-grammar/
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/result.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/result.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/result.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+
+ RELAX NG Schema for SPARQL Query Results XML Format This XML schema is
+ normative. $Id: result.xsd,v 1.1 2007/10/17 14:48:47 eric Exp $
+ -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://www.w3.org/2005/sparql-results#" xmlns:res="http://www.w3.org/2005/sparql-results#"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <!--
+ Using xsi namespaced terms such as xsi:schemaLocation is tricky. as
+ Relax requires them to be given when used. However, WXS has this
+ knowledge built in and validators complain when they are explicitly
+ listed without a schemaLocation (which is forbidden by the WXS spec)..
+ -->
+ <xs:element name="sparql">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="res:head" />
+ <xs:choice>
+ <xs:element ref="res:results" />
+ <xs:element ref="res:boolean" />
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="head">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="res:variable" />
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="res:link" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="variable">
+ <xs:complexType>
+ <xs:attributeGroup ref="res:nameAttr" />
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="nameAttr">
+ <xs:attribute name="name" use="required" type="xs:NMTOKEN" />
+ </xs:attributeGroup>
+ <xs:attributeGroup name="hrefAttr">
+ <xs:attribute name="href" use="required" type="res:URI-reference" />
+ </xs:attributeGroup>
+ <xs:element name="link">
+ <xs:complexType>
+ <xs:attributeGroup ref="res:hrefAttr" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="results">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="res:result" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <!-- ASK -->
+ <xs:element name="boolean" type="xs:boolean" />
+ <!-- SELECT solution, single match or row -->
+ <xs:element name="result">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="res:binding" />
+ </xs:sequence>
+ <xs:attribute name="index" type="xs:positiveInteger" />
+ </xs:complexType>
+ </xs:element>
+ <!-- SELECT binding in a solution -->
+ <xs:element name="binding">
+ <xs:complexType>
+ <xs:choice>
+ <xs:element ref="res:uri" />
+ <xs:element ref="res:bnode" />
+ <xs:element ref="res:literal" />
+ </xs:choice>
+ <xs:attributeGroup ref="res:nameAttr" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="uri" type="xs:string" />
+ <xs:element name="bnode" type="xs:string" />
+ <xs:element name="literal">
+ <xs:complexType mixed="true">
+ <xs:attribute name="datatype" type="res:URI-reference" />
+ <!-- <xs:attribute ref="xml:lang"/>-->
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="indexAttr">
+ <xs:attribute name="index" use="required" type="xs:positiveInteger" />
+ </xs:attributeGroup>
+ <xs:attributeGroup name="datatypeAttr">
+ <xs:attribute name="datatype" use="required" type="res:URI-reference" />
+ </xs:attributeGroup>
+ <xs:simpleType name="URI-reference">
+ <xs:restriction base="xs:anyURI" />
+ </xs:simpleType>
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://www.w3.org/2005/08/sparql-protocol-query" xmlns:st="http://www.w3.org/2005/09/sparql-protocol-types"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ targetNamespace="http://www.w3.org/2005/08/sparql-protocol-query"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified"
+ targetNamespace="http://www.w3.org/2005/09/sparql-protocol-types"
+ xmlns:st="http://www.w3.org/2005/09/sparql-protocol-types">
+ <xs:include schemaLocation="sparql-protocol-types.xsd" />
+ <xs:element name="query-request" type="st:QueryRequestType" />
+ <xs:element name="query-result" type="st:QueryResultType" />
+ <xs:element name="malformed-query" type="st:FaultDetailsType" />
+ <xs:element name="query-request-refused" type="st:FaultDetailsType" />
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="queryIn">
+ <wsdl:part name="queryRequest" element="st:query-request" />
+ </wsdl:message>
+ <wsdl:message name="queryOut">
+ <wsdl:part name="queryRespone" element="st:query-result" />
+ </wsdl:message>
+ <wsdl:message name="malformedQueryFault">
+ <wsdl:part name="malformedQueryFault" element="st:malformed-query" />
+ </wsdl:message>
+ <wsdl:message name="queryRequestRefusedFault">
+ <wsdl:part name="queryRequestRefusedFault" element="st:query-request-refused" />
+ </wsdl:message>
+ <wsdl:portType name="SparqlQueryServicePortType">
+ <wsdl:operation name="query">
+ <wsdl:input message="tns:queryIn" />
+ <wsdl:output message="tns:queryOut" />
+ <wsdl:fault message="tns:malformedQueryFault" name="malformedQueryFault" />
+ <wsdl:fault message="tns:queryRequestRefusedFault" name="queryRequestRefusedFault" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="SparqlQueryServiceHttpBinding" type="tns:SparqlQueryServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="query">
+ <soap:operation
+ soapAction="http://www.w3.org/2005/08/sparql-protocol-query/query"
+ style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ <wsdl:fault name="malformedQueryFault">
+ <soap:fault name="malformedQueryFault" use="literal" />
+ </wsdl:fault>
+ <wsdl:fault name="queryRequestRefusedFault">
+ <soap:fault name="queryRequestRefusedFault" use="literal" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="SparqlQueryService">
+ <wsdl:port name="SparqlQueryService" binding="tns:SparqlQueryServiceHttpBinding">
+ <soap:address location="http://cheeso.members.winisp.net/books/books.asmx" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-types.xsd
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-types.xsd (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-types.xsd 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
+ version="$Id: sparql-protocol-types.xsd,v 1.17 2006/01/11 19:15:22 kclark Exp $"
+ targetNamespace="http://www.w3.org/2005/09/sparql-protocol-types"
+ xmlns:st="http://www.w3.org/2005/09/sparql-protocol-types" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vbr="http://www.w3.org/2005/sparql-results#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <xs:import namespace="http://www.w3.org/2005/sparql-results#"
+ schemaLocation="result.xsd" />
+
+ <xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ schemaLocation="rdf.xsd" />
+
+
+ <xs:complexType name="QueryRequestType">
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" name="query" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>query is an xs:string constrained by the language
+ definition,
+ http://www.w3.org/TR/rdf-sparql-query/#grammar, as "a
+ sequence of characters in
+ the language defined by the [SPARQL]
+ grammar, starting with the Query
+ production"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="default-graph-uri"
+ type="xs:anyURI" />
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="named-graph-uri"
+ type="xs:anyURI" />
+ </xs:sequence>
+ </xs:complexType>
+
+
+
+ <xs:complexType name="QueryResultType">
+ <xs:annotation>
+ <xs:documentation>The type for serializing query results, either as
+ XML or RDF/XML.</xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:element maxOccurs="1" ref="vbr:sparql" />
+ <xs:element maxOccurs="1" ref="rdf:RDF" />
+ </xs:choice>
+ </xs:complexType>
+
+ <xs:complexType name="FaultDetailsType">
+ <xs:annotation>
+ <xs:documentation> This element contains human-readable information
+ about the fault returned by
+ the SPARQL query processing service.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element type="xs:string" name="fault-details" />
+ </xs:sequence>
+
+ </xs:complexType>
+
+
+ <xs:complexType name="MalformedQueryType">
+ <xs:all>
+ <xs:element name="fault-details" minOccurs="0" maxOccurs="1"
+ type="st:FaultDetailsType" />
+ </xs:all>
+ </xs:complexType>
+
+ <xs:complexType name="QueryRequestRefusedType">
+ <xs:all>
+ <xs:element name="fault-details" minOccurs="0" maxOccurs="1"
+ type="st:FaultDetailsType" />
+ </xs:all>
+ </xs:complexType>
+
+</xs:schema>
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/quickstart/webservice_proxy_basic/SparqlQueryService.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/quickstart/webservice_proxy_basic/SparqlQueryService.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/jboss/soa/esb/samples/quickstart/webservice_proxy_basic/SparqlQueryService.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,20 @@
+package org.jboss.soa.esb.samples.quickstart.webservice_proxy_basic;
+
+import javax.jws.WebService;
+
+import org.w3._2005._08.sparql_protocol_query.MalformedQueryFault;
+import org.w3._2005._08.sparql_protocol_query.QueryRequestRefusedFault;
+import org.w3._2005._08.sparql_protocol_query.SparqlQueryServicePortType;
+import org.w3._2005._09.sparql_protocol_types.QueryRequestType;
+import org.w3._2005._09.sparql_protocol_types.QueryResultType;
+
+ at WebService(endpointInterface="org.w3._2005._08.sparql_protocol_query.SparqlQueryServicePortType")
+public class SparqlQueryService implements SparqlQueryServicePortType{
+
+ public QueryResultType query(QueryRequestType queryRequest)
+ throws MalformedQueryFault, QueryRequestRefusedFault {
+ System.out.println("*****");
+ return null;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,45 @@
+
+package org.w3._1999._02._22_rdf_syntax_ns;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._1999._02._22_rdf_syntax_ns package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _RDF_QNAME = new QName("http://www.w3.org/1999/02/22-rdf-syntax-ns", "RDF");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._1999._02._22_rdf_syntax_ns
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns", name = "RDF")
+ public JAXBElement<Object> createRDF(Object value) {
+ return new JAXBElement<Object>(_RDF_QNAME, Object.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_1999/_02/_22_rdf_syntax_ns_/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,45 @@
+
+package org.w3._1999._02._22_rdf_syntax_ns_;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._1999._02._22_rdf_syntax_ns_ package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _RDF_QNAME = new QName("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "RDF");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._1999._02._22_rdf_syntax_ns_
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", name = "RDF")
+ public JAXBElement<Object> createRDF(Object value) {
+ return new JAXBElement<Object>(_RDF_QNAME, Object.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/MalformedQueryFault.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,55 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.xml.ws.WebFault;
+import org.w3._2005._09.sparql_protocol_types.FaultDetailsType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebFault(name = "malformed-query", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types")
+public class MalformedQueryFault
+ extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private FaultDetailsType faultInfo;
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ */
+ public MalformedQueryFault(String message, FaultDetailsType faultInfo) {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ * @param cause
+ */
+ public MalformedQueryFault(String message, FaultDetailsType faultInfo, Throwable cause) {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.w3._2005._09.sparql_protocol_types.FaultDetailsType
+ */
+ public FaultDetailsType getFaultInfo() {
+ return faultInfo;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/QueryRequestRefusedFault.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,55 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.xml.ws.WebFault;
+import org.w3._2005._09.sparql_protocol_types.FaultDetailsType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebFault(name = "query-request-refused", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types")
+public class QueryRequestRefusedFault
+ extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private FaultDetailsType faultInfo;
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ */
+ public QueryRequestRefusedFault(String message, FaultDetailsType faultInfo) {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ * @param cause
+ */
+ public QueryRequestRefusedFault(String message, FaultDetailsType faultInfo, Throwable cause) {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.w3._2005._09.sparql_protocol_types.FaultDetailsType
+ */
+ public FaultDetailsType getFaultInfo() {
+ return faultInfo;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryInterface.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,40 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import org.w3._2005._09.sparql_protocol_types.QueryRequest;
+import org.w3._2005._09.sparql_protocol_types.QueryResult;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebService(name = "SparqlQueryInterface", targetNamespace = "http://www.w3.org/2005/08/sparql-protocol-query/")
+ at SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface SparqlQueryInterface {
+
+
+ /**
+ *
+ * @param query
+ * @return
+ * returns org.w3._2005._09.sparql_protocol_types.QueryResult
+ * @throws QueryRequestRefusedFault
+ * @throws MalformedQueryFault
+ */
+ @WebMethod
+ @WebResult(name = "query-result", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types/", partName = "response")
+ public QueryResult query(
+ @WebParam(name = "query-request", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types/", partName = "query")
+ QueryRequest query)
+ throws MalformedQueryFault, QueryRequestRefusedFault
+ ;
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryService.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,53 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebServiceClient(name = "SparqlQueryService", targetNamespace = "http://www.w3.org/2005/08/sparql-protocol-query", wsdlLocation = "file:/C:/jb/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl")
+public class SparqlQueryService
+ extends Service
+{
+
+ private final static URL SPARQLQUERYSERVICE_WSDL_LOCATION;
+
+ static {
+ URL url = null;
+ try {
+ url = new URL("file:/C:/jb/product/services/semantics/war/resources/WEB-INF/wsdl/sparql-protocol-query-11.wsdl");
+ } catch (MalformedURLException e) {
+ e.printStackTrace();
+ }
+ SPARQLQUERYSERVICE_WSDL_LOCATION = url;
+ }
+
+ public SparqlQueryService(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public SparqlQueryService() {
+ super(SPARQLQUERYSERVICE_WSDL_LOCATION, new QName("http://www.w3.org/2005/08/sparql-protocol-query", "SparqlQueryService"));
+ }
+
+ /**
+ *
+ * @return
+ * returns SparqlQueryServicePortType
+ */
+ @WebEndpoint(name = "SparqlQueryService")
+ public SparqlQueryServicePortType getSparqlQueryService() {
+ return (SparqlQueryServicePortType)super.getPort(new QName("http://www.w3.org/2005/08/sparql-protocol-query", "SparqlQueryService"), SparqlQueryServicePortType.class);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_08/sparql_protocol_query/SparqlQueryServicePortType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,40 @@
+
+package org.w3._2005._08.sparql_protocol_query;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import org.w3._2005._09.sparql_protocol_types.QueryRequestType;
+import org.w3._2005._09.sparql_protocol_types.QueryResultType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+ at WebService(name = "SparqlQueryServicePortType", targetNamespace = "http://www.w3.org/2005/08/sparql-protocol-query")
+ at SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface SparqlQueryServicePortType {
+
+
+ /**
+ *
+ * @param queryRequest
+ * @return
+ * returns org.w3._2005._09.sparql_protocol_types.QueryResultType
+ * @throws QueryRequestRefusedFault
+ * @throws MalformedQueryFault
+ */
+ @WebMethod(action = "http://www.w3.org/2005/08/sparql-protocol-query/query")
+ @WebResult(name = "query-result", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types", partName = "queryRespone")
+ public QueryResultType query(
+ @WebParam(name = "query-request", targetNamespace = "http://www.w3.org/2005/09/sparql-protocol-types", partName = "queryRequest")
+ QueryRequestType queryRequest)
+ throws MalformedQueryFault, QueryRequestRefusedFault
+ ;
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/FaultDetailsType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,67 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * This element contains human-readable information
+ * about the fault returned by
+ * the SPARQL query processing service.
+ *
+ *
+ * <p>Java class for FaultDetailsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="FaultDetailsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fault-details" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "FaultDetailsType", propOrder = {
+ "faultDetails"
+})
+public class FaultDetailsType {
+
+ @XmlElement(name = "fault-details", required = true)
+ protected String faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultDetails(String value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQuery.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,64 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element ref="{http://www.w3.org/2005/09/sparql-protocol-types/}fault-details" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+
+})
+ at XmlRootElement(name = "malformed-query")
+public class MalformedQuery {
+
+ @XmlElement(name = "fault-details", namespace = "http://www.w3.org/2005/09/sparql-protocol-types/")
+ protected String faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultDetails(String value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/MalformedQueryType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,62 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MalformedQueryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MalformedQueryType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element name="fault-details" type="{http://www.w3.org/2005/09/sparql-protocol-types}FaultDetailsType" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MalformedQueryType", propOrder = {
+
+})
+public class MalformedQueryType {
+
+ @XmlElement(name = "fault-details")
+ protected FaultDetailsType faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public FaultDetailsType getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public void setFaultDetails(FaultDetailsType value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,115 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._2005._09.sparql_protocol_types package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _MalformedQuery_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "malformed-query");
+ private final static QName _QueryRequest_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "query-request");
+ private final static QName _QueryResult_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "query-result");
+ private final static QName _QueryRequestRefused_QNAME = new QName("http://www.w3.org/2005/09/sparql-protocol-types", "query-request-refused");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2005._09.sparql_protocol_types
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link QueryRequestRefusedType }
+ *
+ */
+ public QueryRequestRefusedType createQueryRequestRefusedType() {
+ return new QueryRequestRefusedType();
+ }
+
+ /**
+ * Create an instance of {@link FaultDetailsType }
+ *
+ */
+ public FaultDetailsType createFaultDetailsType() {
+ return new FaultDetailsType();
+ }
+
+ /**
+ * Create an instance of {@link QueryRequestType }
+ *
+ */
+ public QueryRequestType createQueryRequestType() {
+ return new QueryRequestType();
+ }
+
+ /**
+ * Create an instance of {@link MalformedQueryType }
+ *
+ */
+ public MalformedQueryType createMalformedQueryType() {
+ return new MalformedQueryType();
+ }
+
+ /**
+ * Create an instance of {@link QueryResultType }
+ *
+ */
+ public QueryResultType createQueryResultType() {
+ return new QueryResultType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link FaultDetailsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "malformed-query")
+ public JAXBElement<FaultDetailsType> createMalformedQuery(FaultDetailsType value) {
+ return new JAXBElement<FaultDetailsType>(_MalformedQuery_QNAME, FaultDetailsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QueryRequestType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "query-request")
+ public JAXBElement<QueryRequestType> createQueryRequest(QueryRequestType value) {
+ return new JAXBElement<QueryRequestType>(_QueryRequest_QNAME, QueryRequestType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QueryResultType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "query-result")
+ public JAXBElement<QueryResultType> createQueryResult(QueryResultType value) {
+ return new JAXBElement<QueryResultType>(_QueryResult_QNAME, QueryResultType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link FaultDetailsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/09/sparql-protocol-types", name = "query-request-refused")
+ public JAXBElement<FaultDetailsType> createQueryRequestRefused(FaultDetailsType value) {
+ return new JAXBElement<FaultDetailsType>(_QueryRequestRefused_QNAME, FaultDetailsType.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequest.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,135 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="default-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="named-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "query",
+ "defaultGraphUri",
+ "namedGraphUri"
+})
+ at XmlRootElement(name = "query-request")
+public class QueryRequest {
+
+ @XmlElement(required = true)
+ protected String query;
+ @XmlElement(name = "default-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> defaultGraphUri;
+ @XmlElement(name = "named-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> namedGraphUri;
+
+ /**
+ * Gets the value of the query property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQuery() {
+ return query;
+ }
+
+ /**
+ * Sets the value of the query property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQuery(String value) {
+ this.query = value;
+ }
+
+ /**
+ * Gets the value of the defaultGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the defaultGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDefaultGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getDefaultGraphUri() {
+ if (defaultGraphUri == null) {
+ defaultGraphUri = new ArrayList<String>();
+ }
+ return this.defaultGraphUri;
+ }
+
+ /**
+ * Gets the value of the namedGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the namedGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNamedGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getNamedGraphUri() {
+ if (namedGraphUri == null) {
+ namedGraphUri = new ArrayList<String>();
+ }
+ return this.namedGraphUri;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefused.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,64 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element ref="{http://www.w3.org/2005/09/sparql-protocol-types/}fault-details" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+
+})
+ at XmlRootElement(name = "query-request-refused")
+public class QueryRequestRefused {
+
+ @XmlElement(name = "fault-details", namespace = "http://www.w3.org/2005/09/sparql-protocol-types/")
+ protected String faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultDetails(String value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestRefusedType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,62 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for QueryRequestRefusedType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryRequestRefusedType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <all>
+ * <element name="fault-details" type="{http://www.w3.org/2005/09/sparql-protocol-types}FaultDetailsType" minOccurs="0"/>
+ * </all>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryRequestRefusedType", propOrder = {
+
+})
+public class QueryRequestRefusedType {
+
+ @XmlElement(name = "fault-details")
+ protected FaultDetailsType faultDetails;
+
+ /**
+ * Gets the value of the faultDetails property.
+ *
+ * @return
+ * possible object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public FaultDetailsType getFaultDetails() {
+ return faultDetails;
+ }
+
+ /**
+ * Sets the value of the faultDetails property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FaultDetailsType }
+ *
+ */
+ public void setFaultDetails(FaultDetailsType value) {
+ this.faultDetails = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryRequestType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,133 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for QueryRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryRequestType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="default-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="named-graph-uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryRequestType", propOrder = {
+ "query",
+ "defaultGraphUri",
+ "namedGraphUri"
+})
+public class QueryRequestType {
+
+ @XmlElement(required = true)
+ protected String query;
+ @XmlElement(name = "default-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> defaultGraphUri;
+ @XmlElement(name = "named-graph-uri")
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> namedGraphUri;
+
+ /**
+ * Gets the value of the query property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQuery() {
+ return query;
+ }
+
+ /**
+ * Sets the value of the query property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQuery(String value) {
+ this.query = value;
+ }
+
+ /**
+ * Gets the value of the defaultGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the defaultGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDefaultGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getDefaultGraphUri() {
+ if (defaultGraphUri == null) {
+ defaultGraphUri = new ArrayList<String>();
+ }
+ return this.defaultGraphUri;
+ }
+
+ /**
+ * Gets the value of the namedGraphUri property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the namedGraphUri property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNamedGraphUri().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getNamedGraphUri() {
+ if (namedGraphUri == null) {
+ namedGraphUri = new ArrayList<String>();
+ }
+ return this.namedGraphUri;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResult.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,93 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3._2005.sparql_results.Sparql;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results}sparql"/>
+ * <element ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns}RDF"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "sparql",
+ "rdf"
+})
+ at XmlRootElement(name = "query-result")
+public class QueryResult {
+
+ @XmlElement(namespace = "http://www.w3.org/2005/sparql-results")
+ protected Sparql sparql;
+ @XmlElement(name = "RDF", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns")
+ protected Object rdf;
+
+ /**
+ * Gets the value of the sparql property.
+ *
+ * @return
+ * possible object is
+ * {@link Sparql }
+ *
+ */
+ public Sparql getSparql() {
+ return sparql;
+ }
+
+ /**
+ * Sets the value of the sparql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Sparql }
+ *
+ */
+ public void setSparql(Sparql value) {
+ this.sparql = value;
+ }
+
+ /**
+ * Gets the value of the rdf property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getRDF() {
+ return rdf;
+ }
+
+ /**
+ * Sets the value of the rdf property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setRDF(Object value) {
+ this.rdf = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/QueryResultType.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,94 @@
+
+package org.w3._2005._09.sparql_protocol_types;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3._2005.sparql_results_.Sparql;
+
+
+/**
+ * The type for serializing query results, either as
+ * XML or RDF/XML.
+ *
+ * <p>Java class for QueryResultType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryResultType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}sparql"/>
+ * <element ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}RDF"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryResultType", propOrder = {
+ "sparql",
+ "rdf"
+})
+public class QueryResultType {
+
+ @XmlElement(namespace = "http://www.w3.org/2005/sparql-results#")
+ protected Sparql sparql;
+ @XmlElement(name = "RDF", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
+ protected Object rdf;
+
+ /**
+ * Gets the value of the sparql property.
+ *
+ * @return
+ * possible object is
+ * {@link Sparql }
+ *
+ */
+ public Sparql getSparql() {
+ return sparql;
+ }
+
+ /**
+ * Sets the value of the sparql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Sparql }
+ *
+ */
+ public void setSparql(Sparql value) {
+ this.sparql = value;
+ }
+
+ /**
+ * Gets the value of the rdf property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getRDF() {
+ return rdf;
+ }
+
+ /**
+ * Sets the value of the rdf property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setRDF(Object value) {
+ this.rdf = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/_09/sparql_protocol_types/package-info.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2005/09/sparql-protocol-types")
+package org.w3._2005._09.sparql_protocol_types;
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Binding.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,149 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results}uri"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}bnode"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}literal"/>
+ * </choice>
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "uri",
+ "bnode",
+ "literal"
+})
+ at XmlRootElement(name = "binding")
+public class Binding {
+
+ protected String uri;
+ protected String bnode;
+ protected Literal literal;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the uri property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUri() {
+ return uri;
+ }
+
+ /**
+ * Sets the value of the uri property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUri(String value) {
+ this.uri = value;
+ }
+
+ /**
+ * Gets the value of the bnode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBnode() {
+ return bnode;
+ }
+
+ /**
+ * Sets the value of the bnode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBnode(String value) {
+ this.bnode = value;
+ }
+
+ /**
+ * Gets the value of the literal property.
+ *
+ * @return
+ * possible object is
+ * {@link Literal }
+ *
+ */
+ public Literal getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Sets the value of the literal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Literal }
+ *
+ */
+ public void setLiteral(Literal value) {
+ this.literal = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Head.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,101 @@
+
+package org.w3._2005.sparql_results;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}variable" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}link" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "variable",
+ "link"
+})
+ at XmlRootElement(name = "head")
+public class Head {
+
+ protected List<Variable> variable;
+ protected List<Link> link;
+
+ /**
+ * Gets the value of the variable property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the variable property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVariable().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Variable }
+ *
+ *
+ */
+ public List<Variable> getVariable() {
+ if (variable == null) {
+ variable = new ArrayList<Variable>();
+ }
+ return this.variable;
+ }
+
+ /**
+ * Gets the value of the link property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the link property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLink().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Link }
+ *
+ *
+ */
+ public List<Link> getLink() {
+ if (link == null) {
+ link = new ArrayList<Link>();
+ }
+ return this.link;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Link.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,60 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results}hrefAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "link")
+public class Link {
+
+ @XmlAttribute(required = true)
+ protected String href;
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Literal.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,89 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="datatype" type="{http://www.w3.org/2005/sparql-results}URI-reference" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "content"
+})
+ at XmlRootElement(name = "literal")
+public class Literal {
+
+ @XmlValue
+ protected String content;
+ @XmlAttribute
+ protected String datatype;
+
+ /**
+ * Gets the value of the content property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContent() {
+ return content;
+ }
+
+ /**
+ * Sets the value of the content property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContent(String value) {
+ this.content = value;
+ }
+
+ /**
+ * Gets the value of the datatype property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDatatype() {
+ return datatype;
+ }
+
+ /**
+ * Sets the value of the datatype property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDatatype(String value) {
+ this.datatype = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,129 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._2005.sparql_results package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Bnode_QNAME = new QName("http://www.w3.org/2005/sparql-results", "bnode");
+ private final static QName _Boolean_QNAME = new QName("http://www.w3.org/2005/sparql-results", "boolean");
+ private final static QName _Uri_QNAME = new QName("http://www.w3.org/2005/sparql-results", "uri");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2005.sparql_results
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Link }
+ *
+ */
+ public Link createLink() {
+ return new Link();
+ }
+
+ /**
+ * Create an instance of {@link Literal }
+ *
+ */
+ public Literal createLiteral() {
+ return new Literal();
+ }
+
+ /**
+ * Create an instance of {@link Head }
+ *
+ */
+ public Head createHead() {
+ return new Head();
+ }
+
+ /**
+ * Create an instance of {@link Results }
+ *
+ */
+ public Results createResults() {
+ return new Results();
+ }
+
+ /**
+ * Create an instance of {@link Result }
+ *
+ */
+ public Result createResult() {
+ return new Result();
+ }
+
+ /**
+ * Create an instance of {@link Sparql }
+ *
+ */
+ public Sparql createSparql() {
+ return new Sparql();
+ }
+
+ /**
+ * Create an instance of {@link Variable }
+ *
+ */
+ public Variable createVariable() {
+ return new Variable();
+ }
+
+ /**
+ * Create an instance of {@link Binding }
+ *
+ */
+ public Binding createBinding() {
+ return new Binding();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results", name = "bnode")
+ public JAXBElement<String> createBnode(String value) {
+ return new JAXBElement<String>(_Bnode_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results", name = "boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results", name = "uri")
+ public JAXBElement<String> createUri(String value) {
+ return new JAXBElement<String>(_Uri_QNAME, String.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Result.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,100 @@
+
+package org.w3._2005.sparql_results;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}binding" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "binding"
+})
+ at XmlRootElement(name = "result")
+public class Result {
+
+ protected List<Binding> binding;
+ @XmlAttribute
+ @XmlSchemaType(name = "positiveInteger")
+ protected BigInteger index;
+
+ /**
+ * Gets the value of the binding property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the binding property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBinding().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Binding }
+ *
+ *
+ */
+ public List<Binding> getBinding() {
+ if (binding == null) {
+ binding = new ArrayList<Binding>();
+ }
+ return this.binding;
+ }
+
+ /**
+ * Gets the value of the index property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getIndex() {
+ return index;
+ }
+
+ /**
+ * Sets the value of the index property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setIndex(BigInteger value) {
+ this.index = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Results.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,69 @@
+
+package org.w3._2005.sparql_results;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}result" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "result"
+})
+ at XmlRootElement(name = "results")
+public class Results {
+
+ protected List<Result> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Result }
+ *
+ *
+ */
+ public List<Result> getResult() {
+ if (result == null) {
+ result = new ArrayList<Result>();
+ }
+ return this.result;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Sparql.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,121 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results}head"/>
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results}results"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results}boolean"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "head",
+ "results",
+ "_boolean"
+})
+ at XmlRootElement(name = "sparql")
+public class Sparql {
+
+ @XmlElement(required = true)
+ protected Head head;
+ protected Results results;
+ @XmlElement(name = "boolean")
+ protected Boolean _boolean;
+
+ /**
+ * Gets the value of the head property.
+ *
+ * @return
+ * possible object is
+ * {@link Head }
+ *
+ */
+ public Head getHead() {
+ return head;
+ }
+
+ /**
+ * Sets the value of the head property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Head }
+ *
+ */
+ public void setHead(Head value) {
+ this.head = value;
+ }
+
+ /**
+ * Gets the value of the results property.
+ *
+ * @return
+ * possible object is
+ * {@link Results }
+ *
+ */
+ public Results getResults() {
+ return results;
+ }
+
+ /**
+ * Sets the value of the results property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Results }
+ *
+ */
+ public void setResults(Results value) {
+ this.results = value;
+ }
+
+ /**
+ * Gets the value of the boolean property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isBoolean() {
+ return _boolean;
+ }
+
+ /**
+ * Sets the value of the boolean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBoolean(Boolean value) {
+ this._boolean = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/Variable.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,65 @@
+
+package org.w3._2005.sparql_results;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "variable")
+public class Variable {
+
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results/package-info.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2005/sparql-results", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.w3._2005.sparql_results;
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Binding.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,149 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}uri"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}bnode"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}literal"/>
+ * </choice>
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results#}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "uri",
+ "bnode",
+ "literal"
+})
+ at XmlRootElement(name = "binding")
+public class Binding {
+
+ protected String uri;
+ protected String bnode;
+ protected Literal literal;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the uri property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUri() {
+ return uri;
+ }
+
+ /**
+ * Sets the value of the uri property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUri(String value) {
+ this.uri = value;
+ }
+
+ /**
+ * Gets the value of the bnode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBnode() {
+ return bnode;
+ }
+
+ /**
+ * Sets the value of the bnode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBnode(String value) {
+ this.bnode = value;
+ }
+
+ /**
+ * Gets the value of the literal property.
+ *
+ * @return
+ * possible object is
+ * {@link Literal }
+ *
+ */
+ public Literal getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Sets the value of the literal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Literal }
+ *
+ */
+ public void setLiteral(Literal value) {
+ this.literal = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Head.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,101 @@
+
+package org.w3._2005.sparql_results_;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}variable" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}link" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "variable",
+ "link"
+})
+ at XmlRootElement(name = "head")
+public class Head {
+
+ protected List<Variable> variable;
+ protected List<Link> link;
+
+ /**
+ * Gets the value of the variable property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the variable property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVariable().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Variable }
+ *
+ *
+ */
+ public List<Variable> getVariable() {
+ if (variable == null) {
+ variable = new ArrayList<Variable>();
+ }
+ return this.variable;
+ }
+
+ /**
+ * Gets the value of the link property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the link property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLink().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Link }
+ *
+ *
+ */
+ public List<Link> getLink() {
+ if (link == null) {
+ link = new ArrayList<Link>();
+ }
+ return this.link;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Link.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,60 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results#}hrefAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "link")
+public class Link {
+
+ @XmlAttribute(required = true)
+ protected String href;
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Literal.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,89 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="datatype" type="{http://www.w3.org/2005/sparql-results#}URI-reference" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "content"
+})
+ at XmlRootElement(name = "literal")
+public class Literal {
+
+ @XmlValue
+ protected String content;
+ @XmlAttribute
+ protected String datatype;
+
+ /**
+ * Gets the value of the content property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContent() {
+ return content;
+ }
+
+ /**
+ * Sets the value of the content property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContent(String value) {
+ this.content = value;
+ }
+
+ /**
+ * Gets the value of the datatype property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDatatype() {
+ return datatype;
+ }
+
+ /**
+ * Sets the value of the datatype property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDatatype(String value) {
+ this.datatype = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/ObjectFactory.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,129 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.w3._2005.sparql_results_ package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Boolean_QNAME = new QName("http://www.w3.org/2005/sparql-results#", "boolean");
+ private final static QName _Bnode_QNAME = new QName("http://www.w3.org/2005/sparql-results#", "bnode");
+ private final static QName _Uri_QNAME = new QName("http://www.w3.org/2005/sparql-results#", "uri");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2005.sparql_results_
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Results }
+ *
+ */
+ public Results createResults() {
+ return new Results();
+ }
+
+ /**
+ * Create an instance of {@link Result }
+ *
+ */
+ public Result createResult() {
+ return new Result();
+ }
+
+ /**
+ * Create an instance of {@link Head }
+ *
+ */
+ public Head createHead() {
+ return new Head();
+ }
+
+ /**
+ * Create an instance of {@link Variable }
+ *
+ */
+ public Variable createVariable() {
+ return new Variable();
+ }
+
+ /**
+ * Create an instance of {@link Sparql }
+ *
+ */
+ public Sparql createSparql() {
+ return new Sparql();
+ }
+
+ /**
+ * Create an instance of {@link Binding }
+ *
+ */
+ public Binding createBinding() {
+ return new Binding();
+ }
+
+ /**
+ * Create an instance of {@link Literal }
+ *
+ */
+ public Literal createLiteral() {
+ return new Literal();
+ }
+
+ /**
+ * Create an instance of {@link Link }
+ *
+ */
+ public Link createLink() {
+ return new Link();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results#", name = "boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results#", name = "bnode")
+ public JAXBElement<String> createBnode(String value) {
+ return new JAXBElement<String>(_Bnode_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.w3.org/2005/sparql-results#", name = "uri")
+ public JAXBElement<String> createUri(String value) {
+ return new JAXBElement<String>(_Uri_QNAME, String.class, null, value);
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Result.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,100 @@
+
+package org.w3._2005.sparql_results_;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}binding" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "binding"
+})
+ at XmlRootElement(name = "result")
+public class Result {
+
+ protected List<Binding> binding;
+ @XmlAttribute
+ @XmlSchemaType(name = "positiveInteger")
+ protected BigInteger index;
+
+ /**
+ * Gets the value of the binding property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the binding property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBinding().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Binding }
+ *
+ *
+ */
+ public List<Binding> getBinding() {
+ if (binding == null) {
+ binding = new ArrayList<Binding>();
+ }
+ return this.binding;
+ }
+
+ /**
+ * Gets the value of the index property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getIndex() {
+ return index;
+ }
+
+ /**
+ * Sets the value of the index property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setIndex(BigInteger value) {
+ this.index = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Results.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,69 @@
+
+package org.w3._2005.sparql_results_;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}result" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "result"
+})
+ at XmlRootElement(name = "results")
+public class Results {
+
+ protected List<Result> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Result }
+ *
+ *
+ */
+ public List<Result> getResult() {
+ if (result == null) {
+ result = new ArrayList<Result>();
+ }
+ return this.result;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Sparql.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,121 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}head"/>
+ * <choice>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}results"/>
+ * <element ref="{http://www.w3.org/2005/sparql-results#}boolean"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "head",
+ "results",
+ "_boolean"
+})
+ at XmlRootElement(name = "sparql")
+public class Sparql {
+
+ @XmlElement(required = true)
+ protected Head head;
+ protected Results results;
+ @XmlElement(name = "boolean")
+ protected Boolean _boolean;
+
+ /**
+ * Gets the value of the head property.
+ *
+ * @return
+ * possible object is
+ * {@link Head }
+ *
+ */
+ public Head getHead() {
+ return head;
+ }
+
+ /**
+ * Sets the value of the head property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Head }
+ *
+ */
+ public void setHead(Head value) {
+ this.head = value;
+ }
+
+ /**
+ * Gets the value of the results property.
+ *
+ * @return
+ * possible object is
+ * {@link Results }
+ *
+ */
+ public Results getResults() {
+ return results;
+ }
+
+ /**
+ * Sets the value of the results property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Results }
+ *
+ */
+ public void setResults(Results value) {
+ this.results = value;
+ }
+
+ /**
+ * Gets the value of the boolean property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isBoolean() {
+ return _boolean;
+ }
+
+ /**
+ * Sets the value of the boolean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBoolean(Boolean value) {
+ this._boolean = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/Variable.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,65 @@
+
+package org.w3._2005.sparql_results_;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://www.w3.org/2005/sparql-results#}nameAttr"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "variable")
+public class Variable {
+
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.java
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.java (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/src/org/w3/_2005/sparql_results_/package-info.java 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2005/sparql-results#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.w3._2005.sparql_results_;
Added: labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/view/index.jsp
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/view/index.jsp (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/services/semantics/war/view/index.jsp 2010-12-10 22:59:44 UTC (rev 36363)
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ This is just a place holder.<br>
+ Verify the that the WS has been deployed by hitting
+ <a href="http://localhost:8080/jbossws">
+ http://localhost:8080/jbossws
+ </a>
+ </body>
+</html>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list