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


com.hp.hpl.jena.rdf.model.test.ModelTestBase
   com.hp.hpl.jena.xmloutput.test.XMLOutputTestBase
      com.hp.hpl.jena.xmloutput.test.TestXMLFeatures

TestXMLFeatures
public class TestXMLFeatures extends XMLOutputTestBase (Code)

author:
   bwm
version:
   $Name: $ $Revision: 1.55 $ $Date: 2008/01/02 12:06:48 $


Field Summary
final static  intBadPropURI
    
final static  intBadURI
    
final static  intExtraTriples
    
final static  intNoError
    
static  IRIFactoryfactory
    
protected static  Stringfile1
    
static  StringrData1
    
static  StringrData2
    
static  StringrData3
    

Constructor Summary
 TestXMLFeatures(String name, String lang)
    

Method Summary
public  voidSUPPRESSEDtestBrokenPrefixing()
     Very specific test case to trap bug whereby a model which has a prefix j.0 defined (eg it was read in from a model we wrote out earlier) wants to allocate a new j.* prefix and picked j.0, BOOM.
public  voidSUPPRESSEDtestRelativeURI()
    
public  voidSUPPRESStestNoStripes()
    
public  voidcheckPropURI(String s, String p, Object val, int behaviour)
    
 voiddoBadPropTest(String lg)
    
public static  voidmain(String args)
    
 voidsetNsPrefixSysProp(String prefix, String uri)
    
public  voidtestBadPrefixNamespace()
    
public  voidtestBadProperty1()
    
public  voidtestBadURIAsProperty1()
    
public  voidtestBadURIAsProperty2()
    
public  voidtestBug696057()
     This test checks that using a FileWriter works.
public  voidtestDefaultNamespaceSysProp()
    
public  voidtestDescriptionAsProperty()
    
public  voidtestDoubleQuote()
    
public  voidtestDuplicateNamespace()
    
public  voidtestDuplicateNamespaceSysProp()
    
public  voidtestDuplicatePrefix()
    
public  voidtestDuplicatePrefixSysProp()
    
public  voidtestDuplicatePrefixSysPropAndExplicit()
    
public  voidtestEntityDeclaration()
    
public  voidtestEntityUse()
    
public  voidtestISO8859_1_DeclAbsent()
    
public  voidtestISO8859_1_DeclPresent()
    
public  voidtestLiAsProperty1()
    
public  voidtestNoLiteral()
    
public  voidtestNoTab()
    
public  voidtestNullBaseWithAbbrev()
     Writing a model with the base URI set to null should not throw a nullpointer exception.
public  voidtestPropertyURI()
    
public  voidtestRDFDefaultNamespace()
    
public  voidtestRDFNamespace()
    
public  voidtestRelative()
    
public  voidtestRelativeAPI()
    
public  voidtestSingleQuote()
    
public  voidtestStringDeclAbsent()
    
public  voidtestStringDeclPresent()
    
public  voidtestTab()
    
public  voidtestUTF16DeclAbsent()
    
public  voidtestUTF16DeclPresent()
    
public  voidtestUTF8DeclAbsent()
    
public  voidtestUTF8DeclPresent()
    
public  voidtestUseDefaultNamespace()
    
public  voidtestUseNamespace()
    
public  voidtestUseNamespaceSysProp()
    
public  voidtestUseUnusedNamespace()
    
public  voidtestXMLBase()
    
public  StringtoString()
    

Field Detail
BadPropURI
final static int BadPropURI(Code)



BadURI
final static int BadURI(Code)



ExtraTriples
final static int ExtraTriples(Code)



NoError
final static int NoError(Code)



factory
static IRIFactory factory(Code)



file1
protected static String file1(Code)



rData1
static String rData1(Code)



rData2
static String rData2(Code)



rData3
static String rData3(Code)




Constructor Detail
TestXMLFeatures
TestXMLFeatures(String name, String lang)(Code)




Method Detail
SUPPRESSEDtestBrokenPrefixing
public void SUPPRESSEDtestBrokenPrefixing() throws Exception(Code)
Very specific test case to trap bug whereby a model which has a prefix j.0 defined (eg it was read in from a model we wrote out earlier) wants to allocate a new j.* prefix and picked j.0, BOOM.



SUPPRESSEDtestRelativeURI
public void SUPPRESSEDtestRelativeURI()(Code)



SUPPRESStestNoStripes
public void SUPPRESStestNoStripes() throws IOException(Code)



checkPropURI
public void checkPropURI(String s, String p, Object val, int behaviour) throws IOException(Code)



doBadPropTest
void doBadPropTest(String lg) throws IOException(Code)



main
public static void main(String args) throws Exception(Code)



setNsPrefixSysProp
void setNsPrefixSysProp(String prefix, String uri)(Code)



testBadPrefixNamespace
public void testBadPrefixNamespace() throws IOException(Code)



testBadProperty1
public void testBadProperty1() throws IOException(Code)



testBadURIAsProperty1
public void testBadURIAsProperty1() throws IOException(Code)



testBadURIAsProperty2
public void testBadURIAsProperty2() throws IOException(Code)



testBug696057
public void testBug696057() throws IOException(Code)
This test checks that using a FileWriter works. It used not to work for some encodings. The encoding used is the platform default encoding. Because this may be MacRoman, we have to suppress warning messages.
throws:
  IOException -



testDefaultNamespaceSysProp
public void testDefaultNamespaceSysProp() throws IOException(Code)



testDescriptionAsProperty
public void testDescriptionAsProperty() throws IOException(Code)



testDoubleQuote
public void testDoubleQuote() throws IOException(Code)



testDuplicateNamespace
public void testDuplicateNamespace() throws IOException(Code)



testDuplicateNamespaceSysProp
public void testDuplicateNamespaceSysProp() throws IOException(Code)



testDuplicatePrefix
public void testDuplicatePrefix() throws IOException(Code)



testDuplicatePrefixSysProp
public void testDuplicatePrefixSysProp() throws IOException(Code)



testDuplicatePrefixSysPropAndExplicit
public void testDuplicatePrefixSysPropAndExplicit() throws IOException(Code)



testEntityDeclaration
public void testEntityDeclaration() throws IOException(Code)



testEntityUse
public void testEntityUse() throws IOException(Code)



testISO8859_1_DeclAbsent
public void testISO8859_1_DeclAbsent() throws IOException(Code)



testISO8859_1_DeclPresent
public void testISO8859_1_DeclPresent() throws IOException(Code)



testLiAsProperty1
public void testLiAsProperty1() throws IOException(Code)



testNoLiteral
public void testNoLiteral() throws IOException(Code)



testNoTab
public void testNoTab() throws IOException(Code)



testNullBaseWithAbbrev
public void testNullBaseWithAbbrev()(Code)
Writing a model with the base URI set to null should not throw a nullpointer exception.



testPropertyURI
public void testPropertyURI() throws IOException(Code)



testRDFDefaultNamespace
public void testRDFDefaultNamespace() throws IOException(Code)



testRDFNamespace
public void testRDFNamespace() throws IOException(Code)



testRelative
public void testRelative() throws Exception(Code)



testRelativeAPI
public void testRelativeAPI()(Code)



testSingleQuote
public void testSingleQuote() throws IOException(Code)



testStringDeclAbsent
public void testStringDeclAbsent() throws IOException(Code)



testStringDeclPresent
public void testStringDeclPresent() throws IOException(Code)



testTab
public void testTab() throws IOException(Code)



testUTF16DeclAbsent
public void testUTF16DeclAbsent() throws IOException(Code)



testUTF16DeclPresent
public void testUTF16DeclPresent() throws IOException(Code)



testUTF8DeclAbsent
public void testUTF8DeclAbsent() throws IOException(Code)



testUTF8DeclPresent
public void testUTF8DeclPresent() throws IOException(Code)



testUseDefaultNamespace
public void testUseDefaultNamespace() throws IOException(Code)



testUseNamespace
public void testUseNamespace() throws IOException(Code)



testUseNamespaceSysProp
public void testUseNamespaceSysProp() throws IOException(Code)



testUseUnusedNamespace
public void testUseUnusedNamespace() throws IOException(Code)



testXMLBase
public void testXMLBase() throws IOException(Code)



toString
public String toString()(Code)



Fields inherited from com.hp.hpl.jena.xmloutput.test.XMLOutputTestBase
static SimpleLogger falseLogger(Code)(Java Doc)
final protected String lang(Code)(Java Doc)
static SimpleLogger realLogger(Code)(Java Doc)
static boolean sawErrors(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.xmloutput.test.XMLOutputTestBase
static void blockLogger()(Code)(Java Doc)
protected void check(String filename, String regex, Change code) throws IOException(Code)(Java Doc)
protected void check(String filename, String regexPresent, String regexAbsent, Change code) throws IOException(Code)(Java Doc)
protected void check(String filename, String encoding, String regexPresent, String regexAbsent, Change code) throws IOException(Code)(Java Doc)
protected void check(String filename, String regexAbsent, Change code, String base) throws IOException(Code)(Java Doc)
protected void check(String filename, String encoding, String regexPresent, String regexAbsent, boolean errs, Change code) throws IOException(Code)(Java Doc)
protected void check(String filename, String encoding, String regexPresent, String regexAbsent, boolean errorExpected, Change code, String base) throws IOException(Code)(Java Doc)
static boolean unblockLogger()(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.rdf.model.test.ModelTestBase
protected static Model aModel(Code)(Java Doc)
final protected static Model empty(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.rdf.model.test.ModelTestBase
public static void assertIsoModels(String title, Model wanted, Model got)(Code)(Java Doc)
public static void assertIsoModels(Model wanted, Model got)(Code)(Java Doc)
public static Model createMemModel()(Code)(Java Doc)
public static Model createModel(ReificationStyle style)(Code)(Java Doc)
protected static Model extendedModel()(Code)(Java Doc)
public static Literal literal(Model m, String s)(Code)(Java Doc)
public static Model modelAdd(Model m, String facts)(Code)(Java Doc)
public static Model modelWithStatements(String facts)(Code)(Java Doc)
public static Model modelWithStatements(ReificationStyle style, String facts)(Code)(Java Doc)
protected static String nice(RDFNode n)(Code)(Java Doc)
public static Property property(String s)(Code)(Java Doc)
public static Property property(Model m, String s)(Code)(Java Doc)
public static RDFNode rdfNode(Model m, String s)(Code)(Java Doc)
public static RDFNode rdfNode(Model m, String s, Class c)(Code)(Java Doc)
protected static Resource resource()(Code)(Java Doc)
public static Resource resource(String s)(Code)(Java Doc)
public static Resource resource(Model m, String s)(Code)(Java Doc)
public static Set resourceSet(String items)(Code)(Java Doc)
public static Resource[] resources(Model m, String items)(Code)(Java Doc)
public static Statement statement(Model m, String fact)(Code)(Java Doc)
public static Statement statement(String fact)(Code)(Java Doc)
public static Statement[] statements(Model m, String facts)(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.