Java Doc for AssemblerHelp.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » assembler » 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 » Jena 2.5.5 » com.hp.hpl.jena.assembler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.hp.hpl.jena.assembler.AssemblerHelp

AssemblerHelp
public class AssemblerHelp (Code)
AssemblerHelp provides utility methods used by, and useful for working with, the Assembler code, including the methods that expand a model to include the required inferences and to find the most specific type of a root in an assembler specification.
author:
   kers


Field Summary
protected static  PropertyANY
     A useful constant for listStatements(S, P, O).


Method Summary
public static  SetfindAssemblerRoots(Model model)
     Answer a Set of the ja:Object resources in the full expansion of the assembler specification model model.
public static  SetfindAssemblerRoots(Model model, Resource type)
     Answer a Set of the objects in the full expansion of the assembler specification model which have rdf:type type, which must be a subtype of ja:Object.
public static  ResourcefindSpecificType(Resource root)
     Answer the most specific type of root that is a subclass of ja:Object.
public static  ResourcefindSpecificType(Resource root, Resource baseType)
     Answer the most specific type of root that is a subclass of givenType.
public static  SetfindSpecificTypes(Resource root, Resource baseType)
     Answer all the types of root which are subtypes of baseType and which do not have subtypes which are also types of root.
public static  ModelfullModel(Model m)
     Answer the full model of m, with all its imports included and with the necessary properties added from the JA schema.
public static  ModelfullModel(ImportManager im, Model m)
     Answer the full model of m, with all its imports included and with the necessary properties added from the JA schema.
public static  ResourcegetResource(Statement s)
     Answer the resource that is the object of the statement s.
public static  StringgetString(Statement s)
     Answer the plain string object of the statement s.
public static  StringgetString(Statement s, Literal L)
     Answer the String value of the literal L, which is the object of the Statement s.
public static  voidloadArbitraryClasses(AssemblerGroup g, Model m)
     Load all the classes which are objects of any (t, ja:loadClass, S) statements in m.
public static  voidloadAssemblerClasses(AssemblerGroup group, Model m)
     Load all the classes which are objects of any (t, ja:assembler, S) statements in m.
public static  voidloadClasses(AssemblerGroup group, Model m)
    
public static  ResourcesingleModelRoot(Model singleRoot)
     Answer the single resource in singleRoot of type ja:Model.
public static  ResourcesingleRoot(Model singleRoot, Resource type)
     Answer the single resource in singleRoot of type type.
public static  ResourcewithFullModel(Resource root)
     Answer a Resource .equals() to root, but in the expanded model.

Field Detail
ANY
protected static Property ANY(Code)
A useful constant for listStatements(S, P, O).





Method Detail
findAssemblerRoots
public static Set findAssemblerRoots(Model model)(Code)
Answer a Set of the ja:Object resources in the full expansion of the assembler specification model model.



findAssemblerRoots
public static Set findAssemblerRoots(Model model, Resource type)(Code)
Answer a Set of the objects in the full expansion of the assembler specification model which have rdf:type type, which must be a subtype of ja:Object.



findSpecificType
public static Resource findSpecificType(Resource root)(Code)
Answer the most specific type of root that is a subclass of ja:Object. If there are no candidate types, answer givenType. If there is more than one type, throw a NoSpecificTypeException.



findSpecificType
public static Resource findSpecificType(Resource root, Resource baseType)(Code)
Answer the most specific type of root that is a subclass of givenType. If there are no candidate types, answer givenType. If there is more than one type, throw a NoSpecificTypeException.



findSpecificTypes
public static Set findSpecificTypes(Resource root, Resource baseType)(Code)
Answer all the types of root which are subtypes of baseType and which do not have subtypes which are also types of root.



fullModel
public static Model fullModel(Model m)(Code)
Answer the full model of m, with all its imports included and with the necessary properties added from the JA schema. However, if the magic footprint triple (ja:this, rdf:type, ja:Expanded) is present in the model, it is returned unchanged. Imports are managed by the shared ImportManager.instance.



fullModel
public static Model fullModel(ImportManager im, Model m)(Code)
Answer the full model of m, with all its imports included and with the necessary properties added from the JA schema. However, if the magic footprint triple (ja:this, rdf:type, ja:Expanded) is present in the model, it is returned unchanged. Imports are managed by im.



getResource
public static Resource getResource(Statement s)(Code)
Answer the resource that is the object of the statement s. If the object is not a resource, throw a BadObjectException with that statement.



getString
public static String getString(Statement s)(Code)
Answer the plain string object of the statement s. If the object is not a string literal, throw a BadObjectException with that statement.



getString
public static String getString(Statement s, Literal L)(Code)
Answer the String value of the literal L, which is the object of the Statement s. If the literal is not an XSD String or a plain string without a language code, throw a BadObjectException.



loadArbitraryClasses
public static void loadArbitraryClasses(AssemblerGroup g, Model m)(Code)
Load all the classes which are objects of any (t, ja:loadClass, S) statements in m. The order in which the classes are loaded is not specified, and loading stops immediately if any class cannot be loaded.

Contrast with loadClasses(AssemblerGroup,Model), which loads classes and assumes that those classes are assemblers to be added to the group.




loadAssemblerClasses
public static void loadAssemblerClasses(AssemblerGroup group, Model m)(Code)
Load all the classes which are objects of any (t, ja:assembler, S) statements in m. group.implementWIth(t,c) is called for each statement, where c is an instance of the class named by S. The order in which the classes are loaded is not specified, and loading stops immediately if any class cannot be loaded.



loadClasses
public static void loadClasses(AssemblerGroup group, Model m)(Code)



singleModelRoot
public static Resource singleModelRoot(Model singleRoot)(Code)
Answer the single resource in singleRoot of type ja:Model. Otherwise throw an exception.



singleRoot
public static Resource singleRoot(Model singleRoot, Resource type)(Code)
Answer the single resource in singleRoot of type type. Otherwise throw an exception.



withFullModel
public static Resource withFullModel(Resource root)(Code)
Answer a Resource .equals() to root, but in the expanded model.



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.