Esri Geoportal Server
1.0

com.esri.gpt.server.csw.provider.local
Class OriginalXmlProvider

java.lang.Object
  extended by com.esri.gpt.server.csw.provider.local.OriginalXmlProvider
All Implemented Interfaces:
IOriginalXmlProvider

public class OriginalXmlProvider
extends Object
implements IOriginalXmlProvider

Provides an XML document from the local catalog in it's original schema.


Constructor Summary
OriginalXmlProvider()
          Default constructor
 
Method Summary
 String provideOriginalXml(OperationContext context, String id)
          Provides an XML document in it's original schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OriginalXmlProvider

public OriginalXmlProvider()
Default constructor

Method Detail

provideOriginalXml

public String provideOriginalXml(OperationContext context,
                                 String id)
                          throws Exception
Provides an XML document in it's original schema.

Specified by:
provideOriginalXml in interface IOriginalXmlProvider
Parameters:
context - the operation context
id - the document id
Returns:
the original XML string
Throws:
Exception - if an exception occurs while retrieving the XML

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.