deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.csw.manager
Class XMLFactory

java.lang.Object
  extended by org.deegree.ogcwebservices.csw.manager.XMLFactory

public class XMLFactory
extends Object

Version:
$Revision: 18195 $, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
XMLFactory()
           
 
Method Summary
static void appendDelete(Element root, Delete delete)
          appends an Delete operation to the passed root element
static void appendInsert(Element root, Insert insert)
          appends an Insert operation to the passed root element
static void appendOperation(Element root, Operation operation)
           
static void appendUpdate(Element root, Update update)
          appends an Update operation to the passed root element
static HarvetResultDocument export(HarvestResult response)
           
static TransactionDocument export(Transaction transaction)
           
static TransactionResultDocument export(TransactionResult response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFactory

public XMLFactory()
Method Detail

export

public static final TransactionDocument export(Transaction transaction)
                                        throws XMLParsingException,
                                               OGCWebServiceException
Parameters:
transaction -
Returns:
a XML representation of a Transaction object
Throws:
XMLParsingException
XMLException
OGCWebServiceException

export

public static final HarvetResultDocument export(HarvestResult response)
                                         throws XMLParsingException
Parameters:
response -
Returns:
an XML representation of a TransactionResponse object
Throws:
XMLParsingException

export

public static final TransactionResultDocument export(TransactionResult response)
                                              throws XMLParsingException
Parameters:
response -
Returns:
an XML representation of a TransactionResponse object
Throws:
XMLParsingException

appendOperation

public static void appendOperation(Element root,
                                   Operation operation)
                            throws OGCWebServiceException
Parameters:
root -
operation -
Throws:
OGCWebServiceException

appendDelete

public static void appendDelete(Element root,
                                Delete delete)
appends an Delete operation to the passed root element

Parameters:
root -
delete -

appendUpdate

public static void appendUpdate(Element root,
                                Update update)
appends an Update operation to the passed root element

Parameters:
root -
update -

appendInsert

public static void appendInsert(Element root,
                                Insert insert)
appends an Insert operation to the passed root element

Parameters:
root -
insert -

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org