Esri Geoportal Server
1.0

com.esri.gpt.framework.util
Class ResourceXml

java.lang.Object
  extended by com.esri.gpt.framework.util.ResourceXml

public class ResourceXml
extends Object

Resource XML helper.


Constructor Summary
ResourceXml()
           
 
Method Summary
 String makeResourceXmlFromResponse(String resourceUrl)
          Returns resource xml from the response.
 String makeSimpleResourceXml(String title, String resourceUrl)
          Creates simple resource XML metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceXml

public ResourceXml()
Method Detail

makeResourceXmlFromResponse

public String makeResourceXmlFromResponse(String resourceUrl)
                                   throws IOException
Returns resource xml from the response.

Parameters:
resourceUrl -
Returns:
resource xml
Throws:
IOException

makeSimpleResourceXml

public String makeSimpleResourceXml(String title,
                                    String resourceUrl)
                             throws IllegalArgumentException
Creates simple resource XML metadata.

Parameters:
title - title
resourceUrl - resource URL
Returns:
simple resource XML metadata
Throws:
IllegalArgumentException - if no title provided

Esri Geoportal Server
1.0

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