ca.cbc.sportwire.servlet.data
Interface DOMFactory

All Known Implementing Classes:
DOMDBFactory, DOMFileFactory

public interface DOMFactory

DOMFactory: interface for DOM/JDOM xml-doc data object such as installed by the BasicPageHandler as the $xml variable into the context; this provides access to a DOM built from the string parameter.

Created: Mon Feb 18 14:41:56 EST 2002
 $Log$

 

Version:
$Id: DOMFileFactory.java,v 1.6 2002/02/10 05:45:43 garym Exp $
Author:
Gary Lawrence Murphy
See Also:
BioPageHandler, DocumentFile

Method Summary
 DOMFile dom(PathList pathinfo)
          dom: Returns the DOM object from a pathlist
 DOMFile dom(java.lang.String spec)
          dom returns the DOM object according to a possibly custom DOM class specified by property.
 

Method Detail

dom

public DOMFile dom(PathList pathinfo)
dom: Returns the DOM object from a pathlist
Parameters:
pathinfo - a PathList value
Returns:
a DOMFile value

dom

public DOMFile dom(java.lang.String spec)
dom returns the DOM object according to a possibly custom DOM class specified by property. If it is not loadable, a null is returned and the trouble logged.
Parameters:
pathinfo - a String filename value
Returns:
a DOMFile value or null if there were problems