net.sf.doolin.oxml.source
Class AbstractOXMLSource

java.lang.Object
  extended by net.sf.doolin.oxml.source.AbstractOXMLSource
All Implemented Interfaces:
OXMLSource
Direct Known Subclasses:
StreamOXMLSource, URLOXMLSource

public abstract class AbstractOXMLSource
extends Object
implements OXMLSource

Utility ancestor for the setup of the parser.

Author:
Damien Coraboeuf

Constructor Summary
AbstractOXMLSource()
           
 
Method Summary
protected  DocumentBuilder getBuilder()
          Creates a document builder for the parsing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.doolin.oxml.OXMLSource
close, getSource
 

Constructor Detail

AbstractOXMLSource

public AbstractOXMLSource()
Method Detail

getBuilder

protected DocumentBuilder getBuilder()
                              throws IOException
Creates a document builder for the parsing.

Returns:
Document builder
Throws:
IOException - If the DOM builder cannnot be configured


Copyright © 2011. All Rights Reserved.