Source Code Cross Referenced for Node.java in  » Search-Engine » semweb4j » org » ontoware » rdf2go » model » node » 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 » Search Engine » semweb4j » org.ontoware.rdf2go.model.node 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * LICENSE INFORMATION
03:         * Copyright 2005-2007 by FZI (http://www.fzi.de).
04:         * Licensed under a BSD license (http://www.opensource.org/licenses/bsd-license.php)
05:         * <OWNER> = Max Völkel
06:         * <ORGANIZATION> = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe, Germany
07:         * <YEAR> = 2007
08:         * 
09:         * Project information at http://semweb4j.org/rdf2go
10:         */
11:        package org.ontoware.rdf2go.model.node;
12:
13:        /**
14:         * Marker interface for RDF types (URI, BlankNode, Literal)
15:         * 
16:         * The following sorting order is defined by different Node types: URI >
17:         * BlankNode > PlainLiteral > LanguageTaggedLiteral > DatatypedLiteral
18:         * 
19:         * Nodes are expected to have correct implementations of equals(Object other)
20:         * and hashcode()
21:         * 
22:         * @author voelkel
23:         * 
24:         */
25:        public interface Node extends NodeOrVariable, Comparable<Node> {
26:
27:            /**
28:             * A convenience method for a cast to
29:             * org.ontoware.rdf2go.model.node.Resource
30:             * 
31:             * @return this Node casted as a Resource
32:             * @throws ClassCastException
33:             *             if the node is not a Resource
34:             */
35:            public Resource asResource() throws ClassCastException;
36:
37:            /**
38:             * A convenience method for a cast to org.ontoware.rdf2go.model.node.Literal
39:             * 
40:             * @return this Node casted as a Literal
41:             * @throws ClassCastException
42:             *             if the node is not a Literal
43:             */
44:            public Literal asLiteral() throws ClassCastException;;
45:
46:            /**
47:             * A convenience method for a cast to
48:             * org.ontoware.rdf2go.model.node.DatatypeLiteral
49:             * 
50:             * @return this Node casted as a DatatypeLiteral
51:             * @throws ClassCastException
52:             *             if the node is not a DatatypeLiteral
53:             */
54:            public DatatypeLiteral asDatatypeLiteral()
55:                    throws ClassCastException;;
56:
57:            /**
58:             * A convenience method for a cast to
59:             * org.ontoware.rdf2go.model.node.LanguageTagLiteral
60:             * 
61:             * @return this Node casted as a LanguageTagLiteral
62:             * @throws ClassCastException
63:             *             if the node is not a LanguageTagLiteral
64:             */
65:            public LanguageTagLiteral asLanguageTagLiteral()
66:                    throws ClassCastException;;
67:
68:            /**
69:             * A convenience method for a cast to org.ontoware.rdf2go.model.node.URI
70:             * 
71:             * @return this Node casted as a URI
72:             * @throws ClassCastException
73:             *             if the node is not a URI
74:             */
75:            public URI asURI() throws ClassCastException;
76:
77:            /**
78:             * A convenience method for a cast to
79:             * org.ontoware.rdf2go.model.node.BlankNode
80:             * 
81:             * @return this Node casted as a BlankNode
82:             * @throws ClassCastException
83:             *             if the node is not a BlankNode
84:             */
85:            public BlankNode asBlankNode() throws ClassCastException;
86:
87:            /**
88:             * A convenience function to create SPARQL queries from nodes
89:             * 
90:             * @return this node in SPARQL syntax. A URI is wrapped in '&lt;' and
91:             *         '&gt;'. A literal is wrapped in '"' chars and escaped.
92:             */
93:            public String toSPARQL();
94:
95:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.