org.springframework.extensions.surf.resource
Class ResourceXMLContentImpl
java.lang.Object
org.springframework.extensions.surf.resource.ResourceContentImpl
org.springframework.extensions.surf.resource.ResourceXMLContentImpl
- All Implemented Interfaces:
- ResourceContent, ResourceXMLContent
public class ResourceXMLContentImpl
- extends ResourceContentImpl
- implements ResourceXMLContent
Binary resource content implementation
- Author:
- muzquiano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceXMLContentImpl
public ResourceXMLContentImpl(Resource resource,
String url)
getXml
public String getXml()
throws IOException
- Description copied from interface:
ResourceXMLContent
- Gets the xml for a resource
- Specified by:
getXml
in interface ResourceXMLContent
- Returns:
- the xml
- Throws:
IOException
getDocument
public org.dom4j.Document getDocument()
throws org.dom4j.DocumentException,
IOException
- Description copied from interface:
ResourceXMLContent
- Gets the document.
- Specified by:
getDocument
in interface ResourceXMLContent
- Returns:
- the document
- Throws:
org.dom4j.DocumentException
IOException
Copyright © 2009 SpringSource, Inc. All Rights Reserved.