KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > xml > querying > helper > XMLDataManager


1 package org.exoplatform.services.xml.querying.helper;
2
3 import java.io.InputStream JavaDoc;
4 import org.xml.sax.InputSource JavaDoc;
5 import org.exoplatform.services.xml.querying.UniFormTransformationException;
6 import org.exoplatform.services.xml.querying.XMLData;
7 import org.exoplatform.services.xml.querying.XMLFragmentData;
8 import org.exoplatform.services.xml.querying.XMLWellFormedData;
9 import org.exoplatform.services.xml.querying.object.MarshallerCreateException;
10 import org.exoplatform.services.xml.querying.object.ObjectMappingException;
11 import org.exoplatform.services.xml.querying.object.ObjectMarshalException;
12 import org.w3c.dom.Node JavaDoc;
13
14
15 public interface XMLDataManager {
16
17     XMLFragmentData create(InputStream JavaDoc stream) throws UniFormTransformationException;
18
19     XMLWellFormedData create(InputSource JavaDoc src) throws UniFormTransformationException;
20
21     XMLWellFormedData create(Node JavaDoc node) throws UniFormTransformationException;
22
23     XMLWellFormedData create(Object JavaDoc obj) throws UniFormTransformationException, ObjectMarshalException,
24                                                 MarshallerCreateException, ObjectMappingException;
25
26     XMLWellFormedData create(Object JavaDoc mapping, Object JavaDoc obj) throws UniFormTransformationException, ObjectMarshalException,
27                                                 MarshallerCreateException, ObjectMappingException;
28
29     XMLFragmentData toFragment(XMLData tree) throws UniFormTransformationException;
30
31     XMLWellFormedData toWellFormed(XMLData tree) throws UniFormTransformationException;
32
33 }
34
Popular Tags