org.foray.common.sax
Class DocumentInputSource
java.lang.Object
org.xml.sax.InputSource
org.foray.common.sax.DocumentInputSource
public class DocumentInputSource
- extends InputSource
This is an InputSource to be used with DocumentReader.
- Author:
- Kelly A Campbell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentInputSource
public DocumentInputSource(Document document)
- Constructor.
- Parameters:
document
- The DOM document to be wrapped.
getDocument
public Document getDocument()
- Returns the wrapped DOM document.
- Returns:
- The wrapped DOM document.
Copyright © 2017. All rights reserved.