|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.weft.domutil.DOMStub
a stub to hang onto and return a DOM implementation and other global DOM stuff, including a DocumentBuilder. All methods are class methods - this class is not intended to be instantiated! Users should call init() before calling getDOMImplementation().
This class is aware of the following configuration parameters:
DOMImplementation,
DocumentBuilderFactory.setCoalescing(boolean),
DocumentBuilderFactory.setExpandEntityReferences(boolean),
DocumentBuilderFactory.setIgnoringComments(boolean),
DocumentBuilderFactory.setIgnoringElementContentWhitespace(boolean).,
DocumentBuilderFactory.setNamespaceAware(boolean),
DocumentBuilderFactory.setValidating(boolean)| Constructor Summary | |
DOMStub()
|
|
| Method Summary | |
static DOMImplementation |
getDOMImplementation(Context context)
get a handle on my dom implementation |
static DocumentBuilder |
getParser()
Why is a DocumentBuilder called a DocumentBuilder not a Parser, when what it does is parses? Search me. |
static void |
init(Context config)
Should be called before DOMStub is used, but perfectly safe to call more than once. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DOMStub()
| Method Detail |
public static DOMImplementation getDOMImplementation(Context context)
throws GenerationException
context - the service context
GenerationException - if I have not been initialised
public static DocumentBuilder getParser()
throws GenerationException
GenerationException
public static void init(Context config)
throws InitialisationException
config - my configuration
InitialisationException - if requested DOM implementation
can't be found
|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||