|
EAF 7.6 Util | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.util.dom.SimpleXMLObjectImpl
org.enhydra.util.jivan.JivanSimpleXMLObjectImpl
public class JivanSimpleXMLObjectImpl
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
Field Summary |
---|
Fields inherited from interface org.enhydra.xml.xmlc.XMLObject |
---|
XMLC_GENERATED_CLASS_FIELD_NAME, XMLC_SOURCE_FILE_FIELD_NAME |
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
---|---|
JivanSimpleXMLObjectImpl()
|
Method Summary | |
---|---|
void |
setDocument(org.w3c.dom.Document document)
Set the Jivan implemented DOM document associated with this object and optional encoding. |
void |
setDocument(org.jivan.html.document.DocumentManager docMan)
Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding. |
void |
setDocument(org.jivan.html.document.DocumentManager docMan,
java.lang.String encoding)
Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding. |
void |
setDocument(org.jivan.html.document.DocumentManager docMan,
java.lang.String mimeType,
java.lang.String encoding)
Set the Jivan implemented DOM document associated with this object via corresponding DocumentManager and optional encoding. |
void |
setDocument(org.w3c.dom.Document document,
java.lang.String encoding)
Set the Jivan implemented DOM document associated with this object and optional encoding. |
void |
setDocument(org.w3c.dom.Document document,
java.lang.String mimeType,
java.lang.String encoding)
Set the Jivan implemented DOM document associated with this object and optional encoding. |
byte[] |
toByteDocument()
Transforms Jivan Document DOM object to byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JivanSimpleXMLObjectImpl()
Method Detail |
---|
public void setDocument(org.w3c.dom.Document document, java.lang.String mimeType, java.lang.String encoding)
setDocument
in class SimpleXMLObjectImpl
document
- org.w3c.dom.Document implementation which should be
associated with this object,mimeType
- The MIME type associated with the document.encoding
- The encoding associated with the document.public void setDocument(org.w3c.dom.Document document, java.lang.String encoding)
document
- org.w3c.dom.Document implementation which should be
associated with this object,encoding
- The encoding associated with the document.public void setDocument(org.w3c.dom.Document document)
document
- org.w3c.dom.Document implementation which should be
associated with this object,public void setDocument(org.jivan.html.document.DocumentManager docMan, java.lang.String mimeType, java.lang.String encoding)
docMan
- appropriate DocumentManager object which contains the desired
Jivan Document implementation (org.jivan.html.dom.HTMLDocumentCEImpl).mimeType
- The MIME type associated with the document.encoding
- The encoding associated with the document.public void setDocument(org.jivan.html.document.DocumentManager docMan, java.lang.String encoding)
docMan
- appropriate DocumentManager object which contains the desired
Jivan Document implementation (org.jivan.html.dom.HTMLDocumentCEImpl).encoding
- The encoding associated with the document.public void setDocument(org.jivan.html.document.DocumentManager docMan)
docMan
- appropriate DocumentManager object which contains the desired
Jivan Document implementation (org.jivan.html.dom.HTMLDocumentCEImpl).public byte[] toByteDocument() throws java.io.IOException
java.io.IOException
|
EAF 7.6 Util | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |