ru.goodidea.doc
Class DefaultDocumentXMLMapping
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EL_FIELDS
public static final java.lang.String EL_FIELDS
- See Also:
- Constant Field Values
DefaultDocumentXMLMapping
public DefaultDocumentXMLMapping(org.w3c.dom.Document document)
DefaultDocumentXMLMapping
public DefaultDocumentXMLMapping(java.lang.String filepath)
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.