|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.dom3.DOMImplementationRegistry
This class holds the list of registered DOMImplementations. It is first initialized based on the content of the space separated list of classnames contained in the System Property "org.w3c.dom.DOMImplementationSourceList".
Subsequently, additional sources can be registered and implementations can be queried based on a list of requested features.
This provides an application with an implementation independent starting point.
DOMImplementation
,
DOMImplementationSource
Field Summary | |
static java.lang.String |
PROPERTY
|
Constructor Summary | |
DOMImplementationRegistry()
|
Method Summary | |
static void |
addSource(DOMImplementationSource s)
Register an implementation. |
static org.w3c.dom.DOMImplementation |
getDOMImplementation(java.lang.String features)
Return the first registered implementation that has the desired features, or null if none is found. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static java.lang.String PROPERTY
Constructor Detail |
public DOMImplementationRegistry()
Method Detail |
public static org.w3c.dom.DOMImplementation getDOMImplementation(java.lang.String features) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
features
- A string that specifies which features are required.
This is a space separated list in which each feature is
specified by its name optionally followed by a space
and a version number.
This is something like: "XML 1.0 Traversal Events 2.0"null
if this source has none.public static void addSource(DOMImplementationSource s) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |