org.jasig.portal.utils
Class DocumentFactory
java.lang.Object
org.jasig.portal.utils.DocumentFactory
public class DocumentFactory
- extends Object
Produces an empty Document implementation
- Version:
- $Revision: 19776 $
- Author:
- Bernie Durfee, bdurfee@interactivebusiness.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_instance
protected static DocumentFactory _instance
localDocBuilder
protected static final DocumentFactory.LocalDocumentBuilder localDocBuilder
dbFactory
protected DocumentBuilderFactory dbFactory
DocumentFactory
protected DocumentFactory()
instance
protected static DocumentFactory instance()
getNewDocument
public static Document getNewDocument()
- Returns a new copy of a Document implementation. This will
return an
IPortalDocument implementation.
- Returns:
- an empty org.w3c.dom.Document implementation
getDocumentFromStream
public static Document getDocumentFromStream(InputStream stream,
String publicId)
throws IOException,
SAXException
- Throws:
IOException
SAXException
getDocumentFromStream
public static Document getDocumentFromStream(InputStream stream,
EntityResolver er,
String publicId)
throws IOException,
SAXException
- Throws:
IOException
SAXException
newDocumentBuilder
public static DocumentBuilder newDocumentBuilder()
Copyright © 2010 Jasig. All Rights Reserved.