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


com.hp.hpl.jena.xmloutput.RDFXMLWriterI

All known Subclasses:   com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter,
RDFXMLWriterI
public interface RDFXMLWriterI extends RDFWriter(Code)
This interface only adds documentation to RDFWriter . The documentation identifies the properties that can be set on RDF/XML and RDF/XML-ABBREV writers.
author:
   jjc


Field Summary
 Object_NotInteresting
     Suppress a compiler warning.


Method Summary
 ObjectsetProperty(String propName, Object propValue)
     Sets properties on this writer.
Properties to Control RDF/XML Output
Property Name Description Value class Legal Values
xmlbase The value for xml:base in the file as a string.String a URI string, or null (default)
longId Whether to use long or short id's for anon resources.

Field Detail
_NotInteresting
Object _NotInteresting(Code)
Suppress a compiler warning.





Method Detail
setProperty
Object setProperty(String propName, Object propValue)(Code)
Sets properties on this writer.
can be true, false or "default" (null)
Properties to Control RDF/XML Output
Property Name Description Value class Legal Values
xmlbase The value for xml:base in the file as a string.String a URI string, or null (default)
longId Whether to use long or short id's for anon resources. Short id's are easier to read and are the default, but can run out of memory on very large models. String or Boolean "true", "false" (default)
allowBadURIs URIs in the graph are, by default, checked prior to serialization. String or Boolean "true", "false" (default)
relativeURIs What sort of relative URIs should be used. A comma separate list of options:
same-document
same-document references (e.g. "" or "#foo")
network
network paths e.g. "//example.org/foo" omitting the URI scheme
absolute
absolute paths e.g. "/foo" omitting the scheme and authority
relative
relative path not begining in "../"
parent
relative path begining in "../"
grandparent
relative path begining in "../../"
The default value is "same-document, absolute, relative, parent". To switch off relative URIs use the value "". Relative URIs of any of these types are output where possible if and only if the option has been specified.
String
showXmlDeclaration If true, an XML Declaration is included in the output, if false no XML declaration is included. The default behaviour only gives an XML Declaration when asked to write to an OutputStreamWriter that uses some encoding other than UTF-8 or UTF-16. In this case the encoding is shown in the XML declaration. To ensure that the encoding attribute is shown in the XML declaration either use the write(Model,Writer,String) variant with an appropriate OutputStreamWriter or set this option to false write the declaration to an OutputStream before calling write(Model,OutputStream,String). true, "true", false, "false" or "default"
showDoctypeDeclaration If true, an XML Doctype declaration is included in the output. This declaration includes a !ENTITY declaration for each prefix mapping in the model, and any attribute value that starts with the URI of that mapping is written as starting with the corresponding entity invocation. Warning: experimental. String or Boolean true, false, "true", "false"
tab The number of spaces with which to indent XML child elements. String or Integer positive integer "2" is the default
width A guide to the num of cols before inserting an arbitrary newline. String or Integer positive integer "60" is the default
attributeQuoteChar How to write XML attributes. String "\"" or "'"
blockRules A list of Resource or a String being a comma separated list of fragment IDs from http://www.w3.org/TR/rdf-syntax-grammar indicating grammar rules that will not be used. Rules that can be avoided are: In addition "daml:collection" ( DAML_OIL.collection ) can be blocked. Blocking idAttr also blocks section-Reification. By default propertyAttr is blocked. For the basic writer (RDF/XML) only parseTypeLiteralPropertyElt has any affect, since none of the other rules are implemented by that writer. Resource[] or String
prettyTypes Only for the RDF/XML-ABBREV writer. This is a list of the types of the principal objects in the model. The writer will tend to create RDF/XML with resources of these types at the top level.
Example usage showing the default value:
 w.setProperty("prettyTypes",
 new Resource[]{
 DAML_OIL.Ontology,
 OWL.Ontology,
 DAML_OIL.Datatype,
 OWL.Datatype,
 RDFS.Datatype,
 DAML_OIL.Class,
 RDFS.Class,
 OWL.Class,
 DAML_OIL.Property,
 OWL.ObjectProperty,
 RDF.Property,
 DAML_OIL.ObjectProperty,
 OWL.DatatypeProperty,
 DAML_OIL.DatatypeProperty,
 OWL.TransitiveProperty,
 OWL.SymmetricProperty,
 OWL.FunctionalProperty,
 OWL.InverseFunctionalProperty,
 DAML_OIL.TransitiveProperty,
 DAML_OIL.UnambiguousProperty,
 DAML_OIL.UniqueProperty,
 });
 
Resource[]

Parameters:
  propName - One of "xmlBase", "longId", "allowBadURIs","relativeURIs","showXMLDeclaration", "tab", "attributeQuoteChar","blockRules", "prettyTypes", "showDoctypeDeclaration", "width"
Parameters:
  propValue - A String, Boolean, Integer, Resource[] as appropriate. the old value for this property, or nullif no value was set.



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