Java Doc for JivanSimpleXMLObjectImpl.java in  » J2EE » Enhydra-Application-Framework » org » enhydra » util » jivan » 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 » J2EE » Enhydra Application Framework » org.enhydra.util.jivan 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.util.dom.SimpleXMLObjectImpl
      org.enhydra.util.jivan.JivanSimpleXMLObjectImpl

JivanSimpleXMLObjectImpl
public class JivanSimpleXMLObjectImpl extends SimpleXMLObjectImpl (Code)

Title: JivanSimpleXMLObjectImpl

Description: This class represents implementation of XMLObject interface. Its main purpose is to provide the way for creation of XMLObject object by passed Jivan org.w3c.dom.Document Jivan implementation. The XMLCObject created by this manner can be used in already existing writeDOM() methods of ServletHttpPresentationResponse object to perform http response. Note that this class was tested only in in http response, not in DOM manipulation, and some methods throw an exception because they are not implemented.

Copyright: Copyright (c) 2004

Company: Together


author:
   Vladimir Radisic
version:
   1.0



Constructor Summary
public  JivanSimpleXMLObjectImpl()
    

Method Summary
public  voidsetDocument(Document document, String mimeType, String encoding)
     Set the Jivan implemented DOM document associated with this object and optional encoding.
public  voidsetDocument(Document document, String encoding)
     Set the Jivan implemented DOM document associated with this object and optional encoding.
public  voidsetDocument(Document document)
     Set the Jivan implemented DOM document associated with this object and optional encoding.
public  voidsetDocument(DocumentManager docMan, String mimeType, String encoding)
     Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding.
public  voidsetDocument(DocumentManager docMan, String encoding)
     Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding.
public  voidsetDocument(DocumentManager docMan)
     Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding.
public  byte[]toByteDocument()
     Transforms Jivan Document DOM object to byte array.


Constructor Detail
JivanSimpleXMLObjectImpl
public JivanSimpleXMLObjectImpl()(Code)




Method Detail
setDocument
public void setDocument(Document document, String mimeType, String encoding)(Code)
Set the Jivan implemented DOM document associated with this object and optional encoding. Note that if argument 'document' is not of type org.jivan.html.dom.HTMLDocumentCEImpl, the ClassCastException will be thrown.
Parameters:
  document - org.w3c.dom.Document implementation which should beassociated with this object,
Parameters:
  mimeType - The MIME type associated with the document.
Parameters:
  encoding - The encoding associated with the document.



setDocument
public void setDocument(Document document, String encoding)(Code)
Set the Jivan implemented DOM document associated with this object and optional encoding. The MIME type is set to default value ('text/html'). Note that if argument 'document' is not of type org.jivan.html.dom.HTMLDocumentCEImpl, the ClassCastException will be thrown.
Parameters:
  document - org.w3c.dom.Document implementation which should beassociated with this object,
Parameters:
  encoding - The encoding associated with the document.



setDocument
public void setDocument(Document document)(Code)
Set the Jivan implemented DOM document associated with this object and optional encoding. The MIME type is set to default value ('text/html'), and encoding is also set to default value ('UTF-8'). Note that if argument 'document' is not of type org.jivan.html.dom.HTMLDocumentCEImpl, the ClassCastException will be thrown.
Parameters:
  document - org.w3c.dom.Document implementation which should beassociated with this object,



setDocument
public void setDocument(DocumentManager docMan, String mimeType, String encoding)(Code)
Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding.
Parameters:
  docMan - appropriate DocumentManager object which contains the desiredJivan Document implementation (org.jivan.html.dom.HTMLDocumentCEImpl).
Parameters:
  mimeType - The MIME type associated with the document.
Parameters:
  encoding - The encoding associated with the document.



setDocument
public void setDocument(DocumentManager docMan, String encoding)(Code)
Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding. The MIME type is set to default value ('text/html').
Parameters:
  docMan - appropriate DocumentManager object which contains the desiredJivan Document implementation (org.jivan.html.dom.HTMLDocumentCEImpl).
Parameters:
  encoding - The encoding associated with the document.



setDocument
public void setDocument(DocumentManager docMan)(Code)
Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding. The MIME type is set to default value ('text/html'), and encoding is also set to default value ('UTF-8').
Parameters:
  docMan - appropriate DocumentManager object which contains the desiredJivan Document implementation (org.jivan.html.dom.HTMLDocumentCEImpl).



toByteDocument
public byte[] toByteDocument() throws IOException(Code)
Transforms Jivan Document DOM object to byte array. This will be done by using corresponding DocumentManager and its serialize() method DOM represented as byte array.
throws:
  IOException -



Methods inherited from org.enhydra.util.dom.SimpleXMLObjectImpl
public Node adoptNode(Node source) throws DOMException(Code)(Java Doc)
public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc)
public void buildDocument()(Code)(Java Doc)
protected void cloneDeepCheck(boolean deep)(Code)(Java Doc)
public Node cloneNode(boolean parm1)(Code)(Java Doc)
public short compareDocumentPosition(Node arg0) throws DOMException(Code)(Java Doc)
public Attr createAttribute(String qualifiedName) throws DOMException(Code)(Java Doc)
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException(Code)(Java Doc)
public CDATASection createCDATASection(String data) throws DOMException(Code)(Java Doc)
public Comment createComment(String data)(Code)(Java Doc)
public DocumentFragment createDocumentFragment()(Code)(Java Doc)
public Element createElement(String tagName) throws DOMException(Code)(Java Doc)
public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException(Code)(Java Doc)
public EntityReference createEntityReference(String name) throws DOMException(Code)(Java Doc)
public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException(Code)(Java Doc)
public Text createTextNode(String data)(Code)(Java Doc)
final protected void doSetText(Element element, String text)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public XMLObject getDelegate()(Code)(Java Doc)
public DocumentType getDoctype()(Code)(Java Doc)
public Document getDocument()(Code)(Java Doc)
public Element getDocumentElement()(Code)(Java Doc)
public String getDocumentURI()(Code)(Java Doc)
public DOMConfiguration getDomConfig()(Code)(Java Doc)
protected XMLCDomFactory getDomFactory()(Code)(Java Doc)
public Element getElementById(String elementId)(Code)(Java Doc)
public NodeList getElementsByTagName(String tagname)(Code)(Java Doc)
public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
public Object getFeature(String arg0, String arg1)(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public DOMImplementation getImplementation()(Code)(Java Doc)
public String getInputEncoding()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public String getMIMEType()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue() throws DOMException(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public boolean getStandalone()(Code)(Java Doc)
public boolean getStrictErrorChecking()(Code)(Java Doc)
public String getTextContent() throws DOMException(Code)(Java Doc)
public Object getUserData(String arg0)(Code)(Java Doc)
public String getVersion()(Code)(Java Doc)
public String getXmlEncoding()(Code)(Java Doc)
public boolean getXmlStandalone()(Code)(Java Doc)
public String getXmlVersion()(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public Node importNode(Node importedNode, boolean deep) throws DOMException(Code)(Java Doc)
public void initFields()(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
public boolean isDefaultNamespace(String arg0)(Code)(Java Doc)
public boolean isEqualNode(Node arg0)(Code)(Java Doc)
public boolean isSameNode(Node arg0)(Code)(Java Doc)
public boolean isSupported(String feature, String version)(Code)(Java Doc)
public boolean isURLAttribute(Element element, String attrName)(Code)(Java Doc)
public String lookupNamespaceURI(String arg0)(Code)(Java Doc)
public String lookupPrefix(String arg0)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public void normalizeDocument()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
public Node renameNode(Node arg0, String arg1, String arg2) throws DOMException(Code)(Java Doc)
public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc)
public void setDelegate(XMLObject delegate)(Code)(Java Doc)
public void setDocument(Document document, String mimeType, String encoding)(Code)(Java Doc)
public void setDocumentURI(String arg0)(Code)(Java Doc)
public void setEncoding(String encoding)(Code)(Java Doc)
public void setNodeValue(String nodeValue) throws DOMException(Code)(Java Doc)
public void setPrefix(String prefix)(Code)(Java Doc)
public void setStandalone(boolean standalone)(Code)(Java Doc)
public void setStrictErrorChecking(boolean strictErrorChecking)(Code)(Java Doc)
public void setTextContent(String arg0) throws DOMException(Code)(Java Doc)
public Object setUserData(String arg0, Object arg1, UserDataHandler arg2)(Code)(Java Doc)
public void setVersion(String version)(Code)(Java Doc)
public void setXmlStandalone(boolean arg0) throws DOMException(Code)(Java Doc)
public void setXmlVersion(String arg0) throws DOMException(Code)(Java Doc)
public void syncAccessMethods()(Code)(Java Doc)
protected void syncWithDocument(Node node)(Code)(Java Doc)
public String toDocument()(Code)(Java Doc)

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.