Package org.xhtmlrenderer.resource
Class XMLResource
- java.lang.Object
-
- org.xhtmlrenderer.resource.AbstractResource
-
- org.xhtmlrenderer.resource.XMLResource
-
- All Implemented Interfaces:
Resource
public class XMLResource extends AbstractResource
- Author:
- Patrick Wright
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Document
getDocument()
static XMLResource
load(java.io.InputStream stream)
static XMLResource
load(java.io.Reader reader)
static XMLResource
load(javax.xml.transform.Source source)
static XMLResource
load(org.xml.sax.InputSource source)
static org.xml.sax.XMLReader
newXMLReader()
-
Methods inherited from class org.xhtmlrenderer.resource.AbstractResource
getElapsedLoadTime, getResourceInputSource, getResourceLoadTimeStamp
-
-
-
-
Method Detail
-
load
public static XMLResource load(java.io.InputStream stream)
-
load
public static XMLResource load(org.xml.sax.InputSource source)
-
load
public static XMLResource load(java.io.Reader reader)
-
load
public static XMLResource load(javax.xml.transform.Source source)
-
getDocument
public org.w3c.dom.Document getDocument()
-
newXMLReader
public static final org.xml.sax.XMLReader newXMLReader()
-
-