Java Doc for XSLOutputAttributes.java in  » XML » xalan » org » apache » xml » serializer » 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 » XML » xalan » org.apache.xml.serializer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.xml.serializer.XSLOutputAttributes

XSLOutputAttributes
interface XSLOutputAttributes (Code)
This interface has methods associated with the XSLT xsl:output attribues specified in the stylesheet that effect the format of the document output. In an XSLT stylesheet these attributes appear for example as:
  
 
The xsl:output attributes covered in this interface are:
 version
 encoding
 omit-xml-declarations
 standalone
 doctype-public
 doctype-system
 cdata-section-elements
 indent
 media-type
 
The one attribute not covered in this interface is method as this value is implicitly chosen by the serializer that is created, for example ToXMLStream vs. ToHTMLStream or another one. This interface is only used internally within Xalan.




Method Summary
public  StringgetDoctypePublic()
     Returns the previously set value of the value to be used as the public identifier in the document type declaration (DTD).
public  StringgetDoctypeSystem()
     Returns the previously set value of the value to be used as the system identifier in the document type declaration (DTD).
public  StringgetEncoding()
    
public  booleangetIndent()
    
public  intgetIndentAmount()
    
public  StringgetMediaType()
    
public  booleangetOmitXMLDeclaration()
    
public  StringgetStandalone()
    
public  StringgetVersion()
    
public  voidsetCdataSectionElements(Vector URI_and_localNames)
     Sets the value coming from the xsl:output cdata-section-elements stylesheet property. This sets the elements whose text elements are to be output as CDATA sections.
Parameters:
  URI_and_localNames - pairs of namespace URI and local names thatidentify elements whose text elements are to be output as CDATA sections.The namespace of the local element must be the given URI to match.
public  voidsetDoctype(String system, String pub)
    
public  voidsetDoctypePublic(String doctype)
     Set the value coming from the xsl:output doctype-public stylesheet attribute.
public  voidsetDoctypeSystem(String doctype)
     Set the value coming from the xsl:output doctype-system stylesheet attribute.
public  voidsetEncoding(String encoding)
     Sets the character encoding coming from the xsl:output encoding stylesheet attribute.
public  voidsetIndent(boolean indent)
     Sets the value coming from the xsl:output indent stylesheet attribute.
public  voidsetMediaType(String mediatype)
     Sets the value coming from the xsl:output media-type stylesheet attribute.
public  voidsetOmitXMLDeclaration(boolean b)
    
public  voidsetStandalone(String standalone)
     Sets the value coming from the xsl:output standalone stylesheet attribute.
public  voidsetVersion(String version)
     Sets the value coming from the xsl:output version attribute.



Method Detail
getDoctypePublic
public String getDoctypePublic()(Code)
Returns the previously set value of the value to be used as the public identifier in the document type declaration (DTD). the public identifier to be used in the DOCTYPE declaration in theoutput document.



getDoctypeSystem
public String getDoctypeSystem()(Code)
Returns the previously set value of the value to be used as the system identifier in the document type declaration (DTD). the system identifier to be used in the DOCTYPE declaration inthe output document.



getEncoding
public String getEncoding()(Code)
the character encoding to be used in the output document.



getIndent
public boolean getIndent()(Code)
true if the output document should be indented to visuallyindicate its structure.



getIndentAmount
public int getIndentAmount()(Code)
the number of spaces to indent for each indentation level.



getMediaType
public String getMediaType()(Code)
the mediatype the media-type or MIME type associated with theoutput document.



getOmitXMLDeclaration
public boolean getOmitXMLDeclaration()(Code)
true if the XML declaration is to be omitted from the outputdocument.



getStandalone
public String getStandalone()(Code)
a value of "yes" if the standalone delaration is tobe included in the output document.



getVersion
public String getVersion()(Code)
the version of the output format.



setCdataSectionElements
public void setCdataSectionElements(Vector URI_and_localNames)(Code)
Sets the value coming from the xsl:output cdata-section-elements stylesheet property. This sets the elements whose text elements are to be output as CDATA sections.
Parameters:
  URI_and_localNames - pairs of namespace URI and local names thatidentify elements whose text elements are to be output as CDATA sections.The namespace of the local element must be the given URI to match. TheqName is not given because the prefix does not matter, only the namespaceURI to which that prefix would map matters, so the prefix itself is notrelevant in specifying which elements have their text to be output asCDATA sections.



setDoctype
public void setDoctype(String system, String pub)(Code)
Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties
Parameters:
  system - the system identifier to be used in the DOCTYPE declarationin the output document.
Parameters:
  pub - the public identifier to be used in the DOCTYPE declaration inthe output document.



setDoctypePublic
public void setDoctypePublic(String doctype)(Code)
Set the value coming from the xsl:output doctype-public stylesheet attribute.
Parameters:
  doctype - the public identifier to be used in the DOCTYPEdeclaration in the output document.



setDoctypeSystem
public void setDoctypeSystem(String doctype)(Code)
Set the value coming from the xsl:output doctype-system stylesheet attribute.
Parameters:
  doctype - the system identifier to be used in the DOCTYPEdeclaration in the output document.



setEncoding
public void setEncoding(String encoding)(Code)
Sets the character encoding coming from the xsl:output encoding stylesheet attribute.
Parameters:
  encoding - the character encoding



setIndent
public void setIndent(boolean indent)(Code)
Sets the value coming from the xsl:output indent stylesheet attribute.
Parameters:
  indent - true if the output document should be indented to visuallyindicate its structure.



setMediaType
public void setMediaType(String mediatype)(Code)
Sets the value coming from the xsl:output media-type stylesheet attribute.
Parameters:
  mediatype - the media-type or MIME type associated with the outputdocument.



setOmitXMLDeclaration
public void setOmitXMLDeclaration(boolean b)(Code)
Sets the value coming from the xsl:output omit-xml-declaration stylesheet attribute
Parameters:
  b - true if the XML declaration is to be omitted from the outputdocument.



setStandalone
public void setStandalone(String standalone)(Code)
Sets the value coming from the xsl:output standalone stylesheet attribute.
Parameters:
  standalone - a value of "yes" indicates that thestandalone delaration is to be included in the outputdocument.



setVersion
public void setVersion(String version)(Code)
Sets the value coming from the xsl:output version attribute.
Parameters:
  version - the version of the output format.



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