org.foray.common.sax
Class DocumentInputSource

java.lang.Object
  extended by org.xml.sax.InputSource
      extended by org.foray.common.sax.DocumentInputSource

public class DocumentInputSource
extends InputSource

This is an InputSource to be used with DocumentReader.

Author:
Kelly A Campbell

Constructor Summary
DocumentInputSource(Document document)
          Constructor.
 
Method Summary
 Document getDocument()
          Returns the wrapped DOM document.
 
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentInputSource

public DocumentInputSource(Document document)
Constructor.

Parameters:
document - The DOM document to be wrapped.
Method Detail

getDocument

public Document getDocument()
Returns the wrapped DOM document.

Returns:
The wrapped DOM document.


Copyright © 2017. All rights reserved.