ru.goodidea.doc
Class DefaultDocumentXMLMapping

java.lang.Object
  extended by ru.goodidea.doc.DefaultDocumentXMLMapping

public class DefaultDocumentXMLMapping
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2004,2009

Company:

Version:
1.0
Author:
Konstantin Pupkov

Field Summary
static java.lang.String EL_FIELDS
           
 
Constructor Summary
DefaultDocumentXMLMapping(org.w3c.dom.Document document)
           
DefaultDocumentXMLMapping(java.lang.String filepath)
           
 
Method Summary
 void fromXML(DefaultDocument document)
           
 void fromXML(DefaultDocument document, java.io.InputStream stream)
           
 void fromXMLCustomFields(org.w3c.dom.Element ddE, DefaultDocument document)
           
 void fromXMLFields(org.w3c.dom.Element ddE, DefaultDocument document)
           
 org.w3c.dom.Document toXML(DefaultDocument document)
           
 void toXMLFile(DefaultDocument document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EL_FIELDS

public static final java.lang.String EL_FIELDS
See Also:
Constant Field Values
Constructor Detail

DefaultDocumentXMLMapping

public DefaultDocumentXMLMapping(org.w3c.dom.Document document)

DefaultDocumentXMLMapping

public DefaultDocumentXMLMapping(java.lang.String filepath)
Method Detail

toXMLFile

public void toXMLFile(DefaultDocument document)
               throws javax.xml.parsers.ParserConfigurationException
Throws:
javax.xml.parsers.ParserConfigurationException

toXML

public org.w3c.dom.Document toXML(DefaultDocument document)
                           throws javax.xml.parsers.ParserConfigurationException,
                                  java.lang.IllegalArgumentException,
                                  java.lang.IllegalAccessException,
                                  java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.io.IOException

fromXML

public void fromXML(DefaultDocument document)
             throws javax.xml.parsers.ParserConfigurationException,
                    java.io.IOException,
                    org.xml.sax.SAXException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException

fromXML

public void fromXML(DefaultDocument document,
                    java.io.InputStream stream)
             throws javax.xml.parsers.ParserConfigurationException,
                    java.io.IOException,
                    org.xml.sax.SAXException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException

fromXMLFields

public void fromXMLFields(org.w3c.dom.Element ddE,
                          DefaultDocument document)

fromXMLCustomFields

public void fromXMLCustomFields(org.w3c.dom.Element ddE,
                                DefaultDocument document)


Copyright © 2009. All Rights Reserved.