org.springframework.extensions.surf.resource
Interface ResourceXMLContent

All Superinterfaces:
ResourceContent
All Known Implementing Classes:
ResourceXMLContentImpl

public interface ResourceXMLContent
extends ResourceContent

XML Content for a Resource

Author:
muzquiano

Method Summary
 org.dom4j.Document getDocument()
          Gets the document.
 String getXml()
          Gets the xml for a resource
 
Methods inherited from interface org.springframework.extensions.surf.resource.ResourceContent
getBytes, getInputStream, getReader, getResource, getTimestamp
 

Method Detail

getXml

String getXml()
              throws IOException
Gets the xml for a resource

Returns:
the xml
Throws:
IOException

getDocument

org.dom4j.Document getDocument()
                               throws org.dom4j.DocumentException,
                                      IOException
Gets the document.

Returns:
the document
Throws:
org.dom4j.DocumentException
IOException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.