|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.domts.DOMTest
org.w3c.domts.DOMTestCase
org.w3c.domts.level2.core.importNode11
public final class importNode11
The "importNode(importedNode,deep)" method for a Document should import the given importedNode into that Document. The importedNode is of type Entity_Reference. Only the EntityReference is copied, regardless of deep's value. If the Document provides a definition for the entity name, its value is assigned. Create an entity reference whose name is "ent3" in a different document. Invoke method importNode(importedNode,deep) on this document with importedNode being "ent3". Method should return a node of type Entity_Reference whose first child's value is "Texas" as defined in this document.
| Constructor Summary | |
|---|---|
importNode11(DOMTestDocumentBuilderFactory factory)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getTargetURI()
Gets URI that identifies the test. |
static void |
main(java.lang.String[] args)
Runs this test from the command line. |
void |
runTest()
Runs the test case. |
| Methods inherited from class org.w3c.domts.DOMTest |
|---|
createStream, createTempURI, createXPathEvaluator, getContentType, getFactory, getImplementation, getMutationCount, getResourceURI, hasFeature, hasSetting, isCoalescing, isExpandEntityReferences, isHasNullString, isIgnoringElementContentWhitespace, isNamespaceAware, isSigned, isValidating, load, preload, setFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public importNode11(DOMTestDocumentBuilderFactory factory)
throws DOMTestIncompatibleException
factory - document factory, may not be null
DOMTestIncompatibleException - Thrown if test is not compatible with parser configuration| Method Detail |
|---|
public void runTest()
throws java.lang.Throwable
runTest in class DOMTestCasejava.lang.Throwable - Any uncaught exception causes test to failpublic java.lang.String getTargetURI()
getTargetURI in class DOMTestpublic static void main(java.lang.String[] args)
args - command line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||