Java Doc for Protocol.java in  » RSS-RDF » sesame » org » openrdf » http » protocol » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » sesame » org.openrdf.http.protocol 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openrdf.http.protocol.Protocol

Protocol
abstract public class Protocol (Code)


Field Summary
final public static  StringACCEPT_PARAM_NAME
     Parameter name for the Accept parameter (may also be used as the name of the Accept HTTP header).
final public static  StringBASEURI_PARAM_NAME
     Parameter name for the base-URI parameter.
final public static  StringBINDING_PREFIX
     Parameter prefix for query-external variable bindings.
final public static  StringCONFIG
     Relative location of the config resource.
final public static  StringCONTEXTS
     Relative location of the context list resource of a repository.
final public static  StringCONTEXT_PARAM_NAME
     Parameter name for the context parameter.
final public static  StringDEFAULT_GRAPH_PARAM_NAME
     Parameter name for the default graph URI parameter.
final public static  StringFORM_MIME_TYPE
     MIME type for www forms: application/x-www-form-urlencoded.
final public static  StringINCLUDE_INFERRED_PARAM_NAME
     Parameter name for the 'includeInferred' parameter.
final public static  StringNAMED_GRAPH_PARAM_NAME
     Parameter name for the named graph URI parameter.
final public static  StringNAMESPACES
     Relative location of the namespaces list resource of a repository.
final public static  StringNULL_PARAM_VALUE
     Parameter value for the NULL context.
final public static  StringOBJECT_PARAM_NAME
     Parameter name for the 'object' parameter of statement query.
final public static  StringPREDICATE_PARAM_NAME
     Parameter name for the 'predicate' parameter of a statement query.
final public static  StringPROTOCOL
     Relative location of the protocol resource.
final public static  StringQUERY_LANGUAGE_PARAM_NAME
     Parameter name for the query language parameter.
final public static  StringQUERY_PARAM_NAME
     Parameter name for the query parameter.
final public static  StringREPOSITORIES
     Relative location of the repository list resource.
final public static  StringSIZE
     Relative location of the 'size' resource of a repository.
final public static  StringSTATEMENTS
     Relative location of the statement list resource of a repository.
final public static  StringSUBJECT_PARAM_NAME
     Parameter name for the 'subject' parameter of a statement query.
final public static  StringTXN_MIME_TYPE
     MIME type for transactions: application/x-rdftransaction.
final public static  StringVERSION
     Protocol version.


Method Summary
public static  ResourcedecodeContext(String encodedValue, ValueFactory valueFactory)
     Decode a previously encoded context Resource.
public static  Resource[]decodeContexts(String[] encodedValues, ValueFactory valueFactory)
     Decode previously encoded contexts.
public static  ResourcedecodeResource(String encodedValue, ValueFactory valueFactory)
     Decode a previously encoded Resource.
public static  URIdecodeURI(String encodedValue, ValueFactory valueFactory)
     Decode a previously encoded URI.
public static  ValuedecodeValue(String encodedValue, ValueFactory valueFactory)
     Decode a previously encoded value.
public static  StringencodeContext(Resource context)
     Encodes a context resource for use in a URL.
Parameters:
  value - The resource to encode, possibly null.
public static  String[]encodeContexts(Resource... contexts)
     Encode context resources for use in a URL.
Parameters:
  contexts - the contexts to encode, must not be null.
public static  StringencodeValue(Value value)
     Encodes a value for use in a URL.
Parameters:
  value - The value to encode, possibly null.
final public static  StringgetConfigLocation(String serverLocation)
     Get the location of the server configuration resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
final public static  StringgetContextsLocation(String repositoryLocation)
     Get the location of the contexts lists resource for a specific repository.
Parameters:
  repositoryLocation - the location of a repository implementing this REST protocol.
final public static  StringgetNamespacePrefixLocation(String repositoryLocation, String prefix)
     Get the location of the namespace with the specified prefix for a specific repository on the specified server.
final public static  StringgetNamespacesLocation(String repositoryLocation)
     Get the location of the namespaces lists resource for a specific repository on the specified server.
final public static  StringgetProtocolLocation(String serverLocation)
     Get the location of the protocol resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
final public static  StringgetRepositoriesLocation(String serverLocation)
     Get the location of the repository list resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
final public static  StringgetRepositoryLocation(String serverLocation, String repositoryID)
     Get the location of a specific repository resource on the specified server.
final public static  StringgetSizeLocation(String repositoryLocation)
     Get the location of the 'size' resource for a specific repository on the specified server.
final public static  StringgetStatementsLocation(String repositoryLocation)
     Get the location of the statements resource for a specific repository.
Parameters:
  repositoryLocation - the location of a repositor implementing this REST protocol.

Field Detail
ACCEPT_PARAM_NAME
final public static String ACCEPT_PARAM_NAME(Code)
Parameter name for the Accept parameter (may also be used as the name of the Accept HTTP header).



BASEURI_PARAM_NAME
final public static String BASEURI_PARAM_NAME(Code)
Parameter name for the base-URI parameter.



BINDING_PREFIX
final public static String BINDING_PREFIX(Code)
Parameter prefix for query-external variable bindings.



CONFIG
final public static String CONFIG(Code)
Relative location of the config resource.



CONTEXTS
final public static String CONTEXTS(Code)
Relative location of the context list resource of a repository.



CONTEXT_PARAM_NAME
final public static String CONTEXT_PARAM_NAME(Code)
Parameter name for the context parameter.



DEFAULT_GRAPH_PARAM_NAME
final public static String DEFAULT_GRAPH_PARAM_NAME(Code)
Parameter name for the default graph URI parameter.



FORM_MIME_TYPE
final public static String FORM_MIME_TYPE(Code)
MIME type for www forms: application/x-www-form-urlencoded.



INCLUDE_INFERRED_PARAM_NAME
final public static String INCLUDE_INFERRED_PARAM_NAME(Code)
Parameter name for the 'includeInferred' parameter.



NAMED_GRAPH_PARAM_NAME
final public static String NAMED_GRAPH_PARAM_NAME(Code)
Parameter name for the named graph URI parameter.



NAMESPACES
final public static String NAMESPACES(Code)
Relative location of the namespaces list resource of a repository.



NULL_PARAM_VALUE
final public static String NULL_PARAM_VALUE(Code)
Parameter value for the NULL context.



OBJECT_PARAM_NAME
final public static String OBJECT_PARAM_NAME(Code)
Parameter name for the 'object' parameter of statement query.



PREDICATE_PARAM_NAME
final public static String PREDICATE_PARAM_NAME(Code)
Parameter name for the 'predicate' parameter of a statement query.



PROTOCOL
final public static String PROTOCOL(Code)
Relative location of the protocol resource.



QUERY_LANGUAGE_PARAM_NAME
final public static String QUERY_LANGUAGE_PARAM_NAME(Code)
Parameter name for the query language parameter.



QUERY_PARAM_NAME
final public static String QUERY_PARAM_NAME(Code)
Parameter name for the query parameter.



REPOSITORIES
final public static String REPOSITORIES(Code)
Relative location of the repository list resource.



SIZE
final public static String SIZE(Code)
Relative location of the 'size' resource of a repository.



STATEMENTS
final public static String STATEMENTS(Code)
Relative location of the statement list resource of a repository.



SUBJECT_PARAM_NAME
final public static String SUBJECT_PARAM_NAME(Code)
Parameter name for the 'subject' parameter of a statement query.



TXN_MIME_TYPE
final public static String TXN_MIME_TYPE(Code)
MIME type for transactions: application/x-rdftransaction.



VERSION
final public static String VERSION(Code)
Protocol version.





Method Detail
decodeContext
public static Resource decodeContext(String encodedValue, ValueFactory valueFactory)(Code)
Decode a previously encoded context Resource.
Parameters:
  encodedValue - the encoded value
Parameters:
  valueFactory - the factory to use for constructing the Resource the decoded Resource, or null if the encoded values was null orequal to Protocol.NULL_PARAM_VALUE



decodeContexts
public static Resource[] decodeContexts(String[] encodedValues, ValueFactory valueFactory)(Code)
Decode previously encoded contexts.
Parameters:
  encodedValues - the encoded values
Parameters:
  valueFactory - the factory to use for constructing the Resources the decoded Resources, or an empty array if the suppliedencodedValues was null.



decodeResource
public static Resource decodeResource(String encodedValue, ValueFactory valueFactory)(Code)
Decode a previously encoded Resource.
Parameters:
  encodedValue - the encoded value
Parameters:
  valueFactory - the factory to use for constructing the Resource the decoded Resource
See Also:    encodeValue(org.openrdf.model.Value)



decodeURI
public static URI decodeURI(String encodedValue, ValueFactory valueFactory)(Code)
Decode a previously encoded URI.
Parameters:
  encodedValue - the encoded value
Parameters:
  valueFactory - the factory to use for constructing the URI the decoded URI
See Also:    encodeValue(org.openrdf.model.Value)



decodeValue
public static Value decodeValue(String encodedValue, ValueFactory valueFactory)(Code)
Decode a previously encoded value.
Parameters:
  encodedValue - the encoded value
Parameters:
  valueFactory - the factory to use for constructing the Value the decoded Value
See Also:    encodeValue(org.openrdf.model.Value)



encodeContext
public static String encodeContext(Resource context)(Code)
Encodes a context resource for use in a URL.
Parameters:
  value - The resource to encode, possibly null. The N-Triples representation of the supplied resource, orProtocol.NULL_PARAM_VALUE if the supplied value was null.



encodeContexts
public static String[] encodeContexts(Resource... contexts)(Code)
Encode context resources for use in a URL.
Parameters:
  contexts - the contexts to encode, must not be null. the encoded contexts
throws:
  IllegalArgumentException - If the contexts is null.



encodeValue
public static String encodeValue(Value value)(Code)
Encodes a value for use in a URL.
Parameters:
  value - The value to encode, possibly null. The N-Triples representation of the supplied value, orProtocol.NULL_PARAM_VALUE if the supplied value was null.



getConfigLocation
final public static String getConfigLocation(String serverLocation)(Code)
Get the location of the server configuration resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol. the location of the server configuration resource on the specifiedserver



getContextsLocation
final public static String getContextsLocation(String repositoryLocation)(Code)
Get the location of the contexts lists resource for a specific repository.
Parameters:
  repositoryLocation - the location of a repository implementing this REST protocol. the location of the contexts lists resource for the specifiedrepository



getNamespacePrefixLocation
final public static String getNamespacePrefixLocation(String repositoryLocation, String prefix)(Code)
Get the location of the namespace with the specified prefix for a specific repository on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
Parameters:
  repositoryID - the ID of the repository
Parameters:
  prefix - the namespace prefix the location of the the namespace with the specified prefix for aspecific repository on the specified server



getNamespacesLocation
final public static String getNamespacesLocation(String repositoryLocation)(Code)
Get the location of the namespaces lists resource for a specific repository on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
Parameters:
  repositoryID - the ID of the repository the location of the namespaces lists resource for a specificrepository on the specified server



getProtocolLocation
final public static String getProtocolLocation(String serverLocation)(Code)
Get the location of the protocol resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol. the location of the protocol resource on the specified server



getRepositoriesLocation
final public static String getRepositoriesLocation(String serverLocation)(Code)
Get the location of the repository list resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol. the location of the repository list resource on the specifiedserver



getRepositoryLocation
final public static String getRepositoryLocation(String serverLocation, String repositoryID)(Code)
Get the location of a specific repository resource on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
Parameters:
  repositoryID - the ID of the repository the location of a specific repository resource on the specifiedserver



getSizeLocation
final public static String getSizeLocation(String repositoryLocation)(Code)
Get the location of the 'size' resource for a specific repository on the specified server.
Parameters:
  serverLocation - the base location of a server implementing this REST protocol.
Parameters:
  repositoryID - the ID of the repository the location of the 'size' resource for a specific repository onthe specified server



getStatementsLocation
final public static String getStatementsLocation(String repositoryLocation)(Code)
Get the location of the statements resource for a specific repository.
Parameters:
  repositoryLocation - the location of a repositor implementing this REST protocol. the location of the statements resource for the specifiedrepository



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.