org.deegree.services.csw.exporthandling
Class DescribeRecordHelper

java.lang.Object
  extended by org.deegree.services.csw.exporthandling.DescribeRecordHelper

public class DescribeRecordHelper
extends Object

TODO add class documentation here

Version:
$Revision: $, $Date: $
Author:
Lyn Goltz, last edited by: $Author: lyn $

Constructor Summary
DescribeRecordHelper()
           
 
Method Summary
 void exportSchemaComponent(XMLStreamWriter writer, QName typeName, InputStreamReader isr)
          SchemaCompontent which encapsulates the requested xml schema.
 XMLStreamWriter getXMLResponseWriter(HttpResponseBuffer writer, String schemaLocation)
          Returns an XMLStreamWriter for writing an XML response document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescribeRecordHelper

public DescribeRecordHelper()
Method Detail

exportSchemaComponent

public void exportSchemaComponent(XMLStreamWriter writer,
                                  QName typeName,
                                  InputStreamReader isr)
                           throws XMLStreamException
SchemaCompontent which encapsulates the requested xml schema.

Parameters:
writer -
record -
typeName - that corresponds to the requested MetadataStore
Throws:
XMLStreamException

getXMLResponseWriter

public XMLStreamWriter getXMLResponseWriter(HttpResponseBuffer writer,
                                            String schemaLocation)
                                     throws XMLStreamException,
                                            IOException
Returns an XMLStreamWriter for writing an XML response document.

Parameters:
writer - writer to write the XML to, must not be null
schemaLocation - allows to specify a value for the 'xsi:schemaLocation' attribute in the root element, must not be null
Returns:
XMLStreamWriter
Throws:
XMLStreamException
IOException


Copyright © 2011. All Rights Reserved.