diff -Nru dom4j-1.6.1+dfsg.2/debian/README.Debian dom4j-1.6.1+dfsg.3/debian/README.Debian --- dom4j-1.6.1+dfsg.2/debian/README.Debian 2009-05-19 07:49:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/README.Debian 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -dom4j for Debian ----------------- - -dom4j for debian is currently built without support for XSD and xsd because of -license issues. - - -- Marcus Better , Tue, 19 May 2009 09:49:14 +0200 diff -Nru dom4j-1.6.1+dfsg.2/debian/README.Debian.source dom4j-1.6.1+dfsg.3/debian/README.Debian.source --- dom4j-1.6.1+dfsg.2/debian/README.Debian.source 2009-05-19 07:49:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/README.Debian.source 2013-06-26 19:35:23.000000000 +0000 @@ -4,8 +4,8 @@ * Binary-only jars in the `lib' directory and its subdirectories. * `src/java/org/dom4j/tree/ConcurrentReaderHashMap.java' which comes - from Sun Microsystems and cannot be legally distributed. It is - replaced by the classes from the backport-util-concurrent package. + from Sun Microsystems and cannot be legally distributed. This class + is not used when the java.util.concurrent package is present. * The generated files `docs/clover/org/dom4j/tree/ConcurrentReaderHashMap.html' and diff -Nru dom4j-1.6.1+dfsg.2/debian/changelog dom4j-1.6.1+dfsg.3/debian/changelog --- dom4j-1.6.1+dfsg.2/debian/changelog 2012-05-29 23:57:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/changelog 2013-07-02 12:27:51.000000000 +0000 @@ -1,4 +1,45 @@ -dom4j (1.6.1+dfsg.2-6) UNRELEASED; urgency=low +dom4j (1.6.1+dfsg.3-2ubuntu1) saucy; urgency=low + + * Drop support for XSD; this requires libmsv-java which is built using + maven2 which is not in main: + - d/control: Remove dependencies on libmsv-java. + - d/rules: Don't include xsdlib on build classpath. + - d/p/07_disable_xsd_support.patch: Patch out compilation and testing + of XSD support features. + + -- James Page Tue, 02 Jul 2013 13:27:34 +0100 + +dom4j (1.6.1+dfsg.3-2) unstable; urgency=low + + * Removed the dependency on libjaxme-java + * Use canonical URLs for the Vcs-* fields + * Upload to unstable + + -- Emmanuel Bourg Wed, 26 Jun 2013 23:29:47 +0200 + +dom4j (1.6.1+dfsg.3-1) experimental; urgency=low + + * Team upload. + * New repacking of upstream tarball that excludes jars and generated + api docs. Thanks to Emmanuel Bourg. + + -- tony mancill Sat, 20 Apr 2013 11:40:33 -0700 + +dom4j (1.6.1+dfsg.2-7) experimental; urgency=low + + * Team upload. + * Removed the dependency on backport-util-concurrent + * Update Standards-Version: 3.9.4 (no changes) + * debian/rules: Added a get-orig-source target to fetch the upstream tarball. + The generated content, jars and non free classes are filtered on the fly. + * Enabled XSD support by adding a dependency on libmsv-java + * Link the Javadoc to the default JRE doc instead of the Classpath doc + * Reorganized the patches into smaller units + * Fixed the Debian version mangling in debian/watch + + -- Emmanuel Bourg Mon, 15 Apr 2013 17:40:26 +0200 + +dom4j (1.6.1+dfsg.2-6) unstable; urgency=low * Team upload. diff -Nru dom4j-1.6.1+dfsg.2/debian/control dom4j-1.6.1+dfsg.3/debian/control --- dom4j-1.6.1+dfsg.2/debian/control 2012-05-29 23:56:15.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/control 2013-07-02 12:06:11.000000000 +0000 @@ -1,18 +1,20 @@ Source: dom4j Section: java Priority: optional -Maintainer: Debian Java Maintainers -Uploaders: Marcus Better +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Java Maintainers +Uploaders: Marcus Better , Emmanuel Bourg Build-Depends: debhelper (>= 7), ant-optional, default-jdk, maven-repo-helper, cdbs -Build-Depends-Indep: antlr, libjaxen-java, libjaxme-java, libxpp2-java, libxpp3-java, libxerces2-java, libxalan2-java (>= 2.7.0), libbackport-util-concurrent-java, junit, libjunitperf-java -Standards-Version: 3.9.3 -Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/dom4j -Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/dom4j +Build-Depends-Indep: antlr, libjaxen-java, libxpp2-java, libxpp3-java, + libxerces2-java, libxalan2-java (>= 2.7.0), junit, libjunitperf-java +Standards-Version: 3.9.4 +Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/dom4j +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/dom4j Homepage: http://sourceforge.net/projects/dom4j/ Package: libdom4j-java Architecture: all -Depends: ${misc:Depends}, libjaxen-java, libjaxme-java, libxpp2-java, libxpp3-java, libbackport-util-concurrent-java +Depends: ${misc:Depends}, libjaxen-java, libxpp2-java, libxpp3-java Suggests: libdom4j-java-doc Description: flexible XML framework for Java dom4j is a library for working with XML, XPath and XSLT on the Java diff -Nru dom4j-1.6.1+dfsg.2/debian/orig-tar.exclude dom4j-1.6.1+dfsg.3/debian/orig-tar.exclude --- dom4j-1.6.1+dfsg.2/debian/orig-tar.exclude 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/orig-tar.exclude 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,9 @@ +*.jar +lib/*.jar +lib/endorsed/* +lib/test/* +lib/tools/* +docs/apidocs/* +docs/clover/org/dom4j/tree/ConcurrentReaderHashMap.html +docs/xref/org/dom4j/tree/ConcurrentReaderHashMap.html +src/java/org/dom4j/tree/ConcurrentReaderHashMap.java diff -Nru dom4j-1.6.1+dfsg.2/debian/orig-tar.sh dom4j-1.6.1+dfsg.3/debian/orig-tar.sh --- dom4j-1.6.1+dfsg.2/debian/orig-tar.sh 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/orig-tar.sh 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,14 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +DEBIAN_VERSION=$2 +DIR=dom4j-$DEBIAN_VERSION +TAR=../dom4j_$DEBIAN_VERSION+dfsg.3.orig.tar.gz + +# clean up the upstream tarball +tar zxf $3 +rm -f $3 +GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR +rm -rf $DIR + +exit 0 diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/01_build-tweaks.patch dom4j-1.6.1+dfsg.3/debian/patches/01_build-tweaks.patch --- dom4j-1.6.1+dfsg.2/debian/patches/01_build-tweaks.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/01_build-tweaks.patch 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,58 @@ +Description: + Link the Javadoc with the Java API installed with default-jre + Fix the classpath for the tests + Ignore test failures +Forwarded: not-needed +--- a/build.xml ++++ b/build.xml +@@ -24,6 +24,15 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -155,6 +164,7 @@ + + +- ++ + + + +@@ -236,7 +246,7 @@ + doctitle="${Name}" + bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />" + stylesheetfile="${doc.dir}/style/javadoc.css"> +- ++ + + + +@@ -270,7 +280,7 @@ + + + +- ++ + + + diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/02_disable-matrix-concat-test.patch dom4j-1.6.1+dfsg.3/debian/patches/02_disable-matrix-concat-test.patch --- dom4j-1.6.1+dfsg.2/debian/patches/02_disable-matrix-concat-test.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/02_disable-matrix-concat-test.patch 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Disable the matrix concat test +Bug-Debian: http://bugs.debian.org/439614 +Forwarded: not-needed +--- a/src/test/org/dom4j/xpath/MatrixConcatTest.java ++++ b/src/test/org/dom4j/xpath/MatrixConcatTest.java +@@ -32,10 +32,11 @@ + String[] exp1 = {"EQUITY_CF1", "EQUITY_CF2", "EQUITY_CF3"}; + + String[] exp2 = {"EQUITY_BAR_CF1", "EQUITY_BAR_CF2", "EQUITY_BAR_CF3"}; +- ++ /* Disabled. Doesn't wor k with any JVM I found. + testMatrixConcat("'EQUITY_',/product/cashflows/CashFlow/XREF", exp1); + testMatrixConcat("'EQUITY_','BAR_',/product/cashflows/CashFlow/XREF", + exp2); ++ */ + } + + // Implementation methods diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/03_remove-non-free-map.patch dom4j-1.6.1+dfsg.3/debian/patches/03_remove-non-free-map.patch --- dom4j-1.6.1+dfsg.2/debian/patches/03_remove-non-free-map.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/03_remove-non-free-map.patch 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,69 @@ +Description: Remove the usages of the non free ConcurrentReaderHashMap class. +Forwarded: not-needed +--- a/src/java/org/dom4j/tree/NamespaceCache.java ++++ b/src/java/org/dom4j/tree/NamespaceCache.java +@@ -10,6 +10,7 @@ + import java.lang.ref.WeakReference; + import java.lang.reflect.Constructor; + import java.util.Map; ++import java.util.concurrent.ConcurrentHashMap; + + import org.dom4j.Namespace; + +@@ -26,45 +27,17 @@ + * @version $Revision: 1.15 $ + */ + public class NamespaceCache { +- private static final String CONCURRENTREADERHASHMAP_CLASS +- = "EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap"; +- + /** + * Cache of {@link Map}instances indexed by URI which contain caches of + * {@link Namespace}for each prefix + */ +- protected static Map cache; ++ protected static Map cache = new ConcurrentHashMap(); + + /** + * Cache of {@link Namespace}instances indexed by URI for default + * namespaces with no prefixes + */ +- protected static Map noPrefixCache; +- +- static { +- /* Try the java.util.concurrent.ConcurrentHashMap first. */ +- try { +- Class clazz = Class +- .forName("java.util.concurrent.ConcurrentHashMap"); +- Constructor construct = clazz.getConstructor(new Class[] { +- Integer.TYPE, Float.TYPE, Integer.TYPE }); +- cache = (Map) construct.newInstance(new Object[] {new Integer(11), +- new Float(0.75f), new Integer(1) }); +- noPrefixCache = (Map) construct.newInstance(new Object[] { +- new Integer(11), new Float(0.75f), new Integer(1) }); +- } catch (Throwable t1) { +- /* Try to use the util.concurrent library (if in classpath) */ +- try { +- Class clazz = Class.forName(CONCURRENTREADERHASHMAP_CLASS); +- cache = (Map) clazz.newInstance(); +- noPrefixCache = (Map) clazz.newInstance(); +- } catch (Throwable t2) { +- /* If previous implementations fail, use internal one */ +- cache = new ConcurrentReaderHashMap(); +- noPrefixCache = new ConcurrentReaderHashMap(); +- } +- } +- } ++ protected static Map noPrefixCache = new ConcurrentHashMap(); + + /** + * DOCUMENT ME! +@@ -154,7 +127,7 @@ + answer = (Map) cache.get(uri); + + if (answer == null) { +- answer = new ConcurrentReaderHashMap(); ++ answer = new ConcurrentHashMap(); + cache.put(uri, answer); + } + } diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/04_headless-test.patch dom4j-1.6.1+dfsg.3/debian/patches/04_headless-test.patch --- dom4j-1.6.1+dfsg.2/debian/patches/04_headless-test.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/04_headless-test.patch 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,10 @@ +--- a/xml/bean/gui.xml ++++ b/xml/bean/gui.xml +@@ -1,5 +1,5 @@ + + +- +- ++ ++ + diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/05_java7-compat.patch dom4j-1.6.1+dfsg.3/debian/patches/05_java7-compat.patch --- dom4j-1.6.1+dfsg.2/debian/patches/05_java7-compat.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/05_java7-compat.patch 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,59 @@ +Description: Fixup compareTo function in Rule class to be compliant + with the Java 7 (and Java 6) API. Comparisons where not symmetric + with the upstream handling in this function: + . + r1 > r2 but ! r2 < r1 + . + Also added extra tests to ensure that comparison works both ways. +Author: James Page +Forwarded: no +Bug-Debian: http://bugs.debian.org/673765 +--- a/src/java/org/dom4j/rule/Rule.java ++++ b/src/java/org/dom4j/rule/Rule.java +@@ -99,16 +99,16 @@ + * @return DOCUMENT ME! + */ + public int compareTo(Rule that) { +- int answer = this.importPrecedence - that.importPrecedence; +- +- if (answer == 0) { +- answer = (int) Math.round(this.priority - that.priority); +- +- if (answer == 0) { +- answer = this.appearenceCount - that.appearenceCount; +- } ++ int answer = 0; ++ if (this.importPrecedence != that.importPrecedence) { ++ answer = this.importPrecedence < that.importPrecedence ? -1 : 1; ++ } ++ else if (Double.compare(this.priority, that.priority) != 0) { ++ answer = Double.compare(this.priority, that.priority); ++ } ++ else if (this.appearenceCount != that.appearenceCount) { ++ answer = this.appearenceCount < that.appearenceCount ? -1 : 1; + } +- + return answer; + } + +--- a/src/test/org/dom4j/rule/RuleTest.java ++++ b/src/test/org/dom4j/rule/RuleTest.java +@@ -48,6 +48,18 @@ + + assertTrue("r1 > r2", value > 0); + ++ value = r2.compareTo(r1); ++ ++ System.out.println("Comparison: " + value); ++ ++ assertTrue("r2 < r1", value < 0); ++ ++ value = r1.compareTo(r1); ++ ++ System.out.println("Comparison: " + value); ++ ++ assertTrue("r1 == r1", value == 0); ++ + ArrayList list = new ArrayList(); + list.add(r1); + list.add(r2); diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/06_dom-level3-support.patch dom4j-1.6.1+dfsg.3/debian/patches/06_dom-level3-support.patch --- dom4j-1.6.1+dfsg.2/debian/patches/06_dom-level3-support.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/06_dom-level3-support.patch 2013-06-26 19:35:23.000000000 +0000 @@ -0,0 +1,958 @@ +Description: Implement DOM Level 3 methods to fix the compilation + with Java 5 and later +Author: Torsten Werner +Forwarded: not-needed +--- a/src/java/org/dom4j/dom/DOMDocumentType.java ++++ b/src/java/org/dom4j/dom/DOMDocumentType.java +@@ -12,7 +12,9 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -177,6 +179,66 @@ + public String getInternalSubset() { + return getElementName(); + } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMProcessingInstruction.java ++++ b/src/java/org/dom4j/dom/DOMProcessingInstruction.java +@@ -15,7 +15,9 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -177,6 +179,66 @@ + } + } + ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ + // Implementation methods + // ------------------------------------------------------------------------- + } +--- a/src/java/org/dom4j/dom/DOMAttribute.java ++++ b/src/java/org/dom4j/dom/DOMAttribute.java +@@ -14,7 +14,10 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.TypeInfo; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -179,6 +182,76 @@ + public org.w3c.dom.Element getOwnerElement() { + return DOMNodeHelper.asDOMElement(getParent()); + } ++ ++ public TypeInfo getSchemaTypeInfo() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isId() { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node other) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String textContent) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node other) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String namespaceURI) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String namespaceURI) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String prefix) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String feature, String version) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String key, Object data, UserDataHandler handler) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String key) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMDocumentFactory.java ++++ b/src/java/org/dom4j/dom/DOMDocumentFactory.java +@@ -174,6 +174,11 @@ + docType.getPublicId(), docType.getSystemId()); + } + } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + +@@ -213,4 +218,4 @@ + * POSSIBILITY OF SUCH DAMAGE. + * + * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. +- */ +\ No newline at end of file ++ */ +--- a/src/java/org/dom4j/dom/DOMComment.java ++++ b/src/java/org/dom4j/dom/DOMComment.java +@@ -13,7 +13,9 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -187,6 +189,66 @@ + throws DOMException { + DOMNodeHelper.replaceData(this, offset, count, arg); + } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node other) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String textContent) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node other) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String namespaceURI) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String namespaceURI) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String prefix) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String feature, String version) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String key, Object data, UserDataHandler handler) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String key) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMNamespace.java ++++ b/src/java/org/dom4j/dom/DOMNamespace.java +@@ -13,7 +13,9 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -140,6 +142,66 @@ + public boolean hasAttributes() { + return DOMNodeHelper.hasAttributes(this); + } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMDocument.java ++++ b/src/java/org/dom4j/dom/DOMDocument.java +@@ -15,12 +15,15 @@ + + import org.w3c.dom.Attr; + import org.w3c.dom.CDATASection; ++import org.w3c.dom.DOMConfiguration; + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.EntityReference; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; + import org.w3c.dom.ProcessingInstruction; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -301,6 +304,136 @@ + return super.getDocumentFactory(); + } + } ++ ++ public String getInputEncoding() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public String getXmlEncoding() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean getXmlStandalone() { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public void setXmlStandalone(boolean arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public String getXmlVersion() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setXmlVersion(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean getStrictErrorChecking() { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public void setStrictErrorChecking(boolean arg0) { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public String getDocumentURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setDocumentURI(String arg0) { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public Node adoptNode(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public DOMConfiguration getDomConfig() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void normalizeDocument() { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public Node renameNode(Node arg0, String arg1, String arg2) throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMEntityReference.java ++++ b/src/java/org/dom4j/dom/DOMEntityReference.java +@@ -13,7 +13,9 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -166,6 +168,66 @@ + public boolean hasAttributes() { + return DOMNodeHelper.hasAttributes(this); + } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMText.java ++++ b/src/java/org/dom4j/dom/DOMText.java +@@ -14,7 +14,9 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -224,6 +226,81 @@ + protected Text createText(String text) { + return new DOMText(text); + } ++ ++ public boolean isElementContentWhitespace() { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String getWholeText() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public org.w3c.dom.Text replaceWholeText(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMCDATA.java ++++ b/src/java/org/dom4j/dom/DOMCDATA.java +@@ -14,7 +14,10 @@ + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; ++import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.Text; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -225,6 +228,81 @@ + protected CDATA createCDATA(String text) { + return new DOMCDATA(text); + } ++ ++ public boolean isElementContentWhitespace() { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String getWholeText() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Text replaceWholeText(String content) throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node other) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String textContent) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node other) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String namespaceURI) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String namespaceURI) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String prefix) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String feature, String version) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String key, Object data, UserDataHandler handler) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String key) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* +--- a/src/java/org/dom4j/dom/DOMElement.java ++++ b/src/java/org/dom4j/dom/DOMElement.java +@@ -16,11 +16,14 @@ + import org.dom4j.QName; + import org.dom4j.tree.DefaultElement; + ++import org.w3c.dom.Attr; + import org.w3c.dom.DOMException; + import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; + import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.TypeInfo; ++import org.w3c.dom.UserDataHandler; + + /** + *

+@@ -389,6 +392,86 @@ + + return getDocumentFactory().createQName(localName, prefix, namespace); + } ++ ++ public TypeInfo getSchemaTypeInfo() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setIdAttribute(String arg0, boolean arg1) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public void setIdAttributeNS(String arg0, String arg1, boolean arg2) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public void setIdAttributeNode(Attr arg0, boolean arg1) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public String getBaseURI() { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public short compareDocumentPosition(Node arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ return 0; ++ } ++ ++ public String getTextContent() throws DOMException { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public void setTextContent(String arg0) throws DOMException { ++ // TODO Auto-generated method stub ++ ++ } ++ ++ public boolean isSameNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupPrefix(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isDefaultNamespace(String arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public String lookupNamespaceURI(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public boolean isEqualNode(Node arg0) { ++ // TODO Auto-generated method stub ++ return false; ++ } ++ ++ public Object getFeature(String arg0, String arg1) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { ++ // TODO Auto-generated method stub ++ return null; ++ } ++ ++ public Object getUserData(String arg0) { ++ // TODO Auto-generated method stub ++ return null; ++ } + } + + /* diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/07_disable_xsd_support.patch dom4j-1.6.1+dfsg.3/debian/patches/07_disable_xsd_support.patch --- dom4j-1.6.1+dfsg.2/debian/patches/07_disable_xsd_support.patch 1970-01-01 00:00:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/07_disable_xsd_support.patch 2013-07-02 12:22:34.000000000 +0000 @@ -0,0 +1,29 @@ +--- a/build.xml ++++ b/build.xml +@@ -155,6 +155,9 @@ + source="1.3" + deprecation="${deprecation}" + classpathref="compile.classpath"> ++ ++ ++ + + + +@@ -169,6 +172,8 @@ + optimize="${optimize}" + deprecation="${deprecation}" + classpathref="test.classpath"> ++ ++ + + + +@@ -292,6 +297,7 @@ + + + ++ + + + diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/java7-compat.patch dom4j-1.6.1+dfsg.3/debian/patches/java7-compat.patch --- dom4j-1.6.1+dfsg.2/debian/patches/java7-compat.patch 2012-05-29 23:52:26.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/java7-compat.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -Description: Fixup compareTo function in Rule class to be compliant - with the Java 7 (and Java 6) API. Comparisons where not symmetric - with the upstream handling in this function: - . - r1 > r2 but ! r2 < r1 - . - Also added extra tests to ensure that comparison works both ways. -Author: James Page -Forwarded: no - ---- a/src/java/org/dom4j/rule/Rule.java -+++ b/src/java/org/dom4j/rule/Rule.java -@@ -99,16 +99,16 @@ - * @return DOCUMENT ME! - */ - public int compareTo(Rule that) { -- int answer = this.importPrecedence - that.importPrecedence; -- -- if (answer == 0) { -- answer = (int) Math.round(this.priority - that.priority); -- -- if (answer == 0) { -- answer = this.appearenceCount - that.appearenceCount; -- } -+ int answer = 0; -+ if (this.importPrecedence != that.importPrecedence) { -+ answer = this.importPrecedence < that.importPrecedence ? -1 : 1; -+ } -+ else if (Double.compare(this.priority, that.priority) != 0) { -+ answer = Double.compare(this.priority, that.priority); -+ } -+ else if (this.appearenceCount != that.appearenceCount) { -+ answer = this.appearenceCount < that.appearenceCount ? -1 : 1; - } -- - return answer; - } - ---- a/src/test/org/dom4j/rule/RuleTest.java -+++ b/src/test/org/dom4j/rule/RuleTest.java -@@ -48,6 +48,18 @@ - - assertTrue("r1 > r2", value > 0); - -+ value = r2.compareTo(r1); -+ -+ System.out.println("Comparison: " + value); -+ -+ assertTrue("r2 < r1", value < 0); -+ -+ value = r1.compareTo(r1); -+ -+ System.out.println("Comparison: " + value); -+ -+ assertTrue("r1 == r1", value == 0); -+ - ArrayList list = new ArrayList(); - list.add(r1); - list.add(r2); diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/oldchanges.patch dom4j-1.6.1+dfsg.3/debian/patches/oldchanges.patch --- dom4j-1.6.1+dfsg.2/debian/patches/oldchanges.patch 2012-05-29 23:46:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/oldchanges.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,1165 +0,0 @@ -This patch should be cleaned up. -Torsten Werner - -Index: dom4j/build.xml -=================================================================== ---- dom4j.orig/build.xml 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/build.xml 2012-05-21 10:02:51.481930000 +0100 -@@ -16,13 +16,13 @@ - - - -- -- -- -- -- -- -- -+ -+ -+ -+ -+ -+ -+ - - - -@@ -146,6 +146,9 @@ - source="1.3" - deprecation="${deprecation}" - classpathref="compile.classpath"> -+ -+ -+ - - - -@@ -159,6 +162,8 @@ - optimize="${optimize}" - deprecation="${deprecation}" - classpathref="test.classpath"> -+ -+ - - - -@@ -219,8 +224,7 @@ - doctitle="${Name}" - bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />" - stylesheetfile="${doc.dir}/style/javadoc.css"> -- -- -+ - - - -@@ -236,8 +240,7 @@ - doctitle="${Name}" - bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />" - stylesheetfile="${doc.dir}/style/javadoc.css"> -- -- -+ - - - -@@ -278,10 +281,17 @@ - - - -+ -+ - - - -- -+ -+ -+ -+ -+ - - - -Index: dom4j/src/java/org/dom4j/dom/DOMDocumentType.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMDocumentType.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMDocumentType.java 2012-05-21 10:02:51.481930000 +0100 -@@ -12,7 +12,9 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -177,6 +179,66 @@ - public String getInternalSubset() { - return getElementName(); - } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMProcessingInstruction.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMProcessingInstruction.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMProcessingInstruction.java 2012-05-21 10:02:51.481930000 +0100 -@@ -15,7 +15,9 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -177,6 +179,66 @@ - } - } - -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ - // Implementation methods - // ------------------------------------------------------------------------- - } -Index: dom4j/src/java/org/dom4j/dom/DOMAttribute.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMAttribute.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMAttribute.java 2012-05-21 10:02:51.481930000 +0100 -@@ -14,7 +14,10 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.TypeInfo; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -179,6 +182,76 @@ - public org.w3c.dom.Element getOwnerElement() { - return DOMNodeHelper.asDOMElement(getParent()); - } -+ -+ public TypeInfo getSchemaTypeInfo() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isId() { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node other) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String textContent) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node other) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String namespaceURI) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String namespaceURI) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String prefix) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String feature, String version) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String key, Object data, UserDataHandler handler) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String key) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMDocumentFactory.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMDocumentFactory.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMDocumentFactory.java 2012-05-21 10:02:51.481930000 +0100 -@@ -174,6 +174,11 @@ - docType.getPublicId(), docType.getSystemId()); - } - } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - -@@ -213,4 +218,4 @@ - * POSSIBILITY OF SUCH DAMAGE. - * - * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. -- */ -\ No newline at end of file -+ */ -Index: dom4j/src/java/org/dom4j/dom/DOMComment.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMComment.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMComment.java 2012-05-21 10:02:51.481930000 +0100 -@@ -13,7 +13,9 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -187,6 +189,66 @@ - throws DOMException { - DOMNodeHelper.replaceData(this, offset, count, arg); - } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node other) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String textContent) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node other) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String namespaceURI) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String namespaceURI) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String prefix) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String feature, String version) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String key, Object data, UserDataHandler handler) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String key) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMNamespace.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMNamespace.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMNamespace.java 2012-05-21 10:02:51.481930000 +0100 -@@ -13,7 +13,9 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -140,6 +142,66 @@ - public boolean hasAttributes() { - return DOMNodeHelper.hasAttributes(this); - } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMDocument.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMDocument.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMDocument.java 2012-05-21 10:02:51.481930000 +0100 -@@ -15,12 +15,15 @@ - - import org.w3c.dom.Attr; - import org.w3c.dom.CDATASection; -+import org.w3c.dom.DOMConfiguration; - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.EntityReference; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; - import org.w3c.dom.ProcessingInstruction; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -301,6 +304,136 @@ - return super.getDocumentFactory(); - } - } -+ -+ public String getInputEncoding() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public String getXmlEncoding() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean getXmlStandalone() { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public void setXmlStandalone(boolean arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public String getXmlVersion() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setXmlVersion(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean getStrictErrorChecking() { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public void setStrictErrorChecking(boolean arg0) { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public String getDocumentURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setDocumentURI(String arg0) { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public Node adoptNode(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public DOMConfiguration getDomConfig() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void normalizeDocument() { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public Node renameNode(Node arg0, String arg1, String arg2) throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMEntityReference.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMEntityReference.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMEntityReference.java 2012-05-21 10:02:51.481930000 +0100 -@@ -13,7 +13,9 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -166,6 +168,66 @@ - public boolean hasAttributes() { - return DOMNodeHelper.hasAttributes(this); - } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMText.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMText.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMText.java 2012-05-21 10:02:51.481930000 +0100 -@@ -14,7 +14,9 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -224,6 +226,81 @@ - protected Text createText(String text) { - return new DOMText(text); - } -+ -+ public boolean isElementContentWhitespace() { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String getWholeText() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public org.w3c.dom.Text replaceWholeText(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMCDATA.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMCDATA.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMCDATA.java 2012-05-21 10:02:51.481930000 +0100 -@@ -14,7 +14,10 @@ - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; -+import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.Text; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -225,6 +228,81 @@ - protected CDATA createCDATA(String text) { - return new DOMCDATA(text); - } -+ -+ public boolean isElementContentWhitespace() { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String getWholeText() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Text replaceWholeText(String content) throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node other) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String textContent) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node other) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String namespaceURI) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String namespaceURI) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String prefix) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String feature, String version) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String key, Object data, UserDataHandler handler) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String key) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/dom/DOMElement.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/dom/DOMElement.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/dom/DOMElement.java 2012-05-21 10:02:51.481930000 +0100 -@@ -16,11 +16,14 @@ - import org.dom4j.QName; - import org.dom4j.tree.DefaultElement; - -+import org.w3c.dom.Attr; - import org.w3c.dom.DOMException; - import org.w3c.dom.Document; - import org.w3c.dom.NamedNodeMap; - import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -+import org.w3c.dom.TypeInfo; -+import org.w3c.dom.UserDataHandler; - - /** - *

-@@ -389,6 +392,86 @@ - - return getDocumentFactory().createQName(localName, prefix, namespace); - } -+ -+ public TypeInfo getSchemaTypeInfo() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setIdAttribute(String arg0, boolean arg1) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public void setIdAttributeNS(String arg0, String arg1, boolean arg2) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public void setIdAttributeNode(Attr arg0, boolean arg1) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public String getBaseURI() { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public short compareDocumentPosition(Node arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ return 0; -+ } -+ -+ public String getTextContent() throws DOMException { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public void setTextContent(String arg0) throws DOMException { -+ // TODO Auto-generated method stub -+ -+ } -+ -+ public boolean isSameNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupPrefix(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isDefaultNamespace(String arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public String lookupNamespaceURI(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public boolean isEqualNode(Node arg0) { -+ // TODO Auto-generated method stub -+ return false; -+ } -+ -+ public Object getFeature(String arg0, String arg1) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object setUserData(String arg0, Object arg1, UserDataHandler arg2) { -+ // TODO Auto-generated method stub -+ return null; -+ } -+ -+ public Object getUserData(String arg0) { -+ // TODO Auto-generated method stub -+ return null; -+ } - } - - /* -Index: dom4j/src/java/org/dom4j/tree/NamespaceCache.java -=================================================================== ---- dom4j.orig/src/java/org/dom4j/tree/NamespaceCache.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/java/org/dom4j/tree/NamespaceCache.java 2012-05-21 10:02:51.481930000 +0100 -@@ -26,42 +26,46 @@ - * @version $Revision: 1.15 $ - */ - public class NamespaceCache { -- private static final String CONCURRENTREADERHASHMAP_CLASS -- = "EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap"; -+ private static final String BACKPORT_CONCURRENTHASHMAP_CLASS -+ = "edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap"; -+ private static final String OSWEGO_CONCURRENTHASHMAP_CLASS -+ = "EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap"; - - /** - * Cache of {@link Map}instances indexed by URI which contain caches of - * {@link Namespace}for each prefix - */ -- protected static Map cache; -+ protected static Map cache = newConcurrentHashMap(); - - /** - * Cache of {@link Namespace}instances indexed by URI for default - * namespaces with no prefixes - */ -- protected static Map noPrefixCache; -+ protected static Map noPrefixCache = newConcurrentHashMap(); - -- static { -+ protected static Map newConcurrentHashMap() -+ { - /* Try the java.util.concurrent.ConcurrentHashMap first. */ - try { - Class clazz = Class - .forName("java.util.concurrent.ConcurrentHashMap"); - Constructor construct = clazz.getConstructor(new Class[] { - Integer.TYPE, Float.TYPE, Integer.TYPE }); -- cache = (Map) construct.newInstance(new Object[] {new Integer(11), -+ return (Map) construct.newInstance(new Object[] {new Integer(11), - new Float(0.75f), new Integer(1) }); -- noPrefixCache = (Map) construct.newInstance(new Object[] { -- new Integer(11), new Float(0.75f), new Integer(1) }); - } catch (Throwable t1) { -- /* Try to use the util.concurrent library (if in classpath) */ - try { -- Class clazz = Class.forName(CONCURRENTREADERHASHMAP_CLASS); -- cache = (Map) clazz.newInstance(); -- noPrefixCache = (Map) clazz.newInstance(); -+ /* Try to use the backport-util-concurrent library */ -+ Class clazz = Class.forName(BACKPORT_CONCURRENTHASHMAP_CLASS); -+ return (Map) clazz.newInstance(); - } catch (Throwable t2) { -- /* If previous implementations fail, use internal one */ -- cache = new ConcurrentReaderHashMap(); -- noPrefixCache = new ConcurrentReaderHashMap(); -+ try { -+ /* Try to use the oswego concurrent library */ -+ Class clazz = Class.forName(OSWEGO_CONCURRENTHASHMAP_CLASS); -+ return (Map) clazz.newInstance(); -+ } catch (Throwable t3) { -+ return null; -+ } - } - } - } -@@ -154,7 +158,7 @@ - answer = (Map) cache.get(uri); - - if (answer == null) { -- answer = new ConcurrentReaderHashMap(); -+ answer = newConcurrentHashMap(); - cache.put(uri, answer); - } - } -Index: dom4j/src/test/org/dom4j/xpath/MatrixConcatTest.java -=================================================================== ---- dom4j.orig/src/test/org/dom4j/xpath/MatrixConcatTest.java 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/src/test/org/dom4j/xpath/MatrixConcatTest.java 2012-05-21 10:02:51.481930000 +0100 -@@ -33,9 +33,11 @@ - - String[] exp2 = {"EQUITY_BAR_CF1", "EQUITY_BAR_CF2", "EQUITY_BAR_CF3"}; - -+ /* Disabled. Doesn't wor k with any JVM I found. - testMatrixConcat("'EQUITY_',/product/cashflows/CashFlow/XREF", exp1); - testMatrixConcat("'EQUITY_','BAR_',/product/cashflows/CashFlow/XREF", - exp2); -+ */ - } - - // Implementation methods -Index: dom4j/xml/bean/gui.xml -=================================================================== ---- dom4j.orig/xml/bean/gui.xml 2012-05-21 10:02:51.481930000 +0100 -+++ dom4j/xml/bean/gui.xml 2012-05-21 10:02:51.481930000 +0100 -@@ -1,5 +1,5 @@ - - -- -- -+ -+ - diff -Nru dom4j-1.6.1+dfsg.2/debian/patches/series dom4j-1.6.1+dfsg.3/debian/patches/series --- dom4j-1.6.1+dfsg.2/debian/patches/series 2012-05-29 23:46:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/patches/series 2013-07-02 12:20:07.000000000 +0000 @@ -1,2 +1,7 @@ -oldchanges.patch -java7-compat.patch +01_build-tweaks.patch +02_disable-matrix-concat-test.patch +03_remove-non-free-map.patch +04_headless-test.patch +05_java7-compat.patch +06_dom-level3-support.patch +07_disable_xsd_support.patch diff -Nru dom4j-1.6.1+dfsg.2/debian/pom.xml dom4j-1.6.1+dfsg.3/debian/pom.xml --- dom4j-1.6.1+dfsg.2/debian/pom.xml 2010-05-27 20:03:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/pom.xml 2013-06-26 21:07:29.000000000 +0000 @@ -140,12 +140,6 @@ - jaxme - jaxme-api - 0.3 - true - - jaxen jaxen 1.1-beta-6 @@ -218,4 +212,4 @@ scp://dom4j.org//home/groups/d/do/dom4j/htdocs - \ No newline at end of file + diff -Nru dom4j-1.6.1+dfsg.2/debian/rules dom4j-1.6.1+dfsg.3/debian/rules --- dom4j-1.6.1+dfsg.2/debian/rules 2011-08-17 16:49:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/rules 2013-07-02 12:01:53.000000000 +0000 @@ -4,7 +4,7 @@ include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java -DEB_JARS := ant ant-launcher xpp2 xpp3 jaxen jaxmeapi \ +DEB_JARS := ant ant-launcher xpp2 xpp3 jaxen \ xalan2 xercesImpl ant-junit junit junitperf DEB_ANT_BUILD_TARGET := package release-javadoc @@ -15,3 +15,9 @@ install/libdom4j-java:: mh_installpom -plibdom4j-java debian/pom.xml mh_installjar -plibdom4j-java debian/pom.xml -l build/dom4j.jar + +clean:: + mh_clean + +get-orig-source: + uscan --force-download --rename diff -Nru dom4j-1.6.1+dfsg.2/debian/watch dom4j-1.6.1+dfsg.3/debian/watch --- dom4j-1.6.1+dfsg.2/debian/watch 2006-10-09 19:25:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/debian/watch 2013-06-26 19:35:23.000000000 +0000 @@ -1,3 +1,3 @@ version=3 -opts="dversionmangle=s/\+dfsg//" \ - http://sf.net/dom4j/dom4j-(.*)\.tar\.gz +opts="dversionmangle=s/\+dfsg(\.\d+)?//" \ + http://sf.net/dom4j/dom4j-(.*)\.tar\.gz debian debian/orig-tar.sh diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/allclasses-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/allclasses-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/allclasses-frame.html 2005-05-16 13:26:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/allclasses-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,339 +0,0 @@ - - - - - - - -All Classes (dom4j 1.6.1 API) - - - - - - - - - - -All Classes -
- - - - - -
AbstractAttribute -
-AbstractBranch -
-AbstractCDATA -
-AbstractCharacterData -
-AbstractComment -
-AbstractDocument -
-AbstractDocumentType -
-AbstractElement -
-AbstractEntity -
-AbstractNode -
-AbstractProcessingInstruction -
-AbstractText -
-Action -
-Attribute -
-AttributeDecl -
-AttributeHelper -
-BackedList -
-BaseElement -
-BeanAttribute -
-BeanAttributeList -
-BeanDocumentFactory -
-BeanElement -
-BeanMetaData -
-Branch -
-BranchTreeNode -
-CDATA -
-CharacterData -
-Comment -
-ConcurrentReaderHashMap.BarrierLock -
-ConcurrentReaderHashMap.Entry -
-ContentListFacade -
-DOMAttribute -
-DOMAttributeNodeMap -
-DOMCDATA -
-DOMComment -
-DOMDocument -
-DOMDocumentFactory -
-DOMDocumentType -
-DOMElement -
-DOMEntityReference -
-DOMNamespace -
-DOMNodeHelper -
-DOMNodeHelper.EmptyNodeList -
-DOMProcessingInstruction -
-DOMReader -
-DOMText -
-DOMWriter -
-DatatypeAttribute -
-DatatypeDocumentFactory -
-DatatypeElement -
-DatatypeElementFactory -
-DefaultAttribute -
-DefaultCDATA -
-DefaultComment -
-DefaultDocument -
-DefaultDocumentType -
-DefaultElement -
-DefaultEntity -
-DefaultNamespace -
-DefaultNamespaceContext -
-DefaultPattern -
-DefaultProcessingInstruction -
-DefaultText -
-DefaultXPath -
-Document -
-DocumentException -
-DocumentFactory -
-DocumentHelper -
-DocumentResult -
-DocumentSource -
-DocumentTreeModel -
-DocumentType -
-Element -
-ElementDecl -
-ElementHandler -
-ElementIterator -
-ElementModifier -
-ElementNameIterator -
-ElementPath -
-ElementQNameIterator -
-Entity -
-ExternalEntityDecl -
-FilterIterator -
-FlyweightAttribute -
-FlyweightCDATA -
-FlyweightComment -
-FlyweightEntity -
-FlyweightProcessingInstruction -
-FlyweightText -
-HTMLWriter -
-IllegalAddException -
-IndexedDocumentFactory -
-IndexedElement -
-InternalEntityDecl -
-InvalidSchemaException -
-InvalidXPathException -
-JAXBModifier -
-JAXBObjectHandler -
-JAXBObjectModifier -
-JAXBReader -
-JAXBWriter -
-LeafTreeNode -
-Mode -
-Namespace -
-NamespaceCache -
-NamespaceStack -
-Node -
-NodeComparator -
-NodeFilter -
-NodeTypePattern -
-NonLazyDocumentFactory -
-NonLazyElement -
-NullAction -
-OutputFormat -
-Pattern -
-PerThreadSingleton -
-ProcessingInstruction -
-ProxyDocumentFactory -
-ProxyXmlStartTag -
-QName -
-QNameCache -
-Rule -
-RuleManager -
-RuleSet -
-SAXContentHandler -
-SAXEventRecorder -
-SAXModifier -
-SAXReader -
-SAXReader.SAXEntityResolver -
-SAXValidator -
-SAXWriter -
-STAXEventReader -
-STAXEventWriter -
-SchemaParser -
-SimpleSingleton -
-SingleIterator -
-SingletonStrategy -
-Stylesheet -
-Text -
-UserDataAttribute -
-UserDataDocumentFactory -
-UserDataElement -
-Visitor -
-VisitorSupport -
-XMLErrorHandler -
-XMLResult -
-XMLTableColumnDefinition -
-XMLTableDefinition -
-XMLTableModel -
-XMLWriter -
-XPP3Reader -
-XPPReader -
-XPath -
-XPathException -
-XPathPattern -
-
- - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/allclasses-noframe.html dom4j-1.6.1+dfsg.3/docs/apidocs/allclasses-noframe.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/allclasses-noframe.html 2005-05-16 13:27:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/allclasses-noframe.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,339 +0,0 @@ - - - - - - - -All Classes (dom4j 1.6.1 API) - - - - - - - - - - -All Classes -
- - - - - -
AbstractAttribute -
-AbstractBranch -
-AbstractCDATA -
-AbstractCharacterData -
-AbstractComment -
-AbstractDocument -
-AbstractDocumentType -
-AbstractElement -
-AbstractEntity -
-AbstractNode -
-AbstractProcessingInstruction -
-AbstractText -
-Action -
-Attribute -
-AttributeDecl -
-AttributeHelper -
-BackedList -
-BaseElement -
-BeanAttribute -
-BeanAttributeList -
-BeanDocumentFactory -
-BeanElement -
-BeanMetaData -
-Branch -
-BranchTreeNode -
-CDATA -
-CharacterData -
-Comment -
-ConcurrentReaderHashMap.BarrierLock -
-ConcurrentReaderHashMap.Entry -
-ContentListFacade -
-DOMAttribute -
-DOMAttributeNodeMap -
-DOMCDATA -
-DOMComment -
-DOMDocument -
-DOMDocumentFactory -
-DOMDocumentType -
-DOMElement -
-DOMEntityReference -
-DOMNamespace -
-DOMNodeHelper -
-DOMNodeHelper.EmptyNodeList -
-DOMProcessingInstruction -
-DOMReader -
-DOMText -
-DOMWriter -
-DatatypeAttribute -
-DatatypeDocumentFactory -
-DatatypeElement -
-DatatypeElementFactory -
-DefaultAttribute -
-DefaultCDATA -
-DefaultComment -
-DefaultDocument -
-DefaultDocumentType -
-DefaultElement -
-DefaultEntity -
-DefaultNamespace -
-DefaultNamespaceContext -
-DefaultPattern -
-DefaultProcessingInstruction -
-DefaultText -
-DefaultXPath -
-Document -
-DocumentException -
-DocumentFactory -
-DocumentHelper -
-DocumentResult -
-DocumentSource -
-DocumentTreeModel -
-DocumentType -
-Element -
-ElementDecl -
-ElementHandler -
-ElementIterator -
-ElementModifier -
-ElementNameIterator -
-ElementPath -
-ElementQNameIterator -
-Entity -
-ExternalEntityDecl -
-FilterIterator -
-FlyweightAttribute -
-FlyweightCDATA -
-FlyweightComment -
-FlyweightEntity -
-FlyweightProcessingInstruction -
-FlyweightText -
-HTMLWriter -
-IllegalAddException -
-IndexedDocumentFactory -
-IndexedElement -
-InternalEntityDecl -
-InvalidSchemaException -
-InvalidXPathException -
-JAXBModifier -
-JAXBObjectHandler -
-JAXBObjectModifier -
-JAXBReader -
-JAXBWriter -
-LeafTreeNode -
-Mode -
-Namespace -
-NamespaceCache -
-NamespaceStack -
-Node -
-NodeComparator -
-NodeFilter -
-NodeTypePattern -
-NonLazyDocumentFactory -
-NonLazyElement -
-NullAction -
-OutputFormat -
-Pattern -
-PerThreadSingleton -
-ProcessingInstruction -
-ProxyDocumentFactory -
-ProxyXmlStartTag -
-QName -
-QNameCache -
-Rule -
-RuleManager -
-RuleSet -
-SAXContentHandler -
-SAXEventRecorder -
-SAXModifier -
-SAXReader -
-SAXReader.SAXEntityResolver -
-SAXValidator -
-SAXWriter -
-STAXEventReader -
-STAXEventWriter -
-SchemaParser -
-SimpleSingleton -
-SingleIterator -
-SingletonStrategy -
-Stylesheet -
-Text -
-UserDataAttribute -
-UserDataDocumentFactory -
-UserDataElement -
-Visitor -
-VisitorSupport -
-XMLErrorHandler -
-XMLResult -
-XMLTableColumnDefinition -
-XMLTableDefinition -
-XMLTableModel -
-XMLWriter -
-XPP3Reader -
-XPPReader -
-XPath -
-XPathException -
-XPathPattern -
-
- - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/constant-values.html dom4j-1.6.1+dfsg.3/docs/apidocs/constant-values.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/constant-values.html 2005-05-16 13:26:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/constant-values.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,431 +0,0 @@ - - - - - - - -Constant Field Values (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -


-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-org.dom4j.*
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
org.dom4j.Node
-public static final shortANY_NODE0
-public static final shortATTRIBUTE_NODE2
-public static final shortCDATA_SECTION_NODE4
-public static final shortCOMMENT_NODE8
-public static final shortDOCUMENT_NODE9
-public static final shortDOCUMENT_TYPE_NODE10
-public static final shortELEMENT_NODE1
-public static final shortENTITY_REFERENCE_NODE5
-public static final shortMAX_NODE_TYPE14
-public static final shortNAMESPACE_NODE13
-public static final shortPROCESSING_INSTRUCTION_NODE7
-public static final shortTEXT_NODE3
-public static final shortUNKNOWN_NODE14
- -

- -

- - - - - - - - - - - - -
org.dom4j.io.DocumentSource
-public static final StringDOM4J_FEATURE"http://org.dom4j.io.DoucmentSource/feature"
- -

- -

- - - - - - - - - - - - -
org.dom4j.io.OutputFormat
-protected static final StringSTANDARD_INDENT" "
- -

- -

- - - - - - - - - - - - -
org.dom4j.io.SAXEventRecorder
-public static final longserialVersionUID1l
- -

- -

- - - - - - - - - - - - - - - - - -
org.dom4j.io.SAXWriter
-protected static final StringFEATURE_NAMESPACE_PREFIXES"http://xml.org/sax/features/namespace-prefixes"
-protected static final StringFEATURE_NAMESPACES"http://xml.org/sax/features/namespaces"
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
org.dom4j.rule.Pattern
-public static final shortANY_NODE0
-public static final doubleDEFAULT_PRIORITY0.5d
-public static final shortNONE9999
-public static final shortNUMBER_OF_TYPES14
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
org.dom4j.swing.XMLTableColumnDefinition
-public static final intNODE_TYPE3
-public static final intNUMBER_TYPE2
-public static final intOBJECT_TYPE0
-public static final intSTRING_TYPE1
- -

- -

- - - - - - - - - - - - -
org.dom4j.tree.AbstractBranch
-protected static final intDEFAULT_CONTENT_LIST_SIZE5
- -

- -

- - - - - - - - - - - - - - - - - -
org.dom4j.tree.AbstractElement
-protected static final booleanUSE_STRINGVALUE_SEPARATORfalse
-protected static final booleanVERBOSE_TOSTRINGfalse
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/deprecated-list.html dom4j-1.6.1+dfsg.3/docs/apidocs/deprecated-list.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/deprecated-list.html 2005-05-16 13:28:14.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/deprecated-list.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,224 +0,0 @@ - - - - - - - -Deprecated List (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
- - - - - - - - - - - - - - - - - -
-Deprecated Classes
org.dom4j.tree.ElementIterator -
-          THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! 
org.dom4j.tree.ElementNameIterator -
-          THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! 
org.dom4j.tree.ElementQNameIterator -
-          THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! 
org.dom4j.tree.FilterIterator -
-          THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! 
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Deprecated Methods
org.dom4j.rule.Stylesheet.applyTemplates(Object, XPath) -
-          Use Stylesheet.applyTemplates(Object, XPath)instead. 
org.dom4j.rule.Stylesheet.applyTemplates(Object, XPath, String) -
-          Use Stylesheet.applyTemplates(Object, XPath, String) - instead. 
org.dom4j.util.IndexedElement.asElementIterator(Object) -
-          WILL BE REMOVED IN dom4j-1.6 !! 
org.dom4j.xpp.ProxyXmlStartTag.removeAtttributes() -
-          Use removeAttributes() instead. 
org.dom4j.XPath.selectObject(Object) -
-          please use evaluate(Object) instead. WILL BE REMOVED IN - dom4j-1.6 !! 
org.dom4j.Element.setAttributeValue(QName, String) -
-          As of version 0.5. Please use Element.addAttribute(QName,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! 
org.dom4j.tree.AbstractElement.setAttributeValue(QName, String) -
-          As of version 0.5. Please use AbstractElement.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! 
org.dom4j.Element.setAttributeValue(String, String) -
-          As of version 0.5. Please use Element.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! 
org.dom4j.tree.AbstractElement.setAttributeValue(String, String) -
-          As of version 0.5. Please use AbstractElement.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! 
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/help-doc.html dom4j-1.6.1+dfsg.3/docs/apidocs/help-doc.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/help-doc.html 2005-05-16 13:28:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/help-doc.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,194 +0,0 @@ - - - - - - - -API Help (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Exceptions
  • Errors
-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-

-Use

-
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/index-all.html dom4j-1.6.1+dfsg.3/docs/apidocs/index-all.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/index-all.html 2005-05-16 13:27:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/index-all.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,9059 +0,0 @@ - - - - - - - -Index (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N O P Q R S T U V W X
-

-A

-
-
ANY_ATTRIBUTE - -Static variable in class org.dom4j.rule.pattern.NodeTypePattern -
A pattern which matches any Attribute node -
ANY_COMMENT - -Static variable in class org.dom4j.rule.pattern.NodeTypePattern -
A pattern which matches any Comment node -
ANY_DOCUMENT - -Static variable in class org.dom4j.rule.pattern.NodeTypePattern -
A pattern which matches any Document node -
ANY_ELEMENT - -Static variable in class org.dom4j.rule.pattern.NodeTypePattern -
A pattern which matches any Element node -
ANY_NODE - -Static variable in interface org.dom4j.Node -
Matches Element nodes -
ANY_NODE - -Static variable in interface org.dom4j.rule.Pattern -
Matches any node -
ANY_PROCESSING_INSTRUCTION - -Static variable in class org.dom4j.rule.pattern.NodeTypePattern -
A pattern which matches any ProcessingInstruction node -
ANY_TEXT - -Static variable in class org.dom4j.rule.pattern.NodeTypePattern -
A pattern which matches any Text node -
ATTRIBUTE_NODE - -Static variable in interface org.dom4j.Node -
Matches elements nodes -
AbstractAttribute - class org.dom4j.tree.AbstractAttribute.
- AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractAttribute() - -Constructor for class org.dom4j.tree.AbstractAttribute -
  -
AbstractBranch - class org.dom4j.tree.AbstractBranch.
- AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractBranch() - -Constructor for class org.dom4j.tree.AbstractBranch -
  -
AbstractCDATA - class org.dom4j.tree.AbstractCDATA.
- AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCDATA() - -Constructor for class org.dom4j.tree.AbstractCDATA -
  -
AbstractCharacterData - class org.dom4j.tree.AbstractCharacterData.
- AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractCharacterData() - -Constructor for class org.dom4j.tree.AbstractCharacterData -
  -
AbstractComment - class org.dom4j.tree.AbstractComment.
- AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractComment() - -Constructor for class org.dom4j.tree.AbstractComment -
  -
AbstractDocument - class org.dom4j.tree.AbstractDocument.
- AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocument() - -Constructor for class org.dom4j.tree.AbstractDocument -
  -
AbstractDocumentType - class org.dom4j.tree.AbstractDocumentType.
- AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocumentType() - -Constructor for class org.dom4j.tree.AbstractDocumentType -
  -
AbstractElement - class org.dom4j.tree.AbstractElement.
- AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractElement() - -Constructor for class org.dom4j.tree.AbstractElement -
  -
AbstractEntity - class org.dom4j.tree.AbstractEntity.
- AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractEntity() - -Constructor for class org.dom4j.tree.AbstractEntity -
  -
AbstractNode - class org.dom4j.tree.AbstractNode.
- AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractNode() - -Constructor for class org.dom4j.tree.AbstractNode -
  -
AbstractProcessingInstruction - class org.dom4j.tree.AbstractProcessingInstruction.
- AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
AbstractProcessingInstruction() - -Constructor for class org.dom4j.tree.AbstractProcessingInstruction -
  -
AbstractText - class org.dom4j.tree.AbstractText.
- AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractText() - -Constructor for class org.dom4j.tree.AbstractText -
  -
Action - interface org.dom4j.rule.Action.
- Action represents some default action which should occur when - a rule matches a node in the XSLT processing model. -
Attribute - interface org.dom4j.Attribute.
- Attribute defines an XML attribute.
AttributeDecl - class org.dom4j.dtd.AttributeDecl.
- AttributeDecl represents an attribute declaration in a DTD. -
AttributeDecl() - -Constructor for class org.dom4j.dtd.AttributeDecl -
  -
AttributeDecl(String, String, String, String, String) - -Constructor for class org.dom4j.dtd.AttributeDecl -
  -
AttributeHelper - class org.dom4j.util.AttributeHelper.
- AttributeHelper a number of helper methods for working with - attribute values. -
AttributeHelper() - -Constructor for class org.dom4j.util.AttributeHelper -
  -
accept(Visitor) - -Method in class org.dom4j.Namespace -
  -
accept(Visitor) - -Method in interface org.dom4j.Node -
- accept is the method used in the Visitor Pattern. - -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractCDATA -
  -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractComment -
  -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractDocument -
- accept method is the Visitor Pattern - method. - -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractElement -
- accept method is the Visitor Pattern - method. - -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractEntity -
  -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
accept(Visitor) - -Method in class org.dom4j.tree.AbstractText -
  -
add(Node) - -Method in interface org.dom4j.Branch -
Adds the given Node or throws IllegalAddException - if the given node is not of a valid type. -
add(Comment) - -Method in interface org.dom4j.Branch -
Adds the given Comment to this branch. -
add(Element) - -Method in interface org.dom4j.Branch -
Adds the given Element to this branch. -
add(ProcessingInstruction) - -Method in interface org.dom4j.Branch -
Adds the given ProcessingInstruction to this branch. -
add(Attribute) - -Method in interface org.dom4j.Element -
Adds the given Attribute to this element. -
add(CDATA) - -Method in interface org.dom4j.Element -
Adds the given CDATA to this element. -
add(Entity) - -Method in interface org.dom4j.Element -
Adds the given Entity to this element. -
add(Text) - -Method in interface org.dom4j.Element -
Adds the given Text to this element. -
add(Namespace) - -Method in interface org.dom4j.Element -
Adds the given Namespace to this element. -
add(Object) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
add(int, Object) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
add(Node) - -Method in class org.dom4j.tree.AbstractBranch -
  -
add(Comment) - -Method in class org.dom4j.tree.AbstractBranch -
  -
add(Element) - -Method in class org.dom4j.tree.AbstractBranch -
  -
add(ProcessingInstruction) - -Method in class org.dom4j.tree.AbstractBranch -
  -
add(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
add(Attribute) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(CDATA) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Comment) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Element) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Entity) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(ProcessingInstruction) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Text) - -Method in class org.dom4j.tree.AbstractElement -
  -
add(Object) - -Method in class org.dom4j.tree.BackedList -
  -
add(int, Object) - -Method in class org.dom4j.tree.BackedList -
  -
add(Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
add(int, Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
add(Attribute) - -Method in class org.dom4j.tree.DefaultElement -
  -
addAll(RuleSet) - -Method in class org.dom4j.rule.RuleSet -
Adds all the rules to this RuleSet from the given other rule set. -
addAll(Collection) - -Method in class org.dom4j.tree.BackedList -
  -
addAll(int, Collection) - -Method in class org.dom4j.tree.BackedList -
  -
addAll(Collection) - -Method in class org.dom4j.tree.ContentListFacade -
  -
addAll(int, Collection) - -Method in class org.dom4j.tree.ContentListFacade -
  -
addAttribute(String, String) - -Method in interface org.dom4j.Element -
- Adds the attribute value of the given local name. -
addAttribute(QName, String) - -Method in interface org.dom4j.Element -
- Adds the attribute value of the given fully qualified name. -
addAttribute(String, String) - -Method in class org.dom4j.bean.BeanElement -
  -
addAttribute(QName, String) - -Method in class org.dom4j.bean.BeanElement -
  -
addAttribute(String, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addAttribute(QName, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addAttribute(String, String, String, String) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
parameters modeled after SAX2 attribute approach -
addAttribute(String, String, String, String, boolean) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
addAttributes(Element, Attributes) - -Method in class org.dom4j.io.SAXContentHandler -
Add all the attributes to the given elements -
addCDATA(String) - -Method in interface org.dom4j.Element -
Adds a new CDATA node with the given text to this element. -
addCDATA(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addColumn(String, String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
addColumn(String, String, int) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
addColumn(XMLTableColumnDefinition) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
addColumnWithXPathName(String, String, int) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
addComment(String) - -Method in interface org.dom4j.Document -
Adds a new Comment node with the given text to this - branch. -
addComment(String) - -Method in interface org.dom4j.Element -
Adds a new Comment node with the given text to this - element. -
addComment(String) - -Method in class org.dom4j.tree.AbstractDocument -
  -
addComment(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addDTDDeclaration(Object) - -Method in class org.dom4j.io.SAXContentHandler -
Adds an internal DTD declaration to the list of declarations -
addDeclaredNamespaces(Element) - -Method in class org.dom4j.io.SAXContentHandler -
Add all namespaces declared before the startElement() SAX event to the - current element so that they are available to child elements and - attributes -
addDefaultRule(Mode, Pattern, Action) - -Method in class org.dom4j.rule.RuleManager -
  -
addDefaultRules(Mode) - -Method in class org.dom4j.rule.RuleManager -
Adds the default stylesheet rules to the given Modeinstance -
addDocType(String, String, String) - -Method in interface org.dom4j.Document -
Adds a DOCTYPE declaration to this document -
addDocType(String, String, String) - -Method in class org.dom4j.tree.DefaultDocument -
  -
addElement(String) - -Method in interface org.dom4j.Branch -
Adds a new Element node with the given name to this branch - and returns a reference to the new node. -
addElement(QName) - -Method in interface org.dom4j.Branch -
Adds a new Element node with the given QNameto - this branch and returns a reference to the new node. -
addElement(String, String) - -Method in interface org.dom4j.Branch -
Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node. -
addElement(String) - -Method in class org.dom4j.tree.AbstractBranch -
  -
addElement(String, String) - -Method in class org.dom4j.tree.AbstractBranch -
  -
addElement(QName) - -Method in class org.dom4j.tree.AbstractBranch -
  -
addElement(String, String, String) - -Method in class org.dom4j.tree.AbstractBranch -
  -
addElement(String) - -Method in class org.dom4j.tree.AbstractDocument -
  -
addElement(String, String) - -Method in class org.dom4j.tree.AbstractDocument -
  -
addElement(QName) - -Method in class org.dom4j.tree.AbstractDocument -
  -
addElement(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addEntity(String, String) - -Method in interface org.dom4j.Element -
Adds a new Entity node with the given name and text to - this element and returns a reference to the new node. -
addEntity(String, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addException(Element, SAXParseException) - -Method in class org.dom4j.util.XMLErrorHandler -
Adds the given parse exception information to the given element instance -
addExternalDTDDeclaration(Object) - -Method in class org.dom4j.io.SAXContentHandler -
Adds an external DTD declaration to the list of declarations -
addHandler(String, ElementHandler) - -Method in interface org.dom4j.ElementPath -
Adds the ElementHandler to be called when the specified - path is encounted. -
addHandler(String, ElementHandler) - -Method in class org.dom4j.io.SAXReader -
Adds the ElementHandler to be called when the specified - path is encounted. -
addHandler(String, ElementHandler) - -Method in class org.dom4j.io.XPP3Reader -
Adds the ElementHandler to be called when the specified - path is encounted. -
addHandler(String, ElementHandler) - -Method in class org.dom4j.io.XPPReader -
Adds the ElementHandler to be called when the specified - path is encounted. -
addHandler(String, ElementHandler) - -Method in class org.dom4j.jaxb.JAXBReader -
Adds the ElementHandler to be called when the specified - path is encounted. -
addLocal(Object) - -Method in class org.dom4j.tree.BackedList -
Performs a local addition which is not forward through to the Branch or - backing list -
addModifier(String, ElementModifier) - -Method in class org.dom4j.io.SAXModifier -
Adds the ElementModifierto be called when the specified element - path is encounted while parsing the source. -
addNamespace(String, String) - -Method in interface org.dom4j.Element -
Adds a namespace to this element for use by its child content -
addNamespace(String, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addNamespace(String, String) - -Method in class org.dom4j.tree.NamespaceStack -
Adds a new namespace to the stack -
addNamespaceAttribute(AttributesImpl, Namespace) - -Method in class org.dom4j.io.SAXWriter -
If isDelcareNamespaceAttributes() is enabled then this method will add - the given namespace declaration to the supplied attributes object, - creating one if it does not exist. -
addNewNode(Node) - -Method in class org.dom4j.tree.AbstractElement -
Like addNode() but does not require a parent check -
addNewNode(int, Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
addNewNode(Node) - -Method in class org.dom4j.tree.DefaultElement -
  -
addNode(Node) - -Method in class org.dom4j.tree.AbstractBranch -
  -
addNode(int, Node) - -Method in class org.dom4j.tree.AbstractBranch -
  -
addNode(Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
addNode(int, Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
addNode(Node) - -Method in class org.dom4j.tree.DefaultDocument -
  -
addNode(int, Node) - -Method in class org.dom4j.tree.DefaultDocument -
  -
addNode(Node) - -Method in class org.dom4j.util.IndexedElement -
  -
addNumberColumn(String, String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
addObjectHandler(String, JAXBObjectHandler) - -Method in class org.dom4j.jaxb.JAXBReader -
Registers a JAXBObjectHandlerthat will be supplied with the - unmarshalled representation of the xml fragment whenever the specified - path is encounted. -
addObjectModifier(String, JAXBObjectModifier) - -Method in class org.dom4j.jaxb.JAXBModifier -
Adds the JAXBObjectModifierto be called when the specified xml - path is encounted while parsing the source. -
addProcessingInstruction(String, String) - -Method in interface org.dom4j.Document -
Adds a processing instruction for the given target -
addProcessingInstruction(String, Map) - -Method in interface org.dom4j.Document -
Adds a processing instruction for the given target -
addProcessingInstruction(String, String) - -Method in interface org.dom4j.Element -
Adds a processing instruction for the given target -
addProcessingInstruction(String, Map) - -Method in interface org.dom4j.Element -
Adds a processing instruction for the given target -
addProcessingInstruction(String, String) - -Method in class org.dom4j.tree.AbstractDocument -
  -
addProcessingInstruction(String, Map) - -Method in class org.dom4j.tree.AbstractDocument -
  -
addProcessingInstruction(String, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addProcessingInstruction(String, Map) - -Method in class org.dom4j.tree.AbstractElement -
  -
addRule(Rule) - -Method in class org.dom4j.rule.Mode -
  -
addRule(Rule) - -Method in class org.dom4j.rule.RuleManager -
  -
addRule(Rule) - -Method in class org.dom4j.rule.RuleSet -
  -
addRule(Rule) - -Method in class org.dom4j.rule.Stylesheet -
Add a rule to this stylesheet. -
addStringColumn(String, String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
addText(String) - -Method in interface org.dom4j.Element -
Adds a new Text node with the given text to this element. -
addText(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
addText(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
addToAttributeIndex(Attribute) - -Method in class org.dom4j.util.IndexedElement -
  -
addToAttributeIndex(Object, Attribute) - -Method in class org.dom4j.util.IndexedElement -
  -
addToElementIndex(Element) - -Method in class org.dom4j.util.IndexedElement -
  -
addToElementIndex(Object, Element) - -Method in class org.dom4j.util.IndexedElement -
  -
addToNameMap(Map, String, Rule) - -Method in class org.dom4j.rule.Mode -
Adds the Rule to a RuleSet for the given name. -
additionalNamespaces() - -Method in interface org.dom4j.Element -
- Returns any additional namespaces declarations for this element other - than namespace returned via the Element.getNamespace()method. -
additionalNamespaces() - -Method in class org.dom4j.tree.AbstractElement -
  -
additionalNamespaces(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
additionalNamespaces() - -Method in class org.dom4j.tree.DefaultElement -
  -
additionalNamespaces(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
appendAttributes(Element) - -Method in interface org.dom4j.Element -
Appends the attributes of the given element to me. -
appendAttributes(Element) - -Method in class org.dom4j.tree.AbstractElement -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMAttribute -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMCDATA -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMComment -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMDocument -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMElement -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMNamespace -
  -
appendChild(Node, Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
appendChild(Node) - -Method in class org.dom4j.dom.DOMText -
  -
appendContent(Branch) - -Method in interface org.dom4j.Branch -
Appends the content of the given branch to this branch instance. -
appendContent(Branch) - -Method in class org.dom4j.tree.AbstractBranch -
  -
appendDOMTree(Document, Node, List) - -Method in class org.dom4j.io.DOMWriter -
  -
appendDOMTree(Document, Node, Element) - -Method in class org.dom4j.io.DOMWriter -
  -
appendDOMTree(Document, Node, CDATA) - -Method in class org.dom4j.io.DOMWriter -
  -
appendDOMTree(Document, Node, Comment) - -Method in class org.dom4j.io.DOMWriter -
  -
appendDOMTree(Document, Node, String) - -Method in class org.dom4j.io.DOMWriter -
  -
appendDOMTree(Document, Node, Entity) - -Method in class org.dom4j.io.DOMWriter -
  -
appendDOMTree(Document, Node, ProcessingInstruction) - -Method in class org.dom4j.io.DOMWriter -
  -
appendData(String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
appendData(String) - -Method in class org.dom4j.dom.DOMComment -
  -
appendData(CharacterData, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
appendData(String) - -Method in class org.dom4j.dom.DOMText -
  -
appendElementsByTagName(List, Branch, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
appendElementsByTagNameNS(List, Branch, String, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
appendText(String) - -Method in interface org.dom4j.CharacterData -
Appends the given text to this nodes text value. -
appendText(String) - -Method in class org.dom4j.tree.AbstractCharacterData -
  -
applyTemplates(Element) - -Method in class org.dom4j.rule.Mode -
  -
applyTemplates(Document) - -Method in class org.dom4j.rule.Mode -
  -
applyTemplates(Object, XPath) - -Method in class org.dom4j.rule.Stylesheet -
Processes the result of the xpath expression. -
applyTemplates(Object, XPath, String) - -Method in class org.dom4j.rule.Stylesheet -
Processes the result of the xpath expression in the given mode. -
applyTemplates(Object, XPath) - -Method in class org.dom4j.rule.Stylesheet -
Deprecated. Use Stylesheet.applyTemplates(Object, XPath)instead. -
applyTemplates(Object, XPath, String) - -Method in class org.dom4j.rule.Stylesheet -
Deprecated. Use Stylesheet.applyTemplates(Object, XPath, String) - instead. -
applyTemplates(Object) - -Method in class org.dom4j.rule.Stylesheet -
If input is a Node, this will processes all of the - children of that node. -
applyTemplates(Object, String) - -Method in class org.dom4j.rule.Stylesheet -
Processes the input object in the given mode. -
asDOMAttr(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
asDOMDocument(Document) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
asDOMDocumentType(DocumentType) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
asDOMElement(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
asDOMNode(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
asDOMText(CharacterData) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
asDocumentType(DocumentType) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
asElement(Object) - -Method in class org.dom4j.util.IndexedElement -
  -
asElementIterator(Object) - -Method in class org.dom4j.util.IndexedElement -
Deprecated. WILL BE REMOVED IN dom4j-1.6 !! -
asElementList(Object) - -Method in class org.dom4j.util.IndexedElement -
  -
asNode(Object) - -Method in class org.dom4j.tree.BackedList -
  -
asNode(Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
asXML() - -Method in class org.dom4j.Namespace -
  -
asXML() - -Method in interface org.dom4j.Node -
- asXML returns the textual XML representation of this node. - -
asXML() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
asXML() - -Method in class org.dom4j.tree.AbstractCDATA -
  -
asXML() - -Method in class org.dom4j.tree.AbstractComment -
  -
asXML() - -Method in class org.dom4j.tree.AbstractDocument -
  -
asXML() - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
asXML() - -Method in class org.dom4j.tree.AbstractElement -
  -
asXML() - -Method in class org.dom4j.tree.AbstractEntity -
  -
asXML() - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
asXML() - -Method in class org.dom4j.tree.AbstractText -
  -
asXPathResult(Element) - -Method in interface org.dom4j.Node -
- asXPathResult returns a version of this node which is - capable of being an XPath result. -
asXPathResult(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
asXPathResult(Element) - -Method in class org.dom4j.tree.AbstractNode -
  -
attribute(int) - -Method in interface org.dom4j.Element -
Returns the attribute at the specified indexGets the -
attribute(String) - -Method in interface org.dom4j.Element -
Returns the attribute with the given name -
attribute(QName) - -Method in interface org.dom4j.Element -
DOCUMENT ME! -
attribute(String) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
attribute(QName) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
attribute(int) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
attribute(String) - -Method in class org.dom4j.bean.BeanElement -
  -
attribute(QName) - -Method in class org.dom4j.bean.BeanElement -
  -
attribute(Attr) - -Method in class org.dom4j.dom.DOMElement -
  -
attribute(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
attribute(int) - -Method in class org.dom4j.tree.AbstractElement -
  -
attribute(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
attribute(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
attribute(String, Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
attribute(int) - -Method in class org.dom4j.tree.DefaultElement -
  -
attribute(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
attribute(QName) - -Method in class org.dom4j.tree.DefaultElement -
  -
attribute(String, Namespace) - -Method in class org.dom4j.tree.DefaultElement -
  -
attribute(String) - -Method in class org.dom4j.util.IndexedElement -
  -
attribute(QName) - -Method in class org.dom4j.util.IndexedElement -
  -
attributeCount() - -Method in interface org.dom4j.Element -
DOCUMENT ME! -
attributeCount() - -Method in class org.dom4j.bean.BeanMetaData -
DOCUMENT ME! -
attributeCount() - -Method in class org.dom4j.tree.AbstractElement -
  -
attributeCount() - -Method in class org.dom4j.tree.DefaultElement -
  -
attributeDecl(String, String, String, String, String) - -Method in class org.dom4j.io.SAXContentHandler -
Report an attribute type declaration. - - -
attributeDecl(String, String, String, String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
attributeIndex() - -Method in class org.dom4j.util.IndexedElement -
  -
attributeIterator() - -Method in interface org.dom4j.Element -
DOCUMENT ME! -
attributeIterator() - -Method in class org.dom4j.tree.AbstractElement -
  -
attributeIterator() - -Method in class org.dom4j.tree.DefaultElement -
  -
attributeList() - -Method in class org.dom4j.tree.AbstractElement -
DOCUMENT ME! -
attributeList(int) - -Method in class org.dom4j.tree.AbstractElement -
DOCUMENT ME! -
attributeList() - -Method in class org.dom4j.tree.BaseElement -
  -
attributeList(int) - -Method in class org.dom4j.tree.BaseElement -
  -
attributeList() - -Method in class org.dom4j.tree.DefaultElement -
  -
attributeList(int) - -Method in class org.dom4j.tree.DefaultElement -
  -
attributeNameForNamespace(Namespace) - -Method in class org.dom4j.io.DOMWriter -
  -
attributeValue(String) - -Method in interface org.dom4j.Element -
- This returns the attribute value for the attribute with the given name - and any namespace or null if there is no such attribute or the empty - string if the attribute value is empty. - -
attributeValue(String, String) - -Method in interface org.dom4j.Element -
- This returns the attribute value for the attribute with the given name - and any namespace or the default value if there is no such attribute - value. - -
attributeValue(QName) - -Method in interface org.dom4j.Element -
- This returns the attribute value for the attribute with the given fully - qualified name or null if there is no such attribute or the empty string - if the attribute value is empty. - -
attributeValue(QName, String) - -Method in interface org.dom4j.Element -
- This returns the attribute value for the attribute with the given fully - qualified name or the default value if there is no such attribute value. - -
attributeValue(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
attributeValue(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
attributeValue(String, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
attributeValue(QName, String) - -Method in class org.dom4j.tree.AbstractElement -
  -
attributes() - -Method in interface org.dom4j.Element -
- Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface. -
attributes() - -Method in class org.dom4j.tree.AbstractElement -
  -
attributes - -Variable in class org.dom4j.tree.BaseElement -
list of attributes -
attributes() - -Method in class org.dom4j.tree.DefaultElement -
  -
-
-

-B

-
-
BackedList - class org.dom4j.tree.BackedList.
- BackedList represents a list of content of a Branch.
BackedList(AbstractBranch, List) - -Constructor for class org.dom4j.tree.BackedList -
  -
BackedList(AbstractBranch, List, int) - -Constructor for class org.dom4j.tree.BackedList -
  -
BackedList(AbstractBranch, List, List) - -Constructor for class org.dom4j.tree.BackedList -
  -
BaseElement - class org.dom4j.tree.BaseElement.
- BaseElement is a useful base class for implemementation - inheritence of an XML element. -
BaseElement(String) - -Constructor for class org.dom4j.tree.BaseElement -
  -
BaseElement(QName) - -Constructor for class org.dom4j.tree.BaseElement -
  -
BaseElement(String, Namespace) - -Constructor for class org.dom4j.tree.BaseElement -
  -
BeanAttribute - class org.dom4j.bean.BeanAttribute.
- BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
BeanAttribute(BeanAttributeList, int) - -Constructor for class org.dom4j.bean.BeanAttribute -
  -
BeanAttributeList - class org.dom4j.bean.BeanAttributeList.
- BeanAttributeList implements a list of Attributes which are - the properties of a JavaBean. -
BeanAttributeList(BeanElement, BeanMetaData) - -Constructor for class org.dom4j.bean.BeanAttributeList -
  -
BeanAttributeList(BeanElement) - -Constructor for class org.dom4j.bean.BeanAttributeList -
  -
BeanDocumentFactory - class org.dom4j.bean.BeanDocumentFactory.
- BeanDocumentFactory is a factory of DOM4J objects which may be - BeanElements which are backed by JavaBeans and their properties. -
BeanDocumentFactory() - -Constructor for class org.dom4j.bean.BeanDocumentFactory -
  -
BeanElement - class org.dom4j.bean.BeanElement.
- BeanElement uses a Java Bean to store its attributes. -
BeanElement(String, Object) - -Constructor for class org.dom4j.bean.BeanElement -
  -
BeanElement(String, Namespace, Object) - -Constructor for class org.dom4j.bean.BeanElement -
  -
BeanElement(QName, Object) - -Constructor for class org.dom4j.bean.BeanElement -
  -
BeanElement(QName) - -Constructor for class org.dom4j.bean.BeanElement -
  -
BeanMetaData - class org.dom4j.bean.BeanMetaData.
- BeanMetaData contains metadata about a bean class. -
BeanMetaData(Class) - -Constructor for class org.dom4j.bean.BeanMetaData -
  -
Branch - interface org.dom4j.Branch.
- Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
BranchTreeNode - class org.dom4j.swing.BranchTreeNode.
- BranchTreeNode implements the Swing TreeNode interface to bind - dom4j XML Branch nodes (i.e.
BranchTreeNode() - -Constructor for class org.dom4j.swing.BranchTreeNode -
  -
BranchTreeNode(Branch) - -Constructor for class org.dom4j.swing.BranchTreeNode -
  -
BranchTreeNode(TreeNode, Branch) - -Constructor for class org.dom4j.swing.BranchTreeNode -
  -
booleanValue(Element, String) - -Static method in class org.dom4j.util.AttributeHelper -
  -
booleanValue(Element, QName) - -Static method in class org.dom4j.util.AttributeHelper -
  -
booleanValue(Attribute) - -Static method in class org.dom4j.util.AttributeHelper -
  -
booleanValueOf(Object) - -Method in interface org.dom4j.XPath -
Retrieve a boolean-value interpretation of this XPath expression when - evaluated against a given context. - - -
booleanValueOf(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
build(Document) - -Method in class org.dom4j.datatype.SchemaParser -
Parses the given schema document -
build(Document, Namespace) - -Method in class org.dom4j.datatype.SchemaParser -
  -
-
-

-C

-
-
CACHE - -Static variable in class org.dom4j.Namespace -
Cache of Namespace instances -
CDATA - interface org.dom4j.CDATA.
- CDATA defines an XML CDATA section. -
CDATA_SECTION_NODE - -Static variable in interface org.dom4j.Node -
Matches elements nodes -
COMMENT_NODE - -Static variable in interface org.dom4j.Node -
Matches Comments nodes -
CharacterData - interface org.dom4j.CharacterData.
- CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - interface org.dom4j.Comment.
- Comment defines the behavior of an XML comment. -
ConcurrentReaderHashMap.BarrierLock - class org.dom4j.tree.ConcurrentReaderHashMap.BarrierLock.
A Serializable class for barrier lock *
ConcurrentReaderHashMap.BarrierLock() - -Constructor for class org.dom4j.tree.ConcurrentReaderHashMap.BarrierLock -
  -
ConcurrentReaderHashMap.Entry - class org.dom4j.tree.ConcurrentReaderHashMap.Entry.
ConcurrentReaderHashMap collision list entry.
ContentListFacade - class org.dom4j.tree.ContentListFacade.
- ContentListFacade represents a facade of the content of a - Branch which is returned via calls to the Branch.content() method to allow users to modify the content of a - Branch directly using the List interface.
ContentListFacade(AbstractBranch, List) - -Constructor for class org.dom4j.tree.ContentListFacade -
  -
cache - -Variable in class org.dom4j.DocumentFactory -
  -
cache - -Static variable in class org.dom4j.tree.NamespaceCache -
Cache of Mapinstances indexed by URI which contain caches of - Namespacefor each prefix -
characters(char[], int, int) - -Method in class org.dom4j.io.SAXContentHandler -
  -
characters(char[], int, int) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
characters(char[], int, int) - -Method in class org.dom4j.io.XMLWriter -
  -
checkAddElementAllowed(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
checkForNullHandlers() - -Method in class org.dom4j.io.SAXWriter -
Ensures non-null content handlers? -
childAdded(Node) - -Method in class org.dom4j.datatype.DatatypeElement -
Override to force lazy recreation of data object -
childAdded(Node) - -Method in class org.dom4j.tree.AbstractBranch -
Called when a new child node has been added to me to allow any parent - relationships to be created or events to be fired. -
childAdded(Node) - -Method in class org.dom4j.tree.AbstractDocument -
  -
childAdded(Node) - -Method in class org.dom4j.tree.AbstractElement -
Called when a new child node is added to create any parent relationships -
childRemoved(Node) - -Method in class org.dom4j.datatype.DatatypeElement -
Override to force lazy recreation of data object -
childRemoved(Node) - -Method in class org.dom4j.tree.AbstractBranch -
Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired. -
childRemoved(Node) - -Method in class org.dom4j.tree.AbstractDocument -
  -
childRemoved(Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
children - -Variable in class org.dom4j.swing.BranchTreeNode -
Stores the child tree nodes -
children() - -Method in class org.dom4j.swing.BranchTreeNode -
  -
children() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
clear() - -Method in class org.dom4j.bean.BeanAttributeList -
  -
clear() - -Method in class org.dom4j.rule.RuleManager -
  -
clear() - -Method in class org.dom4j.rule.Stylesheet -
  -
clear() - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
clear() - -Method in class org.dom4j.tree.BackedList -
  -
clear() - -Method in class org.dom4j.tree.ContentListFacade -
  -
clear() - -Method in class org.dom4j.tree.NamespaceStack -
Clears the stack -
clearCaches() - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
clearContent() - -Method in interface org.dom4j.Branch -
Clears the content for this branch, removing any Node - instances this branch may contain. -
clearContent() - -Method in class org.dom4j.tree.BaseElement -
  -
clearContent() - -Method in class org.dom4j.tree.DefaultDocument -
  -
clearContent() - -Method in class org.dom4j.tree.DefaultElement -
  -
clearNamespaceStack() - -Method in class org.dom4j.io.DOMReader -
  -
clone() - -Method in interface org.dom4j.Node -
- clone will return a deep clone or if this node is - read-only then clone will return the same instance. - -
clone() - -Method in class org.dom4j.tree.AbstractNode -
  -
clone() - -Method in class org.dom4j.tree.DefaultDocument -
  -
clone() - -Method in class org.dom4j.tree.DefaultElement -
  -
clone() - -Method in class org.dom4j.util.UserDataElement -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMAttribute -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMCDATA -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMComment -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMDocument -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMElement -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMNamespace -
  -
cloneNode(Node, boolean) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
cloneNode(boolean) - -Method in class org.dom4j.dom.DOMText -
  -
close() - -Method in class org.dom4j.io.XMLWriter -
Closes the underlying Writer -
comment(char[], int, int) - -Method in class org.dom4j.io.SAXContentHandler -
  -
comment(char[], int, int) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
comment(char[], int, int) - -Method in class org.dom4j.io.XMLWriter -
  -
compare(Object, Object) - -Method in class org.dom4j.util.NodeComparator -
Compares its two arguments for order. -
compare(Node, Node) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(Document, Document) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(Element, Element) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(Attribute, Attribute) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(QName, QName) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(Namespace, Namespace) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(CharacterData, CharacterData) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(DocumentType, DocumentType) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(Entity, Entity) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(ProcessingInstruction, ProcessingInstruction) - -Method in class org.dom4j.util.NodeComparator -
  -
compare(String, String) - -Method in class org.dom4j.util.NodeComparator -
  -
compareContent(Branch, Branch) - -Method in class org.dom4j.util.NodeComparator -
  -
compareTo(Object) - -Method in class org.dom4j.rule.Rule -
  -
compareTo(Rule) - -Method in class org.dom4j.rule.Rule -
Compares two rules in XSLT processing model order assuming that the modes - are equal. -
completeCurrentTextNode() - -Method in class org.dom4j.io.SAXContentHandler -
If the current text buffer contains any text then create a new text node - with it and add it to the current element -
configureReader(XMLReader, DefaultHandler) - -Method in class org.dom4j.io.SAXReader -
Configures the XMLReader before use -
configureReader() - -Method in class org.dom4j.io.SAXValidator -
Configures the XMLReader before use -
contains(Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
contains(Namespace) - -Method in class org.dom4j.tree.NamespaceStack -
DOCUMENT ME! -
containsAll(Collection) - -Method in class org.dom4j.tree.ContentListFacade -
  -
content() - -Method in interface org.dom4j.Branch -
- Returns the content nodes of this branch as a backed Listso that - the content of this branch may be modified directly using the - Listinterface. -
content() - -Method in class org.dom4j.tree.AbstractBranch -
  -
content - -Variable in class org.dom4j.tree.BaseElement -
List of content nodes. -
contentList() - -Method in class org.dom4j.tree.AbstractBranch -
DOCUMENT ME! -
contentList() - -Method in class org.dom4j.tree.BaseElement -
  -
contentList() - -Method in class org.dom4j.tree.DefaultDocument -
  -
contentList() - -Method in class org.dom4j.tree.DefaultElement -
  -
contentRemoved() - -Method in class org.dom4j.tree.AbstractBranch -
Called when the given List content has been removed so each node should - have its parent and document relationships cleared -
convertToValue(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
create(Object) - -Static method in class org.dom4j.xpath.DefaultNamespaceContext -
  -
createAttribute(Element, QName, String) - -Method in class org.dom4j.DocumentFactory -
  -
createAttribute(Element, String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createAttribute(Element, QName, String) - -Static method in class org.dom4j.DocumentHelper -
  -
createAttribute(Element, String, String) - -Static method in class org.dom4j.DocumentHelper -
  -
createAttribute(BeanElement, int) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
createAttribute(Element, QName, String) - -Method in class org.dom4j.bean.BeanDocumentFactory -
  -
createAttribute(Element, QName, String) - -Method in class org.dom4j.datatype.DatatypeDocumentFactory -
  -
createAttribute(Element, QName, String) - -Method in class org.dom4j.datatype.DatatypeElementFactory -
  -
createAttribute(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createAttribute(Element, QName, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createAttribute(Attr) - -Method in class org.dom4j.dom.DOMElement -
  -
createAttribute(Element, Attribute) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J Attribute from the provided StAX Attribute event. -
createAttribute(Attribute) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX Attributeevent from a - DOM4J Attribute. -
createAttribute(Element, QName, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createAttribute(Element, String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createAttribute(Element, QName, String) - -Method in class org.dom4j.util.UserDataDocumentFactory -
  -
createAttributeIndex() - -Method in class org.dom4j.util.IndexedElement -
A Factory Method to create the index for attributes -
createAttributeList() - -Method in class org.dom4j.bean.BeanElement -
A Factory Method pattern which lazily creates a List implementation used - to store content -
createAttributeList(int) - -Method in class org.dom4j.bean.BeanElement -
  -
createAttributeList(BeanElement) - -Method in class org.dom4j.bean.BeanMetaData -
  -
createAttributeList() - -Method in class org.dom4j.tree.AbstractElement -
A Factory Method pattern which creates a List implementation used to - store attributes -
createAttributeList(int) - -Method in class org.dom4j.tree.AbstractElement -
A Factory Method pattern which creates a List implementation used to - store attributes -
createAttributeNS(String, String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createAttributes(Element, Attributes) - -Method in class org.dom4j.io.SAXWriter -
  -
createBean(QName) - -Method in class org.dom4j.bean.BeanDocumentFactory -
  -
createBean(QName, Attributes) - -Method in class org.dom4j.bean.BeanDocumentFactory -
  -
createCDATA(String) - -Method in class org.dom4j.DocumentFactory -
  -
createCDATA(String) - -Static method in class org.dom4j.DocumentHelper -
  -
createCDATA(String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
createCDATA(String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createCDATA(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createCDATASection(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createCharacterData(Characters) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J Text or CDATA object from the provided Characters - event. -
createCharacters(Text) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX Charactersevent from a DOM4J Text. -
createCharacters(CDATA) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX Charactersevent from a DOM4J CDATA. -
createChildList() - -Method in class org.dom4j.swing.BranchTreeNode -
Factory method to create List of children TreeNodes -
createChildTreeNode(Node) - -Method in class org.dom4j.swing.BranchTreeNode -
Factory method to create child tree nodes for a given XML node type -
createColumnXPath(String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
createComment(String) - -Method in class org.dom4j.DocumentFactory -
  -
createComment(String) - -Static method in class org.dom4j.DocumentHelper -
  -
createComment(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createComment(String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createComment(Comment) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J Comment from the provided StAX Comment event. -
createComment(Comment) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX Commentevent from a - DOM4J Comment. -
createComment(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createCompactFormat() - -Static method in class org.dom4j.io.OutputFormat -
A static helper method to create the default compact format. -
createContentHandler(XMLReader) - -Method in class org.dom4j.io.SAXReader -
Factory Method to allow user derived SAXContentHandler objects to be used -
createContentList() - -Method in class org.dom4j.tree.AbstractBranch -
A Factory Method pattern which creates a List implementation used to - store content -
createContentList(int) - -Method in class org.dom4j.tree.AbstractBranch -
A Factory Method pattern which creates a List implementation used to - store content -
createCopy() - -Method in interface org.dom4j.Element -
- Creates a deep copy of this element The new element is detached from its - parent, and getParent() on the clone will return null. - -
createCopy(String) - -Method in interface org.dom4j.Element -
- Creates a deep copy of this element with the given local name The new - element is detached from its parent, and getParent() on the clone will - return null. - -
createCopy(QName) - -Method in interface org.dom4j.Element -
- Creates a deep copy of this element with the given fully qualified name. - -
createCopy() - -Method in class org.dom4j.tree.AbstractElement -
- This returns a deep clone of this element. -
createCopy(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
createCopy(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
createDTD(DocumentType) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX DTDevent from a DOM4J DocumentType. -
createDefaultEntityResolver(String) - -Method in class org.dom4j.io.SAXReader -
  -
createDefaultRule(Pattern, Action) - -Method in class org.dom4j.rule.RuleManager -
  -
createDocType(String, String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createDocType(String, String, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createDocType(String, String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createDocument() - -Method in class org.dom4j.DocumentFactory -
  -
createDocument(String) - -Method in class org.dom4j.DocumentFactory -
DOCUMENT ME! -
createDocument(Element) - -Method in class org.dom4j.DocumentFactory -
  -
createDocument() - -Static method in class org.dom4j.DocumentHelper -
  -
createDocument(Element) - -Static method in class org.dom4j.DocumentHelper -
  -
createDocument() - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createDocument(String, String, DocumentType) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createDocument() - -Method in class org.dom4j.io.DOMReader -
  -
createDocument() - -Method in class org.dom4j.io.SAXContentHandler -
DOCUMENT ME! -
createDocument() - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createDocument(Element) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createDocumentFragment() - -Method in class org.dom4j.dom.DOMDocument -
  -
createDocumentType(String, String, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createDomDocument(Document) - -Method in class org.dom4j.io.DOMWriter -
  -
createDomDocument(Document, DOMImplementation) - -Method in class org.dom4j.io.DOMWriter -
  -
createDomDocumentViaJAXP() - -Method in class org.dom4j.io.DOMWriter -
  -
createElement(QName) - -Method in class org.dom4j.DocumentFactory -
  -
createElement(String) - -Method in class org.dom4j.DocumentFactory -
  -
createElement(String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createElement(QName) - -Static method in class org.dom4j.DocumentHelper -
  -
createElement(String) - -Static method in class org.dom4j.DocumentHelper -
  -
createElement(QName) - -Method in class org.dom4j.bean.BeanDocumentFactory -
  -
createElement(QName, Attributes) - -Method in class org.dom4j.bean.BeanDocumentFactory -
  -
createElement(QName) - -Method in class org.dom4j.datatype.DatatypeElementFactory -
  -
createElement(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createElement(QName) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createElement(QName, int) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createElement(StartElement) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J Element from the provided StartElement event. -
createElement(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
createElement(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
createElement(QName) - -Method in class org.dom4j.util.IndexedDocumentFactory -
  -
createElement(QName, int) - -Method in class org.dom4j.util.IndexedDocumentFactory -
  -
createElement(QName) - -Method in class org.dom4j.util.NonLazyDocumentFactory -
  -
createElement(QName) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createElement(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createElement(QName) - -Method in class org.dom4j.util.UserDataDocumentFactory -
  -
createElement(String) - -Method in class org.dom4j.util.UserDataElement -
  -
createElement(QName) - -Method in class org.dom4j.util.UserDataElement -
  -
createElementIndex() - -Method in class org.dom4j.util.IndexedElement -
A Factory Method to create the index for elements -
createElementNS(String, String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createElementStack() - -Method in class org.dom4j.io.SAXContentHandler -
  -
createEmptyList() - -Method in class org.dom4j.tree.AbstractBranch -
A Factory Method pattern which creates an empty a BackedList - implementation -
createEndDocument(Document) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX EndDocumentevent from a DOM4J Document. -
createEndElement(Element) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX EndElementevent from a DOM4J Element. -
createEntity(String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createEntity(String, String) - -Static method in class org.dom4j.DocumentHelper -
  -
createEntity(String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createEntity(String, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createEntity(EntityReference) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J Entity from the provided StAX EntityReference - event. -
createEntity(String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createEntityReference(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createHashCode() - -Method in class org.dom4j.Namespace -
Factory method to create the hashcode allowing derived classes to change - the behaviour -
createHashCode() - -Method in class org.dom4j.tree.DefaultNamespace -
DOCUMENT ME! -
createIndex() - -Method in class org.dom4j.util.IndexedElement -
Factory method to return a new map implementation for indices -
createList() - -Method in class org.dom4j.util.IndexedElement -
Factory method to return a list implementation for indices -
createMap() - -Method in class org.dom4j.tree.QNameCache -
A factory method -
createMode() - -Method in class org.dom4j.rule.RuleManager -
A factory method to return a new Modeinstance which should add - the necessary default rules -
createNamespace(String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createNamespace(String, String) - -Static method in class org.dom4j.DocumentHelper -
  -
createNamespace(String, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createNamespace(Namespace) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J Namespace from the provided StAX Namespace event. -
createNamespace(Namespace) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX Namespaceevent from a - DOM4J Namespace. -
createNamespace(String, String) - -Method in class org.dom4j.tree.NamespaceCache -
A factory method to create Namespaceinstance -
createNamespace(String, String) - -Method in class org.dom4j.tree.NamespaceStack -
Factory method to creeate new Namespace instances. -
createNamespace(String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createNodeList(List) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
createPattern(String) - -Method in class org.dom4j.DocumentFactory -
- createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. - -
createPattern(String) - -Static method in class org.dom4j.DocumentHelper -
- createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. - -
createPattern(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
createPattern(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createPrettyPrint() - -Static method in class org.dom4j.io.OutputFormat -
A static helper method to create the default pretty printing format. -
createProcessingInstruction(String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createProcessingInstruction(String, Map) - -Method in class org.dom4j.DocumentFactory -
  -
createProcessingInstruction(String, String) - -Static method in class org.dom4j.DocumentHelper -
  -
createProcessingInstruction(String, Map) - -Static method in class org.dom4j.DocumentHelper -
  -
createProcessingInstruction(String, String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createProcessingInstruction(String, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createProcessingInstruction(String, Map) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createProcessingInstruction(ProcessingInstruction) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J ProcessingInstruction from the provided StAX - ProcessingInstruction event. -
createProcessingInstruction(ProcessingInstruction) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX ProcessingInstruction - event from a DOM4J ProcessingInstruction. -
createProcessingInstruction(String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createProcessingInstruction(String, Map) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createQName(String, Namespace) - -Method in class org.dom4j.DocumentFactory -
  -
createQName(String) - -Method in class org.dom4j.DocumentFactory -
  -
createQName(String, String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createQName(String, String) - -Method in class org.dom4j.DocumentFactory -
  -
createQName(String, Namespace) - -Static method in class org.dom4j.DocumentHelper -
  -
createQName(String) - -Static method in class org.dom4j.DocumentHelper -
  -
createQName(QName) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a new DOM4J QName from the provided JAXP QName. -
createQName(QName) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX QNamefrom a DOM4J QName. -
createQName(String, String, Namespace) - -Method in class org.dom4j.tree.NamespaceStack -
Factory method to creeate new QName instances. -
createQName(String) - -Method in class org.dom4j.tree.QNameCache -
Factory method to create a new QName object which can be overloaded to - create derived QName instances -
createQName(String, Namespace) - -Method in class org.dom4j.tree.QNameCache -
Factory method to create a new QName object which can be overloaded to - create derived QName instances -
createQName(String, Namespace, String) - -Method in class org.dom4j.tree.QNameCache -
Factory method to create a new QName object which can be overloaded to - create derived QName instances -
createQName(String, Namespace) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createQName(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createQName(String, String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createQName(String, String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createQNameCache() - -Method in class org.dom4j.DocumentFactory -
Factory method to create the QNameCache. -
createReader(InputStream) - -Method in class org.dom4j.io.XPP3Reader -
Factory method to create a Reader from the given InputStream. -
createReader(InputStream) - -Method in class org.dom4j.io.XPPReader -
Factory method to create a Reader from the given InputStream. -
createResultList() - -Method in class org.dom4j.tree.AbstractBranch -
A Factory Method pattern which creates a BackedList implementation used - to store results of a filtered content query. -
createSingleIterator(Object) - -Method in class org.dom4j.tree.AbstractElement -
  -
createSingleResultList(Object) - -Method in class org.dom4j.tree.AbstractBranch -
A Factory Method pattern which creates a BackedList implementation which - contains a single result -
createSingleton(String) - -Static method in class org.dom4j.DocumentFactory -
- createSingleton creates the singleton instance from the - given class name. - -
createStartDocument(Document) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX StartDocumentevent from a DOM4J Document. -
createStartElement(Element) - -Method in class org.dom4j.io.STAXEventWriter -
Constructs a STAX StartElementevent from a DOM4J Element. -
createText(String) - -Method in class org.dom4j.DocumentFactory -
  -
createText(String) - -Static method in class org.dom4j.DocumentHelper -
  -
createText(String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
createText(String) - -Method in class org.dom4j.dom.DOMText -
  -
createText(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createTextNode(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
createWriter(OutputStream, String) - -Method in class org.dom4j.io.XMLWriter -
Get an OutputStreamWriter, use preferred encoding. -
createXMLReader() - -Method in class org.dom4j.io.SAXReader -
Factory Method to allow alternate methods of creating and configuring - XMLReader objects -
createXMLReader() - -Method in class org.dom4j.io.SAXValidator -
Factory Method to allow alternate methods of creating and configuring - XMLReader objects -
createXPath(String) - -Method in class org.dom4j.DocumentFactory -
- createXPath parses an XPath expression and creates a new - XPath XPath instance. - -
createXPath(String, VariableContext) - -Method in class org.dom4j.DocumentFactory -
- createXPath parses an XPath expression and creates a new - XPath XPath instance. - -
createXPath(String) - -Static method in class org.dom4j.DocumentHelper -
- createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. - -
createXPath(String, VariableContext) - -Static method in class org.dom4j.DocumentHelper -
- createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. - -
createXPath(String) - -Method in interface org.dom4j.Node -
- createXPath creates an XPath object for the given - xpathExpression. -
createXPath(String) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
  -
createXPath(String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
createXPath(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
createXPath(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createXPath(String, VariableContext) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createXPathFilter(String, VariableContext) - -Method in class org.dom4j.DocumentFactory -
- createXPathFilter parses a NodeFilter from the given XPath - filter expression. -
createXPathFilter(String) - -Method in class org.dom4j.DocumentFactory -
- createXPathFilter parses a NodeFilter from the given XPath - filter expression. -
createXPathFilter(String) - -Static method in class org.dom4j.DocumentHelper -
- createXPathFilter parses a NodeFilter from the given XPath - filter expression using the singleton DocumentFactory. -
createXPathFilter(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
createXPathFilter(String, VariableContext) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createXPathFilter(String) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
createXPathResult(Element) - -Method in class org.dom4j.Namespace -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.AbstractNode -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.FlyweightCDATA -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.FlyweightComment -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.FlyweightEntity -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.FlyweightProcessingInstruction -
  -
createXPathResult(Element) - -Method in class org.dom4j.tree.FlyweightText -
  -
-
-

-D

-
-
DEFAULT_CONTENT_LIST_SIZE - -Static variable in class org.dom4j.tree.AbstractBranch -
  -
DEFAULT_FORMAT - -Static variable in class org.dom4j.io.XMLWriter -
  -
DEFAULT_HTML_FORMAT - -Static variable in class org.dom4j.io.HTMLWriter -
  -
DEFAULT_PREFORMATTED_TAGS - -Static variable in class org.dom4j.io.HTMLWriter -
  -
DEFAULT_PRIORITY - -Static variable in interface org.dom4j.rule.Pattern -
According to the spec - we should return 0.5 if we cannot determine the priority -
DOCUMENT_NODE - -Static variable in interface org.dom4j.Node -
Matches Document nodes -
DOCUMENT_TYPE_NODE - -Static variable in interface org.dom4j.Node -
Matches DocumentType nodes -
DOM4J_FEATURE - -Static variable in class org.dom4j.io.DocumentSource -
If TransformerFactory.getFeature(java.lang.String)returns - true when passed this value as an argument then the - Transformer natively supports dom4j . -
DOMAttribute - class org.dom4j.dom.DOMAttribute.
- DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
DOMAttribute(QName) - -Constructor for class org.dom4j.dom.DOMAttribute -
  -
DOMAttribute(QName, String) - -Constructor for class org.dom4j.dom.DOMAttribute -
  -
DOMAttribute(Element, QName, String) - -Constructor for class org.dom4j.dom.DOMAttribute -
  -
DOMAttributeNodeMap - class org.dom4j.dom.DOMAttributeNodeMap.
- DOMAttributeNodeMap implements a W3C NameNodeMap for the - attributes of an element. -
DOMAttributeNodeMap(DOMElement) - -Constructor for class org.dom4j.dom.DOMAttributeNodeMap -
  -
DOMCDATA - class org.dom4j.dom.DOMCDATA.
- DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
DOMCDATA(String) - -Constructor for class org.dom4j.dom.DOMCDATA -
  -
DOMCDATA(Element, String) - -Constructor for class org.dom4j.dom.DOMCDATA -
  -
DOMComment - class org.dom4j.dom.DOMComment.
- DOMText implements a Text node which supports the W3C DOM API. -
DOMComment(String) - -Constructor for class org.dom4j.dom.DOMComment -
  -
DOMComment(Element, String) - -Constructor for class org.dom4j.dom.DOMComment -
  -
DOMDocument - class org.dom4j.dom.DOMDocument.
- DOMDocument implements an XML document which supports the W3C - DOM API. -
DOMDocument() - -Constructor for class org.dom4j.dom.DOMDocument -
  -
DOMDocument(String) - -Constructor for class org.dom4j.dom.DOMDocument -
  -
DOMDocument(DOMElement) - -Constructor for class org.dom4j.dom.DOMDocument -
  -
DOMDocument(DOMDocumentType) - -Constructor for class org.dom4j.dom.DOMDocument -
  -
DOMDocument(DOMElement, DOMDocumentType) - -Constructor for class org.dom4j.dom.DOMDocument -
  -
DOMDocument(String, DOMElement, DOMDocumentType) - -Constructor for class org.dom4j.dom.DOMDocument -
  -
DOMDocumentFactory - class org.dom4j.dom.DOMDocumentFactory.
- DOMDocumentFactory is a factory of DOM4J objects which - implement the W3C DOM API. -
DOMDocumentFactory() - -Constructor for class org.dom4j.dom.DOMDocumentFactory -
  -
DOMDocumentType - class org.dom4j.dom.DOMDocumentType.
- DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
DOMDocumentType() - -Constructor for class org.dom4j.dom.DOMDocumentType -
  -
DOMDocumentType(String, String) - -Constructor for class org.dom4j.dom.DOMDocumentType -
  -
DOMDocumentType(String, String, String) - -Constructor for class org.dom4j.dom.DOMDocumentType -
  -
DOMElement - class org.dom4j.dom.DOMElement.
- DOMElement implements an XML element which supports the W3C - DOM API. -
DOMElement(String) - -Constructor for class org.dom4j.dom.DOMElement -
  -
DOMElement(QName) - -Constructor for class org.dom4j.dom.DOMElement -
  -
DOMElement(QName, int) - -Constructor for class org.dom4j.dom.DOMElement -
  -
DOMElement(String, Namespace) - -Constructor for class org.dom4j.dom.DOMElement -
  -
DOMEntityReference - class org.dom4j.dom.DOMEntityReference.
- DOMEntity implements a Entity node which supports the W3C DOM - API. -
DOMEntityReference(String) - -Constructor for class org.dom4j.dom.DOMEntityReference -
  -
DOMEntityReference(String, String) - -Constructor for class org.dom4j.dom.DOMEntityReference -
  -
DOMEntityReference(Element, String, String) - -Constructor for class org.dom4j.dom.DOMEntityReference -
  -
DOMNamespace - class org.dom4j.dom.DOMNamespace.
- DOMNamespace implements a Namespace that is compatable with - the DOM API. -
DOMNamespace(String, String) - -Constructor for class org.dom4j.dom.DOMNamespace -
  -
DOMNamespace(Element, String, String) - -Constructor for class org.dom4j.dom.DOMNamespace -
  -
DOMNodeHelper - class org.dom4j.dom.DOMNodeHelper.
- DOMNodeHelper contains a collection of utility methods for use - across Node implementations. -
DOMNodeHelper() - -Constructor for class org.dom4j.dom.DOMNodeHelper -
  -
DOMNodeHelper.EmptyNodeList - class org.dom4j.dom.DOMNodeHelper.EmptyNodeList.
 
DOMNodeHelper.EmptyNodeList() - -Constructor for class org.dom4j.dom.DOMNodeHelper.EmptyNodeList -
  -
DOMProcessingInstruction - class org.dom4j.dom.DOMProcessingInstruction.
- DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
DOMProcessingInstruction(String, Map) - -Constructor for class org.dom4j.dom.DOMProcessingInstruction -
  -
DOMProcessingInstruction(String, String) - -Constructor for class org.dom4j.dom.DOMProcessingInstruction -
  -
DOMProcessingInstruction(Element, String, String) - -Constructor for class org.dom4j.dom.DOMProcessingInstruction -
  -
DOMReader - class org.dom4j.io.DOMReader.
- DOMReader navigates a W3C DOM tree and creates a DOM4J tree - from it. -
DOMReader() - -Constructor for class org.dom4j.io.DOMReader -
  -
DOMReader(DocumentFactory) - -Constructor for class org.dom4j.io.DOMReader -
  -
DOMText - class org.dom4j.dom.DOMText.
- DOMText implements a Text node which supports the W3C DOM API. -
DOMText(String) - -Constructor for class org.dom4j.dom.DOMText -
  -
DOMText(Element, String) - -Constructor for class org.dom4j.dom.DOMText -
  -
DOMWriter - class org.dom4j.io.DOMWriter.
- DOMWriter takes a DOM4J tree and outputs it as a W3C DOM - object -
DOMWriter() - -Constructor for class org.dom4j.io.DOMWriter -
  -
DOMWriter(Class) - -Constructor for class org.dom4j.io.DOMWriter -
  -
DatatypeAttribute - class org.dom4j.datatype.DatatypeAttribute.
- DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -
DatatypeAttribute(QName, XSDatatype) - -Constructor for class org.dom4j.datatype.DatatypeAttribute -
  -
DatatypeAttribute(QName, XSDatatype, String) - -Constructor for class org.dom4j.datatype.DatatypeAttribute -
  -
DatatypeDocumentFactory - class org.dom4j.datatype.DatatypeDocumentFactory.
- DatatypeDocumentFactory is a factory of XML objects which - support the XML Schema Data Types - specification. -
DatatypeDocumentFactory() - -Constructor for class org.dom4j.datatype.DatatypeDocumentFactory -
  -
DatatypeElement - class org.dom4j.datatype.DatatypeElement.
- DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
DatatypeElement(QName, XSDatatype) - -Constructor for class org.dom4j.datatype.DatatypeElement -
  -
DatatypeElement(QName, int, XSDatatype) - -Constructor for class org.dom4j.datatype.DatatypeElement -
  -
DatatypeElementFactory - class org.dom4j.datatype.DatatypeElementFactory.
- DatatypeElementFactory is a factory for a specific Element in - an XML Schema. -
DatatypeElementFactory(QName) - -Constructor for class org.dom4j.datatype.DatatypeElementFactory -
  -
DefaultAttribute - class org.dom4j.tree.DefaultAttribute.
- DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
DefaultAttribute(QName) - -Constructor for class org.dom4j.tree.DefaultAttribute -
  -
DefaultAttribute(QName, String) - -Constructor for class org.dom4j.tree.DefaultAttribute -
  -
DefaultAttribute(Element, QName, String) - -Constructor for class org.dom4j.tree.DefaultAttribute -
  -
DefaultAttribute(String, String) - -Constructor for class org.dom4j.tree.DefaultAttribute -
Creates the Attribute with the specified local name and - value. -
DefaultAttribute(String, String, Namespace) - -Constructor for class org.dom4j.tree.DefaultAttribute -
Creates the Attribute with the specified local name, value - and Namespace. -
DefaultAttribute(Element, String, String, Namespace) - -Constructor for class org.dom4j.tree.DefaultAttribute -
Creates the Attribute with the specified local name, value - and Namespace. -
DefaultCDATA - class org.dom4j.tree.DefaultCDATA.
- DefaultCDATA is the default CDATA implementation.
DefaultCDATA(String) - -Constructor for class org.dom4j.tree.DefaultCDATA -
DOCUMENT ME! -
DefaultCDATA(Element, String) - -Constructor for class org.dom4j.tree.DefaultCDATA -
DOCUMENT ME! -
DefaultComment - class org.dom4j.tree.DefaultComment.
- DefaultComment is the default Comment implementation.
DefaultComment(String) - -Constructor for class org.dom4j.tree.DefaultComment -
DOCUMENT ME! -
DefaultComment(Element, String) - -Constructor for class org.dom4j.tree.DefaultComment -
DOCUMENT ME! -
DefaultDocument - class org.dom4j.tree.DefaultDocument.
- DefaultDocument is the default DOM4J default implementation of - an XML document. -
DefaultDocument() - -Constructor for class org.dom4j.tree.DefaultDocument -
  -
DefaultDocument(String) - -Constructor for class org.dom4j.tree.DefaultDocument -
  -
DefaultDocument(Element) - -Constructor for class org.dom4j.tree.DefaultDocument -
  -
DefaultDocument(DocumentType) - -Constructor for class org.dom4j.tree.DefaultDocument -
  -
DefaultDocument(Element, DocumentType) - -Constructor for class org.dom4j.tree.DefaultDocument -
  -
DefaultDocument(String, Element, DocumentType) - -Constructor for class org.dom4j.tree.DefaultDocument -
  -
DefaultDocumentType - class org.dom4j.tree.DefaultDocumentType.
- DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
DefaultDocumentType() - -Constructor for class org.dom4j.tree.DefaultDocumentType -
  -
DefaultDocumentType(String, String) - -Constructor for class org.dom4j.tree.DefaultDocumentType -
- This will create a new DocumentType with a reference to - the external DTD - -
DefaultDocumentType(String, String, String) - -Constructor for class org.dom4j.tree.DefaultDocumentType -
- This will create a new DocumentType with a reference to - the external DTD - -
DefaultElement - class org.dom4j.tree.DefaultElement.
- DefaultElement is the default DOM4J default implementation of - an XML element. -
DefaultElement(String) - -Constructor for class org.dom4j.tree.DefaultElement -
  -
DefaultElement(QName) - -Constructor for class org.dom4j.tree.DefaultElement -
  -
DefaultElement(QName, int) - -Constructor for class org.dom4j.tree.DefaultElement -
  -
DefaultElement(String, Namespace) - -Constructor for class org.dom4j.tree.DefaultElement -
  -
DefaultEntity - class org.dom4j.tree.DefaultEntity.
- DefaultEntity is the default Entity implementation.
DefaultEntity(String) - -Constructor for class org.dom4j.tree.DefaultEntity -
Creates the Entity with the specified name -
DefaultEntity(String, String) - -Constructor for class org.dom4j.tree.DefaultEntity -
Creates the Entity with the specified name and text. -
DefaultEntity(Element, String, String) - -Constructor for class org.dom4j.tree.DefaultEntity -
Creates the Entity with the specified name and text. -
DefaultNamespace - class org.dom4j.tree.DefaultNamespace.
- DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable.
DefaultNamespace(String, String) - -Constructor for class org.dom4j.tree.DefaultNamespace -
DOCUMENT ME! -
DefaultNamespace(Element, String, String) - -Constructor for class org.dom4j.tree.DefaultNamespace -
DOCUMENT ME! -
DefaultNamespaceContext - class org.dom4j.xpath.DefaultNamespaceContext.
- DefaultNamespaceContext implements a Jaxen NamespaceContext - such that a context node is used to determine the current XPath namespace - prefixes and namespace URIs available. -
DefaultNamespaceContext(Element) - -Constructor for class org.dom4j.xpath.DefaultNamespaceContext -
  -
DefaultPattern - class org.dom4j.rule.pattern.DefaultPattern.
- DefaultPattern a default implementation of Pattern which can - take any XPath implementation or NodeFilter for defining the pattern. -
DefaultPattern(NodeFilter) - -Constructor for class org.dom4j.rule.pattern.DefaultPattern -
  -
DefaultProcessingInstruction - class org.dom4j.tree.DefaultProcessingInstruction.
- DefaultProcessingInstruction is the default Processing - Instruction implementation.
DefaultProcessingInstruction(String, Map) - -Constructor for class org.dom4j.tree.DefaultProcessingInstruction -
- This will create a new PI with the given target and values - -
DefaultProcessingInstruction(String, String) - -Constructor for class org.dom4j.tree.DefaultProcessingInstruction -
- This will create a new PI with the given target and values - -
DefaultProcessingInstruction(Element, String, String) - -Constructor for class org.dom4j.tree.DefaultProcessingInstruction -
- This will create a new PI with the given target and values - -
DefaultText - class org.dom4j.tree.DefaultText.
- DefaultText is the default Text implementation.
DefaultText(String) - -Constructor for class org.dom4j.tree.DefaultText -
DOCUMENT ME! -
DefaultText(Element, String) - -Constructor for class org.dom4j.tree.DefaultText -
DOCUMENT ME! -
DefaultXPath - class org.dom4j.xpath.DefaultXPath.
- Default implementation of XPathwhich uses the Jaxen project. -
DefaultXPath(String) - -Constructor for class org.dom4j.xpath.DefaultXPath -
Construct an XPath -
Document - interface org.dom4j.Document.
- Document defines an XML Document. -
DocumentException - exception org.dom4j.DocumentException.
- DocumentException is a nested Exception which may be thrown - during the processing of a DOM4J document. -
DocumentException() - -Constructor for class org.dom4j.DocumentException -
  -
DocumentException(String) - -Constructor for class org.dom4j.DocumentException -
  -
DocumentException(Throwable) - -Constructor for class org.dom4j.DocumentException -
  -
DocumentException(String, Throwable) - -Constructor for class org.dom4j.DocumentException -
  -
DocumentFactory - class org.dom4j.DocumentFactory.
- DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentFactory() - -Constructor for class org.dom4j.DocumentFactory -
  -
DocumentHelper - class org.dom4j.DocumentHelper.
- DocumentHelper is a collection of helper methods for using - DOM4J. -
DocumentResult - class org.dom4j.io.DocumentResult.
- DocumentResult implements a JAXP SAXResultfor a - Document. -
DocumentResult() - -Constructor for class org.dom4j.io.DocumentResult -
  -
DocumentResult(SAXContentHandler) - -Constructor for class org.dom4j.io.DocumentResult -
  -
DocumentSource - class org.dom4j.io.DocumentSource.
- DocumentSource implements a JAXP SAXSourcefor a - . -
DocumentSource(Node) - -Constructor for class org.dom4j.io.DocumentSource -
Creates a JAXP SAXSourcefor the given Node. -
DocumentSource(Document) - -Constructor for class org.dom4j.io.DocumentSource -
Creates a JAXP SAXSourcefor the given Document. -
DocumentTreeModel - class org.dom4j.swing.DocumentTreeModel.
- DocumentTreeModel implements a Swing TreeModel for a dom4j XML - Document. -
DocumentTreeModel(Document) - -Constructor for class org.dom4j.swing.DocumentTreeModel -
  -
DocumentType - interface org.dom4j.DocumentType.
- DocumentType defines an XML DOCTYPE declaration. -
declaredNamespaces() - -Method in interface org.dom4j.Element -
- Returns all the namespaces declared by this element. -
declaredNamespaces() - -Method in class org.dom4j.tree.AbstractElement -
  -
declaredNamespaces() - -Method in class org.dom4j.tree.DefaultElement -
  -
defaultMaximumAllowedCharacter() - -Method in class org.dom4j.io.XMLWriter -
Returns the maximum allowed character code that should be allowed - unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 - bit). -
deleteData(int, int) - -Method in class org.dom4j.dom.DOMCDATA -
  -
deleteData(int, int) - -Method in class org.dom4j.dom.DOMComment -
  -
deleteData(CharacterData, int, int) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
deleteData(int, int) - -Method in class org.dom4j.dom.DOMText -
  -
detach() - -Method in interface org.dom4j.Node -
- Removes this node from its parent if there is one. -
detach() - -Method in class org.dom4j.tree.AbstractNode -
  -
document - -Variable in class org.dom4j.swing.DocumentTreeModel -
The document for this model -
documentLocator(Document) - -Method in class org.dom4j.io.SAXWriter -
The Locatoris only really useful when parsing a - textual document as its main purpose is to identify the line and column - number. -
dtdHandler(Document) - -Method in class org.dom4j.io.SAXWriter -
We do not yet support DTD or XML Schemas so this method does nothing - right now. -
-
-

-E

-
-
ELEMENT_NODE - -Static variable in interface org.dom4j.Node -
Matches Element nodes -
EMPTY_ENUMERATION - -Static variable in class org.dom4j.swing.LeafTreeNode -
  -
EMPTY_ITERATOR - -Static variable in class org.dom4j.tree.AbstractElement -
  -
EMPTY_ITERATOR - -Static variable in class org.dom4j.tree.DefaultDocument -
  -
EMPTY_LIST - -Static variable in class org.dom4j.tree.AbstractElement -
  -
EMPTY_LIST - -Static variable in class org.dom4j.tree.DefaultDocument -
  -
EMPTY_NODE_LIST - -Static variable in class org.dom4j.dom.DOMNodeHelper -
  -
ENTITY_REFERENCE_NODE - -Static variable in interface org.dom4j.Node -
Matches elements nodes -
ERROR_QNAME - -Static variable in class org.dom4j.util.XMLErrorHandler -
  -
Element - interface org.dom4j.Element.
- Element interface defines an XML element.
ElementDecl - class org.dom4j.dtd.ElementDecl.
- AttributeDecl represents an element declaration in a DTD. -
ElementDecl() - -Constructor for class org.dom4j.dtd.ElementDecl -
  -
ElementDecl(String, String) - -Constructor for class org.dom4j.dtd.ElementDecl -
  -
ElementHandler - interface org.dom4j.ElementHandler.
- ElementHandler interface defines a handler of - Element objects.
ElementIterator - class org.dom4j.tree.ElementIterator.
Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
ElementIterator(Iterator) - -Constructor for class org.dom4j.tree.ElementIterator -
Deprecated.   -
ElementModifier - interface org.dom4j.io.ElementModifier.
ElementModifier defines a modifier of Elementobjects.
ElementNameIterator - class org.dom4j.tree.ElementNameIterator.
Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
ElementNameIterator(Iterator, String) - -Constructor for class org.dom4j.tree.ElementNameIterator -
Deprecated.   -
ElementPath - interface org.dom4j.ElementPath.
This interface is used by ElementHandlerinstances to retrieve - information about the current path hierarchy they are to process.
ElementQNameIterator - class org.dom4j.tree.ElementQNameIterator.
Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
ElementQNameIterator(Iterator, QName) - -Constructor for class org.dom4j.tree.ElementQNameIterator -
Deprecated.   -
Entity - interface org.dom4j.Entity.
- Entity defines an XML entity. -
ExternalEntityDecl - class org.dom4j.dtd.ExternalEntityDecl.
- ExternalEntityDecl represents an external entity declaration - in a DTD. -
ExternalEntityDecl() - -Constructor for class org.dom4j.dtd.ExternalEntityDecl -
  -
ExternalEntityDecl(String, String, String) - -Constructor for class org.dom4j.dtd.ExternalEntityDecl -
  -
element(String) - -Method in interface org.dom4j.Element -
Returns the first element for the given local name and any namespace. -
element(QName) - -Method in interface org.dom4j.Element -
Returns the first element for the given fully qualified name. -
element(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
element(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
element(String, Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
element(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
element(QName) - -Method in class org.dom4j.tree.DefaultElement -
  -
element(String, Namespace) - -Method in class org.dom4j.tree.DefaultElement -
  -
element(String) - -Method in class org.dom4j.util.IndexedElement -
  -
element(QName) - -Method in class org.dom4j.util.IndexedElement -
  -
elementByID(String) - -Method in interface org.dom4j.Branch -
Returns the element of the given ID attribute value. -
elementByID(String) - -Method in class org.dom4j.tree.AbstractBranch -
  -
elementDecl(String, String) - -Method in class org.dom4j.io.SAXContentHandler -
Report an element type declaration. - - -
elementDecl(String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
elementID(Element) - -Method in class org.dom4j.tree.AbstractBranch -
DOCUMENT ME! -
elementIndex() - -Method in class org.dom4j.util.IndexedElement -
  -
elementIterator() - -Method in interface org.dom4j.Element -
Returns an iterator over all this elements child elements. -
elementIterator(String) - -Method in interface org.dom4j.Element -
Returns an iterator over the elements contained in this element which - match the given local name and any namespace. -
elementIterator(QName) - -Method in interface org.dom4j.Element -
Returns an iterator over the elements contained in this element which - match the given fully qualified name. -
elementIterator() - -Method in class org.dom4j.tree.AbstractElement -
  -
elementIterator(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
elementIterator(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
elementIterator(String, Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
elementName - -Variable in class org.dom4j.tree.DefaultDocumentType -
The root element name of the document typ -
elementText(String) - -Method in interface org.dom4j.Element -
  -
elementText(QName) - -Method in interface org.dom4j.Element -
  -
elementText(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
elementText(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
elementTextTrim(String) - -Method in interface org.dom4j.Element -
  -
elementTextTrim(QName) - -Method in interface org.dom4j.Element -
  -
elementTextTrim(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
elementTextTrim(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
elements() - -Method in interface org.dom4j.Element -
- Returns the elements contained in this element. -
elements(String) - -Method in interface org.dom4j.Element -
- Returns the elements contained in this element with the given local name - and any namespace. -
elements(QName) - -Method in interface org.dom4j.Element -
- Returns the elements contained in this element with the given fully - qualified name. -
elements() - -Method in class org.dom4j.tree.AbstractElement -
  -
elements(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
elements(QName) - -Method in class org.dom4j.tree.AbstractElement -
  -
elements(String, Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
elements(String) - -Method in class org.dom4j.util.IndexedElement -
  -
elements(QName) - -Method in class org.dom4j.util.IndexedElement -
  -
encoding - -Variable in class org.dom4j.tree.AbstractDocument -
The encoding of this document as stated in the XML declaration -
endCDATA() - -Method in class org.dom4j.io.HTMLWriter -
  -
endCDATA() - -Method in class org.dom4j.io.SAXContentHandler -
  -
endCDATA() - -Method in class org.dom4j.io.SAXEventRecorder -
  -
endCDATA() - -Method in class org.dom4j.io.XMLWriter -
  -
endDTD() - -Method in class org.dom4j.io.SAXContentHandler -
  -
endDTD() - -Method in class org.dom4j.io.SAXEventRecorder -
  -
endDTD() - -Method in class org.dom4j.io.XMLWriter -
  -
endDocument() - -Method in class org.dom4j.io.SAXContentHandler -
  -
endDocument() - -Method in class org.dom4j.io.SAXEventRecorder -
  -
endDocument() - -Method in class org.dom4j.io.SAXWriter -
  -
endDocument() - -Method in class org.dom4j.io.XMLWriter -
  -
endDocument() - -Method in class org.dom4j.jaxb.JAXBWriter -
Stop writing the document to the output. -
endElement(String, String, String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
endElement(String, String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
endElement(Element) - -Method in class org.dom4j.io.SAXWriter -
  -
endElement(String, String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
endEntity(String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
endEntity(String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
endEntity(String) - -Method in class org.dom4j.io.XMLWriter -
  -
endPrefixMapping(String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
endPrefixMapping(String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
endPrefixMapping(NamespaceStack, int) - -Method in class org.dom4j.io.SAXWriter -
Fires a SAX endPrefixMapping event for all the namespaceStack which have - gone out of scope -
endPrefixMapping(String) - -Method in class org.dom4j.io.XMLWriter -
  -
ensureAttributesCapacity(int) - -Method in class org.dom4j.tree.AbstractElement -
Ensures that the list of attributes has the given size -
ensureAttributesCapacity(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
entityResolver(Document) - -Method in class org.dom4j.io.SAXWriter -
  -
equals(Object) - -Method in class org.dom4j.Namespace -
Checks whether this Namespace equals the given Namespace. -
equals(Object) - -Method in class org.dom4j.QName -
  -
equals(Object) - -Method in class org.dom4j.rule.Rule -
  -
equals(Object) - -Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
equals(Object) - -Method in class org.dom4j.tree.DefaultNamespace -
Implements an identity based comparsion using the parent element as well - as the prefix and URI -
error(SAXParseException) - -Method in class org.dom4j.io.SAXContentHandler -
This method is called when an error is detected during parsing such as a - validation error. -
error(SAXParseException) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
escapeAttributeEntities(String) - -Method in class org.dom4j.io.XMLWriter -
This will take the pre-defined entities in XML 1.0 and convert their - character representation to the appropriate entity reference, suitable - for XML attributes. -
escapeElementEntities(String) - -Method in class org.dom4j.io.XMLWriter -
This will take the pre-defined entities in XML 1.0 and convert their - character representation to the appropriate entity reference, suitable - for XML attributes. -
evaluate(Object) - -Method in interface org.dom4j.XPath -
- evaluate evaluates an XPath expression and returns the - result as an Object. -
evaluate(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
externalEntityDecl(String, String, String) - -Method in class org.dom4j.io.SAXContentHandler -
Report a parsed external entity declaration. - - -
externalEntityDecl(String, String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
-
-

-F

-
-
FATALERROR_QNAME - -Static variable in class org.dom4j.util.XMLErrorHandler -
  -
FEATURE_NAMESPACES - -Static variable in class org.dom4j.io.SAXWriter -
  -
FEATURE_NAMESPACE_PREFIXES - -Static variable in class org.dom4j.io.SAXWriter -
  -
FilterIterator - class org.dom4j.tree.FilterIterator.
Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
FilterIterator(Iterator) - -Constructor for class org.dom4j.tree.FilterIterator -
Deprecated.   -
FlyweightAttribute - class org.dom4j.tree.FlyweightAttribute.
- FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
FlyweightAttribute(QName) - -Constructor for class org.dom4j.tree.FlyweightAttribute -
  -
FlyweightAttribute(QName, String) - -Constructor for class org.dom4j.tree.FlyweightAttribute -
  -
FlyweightAttribute(String, String) - -Constructor for class org.dom4j.tree.FlyweightAttribute -
Creates the Attribute with the specified local name and - value. -
FlyweightAttribute(String, String, Namespace) - -Constructor for class org.dom4j.tree.FlyweightAttribute -
Creates the Attribute with the specified local name, value - and Namespace. -
FlyweightCDATA - class org.dom4j.tree.FlyweightCDATA.
- FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
FlyweightCDATA(String) - -Constructor for class org.dom4j.tree.FlyweightCDATA -
DOCUMENT ME! -
FlyweightComment - class org.dom4j.tree.FlyweightComment.
- FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
FlyweightComment(String) - -Constructor for class org.dom4j.tree.FlyweightComment -
DOCUMENT ME! -
FlyweightEntity - class org.dom4j.tree.FlyweightEntity.
- FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
FlyweightEntity() - -Constructor for class org.dom4j.tree.FlyweightEntity -
A default constructor for implementors to use. -
FlyweightEntity(String) - -Constructor for class org.dom4j.tree.FlyweightEntity -
Creates the Entity with the specified name -
FlyweightEntity(String, String) - -Constructor for class org.dom4j.tree.FlyweightEntity -
Creates the Entity with the specified name and text. -
FlyweightProcessingInstruction - class org.dom4j.tree.FlyweightProcessingInstruction.
- FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
FlyweightProcessingInstruction() - -Constructor for class org.dom4j.tree.FlyweightProcessingInstruction -
A default constructor for implementors to use. -
FlyweightProcessingInstruction(String, Map) - -Constructor for class org.dom4j.tree.FlyweightProcessingInstruction -
- This will create a new PI with the given target and values - -
FlyweightProcessingInstruction(String, String) - -Constructor for class org.dom4j.tree.FlyweightProcessingInstruction -
- This will create a new PI with the given target and values - -
FlyweightText - class org.dom4j.tree.FlyweightText.
- FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
FlyweightText(String) - -Constructor for class org.dom4j.tree.FlyweightText -
DOCUMENT ME! -
fatalError(SAXParseException) - -Method in class org.dom4j.io.SAXContentHandler -
This method is called when a fatal error occurs during parsing. -
fatalError(SAXParseException) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
findDefaultNamespace() - -Method in class org.dom4j.tree.NamespaceStack -
Attempts to find the current default namespace on the stack right now or - returns null if one could not be found -
findNext() - -Method in class org.dom4j.tree.FilterIterator -
Deprecated.   -
fireRule(Node) - -Method in class org.dom4j.rule.Mode -
Runs the actions associated with the given node -
flush() - -Method in class org.dom4j.io.XMLWriter -
Flushes the underlying Writer -
foo() - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
-
-

-G

-
-
get(String, String) - -Static method in class org.dom4j.Namespace -
A helper method to return the Namespace instance for the given prefix and - URI -
get(String) - -Static method in class org.dom4j.Namespace -
A helper method to return the Namespace instance for no prefix and the - URI -
get(String) - -Static method in class org.dom4j.QName -
  -
get(String, Namespace) - -Static method in class org.dom4j.QName -
  -
get(String, String, String) - -Static method in class org.dom4j.QName -
  -
get(String, String) - -Static method in class org.dom4j.QName -
  -
get(String, Namespace, String) - -Static method in class org.dom4j.QName -
  -
get(int) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
get(Class) - -Static method in class org.dom4j.bean.BeanMetaData -
Static helper method to find and cache meta data objects for bean types -
get(int) - -Method in class org.dom4j.tree.ContentListFacade -
  -
get(String, String) - -Method in class org.dom4j.tree.NamespaceCache -
DOCUMENT ME! -
get(String) - -Method in class org.dom4j.tree.NamespaceCache -
DOCUMENT ME! -
get(String) - -Method in class org.dom4j.tree.QNameCache -
DOCUMENT ME! -
get(String, Namespace) - -Method in class org.dom4j.tree.QNameCache -
DOCUMENT ME! -
get(String, Namespace, String) - -Method in class org.dom4j.tree.QNameCache -
DOCUMENT ME! -
get(String, String) - -Method in class org.dom4j.tree.QNameCache -
  -
getAction() - -Method in class org.dom4j.rule.Rule -
Getter for property action. -
getAllowsChildren() - -Method in class org.dom4j.swing.BranchTreeNode -
  -
getAllowsChildren() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
getAppearenceCount() - -Method in class org.dom4j.rule.Rule -
Getter for property appearenceCount. -
getAttribute(String) - -Method in class org.dom4j.dom.DOMElement -
  -
getAttributeCount() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeLocalName(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeNS(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
getAttributeName() - -Method in class org.dom4j.dtd.AttributeDecl -
Getter for property attributeName. -
getAttributeNamespaceUri(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeNode(String) - -Method in class org.dom4j.dom.DOMElement -
  -
getAttributeNodeNS(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
getAttributePrefix(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeQName(String, String, String) - -Method in class org.dom4j.tree.NamespaceStack -
  -
getAttributeQuoteCharacter() - -Method in class org.dom4j.io.OutputFormat -
  -
getAttributeRawName(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeValue(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeValueFromName(String, String) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeValueFromRawName(String) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getAttributeXSDatatype(QName) - -Method in class org.dom4j.datatype.DatatypeElementFactory -
DOCUMENT ME! -
getAttributes() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMComment -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMDocument -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMElement -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getAttributes(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getAttributes() - -Method in class org.dom4j.dom.DOMText -
  -
getBackingList() - -Method in class org.dom4j.tree.ContentListFacade -
  -
getBaseUri() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
getBaseUri() - -Method in class org.dom4j.datatype.DatatypeElement -
  -
getBeanAttributeList() - -Method in class org.dom4j.bean.BeanElement -
  -
getChildAt(int) - -Method in class org.dom4j.swing.BranchTreeNode -
  -
getChildAt(int) - -Method in class org.dom4j.swing.LeafTreeNode -
  -
getChildCount() - -Method in class org.dom4j.swing.BranchTreeNode -
  -
getChildCount() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
getChildElementXSDatatype(QName) - -Method in class org.dom4j.datatype.DatatypeElementFactory -
DOCUMENT ME! -
getChildList() - -Method in class org.dom4j.swing.BranchTreeNode -
Uses Lazy Initialization pattern to create a List of children -
getChildNodes() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMComment -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMDocument -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMElement -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getChildNodes(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getChildNodes() - -Method in class org.dom4j.dom.DOMText -
  -
getColumn(int) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
getColumn(String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
getColumnClass() - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
  -
getColumnClass(int) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
getColumnClass(int) - -Method in class org.dom4j.swing.XMLTableModel -
  -
getColumnCount() - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
getColumnCount() - -Method in class org.dom4j.swing.XMLTableModel -
  -
getColumnName(int) - -Method in class org.dom4j.swing.XMLTableDefinition -
DOCUMENT ME! -
getColumnName(int) - -Method in class org.dom4j.swing.XMLTableModel -
  -
getColumnNameXPath() - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
DOCUMENT ME! -
getColumnNameXPath(int) - -Method in class org.dom4j.swing.XMLTableDefinition -
DOCUMENT ME! -
getColumnXPath(int) - -Method in class org.dom4j.swing.XMLTableDefinition -
DOCUMENT ME! -
getCompareValue(Node) - -Method in class org.dom4j.xpath.DefaultXPath -
DOCUMENT ME! -
getConsumer() - -Method in class org.dom4j.io.STAXEventWriter -
Returns a reference to the underlying event consumer to which events are - written. -
getContentAsStringValue(Object) - -Method in class org.dom4j.tree.AbstractBranch -
DOCUMENT ME! -
getContentAsText(Object) - -Method in class org.dom4j.tree.AbstractBranch -
DOCUMENT ME! -
getContentHandler() - -Method in class org.dom4j.io.SAXWriter -
DOCUMENT ME! -
getContextSupport() - -Method in class org.dom4j.xpath.XPathPattern -
  -
getCopyOfUserData() - -Method in class org.dom4j.util.UserDataElement -
If a deep copy of user data is required whenever the clone() or - createCopy() methods are called on this element then this method should - return a clone of the user data -
getCurrent() - -Method in interface org.dom4j.ElementPath -
DOCUMENT ME! -
getDTDHandler() - -Method in class org.dom4j.io.SAXWriter -
DOCUMENT ME! -
getData() - -Method in interface org.dom4j.Attribute -
- Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). - -
getData() - -Method in interface org.dom4j.Element -
Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as Element.getText() -
getData() - -Method in class org.dom4j.bean.BeanAttribute -
  -
getData(int) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
getData() - -Method in class org.dom4j.bean.BeanElement -
DOCUMENT ME! -
getData(int, Object) - -Method in class org.dom4j.bean.BeanMetaData -
  -
getData() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
getData() - -Method in class org.dom4j.datatype.DatatypeElement -
  -
getData() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getData() - -Method in class org.dom4j.dom.DOMComment -
  -
getData(CharacterData) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getData() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getData() - -Method in class org.dom4j.dom.DOMText -
  -
getData() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getData() - -Method in class org.dom4j.tree.AbstractElement -
  -
getData() - -Method in class org.dom4j.util.UserDataAttribute -
  -
getData() - -Method in class org.dom4j.util.UserDataElement -
  -
getDefaultNamespace() - -Method in class org.dom4j.tree.NamespaceStack -
  -
getDefinition() - -Method in class org.dom4j.swing.XMLTableModel -
Getter for property definition. -
getDispatchHandler() - -Method in class org.dom4j.io.SAXReader -
  -
getDispatchHandler() - -Method in class org.dom4j.io.XPP3Reader -
  -
getDispatchHandler() - -Method in class org.dom4j.io.XPPReader -
  -
getDocType() - -Method in interface org.dom4j.Document -
DOCUMENT ME! -
getDocType() - -Method in class org.dom4j.tree.DefaultDocument -
  -
getDoctype() - -Method in class org.dom4j.dom.DOMDocument -
  -
getDocument() - -Method in interface org.dom4j.Node -
- getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. - -
getDocument() - -Method in class org.dom4j.io.DocumentResult -
DOCUMENT ME! -
getDocument() - -Method in class org.dom4j.io.DocumentSource -
DOCUMENT ME! -
getDocument() - -Method in class org.dom4j.io.SAXContentHandler -
DOCUMENT ME! -
getDocument() - -Method in class org.dom4j.swing.DocumentTreeModel -
DOCUMENT ME! -
getDocument() - -Method in class org.dom4j.tree.AbstractDocument -
  -
getDocument() - -Method in class org.dom4j.tree.AbstractNode -
  -
getDocument() - -Method in class org.dom4j.tree.BaseElement -
  -
getDocument() - -Method in class org.dom4j.tree.DefaultElement -
  -
getDocumentElement() - -Method in class org.dom4j.dom.DOMDocument -
  -
getDocumentFactory() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
getDocumentFactory() - -Method in class org.dom4j.bean.BeanElement -
  -
getDocumentFactory() - -Method in class org.dom4j.dom.DOMDocument -
  -
getDocumentFactory() - -Method in class org.dom4j.dom.DOMElement -
  -
getDocumentFactory() - -Method in class org.dom4j.io.DOMReader -
DOCUMENT ME! -
getDocumentFactory() - -Method in class org.dom4j.io.SAXModifier -
Get the DocumentFactoryused to create the DOM4J - document structure -
getDocumentFactory() - -Method in class org.dom4j.io.SAXReader -
DOCUMENT ME! -
getDocumentFactory() - -Method in class org.dom4j.io.XPP3Reader -
DOCUMENT ME! -
getDocumentFactory() - -Method in class org.dom4j.io.XPPReader -
DOCUMENT ME! -
getDocumentFactory() - -Method in class org.dom4j.tree.AbstractElement -
  -
getDocumentFactory() - -Method in class org.dom4j.tree.AbstractNode -
  -
getDocumentFactory() - -Method in class org.dom4j.tree.DefaultDocument -
  -
getDocumentFactory() - -Method in class org.dom4j.tree.DefaultElement -
  -
getDocumentFactory() - -Method in class org.dom4j.tree.NamespaceStack -
  -
getDocumentFactory() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getDomDocumentClass() - -Method in class org.dom4j.io.DOMWriter -
  -
getElement(int) - -Method in interface org.dom4j.ElementPath -
DOCUMENT ME! -
getElement() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getElementById(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
getElementFactory(QName) - -Method in class org.dom4j.datatype.DatatypeDocumentFactory -
Registers the given DatatypeElementFactory for the given - <element> schema element -
getElementName() - -Method in interface org.dom4j.DocumentType -
This method is the equivalent to the Node.getName()method. -
getElementName() - -Method in class org.dom4j.dtd.AttributeDecl -
Getter for property elementName. -
getElementName() - -Method in class org.dom4j.tree.DefaultDocumentType -
  -
getElementStack() - -Method in class org.dom4j.io.SAXContentHandler -
  -
getElementsByTagName(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
getElementsByTagName(String) - -Method in class org.dom4j.dom.DOMElement -
  -
getElementsByTagNameNS(String, String) - -Method in class org.dom4j.dom.DOMDocument -
  -
getElementsByTagNameNS(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
getEncoding() - -Method in class org.dom4j.io.OutputFormat -
  -
getEncoding() - -Method in class org.dom4j.io.SAXReader -
Returns encoding used for InputSource (null means system default - encoding) -
getEntities() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getEntityResolver() - -Method in interface org.dom4j.Document -
DOCUMENT ME! -
getEntityResolver() - -Method in class org.dom4j.io.SAXContentHandler -
  -
getEntityResolver() - -Method in class org.dom4j.io.SAXReader -
Returns the current entity resolver used to resolve entities -
getEntityResolver() - -Method in class org.dom4j.io.SAXWriter -
DOCUMENT ME! -
getEntityResolver() - -Method in class org.dom4j.tree.DefaultDocument -
  -
getErrorHandler() - -Method in class org.dom4j.io.SAXReader -
DOCUMENT ME! -
getErrorHandler() - -Method in class org.dom4j.io.SAXValidator -
DOCUMENT ME! -
getErrorHandler() - -Method in class org.dom4j.io.SAXWriter -
DOCUMENT ME! -
getErrorQName() - -Method in class org.dom4j.util.XMLErrorHandler -
  -
getErrors() - -Method in class org.dom4j.util.XMLErrorHandler -
  -
getEventFactory() - -Method in class org.dom4j.io.STAXEventWriter -
Returns a reference to the event factory used to construct STAX events. -
getExternalDeclarations() - -Method in interface org.dom4j.DocumentType -
Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -
getExternalDeclarations() - -Method in class org.dom4j.tree.DefaultDocumentType -
  -
getFatalErrorQName() - -Method in class org.dom4j.util.XMLErrorHandler -
  -
getFeature(String) - -Method in class org.dom4j.io.SAXWriter -
Looks up the value of a feature. -
getFirstChild() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMComment -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMDocument -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMElement -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getFirstChild(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getFirstChild() - -Method in class org.dom4j.dom.DOMText -
  -
getFunctionContext() - -Method in interface org.dom4j.XPath -
DOCUMENT ME! -
getFunctionContext() - -Method in class org.dom4j.xpath.DefaultXPath -
  -
getHandler() - -Method in class org.dom4j.io.XMLResult -
  -
getImplementation() - -Method in class org.dom4j.dom.DOMDocument -
  -
getImportPrecedence() - -Method in class org.dom4j.rule.Rule -
Getter for property importPrecedence. -
getIndent() - -Method in class org.dom4j.io.OutputFormat -
  -
getIndex(String) - -Method in class org.dom4j.bean.BeanMetaData -
  -
getIndex(QName) - -Method in class org.dom4j.bean.BeanMetaData -
  -
getIndex(TreeNode) - -Method in class org.dom4j.swing.BranchTreeNode -
  -
getIndex(TreeNode) - -Method in class org.dom4j.swing.LeafTreeNode -
  -
getInputSource() - -Method in class org.dom4j.io.SAXContentHandler -
  -
getInstance() - -Static method in class org.dom4j.DocumentFactory -
- Access to singleton implementation of DocumentFactory which is used if no - DocumentFactory is specified when building using the standard builders. - -
getInstance() - -Static method in class org.dom4j.bean.BeanDocumentFactory -
- Access to the singleton instance of this factory. - -
getInstance() - -Static method in class org.dom4j.datatype.DatatypeDocumentFactory -
- Access to the singleton instance of this factory. - -
getInstance() - -Static method in class org.dom4j.dom.DOMDocumentFactory -
- Access to the singleton instance of this factory. - -
getInstance() - -Static method in class org.dom4j.util.IndexedDocumentFactory -
- Access to the singleton instance of this factory. - -
getInstance() - -Static method in class org.dom4j.util.NonLazyDocumentFactory -
- Access to the singleton instance of this factory. - -
getInstance() - -Static method in class org.dom4j.util.UserDataDocumentFactory -
- Access to the singleton instance of this factory. - -
getInternalDeclarations() - -Method in interface org.dom4j.DocumentType -
Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -
getInternalDeclarations() - -Method in class org.dom4j.tree.DefaultDocumentType -
  -
getInternalSubset() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getKey() - -Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMComment -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMDocument -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMElement -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getLastChild(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getLastChild() - -Method in class org.dom4j.dom.DOMText -
  -
getLength() - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
getLength() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getLength() - -Method in class org.dom4j.dom.DOMComment -
  -
getLength() - -Method in class org.dom4j.dom.DOMNodeHelper.EmptyNodeList -
  -
getLength(CharacterData) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getLength() - -Method in class org.dom4j.dom.DOMText -
  -
getLexicalHandler() - -Method in class org.dom4j.io.SAXWriter -
DOCUMENT ME! -
getLexicalHandler() - -Method in class org.dom4j.io.XMLResult -
  -
getLexicalHandler() - -Method in class org.dom4j.io.XMLWriter -
  -
getLineSeparator() - -Method in class org.dom4j.io.OutputFormat -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMComment -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMDocument -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMElement -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getLocalName(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getLocalName() - -Method in class org.dom4j.dom.DOMText -
  -
getLocalName() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getMatchType() - -Method in interface org.dom4j.rule.Pattern -
DOCUMENT ME! -
getMatchType() - -Method in class org.dom4j.rule.Rule -
DOCUMENT ME! -
getMatchType() - -Method in class org.dom4j.rule.pattern.DefaultPattern -
  -
getMatchType() - -Method in class org.dom4j.rule.pattern.NodeTypePattern -
  -
getMatchType() - -Method in class org.dom4j.xpath.XPathPattern -
  -
getMatchesNodeName() - -Method in interface org.dom4j.rule.Pattern -
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - -
getMatchesNodeName() - -Method in class org.dom4j.rule.Rule -
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - -
getMatchesNodeName() - -Method in class org.dom4j.rule.pattern.DefaultPattern -
  -
getMatchesNodeName() - -Method in class org.dom4j.rule.pattern.NodeTypePattern -
  -
getMatchesNodeName() - -Method in class org.dom4j.xpath.XPathPattern -
  -
getMatchingRule(Node) - -Method in class org.dom4j.rule.Mode -
Performs an XSLT processing model match for the rule which matches the - given Node the best. -
getMatchingRule(String, Node) - -Method in class org.dom4j.rule.RuleManager -
Performs an XSLT processing model match for the rule which matches the - given Node the best. -
getMatchingRule(Node) - -Method in class org.dom4j.rule.RuleSet -
Performs an XSLT processing model match for the rule which matches the - given Node the best. -
getMaximumAllowedCharacter() - -Method in class org.dom4j.io.XMLWriter -
Returns the maximum allowed character code that should be allowed - unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 - bit). -
getMessage() - -Method in class org.dom4j.DocumentException -
  -
getMode() - -Method in class org.dom4j.rule.Rule -
Getter for property mode. -
getMode(String) - -Method in class org.dom4j.rule.RuleManager -
DOCUMENT ME! -
getModeName() - -Method in class org.dom4j.rule.Stylesheet -
DOCUMENT ME! -
getModel() - -Method in class org.dom4j.dtd.ElementDecl -
Getter for property model. -
getName() - -Method in interface org.dom4j.Node -
- getName returns the name of this node. -
getName() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
getName() - -Method in class org.dom4j.dtd.ElementDecl -
Getter for property name. -
getName() - -Method in class org.dom4j.dtd.ExternalEntityDecl -
Getter for property name. -
getName() - -Method in class org.dom4j.dtd.InternalEntityDecl -
Getter for property name. -
getName() - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Getter for property name. -
getName() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getName() - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
getName() - -Method in class org.dom4j.tree.AbstractElement -
  -
getName() - -Method in class org.dom4j.tree.AbstractNode -
  -
getName() - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
getName() - -Method in class org.dom4j.tree.DefaultDocument -
  -
getName() - -Method in class org.dom4j.tree.FlyweightEntity -
DOCUMENT ME! -
getNamedItem(String) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
getNamedItemNS(String, String) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
getNamespace() - -Method in interface org.dom4j.Attribute -
- Returns the Namespace of this element if one exists - otherwise null is returned returned. - -
getNamespace() - -Method in interface org.dom4j.Element -
- Returns the Namespace of this element if one exists - otherwise Namespace.NO_NAMESPACE is returned. - -
getNamespace() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
getNamespace(String, String) - -Method in class org.dom4j.io.DOMReader -
  -
getNamespace() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getNamespace() - -Method in class org.dom4j.tree.AbstractElement -
  -
getNamespace(int) - -Method in class org.dom4j.tree.NamespaceStack -
DOCUMENT ME! -
getNamespaceCache() - -Method in class org.dom4j.tree.NamespaceStack -
  -
getNamespaceCache(Namespace) - -Method in class org.dom4j.tree.QNameCache -
DOCUMENT ME! -
getNamespaceContext() - -Method in interface org.dom4j.XPath -
DOCUMENT ME! -
getNamespaceContext() - -Method in class org.dom4j.xpath.DefaultXPath -
  -
getNamespaceForPrefix(String) - -Method in interface org.dom4j.Element -
- Returns the Namespace which is mapped to the given prefix - or null if it could not be found. - -
getNamespaceForPrefix(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
getNamespaceForPrefix(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
getNamespaceForPrefix(String) - -Method in class org.dom4j.tree.NamespaceStack -
DOCUMENT ME! -
getNamespaceForURI(String) - -Method in interface org.dom4j.Element -
- Returns the Namespace which is mapped to the given URI or - null if it could not be found. -
getNamespaceForURI(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
getNamespaceForURI(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
getNamespacePrefix() - -Method in interface org.dom4j.Attribute -
- Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. - -
getNamespacePrefix() - -Method in interface org.dom4j.Element -
- Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. - -
getNamespacePrefix() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
getNamespacePrefix(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
getNamespacePrefix(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
getNamespacePrefix() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getNamespacePrefix() - -Method in class org.dom4j.tree.AbstractElement -
  -
getNamespaceURI() - -Method in interface org.dom4j.Attribute -
- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. - -
getNamespaceURI() - -Method in interface org.dom4j.Element -
- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. - -
getNamespaceURI() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMComment -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMDocument -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMElement -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getNamespaceURI(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getNamespaceURI() - -Method in class org.dom4j.dom.DOMText -
  -
getNamespaceURI() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getNamespaceURI() - -Method in class org.dom4j.tree.AbstractElement -
  -
getNamespaceUri() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getNamespacesForURI(String) - -Method in interface org.dom4j.Element -
- Returns the all namespaces which are mapped to the given URI or an empty - list if no such namespaces could be found. - -
getNamespacesForURI(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
getNestedException() - -Method in class org.dom4j.DocumentException -
  -
getNewLineAfterNTags() - -Method in class org.dom4j.io.OutputFormat -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMComment -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMDocument -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMElement -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getNextSibling(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getNextSibling() - -Method in class org.dom4j.dom.DOMText -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMComment -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMDocument -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMElement -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getNodeName() - -Method in class org.dom4j.dom.DOMText -
  -
getNodeType() - -Method in class org.dom4j.Namespace -
  -
getNodeType() - -Method in interface org.dom4j.Node -
Returns the code according to the type of node. -
getNodeType() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractCDATA -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractComment -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractDocument -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractElement -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractEntity -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractNode -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
getNodeType() - -Method in class org.dom4j.tree.AbstractText -
  -
getNodeTypeName() - -Method in interface org.dom4j.Node -
DOCUMENT ME! -
getNodeTypeName() - -Method in class org.dom4j.tree.AbstractNode -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMComment -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMDocument -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMElement -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getNodeValue(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getNodeValue() - -Method in class org.dom4j.dom.DOMText -
  -
getNotations() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getOmitElementCloseSet() - -Method in class org.dom4j.io.HTMLWriter -
A clone of the Set of elements that can have their close-tags omitted. -
getOutputFormat() - -Method in class org.dom4j.io.XMLWriter -
Lets subclasses get at the current format object, so they can call - setTrimText, setNewLines, etc. -
getOutputFormat() - -Method in class org.dom4j.jaxb.JAXBWriter -
Returns the OutputFormat that will be used when writing the XML stream. -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMComment -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMDocument -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMElement -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getOwnerDocument(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getOwnerDocument() - -Method in class org.dom4j.dom.DOMText -
  -
getOwnerElement() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getParent() - -Method in interface org.dom4j.Node -
- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. - -
getParent() - -Method in class org.dom4j.bean.BeanAttribute -
  -
getParent() - -Method in class org.dom4j.bean.BeanAttributeList -
  -
getParent() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
getParent() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
getParent() - -Method in class org.dom4j.tree.AbstractNode -
  -
getParent() - -Method in class org.dom4j.tree.BaseElement -
  -
getParent() - -Method in class org.dom4j.tree.DefaultAttribute -
  -
getParent() - -Method in class org.dom4j.tree.DefaultCDATA -
  -
getParent() - -Method in class org.dom4j.tree.DefaultComment -
  -
getParent() - -Method in class org.dom4j.tree.DefaultElement -
  -
getParent() - -Method in class org.dom4j.tree.DefaultEntity -
  -
getParent() - -Method in class org.dom4j.tree.DefaultNamespace -
  -
getParent() - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
getParent() - -Method in class org.dom4j.tree.DefaultText -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMComment -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMDocument -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMElement -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getParentNode(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getParentNode() - -Method in class org.dom4j.dom.DOMText -
  -
getPath() - -Method in interface org.dom4j.ElementPath -
DOCUMENT ME! -
getPath(Element) - -Method in class org.dom4j.Namespace -
  -
getPath() - -Method in interface org.dom4j.Node -
- Returns the XPath expression which will return a node set containing the - given node such as /a/b/@c. -
getPath(Element) - -Method in interface org.dom4j.Node -
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. -
getPath(Element) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractCharacterData -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractComment -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractElement -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractEntity -
  -
getPath() - -Method in class org.dom4j.tree.AbstractNode -
  -
getPath(Element) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
getPattern() - -Method in class org.dom4j.rule.Rule -
Getter for property pattern. -
getPrefix() - -Method in class org.dom4j.Namespace -
DOCUMENT ME! -
getPrefix() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMComment -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMDocument -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMElement -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getPrefix(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getPrefix() - -Method in class org.dom4j.dom.DOMText -
  -
getPrefix() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getPreformattedTags() - -Method in class org.dom4j.io.HTMLWriter -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMCDATA -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMComment -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMDocument -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMElement -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMNamespace -
  -
getPreviousSibling(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
getPreviousSibling() - -Method in class org.dom4j.dom.DOMText -
  -
getPriority() - -Method in interface org.dom4j.rule.Pattern -
Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec . -
getPriority() - -Method in class org.dom4j.rule.Rule -
Getter for property priority. -
getPriority() - -Method in class org.dom4j.rule.pattern.DefaultPattern -
  -
getPriority() - -Method in class org.dom4j.rule.pattern.NodeTypePattern -
  -
getPriority() - -Method in class org.dom4j.xpath.XPathPattern -
  -
getProperty(String) - -Method in class org.dom4j.io.SAXWriter -
Gets the given SAX property -
getProperty(String) - -Method in class org.dom4j.io.XMLWriter -
  -
getProxy() - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
getPublicID() - -Method in interface org.dom4j.DocumentType -
  -
getPublicID() - -Method in class org.dom4j.dtd.ExternalEntityDecl -
Getter for property publicID. -
getPublicID() - -Method in class org.dom4j.tree.DefaultDocumentType -
DOCUMENT ME! -
getPublicId() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getQName() - -Method in interface org.dom4j.Attribute -
- Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. - -
getQName() - -Method in interface org.dom4j.Element -
- Returns the QName of this element which represents the - local name, the qualified name and the Namespace. - -
getQName(String) - -Method in interface org.dom4j.Element -
- Returns the QName for the given qualified name, using the - namespace URI in scope for the given prefix of the qualified name or the - default namespace if the qualified name has no prefix. - -
getQName() - -Method in class org.dom4j.bean.BeanAttribute -
  -
getQName(int) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
getQName(int) - -Method in class org.dom4j.bean.BeanMetaData -
  -
getQName() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
getQName() - -Method in class org.dom4j.datatype.DatatypeElementFactory -
DOCUMENT ME! -
getQName(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
getQName(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
getQName() - -Method in class org.dom4j.tree.BaseElement -
  -
getQName() - -Method in class org.dom4j.tree.DefaultElement -
  -
getQName() - -Method in class org.dom4j.tree.FlyweightAttribute -
  -
getQName(String, String, String) - -Method in class org.dom4j.tree.NamespaceStack -
  -
getQNames() - -Method in class org.dom4j.DocumentFactory -
Returns a list of all the QName instances currently used by this document - factory -
getQNames() - -Method in class org.dom4j.tree.QNameCache -
Returns a list of all the QName instances currently used -
getQualifiedName() - -Method in interface org.dom4j.Attribute -
- Returns the fully qualified name of this element. - -
getQualifiedName() - -Method in interface org.dom4j.Element -
- Returns the fully qualified name of this element. -
getQualifiedName() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
getQualifiedName() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getQualifiedName() - -Method in class org.dom4j.tree.AbstractElement -
  -
getRawName() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
getRootElement() - -Method in interface org.dom4j.Document -
Returns the root Elementfor this document. -
getRootElement() - -Method in class org.dom4j.tree.DefaultDocument -
  -
getRowCount() - -Method in class org.dom4j.swing.XMLTableModel -
  -
getRowValue(int) - -Method in class org.dom4j.swing.XMLTableModel -
  -
getRowXPath() - -Method in class org.dom4j.swing.XMLTableDefinition -
Getter for property rowXPath. -
getRows() - -Method in class org.dom4j.swing.XMLTableModel -
  -
getRuleArray() - -Method in class org.dom4j.rule.RuleSet -
Returns an array of sorted rules. -
getRuleSet(int) - -Method in class org.dom4j.rule.Mode -
DOCUMENT ME! -
getSource() - -Method in class org.dom4j.swing.XMLTableModel -
Getter for the XML source, which is usually a Node or List of nodes. -
getSpecified() - -Method in class org.dom4j.dom.DOMAttribute -
  -
getStringValue() - -Method in interface org.dom4j.Element -
Returns the XPath string-value of this node. -
getStringValue() - -Method in class org.dom4j.Namespace -
  -
getStringValue() - -Method in interface org.dom4j.Node -
Returns the XPath string-value of this node. -
getStringValue() - -Method in class org.dom4j.tree.AbstractDocument -
  -
getStringValue() - -Method in class org.dom4j.tree.AbstractElement -
  -
getStringValue() - -Method in class org.dom4j.tree.AbstractEntity -
  -
getStringValue() - -Method in class org.dom4j.tree.AbstractNode -
  -
getStringValue() - -Method in class org.dom4j.tree.DefaultElement -
  -
getSystemID() - -Method in interface org.dom4j.DocumentType -
  -
getSystemID() - -Method in class org.dom4j.dtd.ExternalEntityDecl -
Getter for property systemID. -
getSystemID() - -Method in class org.dom4j.tree.DefaultDocumentType -
DOCUMENT ME! -
getSystemId() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
getTagName() - -Method in class org.dom4j.dom.DOMElement -
  -
getTarget() - -Method in interface org.dom4j.ProcessingInstruction -
This method is the equivalent to the Node.getName()method. -
getTarget() - -Method in class org.dom4j.tree.FlyweightProcessingInstruction -
  -
getText() - -Method in interface org.dom4j.Element -
Returns the text value of this element without recursing through child - elements. -
getText() - -Method in class org.dom4j.Namespace -
  -
getText() - -Method in interface org.dom4j.Node -
- Returns the text of this node. - -
getText() - -Method in interface org.dom4j.ProcessingInstruction -
DOCUMENT ME! -
getText() - -Method in interface org.dom4j.XPath -
- getText will return the textual version of the XPath - expression. - -
getText() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getText() - -Method in class org.dom4j.tree.AbstractBranch -
  -
getText() - -Method in class org.dom4j.tree.AbstractDocumentType -
Returns the text format of the declarations if applicable, or the empty - String -
getText() - -Method in class org.dom4j.tree.AbstractNode -
  -
getText() - -Method in class org.dom4j.tree.DefaultElement -
  -
getText() - -Method in class org.dom4j.tree.FlyweightCDATA -
  -
getText() - -Method in class org.dom4j.tree.FlyweightComment -
  -
getText() - -Method in class org.dom4j.tree.FlyweightEntity -
DOCUMENT ME! -
getText() - -Method in class org.dom4j.tree.FlyweightProcessingInstruction -
  -
getText() - -Method in class org.dom4j.tree.FlyweightText -
  -
getText() - -Method in class org.dom4j.xpath.DefaultXPath -
Retrieve the textual XPath string used to initialize this Object -
getText() - -Method in class org.dom4j.xpath.XPathPattern -
  -
getTextTrim() - -Method in interface org.dom4j.Element -
DOCUMENT ME! -
getTextTrim() - -Method in class org.dom4j.tree.AbstractBranch -
  -
getType() - -Method in class org.dom4j.dtd.AttributeDecl -
Getter for property type. -
getType() - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Getter for property type. -
getURI() - -Method in class org.dom4j.Namespace -
DOCUMENT ME! -
getURI(String) - -Method in class org.dom4j.tree.NamespaceStack -
DOCUMENT ME! -
getURICache(String) - -Method in class org.dom4j.tree.NamespaceCache -
DOCUMENT ME! -
getUnionPatterns() - -Method in interface org.dom4j.rule.Pattern -
If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern. -
getUnionPatterns() - -Method in class org.dom4j.rule.pattern.DefaultPattern -
  -
getUnionPatterns() - -Method in class org.dom4j.rule.pattern.NodeTypePattern -
  -
getUnionPatterns() - -Method in class org.dom4j.xpath.XPathPattern -
  -
getUnionRules() - -Method in class org.dom4j.rule.Rule -
If this rule contains a union pattern then this method should return an - array of Rules which describe the union rule, which should contain more - than one rule. -
getUniquePath(Element) - -Method in class org.dom4j.Namespace -
  -
getUniquePath() - -Method in interface org.dom4j.Node -
- Returns the XPath expression which will return a nodeset of one node - which is the current node. -
getUniquePath(Element) - -Method in interface org.dom4j.Node -
- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractCharacterData -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractComment -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractElement -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractEntity -
  -
getUniquePath() - -Method in class org.dom4j.tree.AbstractNode -
  -
getUniquePath(Element) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
getValue() - -Method in interface org.dom4j.Attribute -
- Returns the value of the attribute. -
getValue(String) - -Method in interface org.dom4j.ProcessingInstruction -
- Returns the value of a specific name in the PI. - -
getValue() - -Method in class org.dom4j.bean.BeanAttribute -
  -
getValue() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
getValue() - -Method in class org.dom4j.dtd.AttributeDecl -
Getter for property value. -
getValue() - -Method in class org.dom4j.dtd.InternalEntityDecl -
Getter for property value. -
getValue(Object) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
  -
getValue() - -Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
Get the value. -
getValue() - -Method in class org.dom4j.tree.FlyweightAttribute -
  -
getValue(String) - -Method in class org.dom4j.tree.FlyweightProcessingInstruction -
  -
getValueAt(Object, int) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
getValueAt(int, int) - -Method in class org.dom4j.swing.XMLTableModel -
  -
getValueDefault() - -Method in class org.dom4j.dtd.AttributeDecl -
Getter for property valueDefault. -
getValueOfAction() - -Method in class org.dom4j.rule.RuleManager -
DOCUMENT ME! -
getValueOfAction() - -Method in class org.dom4j.rule.Stylesheet -
DOCUMENT ME! -
getValues() - -Method in interface org.dom4j.ProcessingInstruction -
DOCUMENT ME! -
getValues() - -Method in class org.dom4j.tree.FlyweightProcessingInstruction -
  -
getVariableContext() - -Method in interface org.dom4j.XPath -
DOCUMENT ME! -
getVariableContext() - -Method in class org.dom4j.xpath.DefaultXPath -
  -
getVariableValue(String, String, String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
getWarningQName() - -Method in class org.dom4j.util.XMLErrorHandler -
  -
getXMLEncoding() - -Method in interface org.dom4j.Document -
Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - - -
getXMLEncoding() - -Method in class org.dom4j.tree.AbstractDocument -
  -
getXMLEncoding() - -Method in class org.dom4j.tree.DefaultDocument -
  -
getXMLFilter() - -Method in class org.dom4j.io.SAXReader -
Returns the SAX filter being used to filter SAX events. -
getXMLReader() - -Method in class org.dom4j.io.DocumentSource -
DOCUMENT ME! -
getXMLReader() - -Method in class org.dom4j.io.SAXReader -
DOCUMENT ME! -
getXMLReader() - -Method in class org.dom4j.io.SAXValidator -
DOCUMENT ME! -
getXMLWriter() - -Method in class org.dom4j.io.SAXModifier -
Returns the current XMLWriter. -
getXMLWriter() - -Method in class org.dom4j.io.XMLResult -
  -
getXPPFactory() - -Method in class org.dom4j.io.XPP3Reader -
  -
getXPPFactory() - -Method in class org.dom4j.io.XPPReader -
  -
getXPPParser() - -Method in class org.dom4j.io.XPP3Reader -
  -
getXPPParser() - -Method in class org.dom4j.io.XPPReader -
  -
getXPath() - -Method in class org.dom4j.XPathException -
Returns the XPath expression that caused the problem -
getXPath() - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Getter for property xpath. -
getXPathNameStep() - -Method in class org.dom4j.Namespace -
  -
getXPathNameStep() - -Method in class org.dom4j.tree.AbstractElement -
Returns the XPath expression to match this Elements name which is - getQualifiedName() if there is a namespace prefix defined or if no - namespace is present then it is getName() or if a namespace is defined - with no prefix then the expression is [name()='X'] where X = getName(). -
getXPathNamespaceURIs() - -Method in class org.dom4j.DocumentFactory -
DOCUMENT ME! -
getXPathResult(int) - -Method in interface org.dom4j.Element -
Returns a node at the given index suitable for an XPath result set. -
getXPathResult(int) - -Method in class org.dom4j.tree.AbstractElement -
  -
getXSDatatype() - -Method in class org.dom4j.datatype.DatatypeAttribute -
Returns the MSV XSDatatype for this node -
getXSDatatype() - -Method in class org.dom4j.datatype.DatatypeElement -
Returns the MSV XSDatatype for this node -
getXmlBranch() - -Method in class org.dom4j.swing.BranchTreeNode -
  -
getXmlNode() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
-
-

-H

-
-
HTMLWriter - class org.dom4j.io.HTMLWriter.
- HTMLWriter takes a DOM4J tree and formats it to a stream as - HTML.
HTMLWriter(Writer) - -Constructor for class org.dom4j.io.HTMLWriter -
  -
HTMLWriter(Writer, OutputFormat) - -Constructor for class org.dom4j.io.HTMLWriter -
  -
HTMLWriter() - -Constructor for class org.dom4j.io.HTMLWriter -
  -
HTMLWriter(OutputFormat) - -Constructor for class org.dom4j.io.HTMLWriter -
  -
HTMLWriter(OutputStream) - -Constructor for class org.dom4j.io.HTMLWriter -
  -
HTMLWriter(OutputStream, OutputFormat) - -Constructor for class org.dom4j.io.HTMLWriter -
  -
handleException(Exception) - -Method in class org.dom4j.bean.BeanDocumentFactory -
  -
handleException(Exception) - -Method in class org.dom4j.bean.BeanMetaData -
  -
handleException(IOException) - -Method in class org.dom4j.io.XMLWriter -
  -
handleException(Exception) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
  -
handleException(Exception) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
handleException(Exception) - -Method in class org.dom4j.swing.XMLTableModel -
  -
handleJaxenException(JaxenException) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
handleJaxenException(JaxenException) - -Method in class org.dom4j.xpath.XPathPattern -
  -
handleObject(Element) - -Method in interface org.dom4j.jaxb.JAXBObjectHandler -
Called when the JAXBReaderhas finished parsing the xml path the - handler was registered for. -
hasAttribute(String) - -Method in class org.dom4j.dom.DOMElement -
  -
hasAttributeNS(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMAttribute -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMCDATA -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMComment -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMDocument -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMElement -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMNamespace -
  -
hasAttributes(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
hasAttributes() - -Method in class org.dom4j.dom.DOMText -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMAttribute -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMCDATA -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMComment -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMDocument -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMElement -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMNamespace -
  -
hasChildNodes(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
hasChildNodes() - -Method in class org.dom4j.dom.DOMText -
  -
hasContent() - -Method in interface org.dom4j.Node -
- hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. - -
hasContent() - -Method in class org.dom4j.tree.AbstractBranch -
  -
hasContent() - -Method in class org.dom4j.tree.AbstractNode -
  -
hasFeature(String, String) - -Method in class org.dom4j.dom.DOMDocumentFactory -
  -
hasMixedContent() - -Method in interface org.dom4j.Element -
- Returns true if this Element has mixed content. -
hasMixedContent() - -Method in class org.dom4j.tree.AbstractElement -
  -
hasNext() - -Method in class org.dom4j.tree.FilterIterator -
Deprecated.   -
hasNext() - -Method in class org.dom4j.tree.SingleIterator -
  -
hash - -Variable in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
hashCode() - -Method in class org.dom4j.Namespace -
DOCUMENT ME! -
hashCode() - -Method in class org.dom4j.QName -
DOCUMENT ME! -
hashCode() - -Method in class org.dom4j.rule.Rule -
  -
hashCode() - -Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
hashCode() - -Method in class org.dom4j.tree.DefaultNamespace -
  -
-
-

-I

-
-
IllegalAddException - exception org.dom4j.IllegalAddException.
- IllegalAddException is thrown when a node is added incorrectly - to an Element -
IllegalAddException(String) - -Constructor for class org.dom4j.IllegalAddException -
  -
IllegalAddException(Element, Node, String) - -Constructor for class org.dom4j.IllegalAddException -
  -
IllegalAddException(Branch, Node, String) - -Constructor for class org.dom4j.IllegalAddException -
  -
IndexedDocumentFactory - class org.dom4j.util.IndexedDocumentFactory.
- IndexedDocumentFactory is a factory of XML objects which - create indexed Element implementations to allow quicker lookup via name of - Element and Attributes though at the expense of more memory used to create - the name indexes. -
IndexedDocumentFactory() - -Constructor for class org.dom4j.util.IndexedDocumentFactory -
  -
IndexedElement - class org.dom4j.util.IndexedElement.
- IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
IndexedElement(String) - -Constructor for class org.dom4j.util.IndexedElement -
  -
IndexedElement(QName) - -Constructor for class org.dom4j.util.IndexedElement -
  -
IndexedElement(QName, int) - -Constructor for class org.dom4j.util.IndexedElement -
  -
InternalEntityDecl - class org.dom4j.dtd.InternalEntityDecl.
- InternalEntityDecl represents an internal entity declaration - in a DTD. -
InternalEntityDecl() - -Constructor for class org.dom4j.dtd.InternalEntityDecl -
  -
InternalEntityDecl(String, String) - -Constructor for class org.dom4j.dtd.InternalEntityDecl -
  -
InvalidSchemaException - exception org.dom4j.datatype.InvalidSchemaException.
- InvalidSchemaException is thrown when an invalid XML Schema - document is used -
InvalidSchemaException(String) - -Constructor for class org.dom4j.datatype.InvalidSchemaException -
  -
InvalidXPathException - exception org.dom4j.InvalidXPathException.
- InvalidXPathException is thrown when an invalid XPath - expression is used to traverse an XML document -
InvalidXPathException(String) - -Constructor for class org.dom4j.InvalidXPathException -
  -
InvalidXPathException(String, String) - -Constructor for class org.dom4j.InvalidXPathException -
  -
InvalidXPathException(String, Throwable) - -Constructor for class org.dom4j.InvalidXPathException -
  -
ignorableWhitespace(char[], int, int) - -Method in class org.dom4j.io.XMLWriter -
  -
importNode(Node, boolean) - -Method in class org.dom4j.dom.DOMDocument -
  -
indent() - -Method in class org.dom4j.io.XMLWriter -
  -
indexOf(Node) - -Method in interface org.dom4j.Branch -
Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node. -
indexOf(Node) - -Method in class org.dom4j.tree.AbstractBranch -
  -
indexOf(Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
indexOf(Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
indexOf(Node) - -Method in class org.dom4j.tree.DefaultElement -
  -
init() - -Method in class org.dom4j.DocumentFactory -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMAttribute -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMCDATA -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMComment -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMDocument -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMElement -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMNamespace -
  -
insertBefore(Node, Node, Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
insertBefore(Node, Node) - -Method in class org.dom4j.dom.DOMText -
  -
insertData(int, String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
insertData(int, String) - -Method in class org.dom4j.dom.DOMComment -
  -
insertData(CharacterData, int, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
insertData(int, String) - -Method in class org.dom4j.dom.DOMText -
  -
installLexicalHandler() - -Method in class org.dom4j.io.XMLWriter -
  -
installXMLFilter(XMLReader) - -Method in class org.dom4j.io.SAXReader -
Installs any XMLFilter objects required to allow the SAX event stream to - be filtered and preprocessed before it gets to dom4j. -
instance() - -Method in class org.dom4j.util.PerThreadSingleton -
  -
instance() - -Method in class org.dom4j.util.SimpleSingleton -
  -
instance() - -Method in interface org.dom4j.util.SingletonStrategy -
return a singleton instance of the class specified in setSingletonClass -
intern(QName) - -Method in class org.dom4j.DocumentFactory -
DOCUMENT ME! -
intern(QName) - -Method in class org.dom4j.tree.QNameCache -
DOCUMENT ME! -
internalEntityDecl(String, String) - -Method in class org.dom4j.io.SAXContentHandler -
Report an internal entity declaration. - - -
internalEntityDecl(String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
invalidNodeTypeAddException(Node) - -Method in class org.dom4j.tree.AbstractBranch -
Called when an invalid node has been added. -
isAttributeNamespaceDeclaration(int) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
isDeclareNamespaceAttributes() - -Method in class org.dom4j.io.SAXWriter -
Should namespace declarations be converted to "xmlns" attributes. -
isElementSpacePreserved(Element) - -Method in class org.dom4j.io.XMLWriter -
Determines if element is a special case of XML elements where it contains - an xml:space attribute of "preserve". -
isEmpty() - -Method in class org.dom4j.tree.ContentListFacade -
  -
isEscapeText() - -Method in class org.dom4j.io.XMLWriter -
DOCUMENT ME! -
isExpandEmptyElements() - -Method in class org.dom4j.io.OutputFormat -
  -
isExpandEmptyElements() - -Method in class org.dom4j.io.XMLWriter -
  -
isIgnorableEntity(String) - -Method in class org.dom4j.io.SAXContentHandler -
a Strategy Method to determine if a given entity name is ignorable -
isIgnoreComments() - -Method in class org.dom4j.io.SAXContentHandler -
Returns whether we should ignore comments or not. -
isIgnoreComments() - -Method in class org.dom4j.io.SAXReader -
Returns whether we should ignore comments or not. -
isIgnoreableNamespace(Namespace, NamespaceStack) - -Method in class org.dom4j.io.SAXWriter -
DOCUMENT ME! -
isIncludeExternalDTDDeclarations() - -Method in class org.dom4j.io.SAXContentHandler -
DOCUMENT ME! -
isIncludeExternalDTDDeclarations() - -Method in class org.dom4j.io.SAXReader -
DOCUMENT ME! -
isIncludeInternalDTDDeclarations() - -Method in class org.dom4j.io.SAXContentHandler -
DOCUMENT ME! -
isIncludeInternalDTDDeclarations() - -Method in class org.dom4j.io.SAXReader -
DOCUMENT ME! -
isLeaf() - -Method in class org.dom4j.swing.BranchTreeNode -
  -
isLeaf() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
isMergeAdjacentText() - -Method in class org.dom4j.io.SAXContentHandler -
Returns whether adjacent text nodes should be merged together. -
isMergeAdjacentText() - -Method in class org.dom4j.io.SAXReader -
Returns whether adjacent text nodes should be merged together. -
isNamespaceDeclaration(Namespace) - -Method in class org.dom4j.io.DOMWriter -
  -
isNamespaceDeclaration(Namespace) - -Method in class org.dom4j.io.XMLWriter -
  -
isNewLineAfterDeclaration() - -Method in class org.dom4j.io.OutputFormat -
DOCUMENT ME! -
isNewlines() - -Method in class org.dom4j.io.OutputFormat -
  -
isNotation(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
isNotation(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
isOmitEncoding() - -Method in class org.dom4j.io.OutputFormat -
  -
isPadText() - -Method in class org.dom4j.io.OutputFormat -
  -
isPreformattedTag(String) - -Method in class org.dom4j.io.HTMLWriter -
DOCUMENT ME! -
isPruneElements() - -Method in class org.dom4j.io.SAXModifier -
Returns true when xml elements are not kept in memory while parsing. -
isPruneElements() - -Method in class org.dom4j.jaxb.JAXBModifier -
Returns true when the modified Documentis not kept in - memory. -
isPruneElements() - -Method in class org.dom4j.jaxb.JAXBReader -
When 'true', the DOM4J document will not be kept in memory while parsing. -
isReadOnly() - -Method in interface org.dom4j.Node -
- isReadOnly returns true if this node is read only and - cannot be modified. -
isReadOnly() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
isReadOnly() - -Method in class org.dom4j.tree.AbstractBranch -
  -
isReadOnly() - -Method in class org.dom4j.tree.AbstractNode -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultAttribute -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultCDATA -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultComment -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultEntity -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultNamespace -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
isReadOnly() - -Method in class org.dom4j.tree.DefaultText -
  -
isRootElement() - -Method in interface org.dom4j.Element -
DOCUMENT ME! -
isRootElement() - -Method in class org.dom4j.tree.AbstractElement -
  -
isStringInternEnabled() - -Method in class org.dom4j.io.SAXReader -
Sets whether String interning is enabled or disabled for element & - attribute names and namespace URIs. -
isStripWhitespaceText() - -Method in class org.dom4j.io.SAXContentHandler -
Sets whether whitespace between element start and end tags should be - ignored -
isStripWhitespaceText() - -Method in class org.dom4j.io.SAXReader -
Sets whether whitespace between element start and end tags should be - ignored -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMAttribute -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMComment -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMDocument -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMNamespace -
  -
isSupported(Node, String, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
isSupported(String, String) - -Method in class org.dom4j.dom.DOMText -
  -
isSuppressDeclaration() - -Method in class org.dom4j.io.OutputFormat -
DOCUMENT ME! -
isTextOnly() - -Method in interface org.dom4j.Element -
- Returns true if this Element has text only content. - -
isTextOnly() - -Method in class org.dom4j.tree.AbstractElement -
  -
isTrimText() - -Method in class org.dom4j.io.OutputFormat -
  -
isUnparsedEntity(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
isUnparsedEntity(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
isValidating() - -Method in class org.dom4j.io.SAXReader -
DOCUMENT ME! -
isXHTML() - -Method in class org.dom4j.io.OutputFormat -
- Whether or not to use the XHTML standard: like HTML but passes an XML - parser with real, closed tags. -
item(int) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
item(int) - -Method in class org.dom4j.dom.DOMNodeHelper.EmptyNodeList -
  -
-
-

-J

-
-
JAXBModifier - class org.dom4j.jaxb.JAXBModifier.
Reads an XML document using SAX and writes its content to the provided - XMLWriter.
JAXBModifier(String) - -Constructor for class org.dom4j.jaxb.JAXBModifier -
Creates a new JAXBModifier for the given JAXB context path. -
JAXBModifier(String, ClassLoader) - -Constructor for class org.dom4j.jaxb.JAXBModifier -
Creates a new JAXBModifier for the given JAXB context path, using the - given ClassLoader. -
JAXBModifier(String, OutputFormat) - -Constructor for class org.dom4j.jaxb.JAXBModifier -
Creates a new JAXBModifier for the given JAXB context path. -
JAXBModifier(String, ClassLoader, OutputFormat) - -Constructor for class org.dom4j.jaxb.JAXBModifier -
Creates a new JAXBModifier for the given JAXB context path, using the - specified Classloader. -
JAXBObjectHandler - interface org.dom4j.jaxb.JAXBObjectHandler.
JAXBObjectHandler implementations can be registered with the JAXB Reader in - order to receive unmarshalled XML fragments.
JAXBObjectModifier - interface org.dom4j.jaxb.JAXBObjectModifier.
JAXBObjectHandler implementations can be registered with the JAXBModifier in order to change unmarshalled XML fragments.
JAXBReader - class org.dom4j.jaxb.JAXBReader.
Reads an XML document and creates a DOM4J tree from SAX parsing events. -
JAXBReader(String) - -Constructor for class org.dom4j.jaxb.JAXBReader -
Creates a new JAXBReader for the given JAXB context path. -
JAXBReader(String, ClassLoader) - -Constructor for class org.dom4j.jaxb.JAXBReader -
Creates a new JAXBReader for the given JAXB context path, using the - specified Classloader. -
JAXBWriter - class org.dom4j.jaxb.JAXBWriter.
Writes Elementobjects to an XML stream.
JAXBWriter(String) - -Constructor for class org.dom4j.jaxb.JAXBWriter -
Creates a new JAXBWriter for the given JAXB context path. -
JAXBWriter(String, OutputFormat) - -Constructor for class org.dom4j.jaxb.JAXBWriter -
Creates a new JAXBWriter for the given JAXB context path. -
JAXBWriter(String, ClassLoader) - -Constructor for class org.dom4j.jaxb.JAXBWriter -
Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader. -
JAXBWriter(String, ClassLoader, OutputFormat) - -Constructor for class org.dom4j.jaxb.JAXBWriter -
Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader. -
-
-

-K

-
-
key - -Variable in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
-
-

-L

-
-
LEXICAL_HANDLER_NAMES - -Static variable in class org.dom4j.io.SAXWriter -
  -
LEXICAL_HANDLER_NAMES - -Static variable in class org.dom4j.io.XMLWriter -
  -
LeafTreeNode - class org.dom4j.swing.LeafTreeNode.
- LeafTreeNode implements the Swing TreeNode interface to bind a - leaf XML nodes to a Swing TreeModel. -
LeafTreeNode() - -Constructor for class org.dom4j.swing.LeafTreeNode -
  -
LeafTreeNode(Node) - -Constructor for class org.dom4j.swing.LeafTreeNode -
  -
LeafTreeNode(TreeNode, Node) - -Constructor for class org.dom4j.swing.LeafTreeNode -
  -
lastIndexOf(Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
lastOutputNodeType - -Variable in class org.dom4j.io.XMLWriter -
Stores the last type of node written so algorithms can refer to the - previous node type -
load(Document) - -Static method in class org.dom4j.swing.XMLTableDefinition -
Loads an XML table definition from an XML definition document -
load(Element) - -Static method in class org.dom4j.swing.XMLTableDefinition -
Loads an XML table definition from an XML definition document -
loadOmitElementCloseSet(Set) - -Method in class org.dom4j.io.HTMLWriter -
  -
loadSchema(Document) - -Method in class org.dom4j.datatype.DatatypeDocumentFactory -
Loads the given XML Schema document into this factory so schema-aware - Document, Elements and Attributes will be created by this factory. -
loadSchema(Document, Namespace) - -Method in class org.dom4j.datatype.DatatypeDocumentFactory -
  -
loadSchema(Document, String) - -Method in class org.dom4j.datatype.DatatypeDocumentFactory -
  -
loadSchema(Document, String, Namespace) - -Method in class org.dom4j.datatype.DatatypeDocumentFactory -
  -
-
-

-M

-
-
MAX_NODE_TYPE - -Static variable in interface org.dom4j.Node -
The maximum number of node types for sizing purposes -
Mode - class org.dom4j.rule.Mode.
- Mode manages a number of RuleSet instances for the mode in a - stylesheet.
Mode() - -Constructor for class org.dom4j.rule.Mode -
  -
makeElement(Branch, String) - -Static method in class org.dom4j.DocumentHelper -
- makeElement - - a helper method which navigates from the given Document or Element node - to some Element using the path expression, creating any necessary - elements along the way. -
matches(String) - -Method in interface org.dom4j.Node -
- matches returns true if evaluating the given XPath - expression on this node returns a non-empty node set containing this - node. - -
matches(Node) - -Method in interface org.dom4j.NodeFilter -
- matches returns true if the given node matches the filter - condition. - -
matches(Node) - -Method in interface org.dom4j.XPath -
- matches returns true if the given node matches the XPath - expression. -
matches(Node) - -Method in interface org.dom4j.rule.Pattern -
DOCUMENT ME! -
matches(Node) - -Method in class org.dom4j.rule.Rule -
DOCUMENT ME! -
matches(Node) - -Method in class org.dom4j.rule.pattern.DefaultPattern -
  -
matches(Node) - -Method in class org.dom4j.rule.pattern.NodeTypePattern -
  -
matches(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
matches(Object) - -Method in class org.dom4j.tree.ElementIterator -
Deprecated. DOCUMENT ME! -
matches(Object) - -Method in class org.dom4j.tree.ElementNameIterator -
Deprecated. DOCUMENT ME! -
matches(Object) - -Method in class org.dom4j.tree.ElementQNameIterator -
Deprecated. DOCUMENT ME! -
matches(Object) - -Method in class org.dom4j.tree.FilterIterator -
Deprecated. Filter method to perform some matching on the given element. -
matches(Node) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
matches(Node) - -Method in class org.dom4j.xpath.XPathPattern -
  -
modify(File) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given Fileand writes it to the - specified XMLWriterusing SAX. -
modify(InputSource) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given InputSourceand - writes it to the specified XMLWriterusing SAX. -
modify(InputStream) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX. -
modify(InputStream, String) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX. -
modify(Reader) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX. -
modify(Reader, String) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX. -
modify(URL) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given URLand writes it to the - specified XMLWriterusing SAX. -
modify(String) - -Method in class org.dom4j.io.SAXModifier -
Reads a Document from the given URL or filename and writes it to the - specified XMLWriterusing SAX. -
modify(File) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified Filewith SAX -
modify(File, Charset) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified Filewith SAX, using the given - Charset. -
modify(InputSource) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified InputSourcewith SAX. -
modify(InputStream) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified InputStreamwith SAX. -
modify(InputStream, String) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified InputStreamwith SAX. -
modify(Reader) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified Readerwith SAX. -
modify(Reader, String) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the specified Readerwith SAX. -
modify(String) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the the given URL or filename. -
modify(URL) - -Method in class org.dom4j.jaxb.JAXBModifier -
Parses the the given URL. -
modifyElement(Element) - -Method in interface org.dom4j.io.ElementModifier -
Called by an event based processor when an elements closing tag is - encountered. -
modifyObject(Element) - -Method in interface org.dom4j.jaxb.JAXBObjectModifier -
Called when the JAXBModifierhas finished parsing the xml path - the handler was registered for. -
modifyTag(String, String, String) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
-
-

-N

-
-
NAMESPACE_NODE - -Static variable in interface org.dom4j.Node -
Matchs a Namespace Node - NOTE this differs from DOM -
NODE_TYPE - -Static variable in class org.dom4j.swing.XMLTableColumnDefinition -
  -
NODE_TYPE_NAMES - -Static variable in class org.dom4j.tree.AbstractNode -
  -
NONE - -Static variable in interface org.dom4j.rule.Pattern -
Matches no nodes -
NO_NAMESPACE - -Static variable in class org.dom4j.Namespace -
No Namespace present -
NULL_ARGS - -Static variable in class org.dom4j.bean.BeanMetaData -
Empty arguments for reflection calls -
NUMBER_OF_TYPES - -Static variable in interface org.dom4j.rule.Pattern -
Count of the number of node types -
NUMBER_TYPE - -Static variable in class org.dom4j.swing.XMLTableColumnDefinition -
  -
Namespace - class org.dom4j.Namespace.
- Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Namespace(String, String) - -Constructor for class org.dom4j.Namespace -
DOCUMENT ME! -
NamespaceCache - class org.dom4j.tree.NamespaceCache.
- NamespaceCache caches instances of - DefaultNamespace for reuse both across documents and within - documents. -
NamespaceCache() - -Constructor for class org.dom4j.tree.NamespaceCache -
  -
NamespaceStack - class org.dom4j.tree.NamespaceStack.
NamespaceStack implements a stack of namespaces and optionally maintains a - cache of all the fully qualified names (QName) which are in - scope.
NamespaceStack() - -Constructor for class org.dom4j.tree.NamespaceStack -
  -
NamespaceStack(DocumentFactory) - -Constructor for class org.dom4j.tree.NamespaceStack -
  -
Node - interface org.dom4j.Node.
- Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeComparator - class org.dom4j.util.NodeComparator.
- NodeComparator is a Comparatorof Node instances which - is capable of comparing Nodes for equality based on their values. -
NodeComparator() - -Constructor for class org.dom4j.util.NodeComparator -
  -
NodeFilter - interface org.dom4j.NodeFilter.
- NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
NodeTypePattern - class org.dom4j.rule.pattern.NodeTypePattern.
- NodeTypePattern implements a Pattern which matches any node of - the given node type. -
NodeTypePattern(short) - -Constructor for class org.dom4j.rule.pattern.NodeTypePattern -
  -
NonLazyDocumentFactory - class org.dom4j.util.NonLazyDocumentFactory.
- NonLazyDocumentFactory is a factory of XML objects which avoid - using the lazy creation pattern.
NonLazyDocumentFactory() - -Constructor for class org.dom4j.util.NonLazyDocumentFactory -
  -
NonLazyElement - class org.dom4j.util.NonLazyElement.
- NonLazyElement is the default DOM4J default implementation of - an XML element. -
NonLazyElement(String) - -Constructor for class org.dom4j.util.NonLazyElement -
  -
NonLazyElement(QName) - -Constructor for class org.dom4j.util.NonLazyElement -
  -
NonLazyElement(String, Namespace) - -Constructor for class org.dom4j.util.NonLazyElement -
  -
NonLazyElement(QName, int) - -Constructor for class org.dom4j.util.NonLazyElement -
  -
NullAction - class org.dom4j.rule.NullAction.
- NullAction represents an empty action that does nothing. -
NullAction() - -Constructor for class org.dom4j.rule.NullAction -
  -
name - -Variable in class org.dom4j.tree.FlyweightEntity -
The name of the Entity -
namespaceCache - -Variable in class org.dom4j.tree.QNameCache -
Cache of Mapinstances indexed by namespace which contain caches - of QNamefor each name -
next - -Variable in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
next() - -Method in class org.dom4j.tree.FilterIterator -
Deprecated.   -
next() - -Method in class org.dom4j.tree.SingleIterator -
  -
noNamespaceCache - -Variable in class org.dom4j.tree.QNameCache -
Cache of QNameinstances with no namespace -
noPrefixCache - -Static variable in class org.dom4j.tree.NamespaceCache -
Cache of Namespaceinstances indexed by URI for default - namespaces with no prefixes -
node(int) - -Method in interface org.dom4j.Branch -
Returns the Node at the specified index position. -
node(int) - -Method in class org.dom4j.tree.AbstractBranch -
  -
node(int) - -Method in class org.dom4j.tree.AbstractElement -
  -
node(int) - -Method in class org.dom4j.tree.DefaultElement -
  -
nodeCount() - -Method in interface org.dom4j.Branch -
Returns the number of Node instances that this branch - contains. -
nodeCount() - -Method in class org.dom4j.tree.AbstractBranch -
  -
nodeCount() - -Method in class org.dom4j.tree.AbstractElement -
  -
nodeCount() - -Method in class org.dom4j.tree.DefaultElement -
  -
nodeIterator() - -Method in interface org.dom4j.Branch -
Returns an iterator through the content nodes of this branch -
nodeIterator() - -Method in class org.dom4j.tree.AbstractBranch -
  -
nodeIterator() - -Method in class org.dom4j.tree.AbstractElement -
  -
nodeIterator() - -Method in class org.dom4j.tree.DefaultElement -
  -
normalize() - -Method in interface org.dom4j.Branch -
Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes. -
normalize() - -Method in class org.dom4j.dom.DOMAttribute -
  -
normalize() - -Method in class org.dom4j.dom.DOMCDATA -
  -
normalize() - -Method in class org.dom4j.dom.DOMComment -
  -
normalize() - -Method in class org.dom4j.dom.DOMDocumentType -
  -
normalize() - -Method in class org.dom4j.dom.DOMEntityReference -
  -
normalize() - -Method in class org.dom4j.dom.DOMNamespace -
  -
normalize(Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
normalize() - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
normalize() - -Method in class org.dom4j.dom.DOMText -
  -
normalize() - -Method in class org.dom4j.tree.AbstractDocument -
  -
normalize() - -Method in class org.dom4j.tree.AbstractElement -
Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes. -
notSupported() - -Static method in class org.dom4j.dom.DOMNodeHelper -
Called when a method has not been implemented yet -
notationDecl(String, String, String) - -Method in class org.dom4j.io.SAXContentHandler -
Receive notification of a notation declaration event. - - -
notationDecl(String, String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
numberValueOf(String) - -Method in interface org.dom4j.Node -
- numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - in a number, or null if the result is not a number. - -
numberValueOf(Object) - -Method in interface org.dom4j.XPath -
- numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - is a number, or null if the result is not a number. - -
numberValueOf(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
numberValueOf(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
-
-

-O

-
-
OBJECT_TYPE - -Static variable in class org.dom4j.swing.XMLTableColumnDefinition -
  -
OutputFormat - class org.dom4j.io.OutputFormat.
- OutputFormat represents the format configuration used by - and its base classes to format the XML output -
OutputFormat() - -Constructor for class org.dom4j.io.OutputFormat -
Creates an OutputFormat with no additional whitespace - (indent or new lines) added. -
OutputFormat(String) - -Constructor for class org.dom4j.io.OutputFormat -
Creates an OutputFormat with the given indent added but no - new lines added. -
OutputFormat(String, boolean) - -Constructor for class org.dom4j.io.OutputFormat -
Creates an OutputFormat with the given indent added with - optional newlines between the Elements. -
OutputFormat(String, boolean, String) - -Constructor for class org.dom4j.io.OutputFormat -
Creates an OutputFormat with the given indent added with - optional newlines between the Elements and the given encoding format. -
omitElementClose(String) - -Method in class org.dom4j.io.HTMLWriter -
  -
onEnd(ElementPath) - -Method in interface org.dom4j.ElementHandler -
Called by an event based processor when an elements closing tag is - encountered. -
onStart(ElementPath) - -Method in interface org.dom4j.ElementHandler -
Called by an event based processor when an elements openning tag is - encountered. -
org.dom4j - package org.dom4j
Defines the XML Document Object Model in Java interfaces together - with some helper classes.
org.dom4j.bean - package org.dom4j.bean
An implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element.
org.dom4j.datatype - package org.dom4j.datatype
An implementation of the dom4j API which supports the - XML Schema Data Types specification.
org.dom4j.dom - package org.dom4j.dom
An implementation of the dom4j API which also supports the - W3C object model.
org.dom4j.dtd - package org.dom4j.dtd
Classes to represent the DTD declarations.
org.dom4j.io - package org.dom4j.io
Provides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text.
org.dom4j.jaxb - package org.dom4j.jaxb
 
org.dom4j.rule - package org.dom4j.rule
A Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. -
org.dom4j.rule.pattern - package org.dom4j.rule.pattern
 
org.dom4j.swing - package org.dom4j.swing
A collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels.
org.dom4j.tree - package org.dom4j.tree
Contains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -
org.dom4j.util - package org.dom4j.util
A collection of utility classes for the dom4j API.
org.dom4j.xpath - package org.dom4j.xpath
Provides the core tools needed to use the XPath library -
org.dom4j.xpp - package org.dom4j.xpp
Provides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP -
-
-

-P

-
-
PROCESSING_INSTRUCTION_NODE - -Static variable in interface org.dom4j.Node -
Matches ProcessingInstruction -
Pattern - interface org.dom4j.rule.Pattern.
- Pattern defines the behaviour for pattern in the XSLT - processing model. -
PerThreadSingleton - class org.dom4j.util.PerThreadSingleton.
- PerThreadSingleton is an implementation of the - SingletonStrategy used to provide common factory access to a single object - instance based on an implementation strategy for one object instance per - thread.
PerThreadSingleton() - -Constructor for class org.dom4j.util.PerThreadSingleton -
  -
ProcessingInstruction - interface org.dom4j.ProcessingInstruction.
- ProcessingInstruction defines an XML processing instruction. -
ProxyDocumentFactory - class org.dom4j.util.ProxyDocumentFactory.
- ProxyDocumentFactory implements a proxy to a DocumentFactory - which is useful for implementation inheritence, allowing the pipelining of - various factory implementations.
ProxyDocumentFactory() - -Constructor for class org.dom4j.util.ProxyDocumentFactory -
  -
ProxyDocumentFactory(DocumentFactory) - -Constructor for class org.dom4j.util.ProxyDocumentFactory -
  -
ProxyXmlStartTag - class org.dom4j.xpp.ProxyXmlStartTag.
ProxyXmlStartTag implements the XPP XmlSmartTag - interface while creating a dom4j Element underneath.
ProxyXmlStartTag() - -Constructor for class org.dom4j.xpp.ProxyXmlStartTag -
  -
ProxyXmlStartTag(Element) - -Constructor for class org.dom4j.xpp.ProxyXmlStartTag -
  -
parse(String) - -Method in class org.dom4j.io.SAXWriter -
This method is not supported. -
parse(InputSource) - -Method in class org.dom4j.io.SAXWriter -
Parses an XML document. -
parse(InputSource) - -Method in class org.dom4j.io.XMLWriter -
  -
parse(String) - -Static method in class org.dom4j.xpath.DefaultXPath -
  -
parseDocument() - -Method in class org.dom4j.io.XPP3Reader -
  -
parseDocument() - -Method in class org.dom4j.io.XPPReader -
  -
parseOptions(String[], int) - -Method in class org.dom4j.io.OutputFormat -
Parses command line arguments of the form -omitEncoding - -indentSize 3 -newlines -trimText -
parseText(String) - -Static method in class org.dom4j.DocumentHelper -
- parseText parses the given text as an XML document and - returns the newly created Document. - -
parseType(String) - -Static method in class org.dom4j.swing.XMLTableColumnDefinition -
  -
parseValues(String) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
- Parses the raw data of PI as a Map. - -
pop() - -Method in class org.dom4j.tree.NamespaceStack -
Pops the most recently used Namespace from the stack -
pop(String) - -Method in class org.dom4j.tree.NamespaceStack -
Pops a namepace from the stack with the given prefix and URI -
preserve - -Variable in class org.dom4j.io.XMLWriter -
Stores the xml:space attribute value of preserve for whitespace flag -
prettyPrintHTML(String) - -Static method in class org.dom4j.io.HTMLWriter -
Convenience method to just get a String result. -
prettyPrintHTML(String, boolean, boolean, boolean, boolean) - -Static method in class org.dom4j.io.HTMLWriter -
DOCUMENT ME! -
prettyPrintXHTML(String) - -Static method in class org.dom4j.io.HTMLWriter -
Convenience method to just get a String result, but As XHTML . -
printStackTrace() - -Method in class org.dom4j.DocumentException -
  -
printStackTrace(PrintStream) - -Method in class org.dom4j.DocumentException -
  -
printStackTrace(PrintWriter) - -Method in class org.dom4j.DocumentException -
  -
println() - -Method in class org.dom4j.io.XMLWriter -
Writes the new line text to the underlying Writer -
processingInstruction(String) - -Method in interface org.dom4j.Branch -
DOCUMENT ME! -
processingInstruction(String, String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
processingInstruction(String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
processingInstruction(String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
processingInstruction(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
processingInstruction(String) - -Method in class org.dom4j.tree.DefaultDocument -
  -
processingInstruction(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
processingInstructions() - -Method in interface org.dom4j.Branch -
- Returns a list of all the processing instructions in this branch. -
processingInstructions(String) - -Method in interface org.dom4j.Branch -
- Returns a list of the processing instructions for the given target. -
processingInstructions() - -Method in class org.dom4j.tree.AbstractElement -
  -
processingInstructions(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
processingInstructions() - -Method in class org.dom4j.tree.DefaultDocument -
  -
processingInstructions(String) - -Method in class org.dom4j.tree.DefaultDocument -
  -
processingInstructions() - -Method in class org.dom4j.tree.DefaultElement -
  -
processingInstructions(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
proxy - -Variable in class org.dom4j.tree.FilterIterator -
Deprecated.   -
push(Namespace) - -Method in class org.dom4j.tree.NamespaceStack -
Pushes the given namespace onto the stack so that its prefix becomes - available. -
push(String, String) - -Method in class org.dom4j.tree.NamespaceStack -
Adds a namepace to the stack with the given prefix and URI -
pushQName(String, String, Namespace, String) - -Method in class org.dom4j.tree.NamespaceStack -
Adds the QName to the stack of available QNames -
-
-

-Q

-
-
QName - class org.dom4j.QName.
- QName represents a qualified name value of an XML element or - attribute.
QName(String) - -Constructor for class org.dom4j.QName -
  -
QName(String, Namespace) - -Constructor for class org.dom4j.QName -
  -
QName(String, Namespace, String) - -Constructor for class org.dom4j.QName -
  -
QNameCache - class org.dom4j.tree.QNameCache.
- QNameCache caches instances of QName for reuse - both across documents and within documents. -
QNameCache() - -Constructor for class org.dom4j.tree.QNameCache -
  -
QNameCache(DocumentFactory) - -Constructor for class org.dom4j.tree.QNameCache -
  -
-
-

-R

-
-
Rule - class org.dom4j.rule.Rule.
- Rule matches against DOM4J Node so that some action can be - performed such as in the XSLT processing model. -
Rule() - -Constructor for class org.dom4j.rule.Rule -
  -
Rule(Pattern) - -Constructor for class org.dom4j.rule.Rule -
  -
Rule(Pattern, Action) - -Constructor for class org.dom4j.rule.Rule -
  -
Rule(Rule, Pattern) - -Constructor for class org.dom4j.rule.Rule -
Constructs a new Rule with the same instance data as the given rule but a - different pattern. -
RuleManager - class org.dom4j.rule.RuleManager.
- RuleManager manages a set of rules such that a rule can be - found for a given DOM4J Node using the XSLT processing model. -
RuleManager() - -Constructor for class org.dom4j.rule.RuleManager -
  -
RuleSet - class org.dom4j.rule.RuleSet.
- RuleSet manages a set of rules which are sorted in order of - relevance according to the XSLT defined conflict resolution policy.
RuleSet() - -Constructor for class org.dom4j.rule.RuleSet -
  -
read(Document) - -Method in class org.dom4j.io.DOMReader -
  -
read(File) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given File - -
read(URL) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given URL using SAX - -
read(String) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given URL or filename using SAX. - -
read(InputStream) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given stream using SAX - -
read(Reader) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given Reader using SAX - -
read(InputStream, String) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given stream using SAX - -
read(Reader, String) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given Reader using SAX - -
read(InputSource) - -Method in class org.dom4j.io.SAXReader -
- Reads a Document from the given InputSource using SAX - -
read(File) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given File - -
read(URL) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given URL - -
read(String) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given URL or filename. - -
read(InputStream) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given stream - -
read(Reader) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given Reader - -
read(char[]) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given array of characters - -
read(InputStream, String) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given stream - -
read(Reader, String) - -Method in class org.dom4j.io.XPP3Reader -
- Reads a Document from the given Reader - -
read(File) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given File - -
read(URL) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given URL - -
read(String) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given URL or filename. - -
read(InputStream) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given stream - -
read(Reader) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given Reader - -
read(char[]) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given array of characters - -
read(InputStream, String) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given stream - -
read(Reader, String) - -Method in class org.dom4j.io.XPPReader -
- Reads a Document from the given Reader - -
read(File) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified File -
read(File, Charset) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified File, using the given Charset. -
read(InputSource) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified InputSource -
read(InputStream) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified InputStream -
read(InputStream, String) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified InputStream -
read(Reader) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified Reader -
read(Reader, String) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the specified Reader -
read(String) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the the given URL or filename. -
read(URL) - -Method in class org.dom4j.jaxb.JAXBReader -
Parses the the given URL. -
readAttribute(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a DOM4J Attribute from the provided event stream. -
readCharacters(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a DOM4J Text or CDATA section from the provided event stream. - -
readComment(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a DOM4J Comment from the provided event stream. -
readDocument(InputStream) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it. -
readDocument(Reader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it. -
readDocument(InputStream, String) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it. -
readDocument(Reader, String) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it. -
readDocument(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Reads a DOM4J Documentfrom the provided stream. -
readElement(Node, Branch) - -Method in class org.dom4j.io.DOMReader -
  -
readElement(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Reads a DOM4J Element from the provided event stream. -
readEntityReference(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a DOM4J Entity from the provided event stream. -
readExternal(ObjectInput) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
readNamespace(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a DOM4J Namespace from the provided event stream. -
readNode(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Reads a Nodefrom the event stream. -
readProcessingInstruction(XMLEventReader) - -Method in class org.dom4j.io.STAXEventReader -
Constructs a DOM4J ProcessingInstruction from the provided event stream. - -
readTree(Node, Branch) - -Method in class org.dom4j.io.DOMReader -
  -
remove(Node) - -Method in interface org.dom4j.Branch -
Removes the given Node if the node is an immediate child - of this branch. -
remove(Comment) - -Method in interface org.dom4j.Branch -
Removes the given Comment if the node is an immediate - child of this branch. -
remove(Element) - -Method in interface org.dom4j.Branch -
Removes the given Element if the node is an immediate - child of this branch. -
remove(ProcessingInstruction) - -Method in interface org.dom4j.Branch -
Removes the given ProcessingInstruction if the node is an - immediate child of this branch. -
remove(Attribute) - -Method in interface org.dom4j.Element -
Removes the given Attribute from this element. -
remove(CDATA) - -Method in interface org.dom4j.Element -
Removes the given CDATA if the node is an immediate child - of this element. -
remove(Entity) - -Method in interface org.dom4j.Element -
Removes the given Entity if the node is an immediate child - of this element. -
remove(Namespace) - -Method in interface org.dom4j.Element -
Removes the given Namespace if the node is an immediate - child of this element. -
remove(Text) - -Method in interface org.dom4j.Element -
Removes the given Text if the node is an immediate child - of this element. -
remove(Object) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
remove(int) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
remove(Node) - -Method in class org.dom4j.tree.AbstractBranch -
  -
remove(Comment) - -Method in class org.dom4j.tree.AbstractBranch -
  -
remove(Element) - -Method in class org.dom4j.tree.AbstractBranch -
  -
remove(ProcessingInstruction) - -Method in class org.dom4j.tree.AbstractBranch -
  -
remove(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
remove(Attribute) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(CDATA) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Comment) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Element) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Entity) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(ProcessingInstruction) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Text) - -Method in class org.dom4j.tree.AbstractElement -
  -
remove(Object) - -Method in class org.dom4j.tree.BackedList -
  -
remove(int) - -Method in class org.dom4j.tree.BackedList -
  -
remove(Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
remove(int) - -Method in class org.dom4j.tree.ContentListFacade -
  -
remove(Attribute) - -Method in class org.dom4j.tree.DefaultElement -
  -
remove() - -Method in class org.dom4j.tree.FilterIterator -
Deprecated. Always throws UnsupportedOperationException as this class does look-ahead - with its internal iterator. -
remove(int) - -Method in class org.dom4j.tree.NamespaceStack -
Removes the namespace at the given index of the stack -
remove() - -Method in class org.dom4j.tree.SingleIterator -
  -
removeAll(Collection) - -Method in class org.dom4j.tree.ContentListFacade -
  -
removeAttribute(String) - -Method in class org.dom4j.dom.DOMElement -
  -
removeAttributeByName(String, String) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
removeAttributeByRawName(String) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
removeAttributeNS(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
removeAttributeNode(Attr) - -Method in class org.dom4j.dom.DOMElement -
  -
removeAttributes() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
removeAtttributes() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
Deprecated. Use removeAttributes() instead. -
removeChild(Node) - -Method in class org.dom4j.dom.DOMAttribute -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMCDATA -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMComment -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMDocument -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMElement -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMNamespace -
  -
removeChild(Node, Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
removeChild(Node) - -Method in class org.dom4j.dom.DOMText -
  -
removeColumn(XMLTableColumnDefinition) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
removeDuplicates(List, Map) - -Method in class org.dom4j.xpath.DefaultXPath -
Removes items from the list which have duplicate values -
removeFromAttributeIndex(Attribute) - -Method in class org.dom4j.util.IndexedElement -
  -
removeFromAttributeIndex(Object, Attribute) - -Method in class org.dom4j.util.IndexedElement -
  -
removeFromElementIndex(Element) - -Method in class org.dom4j.util.IndexedElement -
  -
removeFromElementIndex(Object, Element) - -Method in class org.dom4j.util.IndexedElement -
  -
removeFromNameMap(Map, String, Rule) - -Method in class org.dom4j.rule.Mode -
  -
removeHandler(String) - -Method in interface org.dom4j.ElementPath -
Removes the ElementHandler from the event based processor, - for the specified path. -
removeHandler(String) - -Method in class org.dom4j.io.SAXReader -
Removes the ElementHandler from the event based processor, - for the specified path. -
removeHandler(String) - -Method in class org.dom4j.io.XPP3Reader -
Removes the ElementHandler from the event based processor, - for the specified path. -
removeHandler(String) - -Method in class org.dom4j.io.XPPReader -
Removes the ElementHandler from the event based processor, - for the specified path. -
removeHandler(String) - -Method in class org.dom4j.jaxb.JAXBReader -
Removes the ElementHandler from the event based processor, - for the specified path. -
removeModifier(String) - -Method in class org.dom4j.io.SAXModifier -
Removes the ElementModifierfrom the event based processor, for - the specified element path. -
removeNamedItem(String) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
removeNamedItemNS(String, String) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
removeNode(Node) - -Method in class org.dom4j.tree.AbstractBranch -
  -
removeNode(Node) - -Method in class org.dom4j.tree.AbstractElement -
  -
removeNode(Node) - -Method in class org.dom4j.tree.DefaultDocument -
  -
removeNode(Node) - -Method in class org.dom4j.tree.DefaultElement -
  -
removeNode(Node) - -Method in class org.dom4j.util.IndexedElement -
  -
removeObjectHandler(String) - -Method in class org.dom4j.jaxb.JAXBReader -
Removes the JAXBObjectHandlerfrom the event based processor, for - the specified element path. -
removeObjectModifier(String) - -Method in class org.dom4j.jaxb.JAXBModifier -
Removes the JAXBObjectModifierfrom the event based processor, - for the specified element path. -
removeProcessingInstruction(String) - -Method in interface org.dom4j.Branch -
Removes the processing instruction for the given target if it exists -
removeProcessingInstruction(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
removeProcessingInstruction(String) - -Method in class org.dom4j.tree.DefaultDocument -
  -
removeProcessingInstruction(String) - -Method in class org.dom4j.tree.DefaultElement -
  -
removeRule(Rule) - -Method in class org.dom4j.rule.Mode -
  -
removeRule(Rule) - -Method in class org.dom4j.rule.RuleManager -
  -
removeRule(Rule) - -Method in class org.dom4j.rule.RuleSet -
  -
removeRule(Rule) - -Method in class org.dom4j.rule.Stylesheet -
Removes the specified rule from this stylesheet. -
removeValue(String) - -Method in interface org.dom4j.ProcessingInstruction -
  -
removeValue(String) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMAttribute -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMCDATA -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMComment -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMDocument -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMElement -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMNamespace -
  -
replaceChild(Node, Node, Node) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
replaceChild(Node, Node) - -Method in class org.dom4j.dom.DOMText -
  -
replaceData(int, int, String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
replaceData(int, int, String) - -Method in class org.dom4j.dom.DOMComment -
  -
replaceData(CharacterData, int, int, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
replaceData(int, int, String) - -Method in class org.dom4j.dom.DOMText -
  -
replay(ContentHandler) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
reset() - -Method in class org.dom4j.util.PerThreadSingleton -
  -
reset() - -Method in class org.dom4j.util.SimpleSingleton -
  -
reset() - -Method in interface org.dom4j.util.SingletonStrategy -
reset the instance to a new instance for the implemented strategy -
resetHandlers() - -Method in class org.dom4j.io.SAXReader -
This method clears out all the existing handlers and default handler - setting things back as if no handler existed. -
resetHandlers() - -Method in class org.dom4j.jaxb.JAXBReader -
Removes all registered JAXBObjectHandlerand ElementHandler instances from the event based processor. -
resetModifiers() - -Method in class org.dom4j.io.SAXModifier -
Removes all registered ElementModifierinstances from the event - based processor. -
resetNamespaceStack() - -Method in class org.dom4j.io.DOMWriter -
  -
resetObjectModifiers() - -Method in class org.dom4j.jaxb.JAXBModifier -
Removes all registered JAXBObjectModifierinstances from the - event based processor. -
resetStartTag() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
resetTag() - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
resolveEntity(String, String) - -Method in class org.dom4j.io.SAXReader.SAXEntityResolver -
  -
resolveEntityRefs() - -Method in class org.dom4j.io.XMLWriter -
  -
resolveNamespacePrefix(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
resolveNamespacePrefix(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
rootElementAdded(Element) - -Method in class org.dom4j.tree.AbstractDocument -
Called to set the root element variable -
rootElementAdded(Element) - -Method in class org.dom4j.tree.DefaultDocument -
  -
run(Node) - -Method in interface org.dom4j.rule.Action -
  -
run(Node) - -Method in class org.dom4j.rule.NullAction -
  -
run(Object) - -Method in class org.dom4j.rule.Stylesheet -
Runs this stylesheet on the given input which should be either a Node or - a List of Node objects. -
run(Object, String) - -Method in class org.dom4j.rule.Stylesheet -
  -
run(List) - -Method in class org.dom4j.rule.Stylesheet -
  -
run(List, String) - -Method in class org.dom4j.rule.Stylesheet -
  -
run(Node) - -Method in class org.dom4j.rule.Stylesheet -
  -
run(Node, String) - -Method in class org.dom4j.rule.Stylesheet -
  -
-
-

-S

-
-
SAXContentHandler - class org.dom4j.io.SAXContentHandler.
- SAXContentHandler builds a dom4j tree via SAX events. -
SAXContentHandler() - -Constructor for class org.dom4j.io.SAXContentHandler -
  -
SAXContentHandler(DocumentFactory) - -Constructor for class org.dom4j.io.SAXContentHandler -
  -
SAXContentHandler(DocumentFactory, ElementHandler) - -Constructor for class org.dom4j.io.SAXContentHandler -
  -
SAXContentHandler(DocumentFactory, ElementHandler, ElementStack) - -Constructor for class org.dom4j.io.SAXContentHandler -
  -
SAXEventRecorder - class org.dom4j.io.SAXEventRecorder.
- Records SAX events such that they may be "replayed" at a later time.
SAXEventRecorder() - -Constructor for class org.dom4j.io.SAXEventRecorder -
  -
SAXModifier - class org.dom4j.io.SAXModifier.
The SAXModifier reads, modifies and writes XML documents using SAX. - -
SAXModifier() - -Constructor for class org.dom4j.io.SAXModifier -
Creates a new modifier. -
SAXModifier(boolean) - -Constructor for class org.dom4j.io.SAXModifier -
Creates a new modifier. -
SAXModifier(XMLReader) - -Constructor for class org.dom4j.io.SAXModifier -
Creates a new modifier that will the specified XMLReader to parse the source. -
SAXModifier(XMLReader, boolean) - -Constructor for class org.dom4j.io.SAXModifier -
Creates a new modifier that will the specified XMLReader to parse the source. -
SAXReader - class org.dom4j.io.SAXReader.
- SAXReader creates a DOM4J tree from SAX parsing events. -
SAXReader() - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(boolean) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(DocumentFactory) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(DocumentFactory, boolean) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(XMLReader) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(XMLReader, boolean) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(String) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader(String, boolean) - -Constructor for class org.dom4j.io.SAXReader -
  -
SAXReader.SAXEntityResolver - class org.dom4j.io.SAXReader.SAXEntityResolver.
 
SAXReader.SAXEntityResolver(String) - -Constructor for class org.dom4j.io.SAXReader.SAXEntityResolver -
  -
SAXValidator - class org.dom4j.io.SAXValidator.
- SAXValidator validates an XML document by writing the document - to a text buffer and parsing it with a validating SAX parser.
SAXValidator() - -Constructor for class org.dom4j.io.SAXValidator -
  -
SAXValidator(XMLReader) - -Constructor for class org.dom4j.io.SAXValidator -
  -
SAXWriter - class org.dom4j.io.SAXWriter.
- SAXWriter writes a DOM4J tree to a SAX ContentHandler. -
SAXWriter() - -Constructor for class org.dom4j.io.SAXWriter -
  -
SAXWriter(ContentHandler) - -Constructor for class org.dom4j.io.SAXWriter -
  -
SAXWriter(ContentHandler, LexicalHandler) - -Constructor for class org.dom4j.io.SAXWriter -
  -
SAXWriter(ContentHandler, LexicalHandler, EntityResolver) - -Constructor for class org.dom4j.io.SAXWriter -
  -
SINGLETON - -Static variable in class org.dom4j.rule.NullAction -
Singleton instance -
STANDARD_INDENT - -Static variable in class org.dom4j.io.OutputFormat -
standard value to indent by, if we are indenting -
STAXEventReader - class org.dom4j.io.STAXEventReader.
Reads a DOM4J Document, as well as other Nodes, from a StAX - XMLEventReader.
STAXEventReader() - -Constructor for class org.dom4j.io.STAXEventReader -
Constructs a default STAXEventReader instance with a - default DocumentFactory. -
STAXEventReader(DocumentFactory) - -Constructor for class org.dom4j.io.STAXEventReader -
Constructs a STAXEventReader instance that uses the - specified DocumentFactoryto construct DOM4J Nodes. -
STAXEventWriter - class org.dom4j.io.STAXEventWriter.
Writes DOM4J Nodes to a StAX event stream.
STAXEventWriter() - -Constructor for class org.dom4j.io.STAXEventWriter -
  -
STAXEventWriter(File) - -Constructor for class org.dom4j.io.STAXEventWriter -
Constructs a STAXEventWriter that writes events to the - provided file. -
STAXEventWriter(Writer) - -Constructor for class org.dom4j.io.STAXEventWriter -
Constructs a STAXEventWriter that writes events to the - provided character stream. -
STAXEventWriter(OutputStream) - -Constructor for class org.dom4j.io.STAXEventWriter -
Constructs a STAXEventWriter that writes events to the - provided stream. -
STAXEventWriter(XMLEventConsumer) - -Constructor for class org.dom4j.io.STAXEventWriter -
Constructs a STAXEventWriter that writes events to the - provided event stream. -
STRING_TYPE - -Static variable in class org.dom4j.swing.XMLTableColumnDefinition -
  -
SchemaParser - class org.dom4j.datatype.SchemaParser.
- SchemaParser reads an XML Schema Document. -
SchemaParser() - -Constructor for class org.dom4j.datatype.SchemaParser -
  -
SchemaParser(DatatypeDocumentFactory) - -Constructor for class org.dom4j.datatype.SchemaParser -
  -
SimpleSingleton - class org.dom4j.util.SimpleSingleton.
- SimpleSingleton is an implementation of the SingletonStrategy - interface used to provide common factory access for the same object instance. -
SimpleSingleton() - -Constructor for class org.dom4j.util.SimpleSingleton -
  -
SingleIterator - class org.dom4j.tree.SingleIterator.
- SingleIterator is an Iteratorover a single object - instance. -
SingleIterator(Object) - -Constructor for class org.dom4j.tree.SingleIterator -
  -
SingletonStrategy - interface org.dom4j.util.SingletonStrategy.
- SingletonStrategy is an interface used to provide common - factory access for the same object based on an implementation strategy for - singleton.
Stylesheet - class org.dom4j.rule.Stylesheet.
- Stylesheet implements an XSLT stylesheet such that rules can - be added to the stylesheet and the stylesheet can be applied to a source - document or node. -
Stylesheet() - -Constructor for class org.dom4j.rule.Stylesheet -
Creates a new empty stylesheet. -
selectNodes(String, List) - -Static method in class org.dom4j.DocumentHelper -
- selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. - -
selectNodes(String, Node) - -Static method in class org.dom4j.DocumentHelper -
- selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. - -
selectNodes(String) - -Method in interface org.dom4j.Node -
- selectNodes evaluates an XPath expression and returns the - result as a List of Node instances or - String instances depending on the XPath expression. - -
selectNodes(String, String) - -Method in interface org.dom4j.Node -
- selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. - -
selectNodes(String, String, boolean) - -Method in interface org.dom4j.Node -
- selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. - -
selectNodes(Object) - -Method in interface org.dom4j.XPath -
- selectNodes performs this XPath expression on the given - Nodeor Listof Nodes instances appending all - the results together into a single list. - -
selectNodes(Object, XPath) - -Method in interface org.dom4j.XPath -
- selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. - -
selectNodes(Object, XPath, boolean) - -Method in interface org.dom4j.XPath -
- selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. - -
selectNodes(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
selectNodes(String, String) - -Method in class org.dom4j.tree.AbstractNode -
  -
selectNodes(String, String, boolean) - -Method in class org.dom4j.tree.AbstractNode -
  -
selectNodes(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
selectNodes(Object, XPath) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
selectNodes(Object, XPath, boolean) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
selectObject(String) - -Method in interface org.dom4j.Node -
- selectObject evaluates an XPath expression and returns the - result as an Object. -
selectObject(Object) - -Method in interface org.dom4j.XPath -
Deprecated. please use evaluate(Object) instead. WILL BE REMOVED IN - dom4j-1.6 !! -
selectObject(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
selectObject(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
selectSingleNode(String) - -Method in interface org.dom4j.Node -
- selectSingleNode evaluates an XPath expression and returns - the result as a single Node instance. - -
selectSingleNode(Object) - -Method in interface org.dom4j.XPath -
- selectSingleNode evaluates this XPath expression on the - given Nodeor Listof Nodes and returns the - result as a single Node instance. - -
selectSingleNode(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
selectSingleNode(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
serialVersionUID - -Static variable in class org.dom4j.io.SAXEventRecorder -
  -
set(int, Object) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
set(int, Object) - -Method in class org.dom4j.tree.BackedList -
  -
set(int, Object) - -Method in class org.dom4j.tree.ContentListFacade -
  -
setAction(Action) - -Method in class org.dom4j.rule.Rule -
Setter for property action. -
setAppearenceCount(int) - -Method in class org.dom4j.rule.Rule -
Setter for property appearenceCount. -
setAttribute(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
setAttributeList(List) - -Method in class org.dom4j.tree.BaseElement -
  -
setAttributeList(List) - -Method in class org.dom4j.tree.DefaultElement -
  -
setAttributeNS(String, String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
setAttributeName(String) - -Method in class org.dom4j.dtd.AttributeDecl -
Setter for property attributeName. -
setAttributeNode(Attr) - -Method in class org.dom4j.dom.DOMElement -
  -
setAttributeNodeNS(Attr) - -Method in class org.dom4j.dom.DOMElement -
  -
setAttributeQuoteCharacter(char) - -Method in class org.dom4j.io.OutputFormat -
Sets the character used to quote attribute values. -
setAttributeValue(String, String) - -Method in interface org.dom4j.Element -
Deprecated. As of version 0.5. Please use Element.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -
setAttributeValue(QName, String) - -Method in interface org.dom4j.Element -
Deprecated. As of version 0.5. Please use Element.addAttribute(QName,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -
setAttributeValue(String, String) - -Method in class org.dom4j.tree.AbstractElement -
Deprecated. As of version 0.5. Please use AbstractElement.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -
setAttributeValue(QName, String) - -Method in class org.dom4j.tree.AbstractElement -
Deprecated. As of version 0.5. Please use AbstractElement.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -
setAttributeXSDatatype(QName, XSDatatype) - -Method in class org.dom4j.datatype.DatatypeElementFactory -
Registers the given XSDatatype for the given - <attribute> QNames -
setAttributes(List) - -Method in interface org.dom4j.Element -
Sets the attributes that this element contains -
setAttributes(List) - -Method in class org.dom4j.bean.BeanElement -
  -
setAttributes(Attributes, NamespaceStack, boolean) - -Method in class org.dom4j.bean.BeanElement -
  -
setAttributes(Attributes, NamespaceStack, boolean) - -Method in class org.dom4j.tree.AbstractElement -
This method provides a more optimal way of setting all the attributes on - an Element particularly for use in SAXReader. -
setAttributes(List) - -Method in class org.dom4j.tree.BaseElement -
  -
setAttributes(List) - -Method in class org.dom4j.tree.DefaultElement -
  -
setChildElementXSDatatype(QName, XSDatatype) - -Method in class org.dom4j.datatype.DatatypeElementFactory -
  -
setColumnNameXPath(XPath) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Setter for property columnNameXPath. -
setConsumer(XMLEventConsumer) - -Method in class org.dom4j.io.STAXEventWriter -
Sets the underlying event consumer to which events are written. -
setContent(List) - -Method in interface org.dom4j.Branch -
Sets the contents of this branch as a List of - Node instances. -
setContent(List) - -Method in class org.dom4j.tree.BaseElement -
  -
setContent(List) - -Method in class org.dom4j.tree.DefaultDocument -
  -
setContent(List) - -Method in class org.dom4j.tree.DefaultElement -
  -
setContentHandler(ContentHandler) - -Method in class org.dom4j.io.SAXWriter -
Sets the ContentHandler called when SAX events are raised -
setDTDHandler(DTDHandler) - -Method in class org.dom4j.io.SAXWriter -
Sets the DTDHandler. -
setData(Object) - -Method in interface org.dom4j.Attribute -
- Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. - -
setData(Object) - -Method in interface org.dom4j.Element -
Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't -
setData(Object) - -Method in class org.dom4j.bean.BeanAttribute -
  -
setData(int, Object) - -Method in class org.dom4j.bean.BeanAttributeList -
  -
setData(Object) - -Method in class org.dom4j.bean.BeanElement -
  -
setData(int, Object, Object) - -Method in class org.dom4j.bean.BeanMetaData -
  -
setData(Object) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
setData(Object) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
setData(String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
setData(String) - -Method in class org.dom4j.dom.DOMComment -
  -
setData(CharacterData, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
setData(String) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
setData(String) - -Method in class org.dom4j.dom.DOMText -
  -
setData(Object) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
setData(Object) - -Method in class org.dom4j.tree.AbstractElement -
  -
setData(Object) - -Method in class org.dom4j.util.UserDataAttribute -
  -
setData(Object) - -Method in class org.dom4j.util.UserDataElement -
  -
setDeclareNamespaceAttributes(boolean) - -Method in class org.dom4j.io.SAXWriter -
Sets whether namespace declarations should be exported as "xmlns" - attributes or not. -
setDefaultHandler(ElementHandler) - -Method in class org.dom4j.io.SAXReader -
When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered. -
setDefaultHandler(ElementHandler) - -Method in class org.dom4j.io.XPP3Reader -
When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered. -
setDefaultHandler(ElementHandler) - -Method in class org.dom4j.io.XPPReader -
When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered. -
setDefinition(XMLTableDefinition) - -Method in class org.dom4j.swing.XMLTableModel -
Setter for property definition. -
setDispatchHandler(DispatchHandler) - -Method in class org.dom4j.io.SAXReader -
  -
setDispatchHandler(DispatchHandler) - -Method in class org.dom4j.io.XPP3Reader -
  -
setDispatchHandler(DispatchHandler) - -Method in class org.dom4j.io.XPPReader -
  -
setDocType(DocumentType) - -Method in interface org.dom4j.Document -
Sets the DocumentType property -
setDocType(DocumentType) - -Method in class org.dom4j.tree.DefaultDocument -
  -
setDocument(Document) - -Method in interface org.dom4j.Node -
- setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. - -
setDocument(Document) - -Method in class org.dom4j.io.DocumentSource -
Sets the document used as the JAXP SAXSource -
setDocument(Document) - -Method in class org.dom4j.swing.DocumentTreeModel -
Sets the Document instance that this - TreeModel is based on -
setDocument(Document) - -Method in class org.dom4j.tree.AbstractNode -
  -
setDocument(Document) - -Method in class org.dom4j.tree.BaseElement -
  -
setDocument(Document) - -Method in class org.dom4j.tree.DefaultElement -
  -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.QName -
  -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.io.DOMReader -
- This sets the DocumentFactory used to create new - documents. -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.io.SAXModifier -
Sets the DocumentFactoryused to create the DOM4J - document tree. -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.io.SAXReader -
- This sets the DocumentFactory used to create new - documents. -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.io.STAXEventReader -
Sets the DocumentFactory to be used when constructing DOM4J nodes. -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.io.XPP3Reader -
- This sets the DocumentFactory used to create new - documents. -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.io.XPPReader -
- This sets the DocumentFactory used to create new - documents. -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.tree.DefaultDocument -
  -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.tree.NamespaceStack -
  -
setDocumentFactory(DocumentFactory) - -Method in class org.dom4j.xpp.ProxyXmlStartTag -
  -
setDocumentLocator(Locator) - -Method in class org.dom4j.io.SAXContentHandler -
  -
setDocumentLocator(Locator) - -Method in class org.dom4j.io.XMLWriter -
  -
setDomDocumentClass(Class) - -Method in class org.dom4j.io.DOMWriter -
Sets the DOM Documentimplementation class used by - the writer when creating DOM documents. -
setDomDocumentClassName(String) - -Method in class org.dom4j.io.DOMWriter -
Sets the DOM Documentimplementation class name used - by the writer when creating DOM documents. -
setElementName(String) - -Method in interface org.dom4j.DocumentType -
This method is the equivalent to the Node.setName(java.lang.String)method. -
setElementName(String) - -Method in class org.dom4j.dtd.AttributeDecl -
Setter for property elementName. -
setElementName(String) - -Method in class org.dom4j.tree.DefaultDocumentType -
  -
setElementStack(ElementStack) - -Method in class org.dom4j.io.SAXContentHandler -
  -
setEncoding(String) - -Method in class org.dom4j.io.OutputFormat -
DOCUMENT ME! -
setEncoding(String) - -Method in class org.dom4j.io.SAXReader -
Sets encoding used for InputSource (null means system default encoding) -
setEntityResolver(EntityResolver) - -Method in interface org.dom4j.Document -
Sets the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents -
setEntityResolver(EntityResolver) - -Method in class org.dom4j.io.SAXContentHandler -
  -
setEntityResolver(EntityResolver) - -Method in class org.dom4j.io.SAXReader -
Sets the entity resolver used to resolve entities. -
setEntityResolver(EntityResolver) - -Method in class org.dom4j.io.SAXWriter -
Sets the EntityResolver. -
setEntityResolver(EntityResolver) - -Method in class org.dom4j.tree.DefaultDocument -
  -
setErrorHandler(ErrorHandler) - -Method in class org.dom4j.io.SAXReader -
Sets the ErrorHandler used by the SAX - XMLReader. -
setErrorHandler(ErrorHandler) - -Method in class org.dom4j.io.SAXValidator -
Sets the ErrorHandler used by the SAX - XMLReader. -
setErrorHandler(ErrorHandler) - -Method in class org.dom4j.io.SAXWriter -
Sets the ErrorHandler. -
setErrorQName(QName) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
setErrors(Element) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
setEscapeText(boolean) - -Method in class org.dom4j.io.XMLWriter -
Sets whether text output should be escaped or not. -
setEventFactory(XMLEventFactory) - -Method in class org.dom4j.io.STAXEventWriter -
Sets the event factory used to construct STAX events. -
setExpandEmptyElements(boolean) - -Method in class org.dom4j.io.OutputFormat -
- This will set whether empty elements are expanded from - <tagName> to - <tagName></tagName>. - -
setExternalDeclarations(List) - -Method in interface org.dom4j.DocumentType -
Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -
setExternalDeclarations(List) - -Method in class org.dom4j.tree.DefaultDocumentType -
  -
setFatalErrorQName(QName) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
setFeature(String, boolean) - -Method in class org.dom4j.io.SAXReader -
Sets a SAX feature on the underlying SAX parser. -
setFeature(String, boolean) - -Method in class org.dom4j.io.SAXWriter -
This implementation does actually use any features but just stores them - for later retrieval -
setFunctionContext(FunctionContext) - -Method in interface org.dom4j.XPath -
Sets the function context to be used when evaluating XPath expressions -
setFunctionContext(FunctionContext) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
setHandler(ContentHandler) - -Method in class org.dom4j.io.DocumentResult -
  -
setIgnoreComments(boolean) - -Method in class org.dom4j.io.SAXContentHandler -
Sets whether we should ignore comments or not. -
setIgnoreComments(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets whether we should ignore comments or not. -
setImportPrecedence(int) - -Method in class org.dom4j.rule.Rule -
Setter for property importPrecedence. -
setIncludeExternalDTDDeclarations(boolean) - -Method in class org.dom4j.io.SAXContentHandler -
Sets whether DTD external declarations should be expanded into the - DocumentType object or not. -
setIncludeExternalDTDDeclarations(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets whether DTD external declarations should be expanded into the - DocumentType object or not. -
setIncludeInternalDTDDeclarations(boolean) - -Method in class org.dom4j.io.SAXContentHandler -
Sets whether internal DTD declarations should be expanded into the - DocumentType object or not. -
setIncludeInternalDTDDeclarations(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets whether internal DTD declarations should be expanded into the - DocumentType object or not. -
setIndent(String) - -Method in class org.dom4j.io.OutputFormat -
- This will set the indent String to use; this is usually a - String of empty spaces. -
setIndent(boolean) - -Method in class org.dom4j.io.OutputFormat -
Set the indent on or off. -
setIndentLevel(int) - -Method in class org.dom4j.io.XMLWriter -
Set the initial indentation level. -
setIndentSize(int) - -Method in class org.dom4j.io.OutputFormat -
- This will set the indent String's size; an indentSize of - 4 would result in the indention being equivalent to the - String "    " (four space characters). - -
setInputSource(InputSource) - -Method in class org.dom4j.io.DocumentSource -
This method is not supported as this source is always a - instance. -
setInputSource(InputSource) - -Method in class org.dom4j.io.SAXContentHandler -
  -
setInternalDeclarations(List) - -Method in interface org.dom4j.DocumentType -
Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -
setInternalDeclarations(List) - -Method in class org.dom4j.tree.DefaultDocumentType -
  -
setLexicalHandler(LexicalHandler) - -Method in class org.dom4j.io.DocumentResult -
  -
setLexicalHandler(LexicalHandler) - -Method in class org.dom4j.io.SAXWriter -
Sets the LexicalHandler. -
setLexicalHandler(LexicalHandler) - -Method in class org.dom4j.io.XMLWriter -
  -
setLineSeparator(String) - -Method in class org.dom4j.io.OutputFormat -
- This will set the new-line separator. -
setMaximumAllowedCharacter(int) - -Method in class org.dom4j.io.XMLWriter -
Sets the maximum allowed character code that should be allowed unescaped - such as 127 in US-ASCII (7 bit) or 255 in ISO- (8 bit) or -1 to not - escape any characters (other than the special XML characters like < - > &) If this is not explicitly set then it is defaulted from the - encoding. -
setMergeAdjacentText(boolean) - -Method in class org.dom4j.io.SAXContentHandler -
Sets whether or not adjacent text nodes should be merged together when - parsing. -
setMergeAdjacentText(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets whether or not adjacent text nodes should be merged together when - parsing. -
setMode(String) - -Method in class org.dom4j.rule.Rule -
Setter for property mode. -
setModeName(String) - -Method in class org.dom4j.rule.Stylesheet -
Sets the name of the mode that the stylesheet uses by default. -
setModel(String) - -Method in class org.dom4j.dtd.ElementDecl -
Setter for property model. -
setNSContext(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
setName(String) - -Method in interface org.dom4j.Node -
- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. - -
setName(String) - -Method in class org.dom4j.dtd.ElementDecl -
Setter for property name. -
setName(String) - -Method in class org.dom4j.dtd.ExternalEntityDecl -
Setter for property name. -
setName(String) - -Method in class org.dom4j.dtd.InternalEntityDecl -
Setter for property name. -
setName(String) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Setter for property name. -
setName(String) - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
setName(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
setName(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
setName(String) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
setName(String) - -Method in class org.dom4j.tree.DefaultDocument -
  -
setName(String) - -Method in class org.dom4j.tree.DefaultEntity -
  -
setNamedItem(Node) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
setNamedItemNS(Node) - -Method in class org.dom4j.dom.DOMAttributeNodeMap -
  -
setNamespace(Namespace) - -Method in interface org.dom4j.Attribute -
- Sets the Namespace of this element or if this element is - read only then an UnsupportedOperationException is thrown. - -
setNamespace(Namespace) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
setNamespace(Namespace) - -Method in class org.dom4j.tree.AbstractElement -
  -
setNamespaceContext(NamespaceContext) - -Method in interface org.dom4j.XPath -
Sets the namespace context to be used when evaluating XPath expressions -
setNamespaceContext(NamespaceContext) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
setNamespaceURIs(Map) - -Method in interface org.dom4j.XPath -
- Sets the current NamespaceContext from a Map where the keys are the - String namespace prefixes and the values are the namespace URIs. - -
setNamespaceURIs(Map) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
setNewLineAfterDeclaration(boolean) - -Method in class org.dom4j.io.OutputFormat -
- This will set whether a new line is printed after the XML declaration - (assuming it is not supressed.) - -
setNewLineAfterNTags(int) - -Method in class org.dom4j.io.OutputFormat -
Controls output of a line.separator every tagCount tags when isNewlines - is false. -
setNewlines(boolean) - -Method in class org.dom4j.io.OutputFormat -
DOCUMENT ME! -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMAttribute -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMComment -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMElement -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMNamespace -
  -
setNodeValue(Node, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
setNodeValue(String) - -Method in class org.dom4j.dom.DOMText -
  -
setOmitElementCloseSet(Set) - -Method in class org.dom4j.io.HTMLWriter -
To use the empty set, pass an empty Set, or null: - - - - - setOmitElementCloseSet(new HashSet()); - or - setOmitElementCloseSet(null); - - - -
setOmitEncoding(boolean) - -Method in class org.dom4j.io.OutputFormat -
- This will set whether the XML declaration (<? -
setOutput(File) - -Method in class org.dom4j.jaxb.JAXBModifier -
Sets the Output to write the (modified) xml document to. -
setOutput(OutputStream) - -Method in class org.dom4j.jaxb.JAXBModifier -
Sets the Output to write the (modified) xml document to. -
setOutput(Writer) - -Method in class org.dom4j.jaxb.JAXBModifier -
Sets the Output to write the (modified) xml document to. -
setOutput(File) - -Method in class org.dom4j.jaxb.JAXBWriter -
Defines to write the resulting output to the specified File. -
setOutput(OutputStream) - -Method in class org.dom4j.jaxb.JAXBWriter -
Defines to write the resulting output to the specified OutputStream -
setOutput(Writer) - -Method in class org.dom4j.jaxb.JAXBWriter -
Defines to write the resulting output to the specified Writer. -
setOutputStream(OutputStream) - -Method in class org.dom4j.io.XMLWriter -
  -
setPadText(boolean) - -Method in class org.dom4j.io.OutputFormat -
- Ensure that text immediately preceded by or followed by an element will - be "padded" with a single space. -
setParent(Element) - -Method in interface org.dom4j.Node -
- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. - -
setParent(Element) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
setParent(LeafTreeNode) - -Method in class org.dom4j.swing.LeafTreeNode -
Sets the parent of this node but doesn't change the parents children -
setParent(Element) - -Method in class org.dom4j.tree.AbstractNode -
  -
setParent(Element) - -Method in class org.dom4j.tree.BaseElement -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultAttribute -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultCDATA -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultComment -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultElement -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultEntity -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultNamespace -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
setParent(Element) - -Method in class org.dom4j.tree.DefaultText -
  -
setPattern(Pattern) - -Method in class org.dom4j.rule.Rule -
Setter for property pattern. -
setPrefix(String) - -Method in class org.dom4j.dom.DOMAttribute -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMComment -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMDocument -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMElement -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMNamespace -
  -
setPrefix(Node, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
setPrefix(String) - -Method in class org.dom4j.dom.DOMText -
  -
setPreformattedTags(Set) - -Method in class org.dom4j.io.HTMLWriter -
- Override the default set, which includes PRE, SCRIPT, STYLE, and - TEXTAREA, case insensitively. - -
setPriority(double) - -Method in class org.dom4j.rule.Rule -
Setter for property priority. -
setProcessingInstructions(List) - -Method in interface org.dom4j.Branch -
Sets all the processing instructions for this branch -
setProcessingInstructions(List) - -Method in class org.dom4j.tree.AbstractBranch -
  -
setProperty(String, Object) - -Method in class org.dom4j.io.SAXReader -
Allows a SAX property to be set on the underlying SAX parser. -
setProperty(String, Object) - -Method in class org.dom4j.io.SAXWriter -
Sets the given SAX property -
setProperty(String, Object) - -Method in class org.dom4j.io.XMLWriter -
  -
setProxy(DocumentFactory) - -Method in class org.dom4j.util.ProxyDocumentFactory -
  -
setPruneElements(boolean) - -Method in class org.dom4j.jaxb.JAXBModifier -
Define whether the modified Documentmust only be - written to the output and pruned from the DOM4J tree. -
setPruneElements(boolean) - -Method in class org.dom4j.jaxb.JAXBReader -
Set to true when DOM4J elements must immediately be pruned from the tree. - -
setPublicID(String) - -Method in interface org.dom4j.DocumentType -
  -
setPublicID(String) - -Method in class org.dom4j.dtd.ExternalEntityDecl -
Setter for property publicID. -
setPublicID(String) - -Method in class org.dom4j.tree.DefaultDocumentType -
Sets the public ID of the document type -
setQName(QName) - -Method in interface org.dom4j.Element -
- Sets the QName of this element which represents the local - name, the qualified name and the Namespace. - -
setQName(QName) - -Method in class org.dom4j.tree.BaseElement -
  -
setQName(QName) - -Method in class org.dom4j.tree.DefaultElement -
  -
setResolveEntityRefs(boolean) - -Method in class org.dom4j.io.XMLWriter -
  -
setRootElement(Element) - -Method in interface org.dom4j.Document -
Sets the root element for this document -
setRootElement(Element) - -Method in class org.dom4j.tree.AbstractDocument -
  -
setRowExpression(String) - -Method in class org.dom4j.swing.XMLTableDefinition -
  -
setRowXPath(XPath) - -Method in class org.dom4j.swing.XMLTableDefinition -
Setter for property rowXPath. -
setSingletonClassName(String) - -Method in class org.dom4j.util.PerThreadSingleton -
  -
setSingletonClassName(String) - -Method in class org.dom4j.util.SimpleSingleton -
  -
setSingletonClassName(String) - -Method in interface org.dom4j.util.SingletonStrategy -
set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface. -
setSource(Object) - -Method in class org.dom4j.swing.XMLTableModel -
Setter for the XML source, which is usually a Node or List of nodes. -
setStringInternEnabled(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets whether String interning is enabled or disabled for element & - attribute names and namespace URIs -
setStripWhitespaceText(boolean) - -Method in class org.dom4j.io.SAXContentHandler -
Sets whether whitespace between element start and end tags should be - ignored. -
setStripWhitespaceText(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets whether whitespace between element start and end tags should be - ignored. -
setSuppressDeclaration(boolean) - -Method in class org.dom4j.io.OutputFormat -
- This will set whether the XML declaration (<? -
setSystemID(String) - -Method in interface org.dom4j.DocumentType -
  -
setSystemID(String) - -Method in class org.dom4j.dtd.ExternalEntityDecl -
Setter for property systemID. -
setSystemID(String) - -Method in class org.dom4j.tree.DefaultDocumentType -
Sets the system ID of the document type -
setTarget(String) - -Method in interface org.dom4j.ProcessingInstruction -
This method is the equivalent to the Node.setName(java.lang.String)method. -
setTarget(String) - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
setTarget(String) - -Method in class org.dom4j.tree.FlyweightProcessingInstruction -
  -
setText(String) - -Method in interface org.dom4j.Node -
- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. - -
setText(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
setText(String) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
setText(String) - -Method in class org.dom4j.tree.AbstractElement -
  -
setText(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
setText(String) - -Method in class org.dom4j.tree.DefaultCDATA -
  -
setText(String) - -Method in class org.dom4j.tree.DefaultComment -
  -
setText(String) - -Method in class org.dom4j.tree.DefaultEntity -
  -
setText(String) - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
setText(String) - -Method in class org.dom4j.tree.DefaultText -
  -
setText(String) - -Method in class org.dom4j.tree.FlyweightEntity -
sets the value of the entity if it is not defined yet otherwise an - UnsupportedOperationException is thrown as this class is - read only. -
setTrimText(boolean) - -Method in class org.dom4j.io.OutputFormat -
- This will set whether the text is output verbatim (false) or with - whitespace stripped as per Element.getTextTrim(). - -
setType(String) - -Method in class org.dom4j.dtd.AttributeDecl -
Setter for property type. -
setType(int) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Setter for property type. -
setValidation(boolean) - -Method in class org.dom4j.io.SAXReader -
Sets the validation mode. -
setValue(String) - -Method in interface org.dom4j.Attribute -
- Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. - -
setValue(String, String) - -Method in interface org.dom4j.ProcessingInstruction -
  -
setValue(String) - -Method in class org.dom4j.bean.BeanAttribute -
  -
setValue(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
setValue(String) - -Method in class org.dom4j.dtd.AttributeDecl -
Setter for property value. -
setValue(String) - -Method in class org.dom4j.dtd.InternalEntityDecl -
Setter for property value. -
setValue(String) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
setValue(String, String) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
setValue(Object) - -Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
Set the value of this entry. -
setValue(String) - -Method in class org.dom4j.tree.DefaultAttribute -
  -
setValue(String, String) - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
setValueDefault(String) - -Method in class org.dom4j.dtd.AttributeDecl -
Setter for property valueDefault. -
setValueOfAction(Action) - -Method in class org.dom4j.rule.RuleManager -
Sets the default value-of action which is used in the default rules for - the pattern "text()|@" -
setValueOfAction(Action) - -Method in class org.dom4j.rule.Stylesheet -
Sets the default value-of action which is used in the default rules for - the pattern "text()|@" -
setValues(Map) - -Method in interface org.dom4j.ProcessingInstruction -
  -
setValues(Map) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
setValues(Map) - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
setVariableContext(VariableContext) - -Method in interface org.dom4j.XPath -
Sets the variable context to be used when evaluating XPath expressions -
setVariableContext(VariableContext) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
setVariableContext(VariableContext) - -Method in class org.dom4j.xpath.XPathPattern -
  -
setWarningQName(QName) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
setWriter(Writer) - -Method in class org.dom4j.io.XMLWriter -
  -
setXHTML(boolean) - -Method in class org.dom4j.io.OutputFormat -
- This will set whether or not to use the XHTML standard: like HTML but - passes an XML parser with real, closed tags. -
setXMLEncoding(String) - -Method in interface org.dom4j.Document -
Sets the encoding of this document as it will appear in the XML - declaration part of the document. -
setXMLEncoding(String) - -Method in class org.dom4j.tree.AbstractDocument -
  -
setXMLFilter(XMLFilter) - -Method in class org.dom4j.io.SAXReader -
Sets the SAX filter to be used when filtering SAX events -
setXMLReader(XMLReader) - -Method in class org.dom4j.io.DocumentSource -
Sets the XMLReader used for the JAXP SAXSource. -
setXMLReader(XMLReader) - -Method in class org.dom4j.io.SAXReader -
Sets the XMLReader used to parse SAX events -
setXMLReader(XMLReader) - -Method in class org.dom4j.io.SAXValidator -
Sets the XMLReader used to parse SAX events -
setXMLReader(XMLReader) - -Method in class org.dom4j.io.SAXWriter -
Sets the XMLReader used to write SAX events to -
setXMLReaderClassName(String) - -Method in class org.dom4j.io.SAXReader -
Sets the class name of the XMLReader to be used to parse - SAX events. -
setXMLWriter(XMLWriter) - -Method in class org.dom4j.io.SAXModifier -
Sets the XMLWriterused to write the modified document. -
setXMLWriter(XMLWriter) - -Method in class org.dom4j.io.XMLResult -
  -
setXPPFactory(XmlPullParserFactory) - -Method in class org.dom4j.io.XPP3Reader -
  -
setXPPFactory(XmlPullParserFactory) - -Method in class org.dom4j.io.XPPReader -
  -
setXPath(XPath) - -Method in class org.dom4j.swing.XMLTableColumnDefinition -
Setter for property xpath. -
setXPathNamespaceURIs(Map) - -Method in class org.dom4j.DocumentFactory -
Sets the namespace URIs to be used by XPath expressions created by this - factory or by nodes associated with this factory. -
shouldEncodeChar(char) - -Method in class org.dom4j.io.XMLWriter -
Should the given character be escaped. -
singleton - -Static variable in class org.dom4j.datatype.DatatypeDocumentFactory -
The Singleton instance -
singleton - -Static variable in class org.dom4j.util.IndexedDocumentFactory -
The Singleton instance -
singleton - -Static variable in class org.dom4j.util.NonLazyDocumentFactory -
The Singleton instance -
singleton - -Static variable in class org.dom4j.util.UserDataDocumentFactory -
The Singleton instance -
size() - -Method in interface org.dom4j.ElementPath -
DOCUMENT ME! -
size() - -Method in class org.dom4j.bean.BeanAttributeList -
  -
size() - -Method in class org.dom4j.tree.ContentListFacade -
  -
size() - -Method in class org.dom4j.tree.NamespaceStack -
DOCUMENT ME! -
sort(List, String) - -Static method in class org.dom4j.DocumentHelper -
- sort sorts the given List of Nodes using an XPath - expression as a Comparator. - -
sort(List, String, boolean) - -Static method in class org.dom4j.DocumentHelper -
- sort sorts the given List of Nodes using an XPath - expression as a Comparatorand optionally removing - duplicates. - -
sort(List) - -Method in interface org.dom4j.XPath -
- sort sorts the given List of Nodes using this XPath - expression as a Comparator. - -
sort(List, boolean) - -Method in interface org.dom4j.XPath -
- sort sorts the given List of Nodes using this XPath - expression as a Comparatorand optionally removing - duplicates. - -
sort(List) - -Method in class org.dom4j.xpath.DefaultXPath -
- sort sorts the given List of Nodes using this XPath - expression as a Comparator. - -
sort(List, boolean) - -Method in class org.dom4j.xpath.DefaultXPath -
- sort sorts the given List of Nodes using this XPath - expression as a Comparatorand optionally removing duplicates. - -
sort(List, Map) - -Method in class org.dom4j.xpath.DefaultXPath -
Sorts the list based on the sortValues for each node -
splitText(int) - -Method in class org.dom4j.dom.DOMCDATA -
  -
splitText(int) - -Method in class org.dom4j.dom.DOMText -
  -
startCDATA() - -Method in class org.dom4j.io.HTMLWriter -
  -
startCDATA() - -Method in class org.dom4j.io.SAXContentHandler -
  -
startCDATA() - -Method in class org.dom4j.io.SAXEventRecorder -
  -
startCDATA() - -Method in class org.dom4j.io.XMLWriter -
  -
startDTD(String, String, String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
startDTD(String, String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
startDTD(String, String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
startDocument() - -Method in class org.dom4j.io.SAXContentHandler -
  -
startDocument() - -Method in class org.dom4j.io.SAXEventRecorder -
  -
startDocument() - -Method in class org.dom4j.io.SAXWriter -
  -
startDocument() - -Method in class org.dom4j.io.XMLWriter -
  -
startDocument() - -Method in class org.dom4j.jaxb.JAXBWriter -
Start a document by writing the initial XML declaration to the output. - -
startElement(String, String, String, Attributes) - -Method in class org.dom4j.io.SAXContentHandler -
  -
startElement(String, String, String, Attributes) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
startElement(Element, AttributesImpl) - -Method in class org.dom4j.io.SAXWriter -
  -
startElement(String, String, String, Attributes) - -Method in class org.dom4j.io.XMLWriter -
  -
startEntity(String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
startEntity(String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
startEntity(String) - -Method in class org.dom4j.io.XMLWriter -
  -
startPrefixMapping(String, String) - -Method in class org.dom4j.io.SAXContentHandler -
  -
startPrefixMapping(String, String) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
startPrefixMapping(Element, NamespaceStack) - -Method in class org.dom4j.io.SAXWriter -
Fires a SAX startPrefixMapping event for all the namespaceStack which - have just come into scope -
startPrefixMapping(String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
substringData(int, int) - -Method in class org.dom4j.dom.DOMCDATA -
  -
substringData(int, int) - -Method in class org.dom4j.dom.DOMComment -
  -
substringData(CharacterData, int, int) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
substringData(int, int) - -Method in class org.dom4j.dom.DOMText -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMAttribute -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMCDATA -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMComment -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMDocument -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMDocumentType -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMElement -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMEntityReference -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMNamespace -
  -
supports(Node, String, String) - -Static method in class org.dom4j.dom.DOMNodeHelper -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMProcessingInstruction -
  -
supports(String, String) - -Method in class org.dom4j.dom.DOMText -
  -
supportsParent() - -Method in interface org.dom4j.Node -
- supportsParent returns true if this node supports the - parent relationship. - -
supportsParent() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
supportsParent() - -Method in class org.dom4j.tree.AbstractNode -
  -
supportsParent() - -Method in class org.dom4j.tree.BaseElement -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultAttribute -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultCDATA -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultComment -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultElement -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultEntity -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultNamespace -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultProcessingInstruction -
  -
supportsParent() - -Method in class org.dom4j.tree.DefaultText -
  -
-
-

-T

-
-
TEXT_NODE - -Static variable in interface org.dom4j.Node -
Matches elements nodes -
Text - interface org.dom4j.Text.
- Text defines an XML Text node. -
target - -Variable in class org.dom4j.tree.FlyweightProcessingInstruction -
The target of the PI -
text - -Variable in class org.dom4j.tree.FlyweightCDATA -
Text of the CDATA node -
text - -Variable in class org.dom4j.tree.FlyweightComment -
Text of the Comment node -
text - -Variable in class org.dom4j.tree.FlyweightEntity -
The text of the Entity -
text - -Variable in class org.dom4j.tree.FlyweightProcessingInstruction -
The values for the PI as a String -
text - -Variable in class org.dom4j.tree.FlyweightText -
Text of the Text node -
toArray() - -Method in class org.dom4j.tree.ContentListFacade -
  -
toArray(Object[]) - -Method in class org.dom4j.tree.ContentListFacade -
  -
toString() - -Method in class org.dom4j.Namespace -
  -
toString() - -Method in class org.dom4j.QName -
  -
toString() - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
toString() - -Method in class org.dom4j.datatype.DatatypeElement -
  -
toString() - -Method in class org.dom4j.dtd.AttributeDecl -
  -
toString() - -Method in class org.dom4j.dtd.ElementDecl -
  -
toString() - -Method in class org.dom4j.dtd.ExternalEntityDecl -
  -
toString() - -Method in class org.dom4j.dtd.InternalEntityDecl -
  -
toString() - -Method in class org.dom4j.rule.Rule -
  -
toString() - -Method in class org.dom4j.rule.RuleSet -
  -
toString() - -Method in class org.dom4j.swing.BranchTreeNode -
  -
toString() - -Method in class org.dom4j.swing.LeafTreeNode -
  -
toString() - -Method in class org.dom4j.tree.AbstractAttribute -
  -
toString() - -Method in class org.dom4j.tree.AbstractCDATA -
  -
toString() - -Method in class org.dom4j.tree.AbstractComment -
  -
toString() - -Method in class org.dom4j.tree.AbstractDocument -
  -
toString() - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
toString() - -Method in class org.dom4j.tree.AbstractElement -
  -
toString() - -Method in class org.dom4j.tree.AbstractEntity -
  -
toString() - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
toString(Map) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
- This will convert the Map to a string representation. - -
toString() - -Method in class org.dom4j.tree.AbstractText -
  -
toString() - -Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
toString() - -Method in class org.dom4j.tree.NamespaceStack -
  -
toString() - -Method in class org.dom4j.util.UserDataElement -
  -
toString() - -Method in class org.dom4j.xpath.DefaultXPath -
  -
toString() - -Method in class org.dom4j.xpath.XPathPattern -
  -
translateNamespacePrefixToUri(String) - -Method in class org.dom4j.xpath.DefaultNamespaceContext -
  -
-
-

-U

-
-
UNKNOWN_NODE - -Static variable in interface org.dom4j.Node -
Does not match any valid node -
USE_STRINGVALUE_SEPARATOR - -Static variable in class org.dom4j.tree.AbstractElement -
  -
UserDataAttribute - class org.dom4j.util.UserDataAttribute.
- UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
UserDataAttribute(QName) - -Constructor for class org.dom4j.util.UserDataAttribute -
  -
UserDataAttribute(QName, String) - -Constructor for class org.dom4j.util.UserDataAttribute -
  -
UserDataDocumentFactory - class org.dom4j.util.UserDataDocumentFactory.
- UserDataDocumentFactory is a factory of XML objects which - support the adornment of a user data object on an Element or Attribute - instance such that the methods getData() and - setData() will get and set the values of a user data object. -
UserDataDocumentFactory() - -Constructor for class org.dom4j.util.UserDataDocumentFactory -
  -
UserDataElement - class org.dom4j.util.UserDataElement.
- UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
UserDataElement(String) - -Constructor for class org.dom4j.util.UserDataElement -
  -
UserDataElement(QName) - -Constructor for class org.dom4j.util.UserDataElement -
  -
unparsedEntityDecl(String, String, String, String) - -Method in class org.dom4j.io.SAXContentHandler -
Receive notification of an unparsed entity declaration event. - - -
unparsedEntityDecl(String, String, String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
uriPrefix - -Variable in class org.dom4j.io.SAXReader.SAXEntityResolver -
  -
-
-

-V

-
-
VERBOSE_TOSTRING - -Static variable in class org.dom4j.tree.AbstractElement -
  -
Visitor - interface org.dom4j.Visitor.
- Visitor is used to implement the Visitor - pattern in DOM4J.
VisitorSupport - class org.dom4j.VisitorSupport.
- VisitorSupport is an abstract base class which is useful for - implementation inheritence or when using anonymous inner classes to create - simple Visitor implementations. -
VisitorSupport() - -Constructor for class org.dom4j.VisitorSupport -
  -
validate(String) - -Method in class org.dom4j.datatype.DatatypeAttribute -
  -
validate(String) - -Method in class org.dom4j.datatype.DatatypeElement -
  -
validate(Document) - -Method in class org.dom4j.io.SAXValidator -
Validates the given Document by writing it to a validating - SAX Parser. -
value - -Variable in class org.dom4j.tree.ConcurrentReaderHashMap.Entry -
  -
value - -Variable in class org.dom4j.tree.FlyweightAttribute -
The value of the Attribute -
valueOf(String) - -Method in interface org.dom4j.Node -
- valueOf evaluates an XPath expression and returns the - textual representation of the results the XPath string-value of this - node. -
valueOf(Object) - -Method in interface org.dom4j.XPath -
- valueOf evaluates this XPath expression and returns the - textual representation of the results using the XPath string() function. - -
valueOf(String) - -Method in class org.dom4j.tree.AbstractNode -
  -
valueOf(Object) - -Method in class org.dom4j.xpath.DefaultXPath -
  -
values - -Variable in class org.dom4j.tree.FlyweightProcessingInstruction -
The values for the PI in name/value pairs -
visit(Document) - -Method in interface org.dom4j.Visitor -
- Visits the given Document - -
visit(DocumentType) - -Method in interface org.dom4j.Visitor -
- Visits the given DocumentType - -
visit(Element) - -Method in interface org.dom4j.Visitor -
- Visits the given Element - -
visit(Attribute) - -Method in interface org.dom4j.Visitor -
- Visits the given Attribute - -
visit(CDATA) - -Method in interface org.dom4j.Visitor -
- Visits the given CDATA - -
visit(Comment) - -Method in interface org.dom4j.Visitor -
- Visits the given Comment - -
visit(Entity) - -Method in interface org.dom4j.Visitor -
- Visits the given Entity - -
visit(Namespace) - -Method in interface org.dom4j.Visitor -
- Visits the given Namespace - -
visit(ProcessingInstruction) - -Method in interface org.dom4j.Visitor -
- Visits the given ProcessingInstruction - -
visit(Text) - -Method in interface org.dom4j.Visitor -
- Visits the given Text - -
visit(Document) - -Method in class org.dom4j.VisitorSupport -
  -
visit(DocumentType) - -Method in class org.dom4j.VisitorSupport -
  -
visit(Element) - -Method in class org.dom4j.VisitorSupport -
  -
visit(Attribute) - -Method in class org.dom4j.VisitorSupport -
  -
visit(CDATA) - -Method in class org.dom4j.VisitorSupport -
  -
visit(Comment) - -Method in class org.dom4j.VisitorSupport -
  -
visit(Entity) - -Method in class org.dom4j.VisitorSupport -
  -
visit(Namespace) - -Method in class org.dom4j.VisitorSupport -
  -
visit(ProcessingInstruction) - -Method in class org.dom4j.VisitorSupport -
  -
visit(Text) - -Method in class org.dom4j.VisitorSupport -
  -
-
-

-W

-
-
WARNING_QNAME - -Static variable in class org.dom4j.util.XMLErrorHandler -
  -
warning(SAXParseException) - -Method in class org.dom4j.io.SAXContentHandler -
This method is called when a warning occurs during the parsing of the - document. -
warning(SAXParseException) - -Method in class org.dom4j.util.XMLErrorHandler -
  -
write(Writer) - -Method in interface org.dom4j.Node -
- write writes this node as the default XML notation for - this node. -
write(Document) - -Method in class org.dom4j.io.DOMWriter -
  -
write(Document, DOMImplementation) - -Method in class org.dom4j.io.DOMWriter -
  -
write(Node) - -Method in class org.dom4j.io.SAXWriter -
A polymorphic method to write any Node to this SAX stream -
write(Document) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given Document and all its content -
write(Element) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given Element and all its content -
write(String) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given text -
write(CDATA) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given CDATA -
write(Comment) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given Comment -
write(Entity) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given Entity -
write(ProcessingInstruction) - -Method in class org.dom4j.io.SAXWriter -
Generates SAX events for the given ProcessingInstruction -
write(Element, NamespaceStack) - -Method in class org.dom4j.io.SAXWriter -
  -
write(Attribute) - -Method in class org.dom4j.io.XMLWriter -
Writes the given Attribute. -
write(Document) - -Method in class org.dom4j.io.XMLWriter -
- This will print the Document to the current Writer. - -
write(Element) - -Method in class org.dom4j.io.XMLWriter -
- Writes the Element, including its Attribute - s, and its value, and all its content (child nodes) to the current - Writer. - -
write(CDATA) - -Method in class org.dom4j.io.XMLWriter -
Writes the given CDATA. -
write(Comment) - -Method in class org.dom4j.io.XMLWriter -
Writes the given Comment. -
write(DocumentType) - -Method in class org.dom4j.io.XMLWriter -
Writes the given DocumentType. -
write(Entity) - -Method in class org.dom4j.io.XMLWriter -
Writes the given Entity. -
write(Namespace) - -Method in class org.dom4j.io.XMLWriter -
Writes the given Namespace. -
write(ProcessingInstruction) - -Method in class org.dom4j.io.XMLWriter -
Writes the given ProcessingInstruction. -
write(String) - -Method in class org.dom4j.io.XMLWriter -
- Print out a String, Perfoms the necessary entity escaping and - whitespace stripping. - -
write(Text) - -Method in class org.dom4j.io.XMLWriter -
Writes the given Text. -
write(Node) - -Method in class org.dom4j.io.XMLWriter -
Writes the given Node. -
write(Object) - -Method in class org.dom4j.io.XMLWriter -
Writes the given object which should be a String, a Node or a List of - Nodes. -
write(Element) - -Method in class org.dom4j.jaxb.JAXBWriter -
Writes the specified Elementto the document. - -
write(Writer) - -Method in class org.dom4j.tree.AbstractAttribute -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractCDATA -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractComment -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractDocument -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractDocumentType -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractElement -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractEntity -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractNode -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractProcessingInstruction -
  -
write(Writer) - -Method in class org.dom4j.tree.AbstractText -
  -
writeAttribute(Attribute) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Attributeto the stream. -
writeAttribute(Attribute) - -Method in class org.dom4j.io.XMLWriter -
  -
writeAttribute(Attributes, int) - -Method in class org.dom4j.io.XMLWriter -
  -
writeAttributes(Element) - -Method in class org.dom4j.io.XMLWriter -
Writes the attributes of the given element -
writeAttributes(Attributes) - -Method in class org.dom4j.io.XMLWriter -
  -
writeCDATA(String) - -Method in class org.dom4j.io.HTMLWriter -
  -
writeCDATA(CDATA) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J CDATAto the event stream. -
writeCDATA(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeChildNodes(Branch) - -Method in class org.dom4j.io.STAXEventWriter -
Writes each child node within the provided Branchinstance. -
writeClose(String) - -Method in class org.dom4j.io.HTMLWriter -
Overriden method to not close certain element names to avoid wierd - behaviour from browsers for versions up to 5.x -
writeClose(Element) - -Method in class org.dom4j.io.SAXWriter -
- Writes the closing tag of an Element - -
writeClose(Element) - -Method in class org.dom4j.io.XMLWriter -
- Writes the closing tag of an Element - -
writeClose(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeClose(Element) - -Method in class org.dom4j.jaxb.JAXBWriter -
Writes the closing tag of the specified Elementto - the document. -
writeCloseElement(Element) - -Method in class org.dom4j.jaxb.JAXBWriter -
Writes the closing tag of the specified Elementto the - document. -
writeComment(Comment) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Commentto the stream. -
writeComment(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeContent(Branch, NamespaceStack) - -Method in class org.dom4j.io.SAXWriter -
  -
writeDeclaration() - -Method in class org.dom4j.io.HTMLWriter -
  -
writeDeclaration() - -Method in class org.dom4j.io.XMLWriter -
- This will write the declaration to the given Writer. -
writeDocType(DocumentType) - -Method in class org.dom4j.io.XMLWriter -
  -
writeDocType(String, String, String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeDocument(Document) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Documentnode, and all its contents, to the - stream. -
writeDocumentType(DocumentType) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J DocumentTypeto the stream. -
writeElement(Element) - -Method in class org.dom4j.io.HTMLWriter -
This override handles any elements that should not remove whitespace, - such as <PRE>, <SCRIPT>, <STYLE>, and <TEXTAREA>. - -
writeElement(Element) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Elementnode and its children to the stream. -
writeElement(Element) - -Method in class org.dom4j.io.XMLWriter -
  -
writeElement(Element) - -Method in class org.dom4j.jaxb.JAXBWriter -
Writes the specified Elementto the document. -
writeElementContent(Element) - -Method in class org.dom4j.io.XMLWriter -
Outputs the content of the given element. -
writeEmptyElementClose(String) - -Method in class org.dom4j.io.HTMLWriter -
  -
writeEmptyElementClose(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeEntity(Entity) - -Method in class org.dom4j.io.HTMLWriter -
  -
writeEntity(Entity) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Entityto the stream. -
writeEntity(Entity) - -Method in class org.dom4j.io.XMLWriter -
  -
writeEntityRef(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeEscapeAttributeEntities(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeExternal(ObjectOutput) - -Method in class org.dom4j.io.SAXEventRecorder -
  -
writeNamespace(Element, Namespace) - -Method in class org.dom4j.io.DOMWriter -
  -
writeNamespace(Namespace) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Namespaceto the stream. -
writeNamespace(Namespace) - -Method in class org.dom4j.io.XMLWriter -
  -
writeNamespace(String, String) - -Method in class org.dom4j.io.XMLWriter -
Writes the SAX namepsaces -
writeNamespaces() - -Method in class org.dom4j.io.XMLWriter -
Writes the SAX namepsaces -
writeNode(Node) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Nodeto the stream. -
writeNode(Node) - -Method in class org.dom4j.io.XMLWriter -
  -
writeNodeText(Node) - -Method in class org.dom4j.io.XMLWriter -
This method is used to write out Nodes that contain text and still allow - for xml:space to be handled properly. -
writeOpen(Element) - -Method in class org.dom4j.io.SAXWriter -
- Writes the opening tag of an Element, including its Attributes but without its content. - -
writeOpen(Element) - -Method in class org.dom4j.io.XMLWriter -
- Writes the opening tag of an Element, including its Attributes but without its content. - -
writeOpen(Element) - -Method in class org.dom4j.jaxb.JAXBWriter -
Writes the opening tag of the specified Elementto - the document. -
writeOpenElement(Element) - -Method in class org.dom4j.jaxb.JAXBWriter -
Writes the opening tag of the specified Elementto the - document. -
writePrintln() - -Method in class org.dom4j.io.XMLWriter -
- This will print a new line only if the newlines flag was set to true - -
writeProcessingInstruction(ProcessingInstruction) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J ProcessingInstructionto the stream. -
writeProcessingInstruction(ProcessingInstruction) - -Method in class org.dom4j.io.XMLWriter -
  -
writeString(String) - -Method in class org.dom4j.io.HTMLWriter -
  -
writeString(String) - -Method in class org.dom4j.io.XMLWriter -
  -
writeText(Text) - -Method in class org.dom4j.io.STAXEventWriter -
Writes a DOM4J Textto the stream. -
writer - -Variable in class org.dom4j.io.XMLWriter -
The Writer used to output to -
-
-

-X

-
-
XMLErrorHandler - class org.dom4j.util.XMLErrorHandler.
XMLErrorHandler is a SAX ErrorHandlerwhich turns the - SAX parsing errors into XML so that the output can be formatted using XSLT or - the errors can be included in a SOAP message.
XMLErrorHandler() - -Constructor for class org.dom4j.util.XMLErrorHandler -
  -
XMLErrorHandler(Element) - -Constructor for class org.dom4j.util.XMLErrorHandler -
  -
XMLResult - class org.dom4j.io.XMLResult.
- XMLResult implements a JAXP SAXResultfor an output - stream with support for pretty printing and control over how the XML is - formatted. -
XMLResult() - -Constructor for class org.dom4j.io.XMLResult -
  -
XMLResult(Writer) - -Constructor for class org.dom4j.io.XMLResult -
  -
XMLResult(Writer, OutputFormat) - -Constructor for class org.dom4j.io.XMLResult -
  -
XMLResult(OutputStream) - -Constructor for class org.dom4j.io.XMLResult -
  -
XMLResult(OutputStream, OutputFormat) - -Constructor for class org.dom4j.io.XMLResult -
  -
XMLResult(XMLWriter) - -Constructor for class org.dom4j.io.XMLResult -
  -
XMLTableColumnDefinition - class org.dom4j.swing.XMLTableColumnDefinition.
- XMLTableColumnDefinition a column within a table definition. -
XMLTableColumnDefinition() - -Constructor for class org.dom4j.swing.XMLTableColumnDefinition -
  -
XMLTableColumnDefinition(String, String, int) - -Constructor for class org.dom4j.swing.XMLTableColumnDefinition -
  -
XMLTableColumnDefinition(String, XPath, int) - -Constructor for class org.dom4j.swing.XMLTableColumnDefinition -
  -
XMLTableColumnDefinition(XPath, XPath, int) - -Constructor for class org.dom4j.swing.XMLTableColumnDefinition -
  -
XMLTableDefinition - class org.dom4j.swing.XMLTableDefinition.
- XMLTableDefinition represents a table definition based on - XPath expression evaluated on an XML document. -
XMLTableDefinition() - -Constructor for class org.dom4j.swing.XMLTableDefinition -
  -
XMLTableModel - class org.dom4j.swing.XMLTableModel.
- XMLTableDefinition repro. -
XMLTableModel(Element, Object) - -Constructor for class org.dom4j.swing.XMLTableModel -
Creates a TableModel from an XML table definition document and an XML - source -
XMLTableModel(Document, Object) - -Constructor for class org.dom4j.swing.XMLTableModel -
Creates a TableModel from an XML table definition document and an XML - source -
XMLTableModel(XMLTableDefinition, Object) - -Constructor for class org.dom4j.swing.XMLTableModel -
  -
XMLWriter - class org.dom4j.io.XMLWriter.
- XMLWriter takes a DOM4J tree and formats it to a stream as - XML.
XMLWriter(Writer) - -Constructor for class org.dom4j.io.XMLWriter -
  -
XMLWriter(Writer, OutputFormat) - -Constructor for class org.dom4j.io.XMLWriter -
  -
XMLWriter() - -Constructor for class org.dom4j.io.XMLWriter -
  -
XMLWriter(OutputStream) - -Constructor for class org.dom4j.io.XMLWriter -
  -
XMLWriter(OutputStream, OutputFormat) - -Constructor for class org.dom4j.io.XMLWriter -
  -
XMLWriter(OutputFormat) - -Constructor for class org.dom4j.io.XMLWriter -
  -
XML_NAMESPACE - -Static variable in class org.dom4j.Namespace -
XML Namespace -
XPP3Reader - class org.dom4j.io.XPP3Reader.
- XPP3Reader is a Reader of DOM4J documents that uses the fast - XML Pull Parser 3.x . -
XPP3Reader() - -Constructor for class org.dom4j.io.XPP3Reader -
  -
XPP3Reader(DocumentFactory) - -Constructor for class org.dom4j.io.XPP3Reader -
  -
XPPReader - class org.dom4j.io.XPPReader.
- XPPReader is a Reader of DOM4J documents that uses the fast XML Pull Parser 2.x .
XPPReader() - -Constructor for class org.dom4j.io.XPPReader -
  -
XPPReader(DocumentFactory) - -Constructor for class org.dom4j.io.XPPReader -
  -
XPath - interface org.dom4j.XPath.
- XPath represents an XPath expression after it has been parsed - from a String. -
XPathException - exception org.dom4j.XPathException.
- XPathException is thrown when an exception occurs while - evaluating an XPath expression, usually due to some function throwing an - exception. -
XPathException(String) - -Constructor for class org.dom4j.XPathException -
  -
XPathException(String, String) - -Constructor for class org.dom4j.XPathException -
  -
XPathException(String, Exception) - -Constructor for class org.dom4j.XPathException -
  -
XPathPattern - class org.dom4j.xpath.XPathPattern.
- XPathPattern is an implementation of Pattern which uses an - XPath xpath. -
XPathPattern(Pattern) - -Constructor for class org.dom4j.xpath.XPathPattern -
  -
XPathPattern(String) - -Constructor for class org.dom4j.xpath.XPathPattern -
  -
xmlNode - -Variable in class org.dom4j.swing.LeafTreeNode -
The dom4j Node which contains the -
-
-A B C D E F G H I J K L M N O P Q R S T U V W X - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/index.html dom4j-1.6.1+dfsg.3/docs/apidocs/index.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/index.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/index.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ - - - - - - - -dom4j 1.6.1 API - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Attribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Attribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Attribute.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Attribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,557 +0,0 @@ - - - - - - - -Attribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Attribute

-
-
All Superinterfaces:
Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractAttribute
-
-
-
-
public interface Attribute
extends Node
- -

-

- Attribute defines an XML attribute. An attribute may have a - name, an optional namespace and a value. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ObjectgetData() - -
-           - Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -
- NamespacegetNamespace() - -
-           - Returns the Namespace of this element if one exists - otherwise null is returned returned. -
- StringgetNamespacePrefix() - -
-           - Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -
- StringgetNamespaceURI() - -
-           - Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -
- QNamegetQName() - -
-           - Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -
- StringgetQualifiedName() - -
-           - Returns the fully qualified name of this element. -
- StringgetValue() - -
-           - Returns the value of the attribute.
- voidsetData(Object data) - -
-           - Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -
- voidsetNamespace(Namespace namespace) - -
-           - Sets the Namespace of this element or if this element is - read only then an UnsupportedOperationException is thrown. -
- voidsetValue(String value) - -
-           - Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getQName

-
-public QName getQName()
-
-

- Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -

-

-

-
-
-
- -
Returns:
the QName associated with this attribute
-
-
-
- -

-getNamespace

-
-public Namespace getNamespace()
-
-

- Returns the Namespace of this element if one exists - otherwise null is returned returned. -

-

-

-
-
-
- -
Returns:
the Namespace associated with this node
-
-
-
- -

-setNamespace

-
-public void setNamespace(Namespace namespace)
-
-

- Sets the Namespace of this element or if this element is - read only then an UnsupportedOperationException is thrown. -

-

-

-
-
-
-
Parameters:
namespace - is the Namespace to associate with this element
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix()
-
-

- Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -

-

-

-
-
-
- -
Returns:
the prefix of the Namespace of this element or an - empty String
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-

- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -

-

-

-
-
-
- -
Returns:
the URI for the Namespace of this element or an - empty String
-
-
-
- -

-getQualifiedName

-
-public String getQualifiedName()
-
-

- Returns the fully qualified name of this element. -

- -

- This will be the same as the value returned from Node.getName() - if this element has no namespace attached to this element or an - expression of the form - -

- getNamespacePrefix() + ":" + getName()
- 
- - will be returned. -

-

-

-
-
-
- -
Returns:
the fully qualified name of the element
-
-
-
- -

-getValue

-
-public String getValue()
-
-

- Returns the value of the attribute. This method returns the same value as - the Node.getText()method. -

-

-

-
-
-
- -
Returns:
the value of the attribute
-
-
-
- -

-setValue

-
-public void setValue(String value)
-
-

- Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
-
-
-
Parameters:
value - is the new value of this attribute
-
-
-
- -

-getData

-
-public Object getData()
-
-

- Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -

-

-

-
-
-
- -
Returns:
the attribute data
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-

- Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -

-

-

-
-
-
-
Parameters:
data - the attribute data
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Branch.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Branch.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Branch.html 2005-05-16 13:28:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Branch.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,971 +0,0 @@ - - - - - - - -Branch (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Branch

-
-
All Superinterfaces:
Cloneable, Node
-
-
-
All Known Subinterfaces:
Document, Element
-
-
-
All Known Implementing Classes:
AbstractBranch, AbstractDocument, AbstractElement
-
-
-
-
public interface Branch
extends Node
- -

-

- Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents. This - interface allows both elements and documents to be treated in a polymorphic - manner when changing or navigating child nodes (content). -

-

- -

-

-
Version:
-
$Revision: 1.32 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(Comment comment) - -
-          Adds the given Comment to this branch.
- voidadd(Element element) - -
-          Adds the given Element to this branch.
- voidadd(Node node) - -
-          Adds the given Node or throws IllegalAddException - if the given node is not of a valid type.
- voidadd(ProcessingInstruction pi) - -
-          Adds the given ProcessingInstruction to this branch.
- ElementaddElement(QName qname) - -
-          Adds a new Element node with the given QNameto - this branch and returns a reference to the new node.
- ElementaddElement(String name) - -
-          Adds a new Element node with the given name to this branch - and returns a reference to the new node.
- ElementaddElement(String qualifiedName, - String namespaceURI) - -
-          Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node.
- voidappendContent(Branch branch) - -
-          Appends the content of the given branch to this branch instance.
- voidclearContent() - -
-          Clears the content for this branch, removing any Node - instances this branch may contain.
- Listcontent() - -
-           - Returns the content nodes of this branch as a backed Listso that - the content of this branch may be modified directly using the - Listinterface.
- ElementelementByID(String elementID) - -
-          Returns the element of the given ID attribute value.
- intindexOf(Node node) - -
-          Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node.
- Nodenode(int index) - -
-          Returns the Node at the specified index position.
- intnodeCount() - -
-          Returns the number of Node instances that this branch - contains.
- IteratornodeIterator() - -
-          Returns an iterator through the content nodes of this branch
- voidnormalize() - -
-          Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes.
- ProcessingInstructionprocessingInstruction(String target) - -
-          DOCUMENT ME!
- ListprocessingInstructions() - -
-           - Returns a list of all the processing instructions in this branch.
- ListprocessingInstructions(String target) - -
-           - Returns a list of the processing instructions for the given target.
- booleanremove(Comment comment) - -
-          Removes the given Comment if the node is an immediate - child of this branch.
- booleanremove(Element element) - -
-          Removes the given Element if the node is an immediate - child of this branch.
- booleanremove(Node node) - -
-          Removes the given Node if the node is an immediate child - of this branch.
- booleanremove(ProcessingInstruction pi) - -
-          Removes the given ProcessingInstruction if the node is an - immediate child of this branch.
- booleanremoveProcessingInstruction(String target) - -
-          Removes the processing instruction for the given target if it exists
- voidsetContent(List content) - -
-          Sets the contents of this branch as a List of - Node instances.
- voidsetProcessingInstructions(List listOfPIs) - -
-          Sets all the processing instructions for this branch
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-node

-
-public Node node(int index)
-          throws IndexOutOfBoundsException
-
-
Returns the Node at the specified index position. -

-

-
-
-
-
Parameters:
index - the index of the node to return. -
Returns:
the Node at the specified position. -
Throws: -
IndexOutOfBoundsException - if the index is out of range (index < 0 || index >= - nodeCount()).
-
-
-
- -

-indexOf

-
-public int indexOf(Node node)
-
-
Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node. -

-

-
-
-
-
Parameters:
node - the content child node to find. -
Returns:
the index of the given node starting at 0 or -1 if the node is - not a child node of this branch
-
-
-
- -

-nodeCount

-
-public int nodeCount()
-
-
Returns the number of Node instances that this branch - contains. -

-

-
-
-
- -
Returns:
the number of nodes this branch contains
-
-
-
- -

-elementByID

-
-public Element elementByID(String elementID)
-
-
Returns the element of the given ID attribute value. If this tree is - capable of understanding which attribute value should be used for the ID - then it should be used, otherwise this method should return null. -

-

-
-
-
-
Parameters:
elementID - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-content

-
-public List content()
-
-

- Returns the content nodes of this branch as a backed Listso that - the content of this branch may be modified directly using the - Listinterface. The List is backed by the - Branch so that changes to the list are reflected in the - branch and vice versa. -

-

-

-
-
-
- -
Returns:
the nodes that this branch contains as a List
-
-
-
- -

-nodeIterator

-
-public Iterator nodeIterator()
-
-
Returns an iterator through the content nodes of this branch -

-

-
-
-
- -
Returns:
an iterator through the content nodes of this branch
-
-
-
- -

-setContent

-
-public void setContent(List content)
-
-
Sets the contents of this branch as a List of - Node instances. -

-

-
-
-
-
Parameters:
content - is the list of nodes to use as the content for this branch.
-
-
-
- -

-appendContent

-
-public void appendContent(Branch branch)
-
-
Appends the content of the given branch to this branch instance. This - method behaves like the Collection.addAll(java.util.Collection) method. -

-

-
-
-
-
Parameters:
branch - is the branch whose content will be added to me.
-
-
-
- -

-clearContent

-
-public void clearContent()
-
-
Clears the content for this branch, removing any Node - instances this branch may contain. -

-

-
-
-
-
-
-
-
- -

-processingInstructions

-
-public List processingInstructions()
-
-

- Returns a list of all the processing instructions in this branch. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
-
-
- -
Returns:
a backed list of the processing instructions
-
-
-
- -

-processingInstructions

-
-public List processingInstructions(String target)
-
-

- Returns a list of the processing instructions for the given target. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
-
-
-
Parameters:
target - DOCUMENT ME! -
Returns:
a backed list of the processing instructions
-
-
-
- -

-processingInstruction

-
-public ProcessingInstruction processingInstruction(String target)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
target - DOCUMENT ME! -
Returns:
the processing instruction for the given target
-
-
-
- -

-setProcessingInstructions

-
-public void setProcessingInstructions(List listOfPIs)
-
-
Sets all the processing instructions for this branch -

-

-
-
-
-
Parameters:
listOfPIs - DOCUMENT ME!
-
-
-
- -

-addElement

-
-public Element addElement(String name)
-
-
Adds a new Element node with the given name to this branch - and returns a reference to the new node. -

-

-
-
-
-
Parameters:
name - is the name for the Element node. -
Returns:
the newly added Element node.
-
-
-
- -

-addElement

-
-public Element addElement(QName qname)
-
-
Adds a new Element node with the given QNameto - this branch and returns a reference to the new node. -

-

-
-
-
-
Parameters:
qname - is the qualified name for the Element node. -
Returns:
the newly added Element node.
-
-
-
- -

-addElement

-
-public Element addElement(String qualifiedName,
-                          String namespaceURI)
-
-
Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node. -

-

-
-
-
-
Parameters:
qualifiedName - is the fully qualified name of the Element
namespaceURI - is the URI of the namespace to use -
Returns:
the newly added Element node.
-
-
-
- -

-removeProcessingInstruction

-
-public boolean removeProcessingInstruction(String target)
-
-
Removes the processing instruction for the given target if it exists -

-

-
-
-
-
Parameters:
target - DOCUMENT ME! -
Returns:
true if a processing instruction was removed else false
-
-
-
- -

-add

-
-public void add(Node node)
-
-
Adds the given Node or throws IllegalAddException - if the given node is not of a valid type. This is a polymorphic method - which will call the typesafe method for the node type such as - add(Element) or add(Comment). -

-

-
-
-
-
Parameters:
node - is the given node to add
-
-
-
- -

-add

-
-public void add(Comment comment)
-
-
Adds the given Comment to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
-
-
-
Parameters:
comment - is the comment to be added
-
-
-
- -

-add

-
-public void add(Element element)
-
-
Adds the given Element to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
-
-
-
Parameters:
element - is the element to be added
-
-
-
- -

-add

-
-public void add(ProcessingInstruction pi)
-
-
Adds the given ProcessingInstruction to this branch. If - the given node already has a parent defined then an - IllegalAddException will be thrown. -

-

-
-
-
-
Parameters:
pi - is the processing instruction to be added
-
-
-
- -

-remove

-
-public boolean remove(Node node)
-
-
Removes the given Node if the node is an immediate child - of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. This - is a polymorphic method which will call the typesafe method for the node - type such as remove(Element) or remove(Comment). -

-

-
-
-
-
Parameters:
node - is the given node to be removed -
Returns:
true if the node was removed
-
-
-
- -

-remove

-
-public boolean remove(Comment comment)
-
-
Removes the given Comment if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
-
-
-
Parameters:
comment - is the comment to be removed -
Returns:
true if the comment was removed
-
-
-
- -

-remove

-
-public boolean remove(Element element)
-
-
Removes the given Element if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
-
-
-
Parameters:
element - is the element to be removed -
Returns:
true if the element was removed
-
-
-
- -

-remove

-
-public boolean remove(ProcessingInstruction pi)
-
-
Removes the given ProcessingInstruction if the node is an - immediate child of this branch. If the given node is not an immediate - child of this branch then the Node.detach()method should be used - instead. -

-

-
-
-
-
Parameters:
pi - is the processing instruction to be removed -
Returns:
true if the processing instruction was removed
-
-
-
- -

-normalize

-
-public void normalize()
-
-
Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes. This can - be used to ensure that the DOM view of a document is the same as if it - were saved and re-loaded, and is useful when operations (such as XPointer - lookups) that depend on a particular document tree structure are to be - used.In cases where the document contains CDATASections, - the normalize operation alone may not be sufficient, since XPointers do - not differentiate between Text nodes and - CDATASection nodes. -

-

-
-
-
-
Since:
-
DOM Level 2
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/CDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/CDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/CDATA.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/CDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,233 +0,0 @@ - - - - - - - -CDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface CDATA

-
-
All Superinterfaces:
CharacterData, Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractCDATA, FlyweightCDATA
-
-
-
-
public interface CDATA
extends CharacterData
- -

-

- CDATA defines an XML CDATA section. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/CharacterData.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/CharacterData.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/CharacterData.html 2005-05-16 13:27:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/CharacterData.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,269 +0,0 @@ - - - - - - - -CharacterData (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface CharacterData

-
-
All Superinterfaces:
Cloneable, Node
-
-
-
All Known Subinterfaces:
CDATA, Comment, Text
-
-
-
All Known Implementing Classes:
AbstractCDATA, AbstractCharacterData, AbstractComment, AbstractText, FlyweightCDATA, FlyweightComment, FlyweightText
-
-
-
-
public interface CharacterData
extends Node
- -

-

- CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - -
-Method Summary
- voidappendText(String text) - -
-          Appends the given text to this nodes text value.
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-appendText

-
-public void appendText(String text)
-
-
Appends the given text to this nodes text value. Calling this method is - equivalent of the code node.setText(node.getText() + text) - but allows for possible implementation optimisations (such as a text - based node storing a StringBuffer internally -

-

-
-
-
-
Parameters:
text - the text to append
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Comment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Comment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Comment.html 2005-05-16 13:28:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Comment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,233 +0,0 @@ - - - - - - - -Comment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Comment

-
-
All Superinterfaces:
CharacterData, Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractComment, FlyweightComment
-
-
-
-
public interface Comment
extends CharacterData
- -

-

- Comment defines the behavior of an XML comment. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Document.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Document.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Document.html 2005-05-16 13:26:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Document.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,581 +0,0 @@ - - - - - - - -Document (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Document

-
-
All Superinterfaces:
Branch, Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractDocument
-
-
-
-
public interface Document
extends Branch
- -

-

- Document defines an XML Document. -

-

- -

-

-
Version:
-
$Revision: 1.14 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- DocumentaddComment(String comment) - -
-          Adds a new Comment node with the given text to this - branch.
- DocumentaddDocType(String name, - String publicId, - String systemId) - -
-          Adds a DOCTYPE declaration to this document
- DocumentaddProcessingInstruction(String target, - Map data) - -
-          Adds a processing instruction for the given target
- DocumentaddProcessingInstruction(String target, - String text) - -
-          Adds a processing instruction for the given target
- DocumentTypegetDocType() - -
-          DOCUMENT ME!
- EntityResolvergetEntityResolver() - -
-          DOCUMENT ME!
- ElementgetRootElement() - -
-          Returns the root Elementfor this document.
- StringgetXMLEncoding() - -
-          Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - -
- voidsetDocType(DocumentType docType) - -
-          Sets the DocumentType property
- voidsetEntityResolver(EntityResolver entityResolver) - -
-          Sets the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents
- voidsetRootElement(Element rootElement) - -
-          Sets the root element for this document
- voidsetXMLEncoding(String encoding) - -
-          Sets the encoding of this document as it will appear in the XML - declaration part of the document.
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getRootElement

-
-public Element getRootElement()
-
-
Returns the root Elementfor this document. -

-

-
-
-
- -
Returns:
the root element for this document
-
-
-
- -

-setRootElement

-
-public void setRootElement(Element rootElement)
-
-
Sets the root element for this document -

-

-
-
-
-
Parameters:
rootElement - the new root element for this document
-
-
-
- -

-addComment

-
-public Document addComment(String comment)
-
-
Adds a new Comment node with the given text to this - branch. -

-

-
-
-
-
Parameters:
comment - is the text for the Comment node. -
Returns:
this Document instance.
-
-
-
- -

-addProcessingInstruction

-
-public Document addProcessingInstruction(String target,
-                                         String text)
-
-
Adds a processing instruction for the given target -

-

-
-
-
-
Parameters:
target - is the target of the processing instruction
text - is the textual data (key/value pairs) of the processing - instruction -
Returns:
this Document instance.
-
-
-
- -

-addProcessingInstruction

-
-public Document addProcessingInstruction(String target,
-                                         Map data)
-
-
Adds a processing instruction for the given target -

-

-
-
-
-
Parameters:
target - is the target of the processing instruction
data - is a Map of the key / value pairs of the processing - instruction -
Returns:
this Document instance.
-
-
-
- -

-addDocType

-
-public Document addDocType(String name,
-                           String publicId,
-                           String systemId)
-
-
Adds a DOCTYPE declaration to this document -

-

-
-
-
-
Parameters:
name - is the name of the root element
publicId - is the PUBLIC URI
systemId - is the SYSTEM URI -
Returns:
this Document instance.
-
-
-
- -

-getDocType

-
-public DocumentType getDocType()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the DocumentType property
-
-
-
- -

-setDocType

-
-public void setDocType(DocumentType docType)
-
-
Sets the DocumentType property -

-

-
-
-
-
Parameters:
docType - DOCUMENT ME!
-
-
-
- -

-getEntityResolver

-
-public EntityResolver getEntityResolver()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents
-
-
-
- -

-setEntityResolver

-
-public void setEntityResolver(EntityResolver entityResolver)
-
-
Sets the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents -

-

-
-
-
-
Parameters:
entityResolver - DOCUMENT ME!
-
-
-
- -

-getXMLEncoding

-
-public String getXMLEncoding()
-
-
Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - -

- The way this encoding is retrieved also depends on the way the XML source - is parsed. For instance, if the SAXReader is used and if the underlying - XMLReader implementation support the - org.xml.sax.ext.Locator2 interface, the result returned by - this method is specified by the getEncoding() method of - that interface. -

-

-

-
-
-
- -
Returns:
The encoding of this document, as stated in the XML declaration, - or null if unknown.
Since:
-
1.5
-
-
-
-
- -

-setXMLEncoding

-
-public void setXMLEncoding(String encoding)
-
-
Sets the encoding of this document as it will appear in the XML - declaration part of the document. -

-

-
-
-
-
Parameters:
encoding - the encoding of the document
Since:
-
1.6
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentException.html 2005-05-16 13:27:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,400 +0,0 @@ - - - - - - - -DocumentException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class DocumentException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended byorg.dom4j.DocumentException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class DocumentException
extends Exception
- -

-

- DocumentException is a nested Exception which may be thrown - during the processing of a DOM4J document. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DocumentException() - -
-           
DocumentException(String message) - -
-           
DocumentException(String message, - Throwable nestedException) - -
-           
DocumentException(Throwable nestedException) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetMessage() - -
-           
- ThrowablegetNestedException() - -
-           
- voidprintStackTrace() - -
-           
- voidprintStackTrace(PrintStream out) - -
-           
- voidprintStackTrace(PrintWriter writer) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DocumentException

-
-public DocumentException()
-
-
-
- -

-DocumentException

-
-public DocumentException(String message)
-
-
-
- -

-DocumentException

-
-public DocumentException(Throwable nestedException)
-
-
-
- -

-DocumentException

-
-public DocumentException(String message,
-                         Throwable nestedException)
-
-
- - - - - - - - -
-Method Detail
- -

-getNestedException

-
-public Throwable getNestedException()
-
-
-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace()
-
-
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter writer)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentFactory.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1145 +0,0 @@ - - - - - - - -DocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class DocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
Direct Known Subclasses:
BeanDocumentFactory, DatatypeDocumentFactory, DatatypeElementFactory, DOMDocumentFactory, IndexedDocumentFactory, NonLazyDocumentFactory, UserDataDocumentFactory
-
-
-
-
public class DocumentFactory
extends Object
implements Serializable
- -

-

- DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees. The default tree that is built uses a - doubly linked tree. -

- -

- The tree built allows full XPath expressions from anywhere on the tree. -

-

- -

-

-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  QNameCachecache - -
-           
-  - - - - - - - - - - -
-Constructor Summary
DocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributecreateAttribute(Element owner, - String name, - String value) - -
-           
- CDATAcreateCDATA(String text) - -
-           
- CommentcreateComment(String text) - -
-           
- DocumentTypecreateDocType(String name, - String publicId, - String systemId) - -
-           
- DocumentcreateDocument() - -
-           
- DocumentcreateDocument(Element rootElement) - -
-           
- DocumentcreateDocument(String encoding) - -
-          DOCUMENT ME!
- ElementcreateElement(QName qname) - -
-           
- ElementcreateElement(String name) - -
-           
- ElementcreateElement(String qualifiedName, - String namespaceURI) - -
-           
- EntitycreateEntity(String name, - String text) - -
-           
- NamespacecreateNamespace(String prefix, - String uri) - -
-           
- PatterncreatePattern(String xpathPattern) - -
-           - createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. -
- ProcessingInstructioncreateProcessingInstruction(String target, - Map data) - -
-           
- ProcessingInstructioncreateProcessingInstruction(String target, - String data) - -
-           
- QNamecreateQName(String localName) - -
-           
- QNamecreateQName(String localName, - Namespace namespace) - -
-           
- QNamecreateQName(String qualifiedName, - String uri) - -
-           
- QNamecreateQName(String name, - String prefix, - String uri) - -
-           
-protected  QNameCachecreateQNameCache() - -
-          Factory method to create the QNameCache.
-protected static DocumentFactorycreateSingleton(String className) - -
-           - createSingleton creates the singleton instance from the - given class name. -
- TextcreateText(String text) - -
-           
- XPathcreateXPath(String xpathExpression) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance. -
- XPathcreateXPath(String xpathExpression, - org.jaxen.VariableContext variableContext) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance. -
- NodeFiltercreateXPathFilter(String xpathFilterExpression) - -
-           - createXPathFilter parses a NodeFilter from the given XPath - filter expression.
- NodeFiltercreateXPathFilter(String xpathFilterExpression, - org.jaxen.VariableContext variableContext) - -
-           - createXPathFilter parses a NodeFilter from the given XPath - filter expression.
-static DocumentFactorygetInstance() - -
-           - Access to singleton implementation of DocumentFactory which is used if no - DocumentFactory is specified when building using the standard builders. -
- ListgetQNames() - -
-          Returns a list of all the QName instances currently used by this document - factory
- MapgetXPathNamespaceURIs() - -
-          DOCUMENT ME!
-protected  voidinit() - -
-           
-protected  QNameintern(QName qname) - -
-          DOCUMENT ME!
- voidsetXPathNamespaceURIs(Map namespaceURIs) - -
-          Sets the namespace URIs to be used by XPath expressions created by this - factory or by nodes associated with this factory.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-cache

-
-protected transient QNameCache cache
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-DocumentFactory

-
-public DocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to singleton implementation of DocumentFactory which is used if no - DocumentFactory is specified when building using the standard builders. -

-

-

-
-
-
- -
Returns:
the default singleon instance
-
-
-
- -

-createDocument

-
-public Document createDocument()
-
-
-
-
-
-
-
-
-
- -

-createDocument

-
-public Document createDocument(String encoding)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
encoding - DOCUMENT ME! -
Returns:
DOCUMENT ME!
Since:
-
1.5
-
-
-
-
- -

-createDocument

-
-public Document createDocument(Element rootElement)
-
-
-
-
-
-
-
-
-
- -

-createDocType

-
-public DocumentType createDocType(String name,
-                                  String publicId,
-                                  String systemId)
-
-
-
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(String name)
-
-
-
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(String qualifiedName,
-                             String namespaceURI)
-
-
-
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 String name,
-                                 String value)
-
-
-
-
-
-
-
-
-
- -

-createCDATA

-
-public CDATA createCDATA(String text)
-
-
-
-
-
-
-
-
-
- -

-createComment

-
-public Comment createComment(String text)
-
-
-
-
-
-
-
-
-
- -

-createText

-
-public Text createText(String text)
-
-
-
-
-
-
-
-
-
- -

-createEntity

-
-public Entity createEntity(String name,
-                           String text)
-
-
-
-
-
-
-
-
-
- -

-createNamespace

-
-public Namespace createNamespace(String prefix,
-                                 String uri)
-
-
-
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         String data)
-
-
-
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         Map data)
-
-
-
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String localName,
-                         Namespace namespace)
-
-
-
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String localName)
-
-
-
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String name,
-                         String prefix,
-                         String uri)
-
-
-
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String qualifiedName,
-                         String uri)
-
-
-
-
-
-
-
-
-
- -

-createXPath

-
-public XPath createXPath(String xpathExpression)
-                  throws InvalidXPathException
-
-

- createXPath parses an XPath expression and creates a new - XPath XPath instance. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to create -
Returns:
a new XPath instance -
Throws: -
InvalidXPathException - if the XPath expression is invalid
-
-
-
- -

-createXPath

-
-public XPath createXPath(String xpathExpression,
-                         org.jaxen.VariableContext variableContext)
-
-

- createXPath parses an XPath expression and creates a new - XPath XPath instance. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to create
variableContext - is the variable context to use when evaluating the XPath -
Returns:
a new XPath instance
-
-
-
- -

-createXPathFilter

-
-public NodeFilter createXPathFilter(String xpathFilterExpression,
-                                    org.jaxen.VariableContext variableContext)
-
-

- createXPathFilter parses a NodeFilter from the given XPath - filter expression. XPath filter expressions occur within XPath - expressions such as self::node()[ filterExpression ] -

-

-

-
-
-
-
Parameters:
xpathFilterExpression - is the XPath filter expression to create
variableContext - is the variable context to use when evaluating the XPath -
Returns:
a new NodeFilter instance
-
-
-
- -

-createXPathFilter

-
-public NodeFilter createXPathFilter(String xpathFilterExpression)
-
-

- createXPathFilter parses a NodeFilter from the given XPath - filter expression. XPath filter expressions occur within XPath - expressions such as self::node()[ filterExpression ] -

-

-

-
-
-
-
Parameters:
xpathFilterExpression - is the XPath filter expression to create -
Returns:
a new NodeFilter instance
-
-
-
- -

-createPattern

-
-public Pattern createPattern(String xpathPattern)
-
-

- createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. -

-

-

-
-
-
-
Parameters:
xpathPattern - is the XPath pattern expression to create -
Returns:
a new Pattern instance
-
-
-
- -

-getQNames

-
-public List getQNames()
-
-
Returns a list of all the QName instances currently used by this document - factory -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getXPathNamespaceURIs

-
-public Map getXPathNamespaceURIs()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the Map of namespace URIs that will be used by by XPath - expressions to resolve namespace prefixes into namespace URIs. - The map is keyed by namespace prefix and the value is the - namespace URI. This value could well be null to indicate no - namespace URIs are being mapped.
-
-
-
- -

-setXPathNamespaceURIs

-
-public void setXPathNamespaceURIs(Map namespaceURIs)
-
-
Sets the namespace URIs to be used by XPath expressions created by this - factory or by nodes associated with this factory. The keys are namespace - prefixes and the values are namespace URIs. -

-

-
-
-
-
Parameters:
namespaceURIs - DOCUMENT ME!
-
-
-
- -

-createSingleton

-
-protected static DocumentFactory createSingleton(String className)
-
-

- createSingleton creates the singleton instance from the - given class name. -

-

-

-
-
-
-
Parameters:
className - is the name of the DocumentFactory class to use -
Returns:
a new singleton instance.
-
-
-
- -

-intern

-
-protected QName intern(QName qname)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
qname - DOCUMENT ME! -
Returns:
the cached QName instance if there is one or adds the given qname - to the cache if not
-
-
-
- -

-createQNameCache

-
-protected QNameCache createQNameCache()
-
-
Factory method to create the QNameCache. This method should be overloaded - if you wish to use your own derivation of QName. -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-init

-
-protected void init()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentHelper.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentHelper.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentHelper.html 2005-05-16 13:28:15.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentHelper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,844 +0,0 @@ - - - - - - - -DocumentHelper (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class DocumentHelper

-
-java.lang.Object
-  extended byorg.dom4j.DocumentHelper
-
-
-
-
public final class DocumentHelper
extends Object
- -

-

- DocumentHelper is a collection of helper methods for using - DOM4J. -

-

- -

-

-
Version:
-
$Revision: 1.26 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
-static AttributecreateAttribute(Element owner, - String name, - String value) - -
-           
-static CDATAcreateCDATA(String text) - -
-           
-static CommentcreateComment(String text) - -
-           
-static DocumentcreateDocument() - -
-           
-static DocumentcreateDocument(Element rootElement) - -
-           
-static ElementcreateElement(QName qname) - -
-           
-static ElementcreateElement(String name) - -
-           
-static EntitycreateEntity(String name, - String text) - -
-           
-static NamespacecreateNamespace(String prefix, - String uri) - -
-           
-static PatterncreatePattern(String xpathPattern) - -
-           - createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. -
-static ProcessingInstructioncreateProcessingInstruction(String pi, - Map data) - -
-           
-static ProcessingInstructioncreateProcessingInstruction(String pi, - String d) - -
-           
-static QNamecreateQName(String localName) - -
-           
-static QNamecreateQName(String localName, - Namespace namespace) - -
-           
-static TextcreateText(String text) - -
-           
-static XPathcreateXPath(String xpathExpression) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -
-static XPathcreateXPath(String xpathExpression, - org.jaxen.VariableContext context) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -
-static NodeFiltercreateXPathFilter(String xpathFilterExpression) - -
-           - createXPathFilter parses a NodeFilter from the given XPath - filter expression using the singleton DocumentFactory.
-static ElementmakeElement(Branch source, - String path) - -
-           - makeElement - - a helper method which navigates from the given Document or Element node - to some Element using the path expression, creating any necessary - elements along the way.
-static DocumentparseText(String text) - -
-           - parseText parses the given text as an XML document and - returns the newly created Document. -
-static ListselectNodes(String xpathFilterExpression, - List nodes) - -
-           - selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. -
-static ListselectNodes(String xpathFilterExpression, - Node node) - -
-           - selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. -
-static voidsort(List list, - String xpathExpression) - -
-           - sort sorts the given List of Nodes using an XPath - expression as a Comparator. -
-static voidsort(List list, - String expression, - boolean distinct) - -
-           - sort sorts the given List of Nodes using an XPath - expression as a Comparatorand optionally removing - duplicates. -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-createDocument

-
-public static Document createDocument()
-
-
-
-
-
-
- -

-createDocument

-
-public static Document createDocument(Element rootElement)
-
-
-
-
-
-
- -

-createElement

-
-public static Element createElement(QName qname)
-
-
-
-
-
-
- -

-createElement

-
-public static Element createElement(String name)
-
-
-
-
-
-
- -

-createAttribute

-
-public static Attribute createAttribute(Element owner,
-                                        QName qname,
-                                        String value)
-
-
-
-
-
-
- -

-createAttribute

-
-public static Attribute createAttribute(Element owner,
-                                        String name,
-                                        String value)
-
-
-
-
-
-
- -

-createCDATA

-
-public static CDATA createCDATA(String text)
-
-
-
-
-
-
- -

-createComment

-
-public static Comment createComment(String text)
-
-
-
-
-
-
- -

-createText

-
-public static Text createText(String text)
-
-
-
-
-
-
- -

-createEntity

-
-public static Entity createEntity(String name,
-                                  String text)
-
-
-
-
-
-
- -

-createNamespace

-
-public static Namespace createNamespace(String prefix,
-                                        String uri)
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public static ProcessingInstruction createProcessingInstruction(String pi,
-                                                                String d)
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public static ProcessingInstruction createProcessingInstruction(String pi,
-                                                                Map data)
-
-
-
-
-
-
- -

-createQName

-
-public static QName createQName(String localName,
-                                Namespace namespace)
-
-
-
-
-
-
- -

-createQName

-
-public static QName createQName(String localName)
-
-
-
-
-
-
- -

-createXPath

-
-public static XPath createXPath(String xpathExpression)
-                         throws InvalidXPathException
-
-

- createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -

-

-

-
Parameters:
xpathExpression - is the XPath expression to create -
Returns:
a new XPath instance -
Throws: -
InvalidXPathException - if the XPath expression is invalid
-
-
-
- -

-createXPath

-
-public static XPath createXPath(String xpathExpression,
-                                org.jaxen.VariableContext context)
-                         throws InvalidXPathException
-
-

- createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -

-

-

-
Parameters:
xpathExpression - is the XPath expression to create
context - is the variable context to use when evaluating the XPath -
Returns:
a new XPath instance -
Throws: -
InvalidXPathException - if the XPath expression is invalid
-
-
-
- -

-createXPathFilter

-
-public static NodeFilter createXPathFilter(String xpathFilterExpression)
-
-

- createXPathFilter parses a NodeFilter from the given XPath - filter expression using the singleton DocumentFactory. XPath - filter expressions occur within XPath expressions such as - self::node()[ filterExpression ] -

-

-

-
Parameters:
xpathFilterExpression - is the XPath filter expression to create -
Returns:
a new NodeFilter instance
-
-
-
- -

-createPattern

-
-public static Pattern createPattern(String xpathPattern)
-
-

- createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. -

-

-

-
Parameters:
xpathPattern - is the XPath pattern expression to create -
Returns:
a new Pattern instance
-
-
-
- -

-selectNodes

-
-public static List selectNodes(String xpathFilterExpression,
-                               List nodes)
-
-

- selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. -

-

-

-
Parameters:
xpathFilterExpression - is the XPath filter expression to evaluate
nodes - is the list of nodes on which to evalute the XPath -
Returns:
the results of all the XPath evaluations as a single list
-
-
-
- -

-selectNodes

-
-public static List selectNodes(String xpathFilterExpression,
-                               Node node)
-
-

- selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. -

-

-

-
Parameters:
xpathFilterExpression - is the XPath filter expression to evaluate
node - is the Node on which to evalute the XPath -
Returns:
the results of all the XPath evaluations as a single list
-
-
-
- -

-sort

-
-public static void sort(List list,
-                        String xpathExpression)
-
-

- sort sorts the given List of Nodes using an XPath - expression as a Comparator. -

-

-

-
Parameters:
list - is the list of Nodes to sort
xpathExpression - is the XPath expression used for comparison
-
-
-
- -

-sort

-
-public static void sort(List list,
-                        String expression,
-                        boolean distinct)
-
-

- sort sorts the given List of Nodes using an XPath - expression as a Comparatorand optionally removing - duplicates. -

-

-

-
Parameters:
list - is the list of Nodes to sort
expression - is the XPath expression used for comparison
distinct - if true then duplicate values (using the sortXPath for - comparisions) will be removed from the List
-
-
-
- -

-parseText

-
-public static Document parseText(String text)
-                          throws DocumentException
-
-

- parseText parses the given text as an XML document and - returns the newly created Document. -

-

-

-
Parameters:
text - the XML text to be parsed -
Returns:
a newly parsed Document -
Throws: -
DocumentException - if the document could not be parsed
-
-
-
- -

-makeElement

-
-public static Element makeElement(Branch source,
-                                  String path)
-
-

- makeElement -

- a helper method which navigates from the given Document or Element node - to some Element using the path expression, creating any necessary - elements along the way. For example the path a/b/c would - get the first child <a> element, which would be created if it did - not exist, then the next child <b> and so on until finally a - <c> element is returned. -

-

-
Parameters:
source - is the Element or Document to start navigating from
path - is a simple path expression, seperated by '/' which denotes - the path from the source to the resulting element such as - a/b/c -
Returns:
the first Element on the given path which either already existed - on the path or were created by this method.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/DocumentType.html 2005-05-16 13:27:39.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/DocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,482 +0,0 @@ - - - - - - - -DocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface DocumentType

-
-
All Superinterfaces:
Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractDocumentType
-
-
-
-
public interface DocumentType
extends Node
- -

-

- DocumentType defines an XML DOCTYPE declaration. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetElementName() - -
-          This method is the equivalent to the Node.getName()method.
- ListgetExternalDeclarations() - -
-          Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- ListgetInternalDeclarations() - -
-          Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- StringgetPublicID() - -
-           
- StringgetSystemID() - -
-           
- voidsetElementName(String elementName) - -
-          This method is the equivalent to the Node.setName(java.lang.String)method.
- voidsetExternalDeclarations(List declarations) - -
-          Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- voidsetInternalDeclarations(List declarations) - -
-          Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- voidsetPublicID(String publicID) - -
-           
- voidsetSystemID(String systemID) - -
-           
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getElementName

-
-public String getElementName()
-
-
This method is the equivalent to the Node.getName()method. It is added - for clarity. -

-

-
-
-
- -
Returns:
the root element name for the document type.
-
-
-
- -

-setElementName

-
-public void setElementName(String elementName)
-
-
This method is the equivalent to the Node.setName(java.lang.String)method. It is added - for clarity. -

-

-
-
-
-
Parameters:
elementName - DOCUMENT ME!
-
-
-
- -

-getPublicID

-
-public String getPublicID()
-
-
-
-
-
-
-
-
-
- -

-setPublicID

-
-public void setPublicID(String publicID)
-
-
-
-
-
-
-
-
-
- -

-getSystemID

-
-public String getSystemID()
-
-
-
-
-
-
-
-
-
- -

-setSystemID

-
-public void setSystemID(String systemID)
-
-
-
-
-
-
-
-
-
- -

-getInternalDeclarations

-
-public List getInternalDeclarations()
-
-
Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setInternalDeclarations

-
-public void setInternalDeclarations(List declarations)
-
-
Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

-
-
-
-
Parameters:
declarations - DOCUMENT ME!
-
-
-
- -

-getExternalDeclarations

-
-public List getExternalDeclarations()
-
-
Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setExternalDeclarations

-
-public void setExternalDeclarations(List declarations)
-
-
Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

-
-
-
-
Parameters:
declarations - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Element.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Element.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Element.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Element.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2256 +0,0 @@ - - - - - - - -Element (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Element

-
-
All Superinterfaces:
Branch, Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractElement
-
-
-
-
public interface Element
extends Branch
- -

-

- Element interface defines an XML element. An element can have - declared namespaces, attributes, child nodes and textual content. -

- -

- Some of this interface is optional. Some implementations may be read-only and - not support being modified. Some implementations may not support the parent - relationship and methods such as Node.getParent()or . -

-

- -

-

-
Version:
-
$Revision: 1.47 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(Attribute attribute) - -
-          Adds the given Attribute to this element.
- voidadd(CDATA cdata) - -
-          Adds the given CDATA to this element.
- voidadd(Entity entity) - -
-          Adds the given Entity to this element.
- voidadd(Namespace namespace) - -
-          Adds the given Namespace to this element.
- voidadd(Text text) - -
-          Adds the given Text to this element.
- ElementaddAttribute(QName qName, - String value) - -
-           - Adds the attribute value of the given fully qualified name.
- ElementaddAttribute(String name, - String value) - -
-           - Adds the attribute value of the given local name.
- ElementaddCDATA(String cdata) - -
-          Adds a new CDATA node with the given text to this element.
- ElementaddComment(String comment) - -
-          Adds a new Comment node with the given text to this - element.
- ElementaddEntity(String name, - String text) - -
-          Adds a new Entity node with the given name and text to - this element and returns a reference to the new node.
- ListadditionalNamespaces() - -
-           - Returns any additional namespaces declarations for this element other - than namespace returned via the getNamespace()method.
- ElementaddNamespace(String prefix, - String uri) - -
-          Adds a namespace to this element for use by its child content
- ElementaddProcessingInstruction(String target, - Map data) - -
-          Adds a processing instruction for the given target
- ElementaddProcessingInstruction(String target, - String text) - -
-          Adds a processing instruction for the given target
- ElementaddText(String text) - -
-          Adds a new Text node with the given text to this element.
- voidappendAttributes(Element element) - -
-          Appends the attributes of the given element to me.
- Attributeattribute(int index) - -
-          Returns the attribute at the specified indexGets the
- Attributeattribute(QName qName) - -
-          DOCUMENT ME!
- Attributeattribute(String name) - -
-          Returns the attribute with the given name
- intattributeCount() - -
-          DOCUMENT ME!
- IteratorattributeIterator() - -
-          DOCUMENT ME!
- Listattributes() - -
-           - Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface.
- StringattributeValue(QName qName) - -
-           - This returns the attribute value for the attribute with the given fully - qualified name or null if there is no such attribute or the empty string - if the attribute value is empty. -
- StringattributeValue(QName qName, - String defaultValue) - -
-           - This returns the attribute value for the attribute with the given fully - qualified name or the default value if there is no such attribute value. -
- StringattributeValue(String name) - -
-           - This returns the attribute value for the attribute with the given name - and any namespace or null if there is no such attribute or the empty - string if the attribute value is empty. -
- StringattributeValue(String name, - String defaultValue) - -
-           - This returns the attribute value for the attribute with the given name - and any namespace or the default value if there is no such attribute - value. -
- ElementcreateCopy() - -
-           - Creates a deep copy of this element The new element is detached from its - parent, and getParent() on the clone will return null. -
- ElementcreateCopy(QName qName) - -
-           - Creates a deep copy of this element with the given fully qualified name. -
- ElementcreateCopy(String name) - -
-           - Creates a deep copy of this element with the given local name The new - element is detached from its parent, and getParent() on the clone will - return null. -
- ListdeclaredNamespaces() - -
-           - Returns all the namespaces declared by this element.
- Elementelement(QName qName) - -
-          Returns the first element for the given fully qualified name.
- Elementelement(String name) - -
-          Returns the first element for the given local name and any namespace.
- IteratorelementIterator() - -
-          Returns an iterator over all this elements child elements.
- IteratorelementIterator(QName qName) - -
-          Returns an iterator over the elements contained in this element which - match the given fully qualified name.
- IteratorelementIterator(String name) - -
-          Returns an iterator over the elements contained in this element which - match the given local name and any namespace.
- Listelements() - -
-           - Returns the elements contained in this element.
- Listelements(QName qName) - -
-           - Returns the elements contained in this element with the given fully - qualified name.
- Listelements(String name) - -
-           - Returns the elements contained in this element with the given local name - and any namespace.
- StringelementText(QName qname) - -
-           
- StringelementText(String name) - -
-           
- StringelementTextTrim(QName qname) - -
-           
- StringelementTextTrim(String name) - -
-           
- ObjectgetData() - -
-          Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as getText()
- NamespacegetNamespace() - -
-           - Returns the Namespace of this element if one exists - otherwise Namespace.NO_NAMESPACE is returned. -
- NamespacegetNamespaceForPrefix(String prefix) - -
-           - Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -
- NamespacegetNamespaceForURI(String uri) - -
-           - Returns the Namespace which is mapped to the given URI or - null if it could not be found.
- StringgetNamespacePrefix() - -
-           - Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -
- ListgetNamespacesForURI(String uri) - -
-           - Returns the all namespaces which are mapped to the given URI or an empty - list if no such namespaces could be found. -
- StringgetNamespaceURI() - -
-           - Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -
- QNamegetQName() - -
-           - Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -
- QNamegetQName(String qualifiedName) - -
-           - Returns the QName for the given qualified name, using the - namespace URI in scope for the given prefix of the qualified name or the - default namespace if the qualified name has no prefix. -
- StringgetQualifiedName() - -
-           - Returns the fully qualified name of this element.
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetText() - -
-          Returns the text value of this element without recursing through child - elements.
- StringgetTextTrim() - -
-          DOCUMENT ME!
- NodegetXPathResult(int index) - -
-          Returns a node at the given index suitable for an XPath result set.
- booleanhasMixedContent() - -
-           - Returns true if this Element has mixed content.
- booleanisRootElement() - -
-          DOCUMENT ME!
- booleanisTextOnly() - -
-           - Returns true if this Element has text only content. -
- booleanremove(Attribute attribute) - -
-          Removes the given Attribute from this element.
- booleanremove(CDATA cdata) - -
-          Removes the given CDATA if the node is an immediate child - of this element.
- booleanremove(Entity entity) - -
-          Removes the given Entity if the node is an immediate child - of this element.
- booleanremove(Namespace namespace) - -
-          Removes the given Namespace if the node is an immediate - child of this element.
- booleanremove(Text text) - -
-          Removes the given Text if the node is an immediate child - of this element.
- voidsetAttributes(List attributes) - -
-          Sets the attributes that this element contains
- voidsetAttributeValue(QName qName, - String value) - -
-          Deprecated. As of version 0.5. Please use addAttribute(QName,String) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- voidsetAttributeValue(String name, - String value) - -
-          Deprecated. As of version 0.5. Please use addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- voidsetData(Object data) - -
-          Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't
- voidsetQName(QName qname) - -
-           - Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getQName

-
-public QName getQName()
-
-

- Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -

-

-

-
-
-
- -
Returns:
the QName associated with this element
-
-
-
- -

-setQName

-
-public void setQName(QName qname)
-
-

- Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -

-

-

-
-
-
-
Parameters:
qname - is the QName to be associated with this element
-
-
-
- -

-getNamespace

-
-public Namespace getNamespace()
-
-

- Returns the Namespace of this element if one exists - otherwise Namespace.NO_NAMESPACE is returned. -

-

-

-
-
-
- -
Returns:
the Namespace associated with this element
-
-
-
- -

-getQName

-
-public QName getQName(String qualifiedName)
-
-

- Returns the QName for the given qualified name, using the - namespace URI in scope for the given prefix of the qualified name or the - default namespace if the qualified name has no prefix. -

-

-

-
-
-
-
Parameters:
qualifiedName - DOCUMENT ME! -
Returns:
the QName for the given qualified name
-
-
-
- -

-getNamespaceForPrefix

-
-public Namespace getNamespaceForPrefix(String prefix)
-
-

- Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -

-

-

-
-
-
-
Parameters:
prefix - DOCUMENT ME! -
Returns:
the Namespace associated with the given prefix
-
-
-
- -

-getNamespaceForURI

-
-public Namespace getNamespaceForURI(String uri)
-
-

- Returns the Namespace which is mapped to the given URI or - null if it could not be found. If there is more than one - Namespace mapped to the URI, which of them will be - returned is undetermined. -

-

-

-
-
-
-
Parameters:
uri - DOCUMENT ME! -
Returns:
the Namespace associated with the given URI
-
-
-
- -

-getNamespacesForURI

-
-public List getNamespacesForURI(String uri)
-
-

- Returns the all namespaces which are mapped to the given URI or an empty - list if no such namespaces could be found. -

-

-

-
-
-
-
Parameters:
uri - DOCUMENT ME! -
Returns:
the namespaces associated with the given URI
Since:
-
1.5
-
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix()
-
-

- Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -

-

-

-
-
-
- -
Returns:
the prefix of the Namespace of this element or an - empty String
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-

- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -

-

-

-
-
-
- -
Returns:
the URI for the Namespace of this element or an - empty String
-
-
-
- -

-getQualifiedName

-
-public String getQualifiedName()
-
-

- Returns the fully qualified name of this element. This will be the same - as the value returned from Node.getName()if this element has no - namespace attached to this element or an expression of the form - -

- getNamespacePrefix() + ":" + getName()
- 
- - will be returned. -

-

-

-
-
-
- -
Returns:
the fully qualified name of the element.
-
-
-
- -

-additionalNamespaces

-
-public List additionalNamespaces()
-
-

- Returns any additional namespaces declarations for this element other - than namespace returned via the getNamespace()method. If no - additional namespace declarations are present for this element then an - empty list will be returned. The list is backed by the element such that - changes to the list will be reflected in the element though the reverse - is not the case. -

-

-

-
-
-
- -
Returns:
a list of any additional namespace declarations.
-
-
-
- -

-declaredNamespaces

-
-public List declaredNamespaces()
-
-

- Returns all the namespaces declared by this element. If no namespaces are - declared for this element then an empty list will be returned. The list - is backed by the element such that changes to the list will be reflected - in the element though the reverse is not the case. -

-

-

-
-
-
- -
Returns:
a list of namespaces declared for this element.
-
-
-
- -

-addAttribute

-
-public Element addAttribute(String name,
-                            String value)
-
-

- Adds the attribute value of the given local name. If an attribute already - exists for the given name it will be replaced. Attributes with null - values are silently ignored. If the value of the attribute is null then - this method call will remove any attributes with the given name. -

-

-

-
-
-
-
Parameters:
name - is the name of the attribute whose value is to be added or - updated
value - is the attribute's value -
Returns:
this Element instance.
-
-
-
- -

-addAttribute

-
-public Element addAttribute(QName qName,
-                            String value)
-
-

- Adds the attribute value of the given fully qualified name. If an - attribute already exists for the given name it will be replaced. - Attributes with null values are silently ignored. If the value of the - attribute is null then this method call will remove any attributes with - the given name. -

-

-

-
-
-
-
Parameters:
qName - is the fully qualified name of the attribute whose value is to - be added or updated
value - is the attribute's value -
Returns:
this Element instance.
-
-
-
- -

-addComment

-
-public Element addComment(String comment)
-
-
Adds a new Comment node with the given text to this - element. -

-

-
-
-
-
Parameters:
comment - is the text for the Comment node. -
Returns:
this Element instance.
-
-
-
- -

-addCDATA

-
-public Element addCDATA(String cdata)
-
-
Adds a new CDATA node with the given text to this element. -

-

-
-
-
-
Parameters:
cdata - is the text for the CDATA node. -
Returns:
this Element instance.
-
-
-
- -

-addEntity

-
-public Element addEntity(String name,
-                         String text)
-
-
Adds a new Entity node with the given name and text to - this element and returns a reference to the new node. -

-

-
-
-
-
Parameters:
name - is the name for the Entity node.
text - is the text for the Entity node. -
Returns:
this Element instance.
-
-
-
- -

-addNamespace

-
-public Element addNamespace(String prefix,
-                            String uri)
-
-
Adds a namespace to this element for use by its child content -

-

-
-
-
-
Parameters:
prefix - is the prefix to use, which should not be null or blank
uri - is the namespace URI -
Returns:
this Element instance.
-
-
-
- -

-addProcessingInstruction

-
-public Element addProcessingInstruction(String target,
-                                        String text)
-
-
Adds a processing instruction for the given target -

-

-
-
-
-
Parameters:
target - is the target of the processing instruction
text - is the textual data (key/value pairs) of the processing - instruction -
Returns:
this Element instance.
-
-
-
- -

-addProcessingInstruction

-
-public Element addProcessingInstruction(String target,
-                                        Map data)
-
-
Adds a processing instruction for the given target -

-

-
-
-
-
Parameters:
target - is the target of the processing instruction
data - is a Map of the key / value pairs of the processing - instruction -
Returns:
this Element instance.
-
-
-
- -

-addText

-
-public Element addText(String text)
-
-
Adds a new Text node with the given text to this element. -

-

-
-
-
-
Parameters:
text - is the text for the Text node. -
Returns:
this Element instance.
-
-
-
- -

-add

-
-public void add(Attribute attribute)
-
-
Adds the given Attribute to this element. If the given - node already has a parent defined then an - IllegalAddException will be thrown. Attributes with null - values are silently ignored. - -

- If the value of the attribute is null then this method call will remove - any attributes with the QName of this attribute. -

-

-

-
-
-
-
Parameters:
attribute - is the attribute to be added
-
-
-
- -

-add

-
-public void add(CDATA cdata)
-
-
Adds the given CDATA to this element. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
-
-
-
Parameters:
cdata - is the CDATA to be added
-
-
-
- -

-add

-
-public void add(Entity entity)
-
-
Adds the given Entity to this element. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
-
-
-
Parameters:
entity - is the entity to be added
-
-
-
- -

-add

-
-public void add(Text text)
-
-
Adds the given Text to this element. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
-
-
-
Parameters:
text - is the text to be added
-
-
-
- -

-add

-
-public void add(Namespace namespace)
-
-
Adds the given Namespace to this element. If the given - node already has a parent defined then an - IllegalAddException will be thrown. -

-

-
-
-
-
Parameters:
namespace - is the namespace to be added
-
-
-
- -

-remove

-
-public boolean remove(Attribute attribute)
-
-
Removes the given Attribute from this element. -

-

-
-
-
-
Parameters:
attribute - is the attribute to be removed -
Returns:
true if the attribute was removed
-
-
-
- -

-remove

-
-public boolean remove(CDATA cdata)
-
-
Removes the given CDATA if the node is an immediate child - of this element. If the given node is not an immediate child of this - element then the Node.detach()method should be used instead. -

-

-
-
-
-
Parameters:
cdata - is the CDATA to be removed -
Returns:
true if the cdata was removed
-
-
-
- -

-remove

-
-public boolean remove(Entity entity)
-
-
Removes the given Entity if the node is an immediate child - of this element. If the given node is not an immediate child of this - element then the Node.detach()method should be used instead. -

-

-
-
-
-
Parameters:
entity - is the entity to be removed -
Returns:
true if the entity was removed
-
-
-
- -

-remove

-
-public boolean remove(Namespace namespace)
-
-
Removes the given Namespace if the node is an immediate - child of this element. If the given node is not an immediate child of - this element then the Node.detach()method should be used - instead. -

-

-
-
-
-
Parameters:
namespace - is the namespace to be removed -
Returns:
true if the namespace was removed
-
-
-
- -

-remove

-
-public boolean remove(Text text)
-
-
Removes the given Text if the node is an immediate child - of this element. If the given node is not an immediate child of this - element then the Node.detach()method should be used instead. -

-

-
-
-
-
Parameters:
text - is the text to be removed -
Returns:
true if the text was removed
-
-
-
- -

-getText

-
-public String getText()
-
-
Returns the text value of this element without recursing through child - elements. This method iterates through all Text,CDATA - and Entitynodes that this element contains and appends the text - values together. -

-

-
Specified by:
getText in interface Node
-
-
- -
Returns:
the textual content of this Element. Child elements are not - navigated. This method does not return null;
-
-
-
- -

-getTextTrim

-
-public String getTextTrim()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the trimmed text value where whitespace is trimmed and normalised - into single spaces. This method does not return null.
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . This method returns the string-value of all the - contained Text,CDATA,Entityand Element nodes all appended together. -

-

-
Specified by:
getStringValue in interface Node
-
-
- -
Returns:
the text from all the child Text and Element nodes appended - together.
-
-
-
- -

-getData

-
-public Object getData()
-
-
Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as getText() -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't -

-

-
-
-
-
Parameters:
data - DOCUMENT ME!
-
-
-
- -

-attributes

-
-public List attributes()
-
-

- Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface. The List is backed by the - Element so that changes to the list are reflected in the - element and vice versa. -

-

-

-
-
-
- -
Returns:
the attributes that this element contains as a List
-
-
-
- -

-setAttributes

-
-public void setAttributes(List attributes)
-
-
Sets the attributes that this element contains -

-

-
-
-
-
Parameters:
attributes - DOCUMENT ME!
-
-
-
- -

-attributeCount

-
-public int attributeCount()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the number of attributes this element contains
-
-
-
- -

-attributeIterator

-
-public Iterator attributeIterator()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
an iterator over the attributes of this element
-
-
-
- -

-attribute

-
-public Attribute attribute(int index)
-
-
Returns the attribute at the specified indexGets the -

-

-
-
-
-
Parameters:
index - DOCUMENT ME! -
Returns:
the attribute at the specified index where index >= 0 and - index < number of attributes or throws an - IndexOutOfBoundsException if the index is not within the - allowable range
-
-
-
- -

-attribute

-
-public Attribute attribute(String name)
-
-
Returns the attribute with the given name -

-

-
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
the attribute for the given local name in any namespace. If there - are more than one attributes with the given local name in - different namespaces then the first one is returned.
-
-
-
- -

-attribute

-
-public Attribute attribute(QName qName)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
qName - is the fully qualified name -
Returns:
the attribute for the given fully qualified name or null if it - could not be found.
-
-
-
- -

-attributeValue

-
-public String attributeValue(String name)
-
-

- This returns the attribute value for the attribute with the given name - and any namespace or null if there is no such attribute or the empty - string if the attribute value is empty. -

-

-

-
-
-
-
Parameters:
name - is the name of the attribute value to be returnd -
Returns:
the value of the attribute, null if the attribute does not exist - or the empty string
-
-
-
- -

-attributeValue

-
-public String attributeValue(String name,
-                             String defaultValue)
-
-

- This returns the attribute value for the attribute with the given name - and any namespace or the default value if there is no such attribute - value. -

-

-

-
-
-
-
Parameters:
name - is the name of the attribute value to be returnd
defaultValue - is the default value to be returned if the attribute has no - value defined. -
Returns:
the value of the attribute or the defaultValue if the attribute - has no value defined.
-
-
-
- -

-attributeValue

-
-public String attributeValue(QName qName)
-
-

- This returns the attribute value for the attribute with the given fully - qualified name or null if there is no such attribute or the empty string - if the attribute value is empty. -

-

-

-
-
-
-
Parameters:
qName - is the fully qualified name -
Returns:
the value of the attribute, null if the attribute does not exist - or the empty string
-
-
-
- -

-attributeValue

-
-public String attributeValue(QName qName,
-                             String defaultValue)
-
-

- This returns the attribute value for the attribute with the given fully - qualified name or the default value if there is no such attribute value. -

-

-

-
-
-
-
Parameters:
qName - is the fully qualified name
defaultValue - is the default value to be returned if the attribute has no - value defined. -
Returns:
the value of the attribute or the defaultValue if the attribute - has no value defined.
-
-
-
- -

-setAttributeValue

-
-public void setAttributeValue(String name,
-                              String value)
-
-
Deprecated. As of version 0.5. Please use addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -

-

- Sets the attribute value of the given local name. -

-

-

-
-
-
-
Parameters:
name - is the name of the attribute whose value is to be added or - updated
value - is the attribute's value
-
-
-
- -

-setAttributeValue

-
-public void setAttributeValue(QName qName,
-                              String value)
-
-
Deprecated. As of version 0.5. Please use addAttribute(QName,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -

-

- Sets the attribute value of the given fully qualified name. -

-

-

-
-
-
-
Parameters:
qName - is the fully qualified name of the attribute whose value is to - be added or updated
value - is the attribute's value
-
-
-
- -

-element

-
-public Element element(String name)
-
-
Returns the first element for the given local name and any namespace. -

-

-
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
the first element with the given local name
-
-
-
- -

-element

-
-public Element element(QName qName)
-
-
Returns the first element for the given fully qualified name. -

-

-
-
-
-
Parameters:
qName - is the fully qualified name to search for -
Returns:
the first element with the given fully qualified name
-
-
-
- -

-elements

-
-public List elements()
-
-

- Returns the elements contained in this element. If this element does not - contain any elements then this method returns an empty list. The list is - backed by the element such that changes to the list will be reflected in - the element though the reverse is not the case. -

-

-

-
-
-
- -
Returns:
a list of all the elements in this element.
-
-
-
- -

-elements

-
-public List elements(String name)
-
-

- Returns the elements contained in this element with the given local name - and any namespace. If no elements are found then this method returns an - empty list. The list is backed by the element such that changes to the - list will be reflected in the element though the reverse is not the case. -

-

-

-
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
a list of all the elements in this element for the given local - name
-
-
-
- -

-elements

-
-public List elements(QName qName)
-
-

- Returns the elements contained in this element with the given fully - qualified name. If no elements are found then this method returns an - empty list. The list is backed by the element such that changes to the - list will be reflected in the element though the reverse is not the case. -

-

-

-
-
-
-
Parameters:
qName - is the fully qualified name to search for -
Returns:
a list of all the elements in this element for the given fully - qualified name.
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator()
-
-
Returns an iterator over all this elements child elements. -

-

-
-
-
- -
Returns:
an iterator over the contained elements
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator(String name)
-
-
Returns an iterator over the elements contained in this element which - match the given local name and any namespace. -

-

-
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
an iterator over the contained elements matching the given local - name
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator(QName qName)
-
-
Returns an iterator over the elements contained in this element which - match the given fully qualified name. -

-

-
-
-
-
Parameters:
qName - is the fully qualified name to search for -
Returns:
an iterator over the contained elements matching the given fully - qualified name
-
-
-
- -

-isRootElement

-
-public boolean isRootElement()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
true if this element is the root element of a document and this - element supports the parent relationship else false.
-
-
-
- -

-hasMixedContent

-
-public boolean hasMixedContent()
-
-

- Returns true if this Element has mixed content. Mixed - content means that an element contains both textual data and child - elements. -

-

-

-
-
-
- -
Returns:
true if this element contains mixed content.
-
-
-
- -

-isTextOnly

-
-public boolean isTextOnly()
-
-

- Returns true if this Element has text only content. -

-

-

-
-
-
- -
Returns:
true if this element is empty or only contains text content.
-
-
-
- -

-appendAttributes

-
-public void appendAttributes(Element element)
-
-
Appends the attributes of the given element to me. This method behaves - like the Collection.addAll(java.util.Collection) - method. -

-

-
-
-
-
Parameters:
element - is the element whose attributes will be added to me.
-
-
-
- -

-createCopy

-
-public Element createCopy()
-
-

- Creates a deep copy of this element The new element is detached from its - parent, and getParent() on the clone will return null. -

-

-

-
-
-
- -
Returns:
a new deep copy Element
-
-
-
- -

-createCopy

-
-public Element createCopy(String name)
-
-

- Creates a deep copy of this element with the given local name The new - element is detached from its parent, and getParent() on the clone will - return null. -

-

-

-
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
a new deep copy Element
-
-
-
- -

-createCopy

-
-public Element createCopy(QName qName)
-
-

- Creates a deep copy of this element with the given fully qualified name. - The new element is detached from its parent, and getParent() on the clone - will return null. -

-

-

-
-
-
-
Parameters:
qName - DOCUMENT ME! -
Returns:
a new deep copy Element
-
-
-
- -

-elementText

-
-public String elementText(String name)
-
-
-
-
-
-
-
-
-
- -

-elementText

-
-public String elementText(QName qname)
-
-
-
-
-
-
-
-
-
- -

-elementTextTrim

-
-public String elementTextTrim(String name)
-
-
-
-
-
-
-
-
-
- -

-elementTextTrim

-
-public String elementTextTrim(QName qname)
-
-
-
-
-
-
-
-
-
- -

-getXPathResult

-
-public Node getXPathResult(int index)
-
-
Returns a node at the given index suitable for an XPath result set. This - means the resulting Node will either be null or it will support the - parent relationship. -

-

-
-
-
-
Parameters:
index - DOCUMENT ME! -
Returns:
the Node for the given index which will support the parent - relationship or null if there is not a node at the given index.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/ElementHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/ElementHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/ElementHandler.html 2005-05-16 13:26:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/ElementHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,255 +0,0 @@ - - - - - - - -ElementHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface ElementHandler

-
-
-
public interface ElementHandler
- -

-

- ElementHandler interface defines a handler of - Element objects. It is used primarily in event based - processing models such as for processing large XML documents as they are - being parsed rather than waiting until the whole document is parsed. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidonEnd(ElementPath elementPath) - -
-          Called by an event based processor when an elements closing tag is - encountered.
- voidonStart(ElementPath elementPath) - -
-          Called by an event based processor when an elements openning tag is - encountered.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-onStart

-
-public void onStart(ElementPath elementPath)
-
-
Called by an event based processor when an elements openning tag is - encountered. -

-

-
Parameters:
elementPath - is the current ElementPath to process
-
-
-
- -

-onEnd

-
-public void onEnd(ElementPath elementPath)
-
-
Called by an event based processor when an elements closing tag is - encountered. -

-

-
Parameters:
elementPath - is the current ElementPath to process
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/ElementPath.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/ElementPath.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/ElementPath.html 2005-05-16 13:26:53.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/ElementPath.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,347 +0,0 @@ - - - - - - - -ElementPath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface ElementPath

-
-
-
public interface ElementPath
- -

-This interface is used by ElementHandlerinstances to retrieve - information about the current path hierarchy they are to process. It's - primary use is to retrieve the current Elementbeing processed. -

- -

-

-
Version:
-
$Revision: 1.6 $
-
Author:
-
Dave White
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
- ElementgetCurrent() - -
-          DOCUMENT ME!
- ElementgetElement(int depth) - -
-          DOCUMENT ME!
- StringgetPath() - -
-          DOCUMENT ME!
- voidremoveHandler(String path) - -
-          Removes the ElementHandler from the event based processor, - for the specified path.
- intsize() - -
-          DOCUMENT ME!
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-size

-
-public int size()
-
-
DOCUMENT ME! -

-

- -
Returns:
the number of elements in the path
-
-
-
- -

-getElement

-
-public Element getElement(int depth)
-
-
DOCUMENT ME! -

-

-
Parameters:
depth - DOCUMENT ME! -
Returns:
the element at the specified depth index, 0 = root element
-
-
-
- -

-getPath

-
-public String getPath()
-
-
DOCUMENT ME! -

-

- -
Returns:
the path as a string
-
-
-
- -

-getCurrent

-
-public Element getCurrent()
-
-
DOCUMENT ME! -

-

- -
Returns:
the current element
-
-
-
- -

-addHandler

-
-public void addHandler(String path,
-                       ElementHandler handler)
-
-
Adds the ElementHandler to be called when the specified - path is encounted. The path can be either an absolute path (i.e. prefixed - with "/") or a relative path (i.e. assummed to be a child of the current - path as retrieved by getPath . -

-

-
Parameters:
path - is the path to be handled
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-removeHandler

-
-public void removeHandler(String path)
-
-
Removes the ElementHandler from the event based processor, - for the specified path. The path can be either an absolute path (i.e. - prefixed with "/") or a relative path (i.e. assummed to be a child of the - current path as retrieved by getPath . -

-

-
Parameters:
path - is the path to remove the ElementHandler for.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Entity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Entity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Entity.html 2005-05-16 13:26:19.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Entity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,224 +0,0 @@ - - - - - - - -Entity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Entity

-
-
All Superinterfaces:
Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractEntity
-
-
-
-
public interface Entity
extends Node
- -

-

- Entity defines an XML entity. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/IllegalAddException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/IllegalAddException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/IllegalAddException.html 2005-05-16 13:27:36.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/IllegalAddException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,284 +0,0 @@ - - - - - - - -IllegalAddException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class IllegalAddException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended byjava.lang.RuntimeException
-              extended byjava.lang.IllegalArgumentException
-                  extended byorg.dom4j.IllegalAddException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class IllegalAddException
extends IllegalArgumentException
- -

-

- IllegalAddException is thrown when a node is added incorrectly - to an Element -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
IllegalAddException(Branch parent, - Node node, - String reason) - -
-           
IllegalAddException(Element parent, - Node node, - String reason) - -
-           
IllegalAddException(String reason) - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-IllegalAddException

-
-public IllegalAddException(String reason)
-
-
-
- -

-IllegalAddException

-
-public IllegalAddException(Element parent,
-                           Node node,
-                           String reason)
-
-
-
- -

-IllegalAddException

-
-public IllegalAddException(Branch parent,
-                           Node node,
-                           String reason)
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/InvalidXPathException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/InvalidXPathException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/InvalidXPathException.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/InvalidXPathException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,280 +0,0 @@ - - - - - - - -InvalidXPathException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class InvalidXPathException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended byjava.lang.RuntimeException
-              extended byjava.lang.IllegalArgumentException
-                  extended byorg.dom4j.InvalidXPathException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class InvalidXPathException
extends IllegalArgumentException
- -

-

- InvalidXPathException is thrown when an invalid XPath - expression is used to traverse an XML document -

-

- -

-

-
Version:
-
$Revision: 1.6.2.1 $
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvalidXPathException(String xpath) - -
-           
InvalidXPathException(String xpath, - String reason) - -
-           
InvalidXPathException(String xpath, - Throwable t) - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-InvalidXPathException

-
-public InvalidXPathException(String xpath)
-
-
-
- -

-InvalidXPathException

-
-public InvalidXPathException(String xpath,
-                             String reason)
-
-
-
- -

-InvalidXPathException

-
-public InvalidXPathException(String xpath,
-                             Throwable t)
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Namespace.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Namespace.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Namespace.html 2005-05-16 13:26:36.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Namespace.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,783 +0,0 @@ - - - - - - - -Namespace (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class Namespace

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.Namespace
-
-
-
All Implemented Interfaces:
Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultNamespace
-
-
-
-
public class Namespace
extends AbstractNode
- -

-

- Namespace is a Flyweight Namespace that can be shared amongst - nodes. -

-

- -

-

-
Version:
-
$Revision: 1.22 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static NamespaceCacheCACHE - -
-          Cache of Namespace instances
-static NamespaceNO_NAMESPACE - -
-          No Namespace present
-static NamespaceXML_NAMESPACE - -
-          XML Namespace
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
Namespace(String prefix, - String uri) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
-protected  intcreateHashCode() - -
-          Factory method to create the hashcode allowing derived classes to change - the behaviour
-protected  NodecreateXPathResult(Element parent) - -
-           
- booleanequals(Object object) - -
-          Checks whether this Namespace equals the given Namespace.
-static Namespaceget(String uri) - -
-          A helper method to return the Namespace instance for no prefix and the - URI
-static Namespaceget(String prefix, - String uri) - -
-          A helper method to return the Namespace instance for the given prefix and - URI
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetPrefix() - -
-          DOCUMENT ME!
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetText() - -
-           - Returns the text of this node. -
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- StringgetURI() - -
-          DOCUMENT ME!
- StringgetXPathNameStep() - -
-           
- inthashCode() - -
-          DOCUMENT ME!
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-CACHE

-
-protected static final NamespaceCache CACHE
-
-
Cache of Namespace instances -

-

-
-
-
- -

-XML_NAMESPACE

-
-public static final Namespace XML_NAMESPACE
-
-
XML Namespace -

-

-
-
-
- -

-NO_NAMESPACE

-
-public static final Namespace NO_NAMESPACE
-
-
No Namespace present -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Namespace

-
-public Namespace(String prefix,
-                 String uri)
-
-
DOCUMENT ME! -

-

Parameters:
prefix - is the prefix for this namespace
uri - is the URI for this namespace
- - - - - - - - -
-Method Detail
- -

-get

-
-public static Namespace get(String prefix,
-                            String uri)
-
-
A helper method to return the Namespace instance for the given prefix and - URI -

-

-
Parameters:
prefix - DOCUMENT ME!
uri - DOCUMENT ME! -
Returns:
an interned Namespace object
-
-
-
- -

-get

-
-public static Namespace get(String uri)
-
-
A helper method to return the Namespace instance for no prefix and the - URI -

-

-
Parameters:
uri - DOCUMENT ME! -
Returns:
an interned Namespace object
-
-
-
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
DOCUMENT ME! -

-

- -
Returns:
the hash code based on the qualified name and the URI of the - namespace.
-
-
-
- -

-createHashCode

-
-protected int createHashCode()
-
-
Factory method to create the hashcode allowing derived classes to change - the behaviour -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-equals

-
-public boolean equals(Object object)
-
-
Checks whether this Namespace equals the given Namespace. Two Namespaces - are equals if their URI and prefix are equal. -

-

-
Parameters:
object - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Description copied from interface: Node
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . -

-

-
Specified by:
getStringValue in interface Node
Overrides:
getStringValue in class AbstractNode
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
DOCUMENT ME! -

-

- -
Returns:
the prefix for this Namespace.
-
-
-
- -

-getURI

-
-public String getURI()
-
-
DOCUMENT ME! -

-

- -
Returns:
the URI for this Namespace.
-
-
-
- -

-getXPathNameStep

-
-public String getXPathNameStep()
-
-
-
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

- -
Returns:
the XML representation of this node
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Node.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Node.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Node.html 2005-05-16 13:27:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Node.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1602 +0,0 @@ - - - - - - - -Node (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Node

-
-
All Superinterfaces:
Cloneable
-
-
-
All Known Subinterfaces:
Attribute, Branch, CDATA, CharacterData, Comment, Document, DocumentType, Element, Entity, ProcessingInstruction, Text
-
-
-
All Known Implementing Classes:
AbstractAttribute, AbstractBranch, AbstractCDATA, AbstractCharacterData, AbstractComment, AbstractDocument, AbstractDocumentType, AbstractElement, AbstractEntity, AbstractNode, AbstractProcessingInstruction, AbstractText, FlyweightCDATA, FlyweightComment, FlyweightText
-
-
-
-
public interface Node
extends Cloneable
- -

-

- Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -

- -

- A node can be output as its XML format, can be detached from its position in - a document and can have XPath expressions evaluated on itself. -

- -

- A node may optionally support the parent relationship and may be read only. -

-

- -

-

-
Version:
-
$Revision: 1.31 $
-
Author:
-
James Strachan
-
See Also:
supportsParent(), -isReadOnly()
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static shortANY_NODE - -
-          Matches Element nodes
-static shortATTRIBUTE_NODE - -
-          Matches elements nodes
-static shortCDATA_SECTION_NODE - -
-          Matches elements nodes
-static shortCOMMENT_NODE - -
-          Matches Comments nodes
-static shortDOCUMENT_NODE - -
-          Matches Document nodes
-static shortDOCUMENT_TYPE_NODE - -
-          Matches DocumentType nodes
-static shortELEMENT_NODE - -
-          Matches Element nodes
-static shortENTITY_REFERENCE_NODE - -
-          Matches elements nodes
-static shortMAX_NODE_TYPE - -
-          The maximum number of node types for sizing purposes
-static shortNAMESPACE_NODE - -
-          Matchs a Namespace Node - NOTE this differs from DOM
-static shortPROCESSING_INSTRUCTION_NODE - -
-          Matches ProcessingInstruction
-static shortTEXT_NODE - -
-          Matches elements nodes
-static shortUNKNOWN_NODE - -
-          Does not match any valid node
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- NodeasXPathResult(Element parent) - -
-           - asXPathResult returns a version of this node which is - capable of being an XPath result.
- Objectclone() - -
-           - clone will return a deep clone or if this node is - read-only then clone will return the same instance. -
- XPathcreateXPath(String xpathExpression) - -
-           - createXPath creates an XPath object for the given - xpathExpression.
- Nodedetach() - -
-           - Removes this node from its parent if there is one.
- DocumentgetDocument() - -
-           - getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -
- StringgetName() - -
-           - getName returns the name of this node.
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetNodeTypeName() - -
-          DOCUMENT ME!
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- StringgetPath() - -
-           - Returns the XPath expression which will return a node set containing the - given node such as /a/b/@c.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetText() - -
-           - Returns the text of this node. -
- StringgetUniquePath() - -
-           - Returns the XPath expression which will return a nodeset of one node - which is the current node.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- booleanhasContent() - -
-           - hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- booleanmatches(String xpathExpression) - -
-           - matches returns true if evaluating the given XPath - expression on this node returns a non-empty node set containing this - node. -
- NumbernumberValueOf(String xpathExpression) - -
-           - numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - in a number, or null if the result is not a number. -
- ListselectNodes(String xpathExpression) - -
-           - selectNodes evaluates an XPath expression and returns the - result as a List of Node instances or - String instances depending on the XPath expression. -
- ListselectNodes(String xpathExpression, - String comparisonXPathExpression) - -
-           - selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -
- ListselectNodes(String xpathExpression, - String comparisonXPathExpression, - boolean removeDuplicates) - -
-           - selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -
- ObjectselectObject(String xpathExpression) - -
-           - selectObject evaluates an XPath expression and returns the - result as an Object.
- NodeselectSingleNode(String xpathExpression) - -
-           - selectSingleNode evaluates an XPath expression and returns - the result as a single Node instance. -
- voidsetDocument(Document document) - -
-           - setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- StringvalueOf(String xpathExpression) - -
-           - valueOf evaluates an XPath expression and returns the - textual representation of the results the XPath string-value of this - node.
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
-  -

- - - - - - - - -
-Field Detail
- -

-ANY_NODE

-
-public static final short ANY_NODE
-
-
Matches Element nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-ELEMENT_NODE

-
-public static final short ELEMENT_NODE
-
-
Matches Element nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-ATTRIBUTE_NODE

-
-public static final short ATTRIBUTE_NODE
-
-
Matches elements nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-TEXT_NODE

-
-public static final short TEXT_NODE
-
-
Matches elements nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-CDATA_SECTION_NODE

-
-public static final short CDATA_SECTION_NODE
-
-
Matches elements nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-ENTITY_REFERENCE_NODE

-
-public static final short ENTITY_REFERENCE_NODE
-
-
Matches elements nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-PROCESSING_INSTRUCTION_NODE

-
-public static final short PROCESSING_INSTRUCTION_NODE
-
-
Matches ProcessingInstruction -

-

-
See Also:
Constant Field Values
-
-
- -

-COMMENT_NODE

-
-public static final short COMMENT_NODE
-
-
Matches Comments nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-DOCUMENT_NODE

-
-public static final short DOCUMENT_NODE
-
-
Matches Document nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-DOCUMENT_TYPE_NODE

-
-public static final short DOCUMENT_TYPE_NODE
-
-
Matches DocumentType nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-NAMESPACE_NODE

-
-public static final short NAMESPACE_NODE
-
-
Matchs a Namespace Node - NOTE this differs from DOM -

-

-
See Also:
Constant Field Values
-
-
- -

-UNKNOWN_NODE

-
-public static final short UNKNOWN_NODE
-
-
Does not match any valid node -

-

-
See Also:
Constant Field Values
-
-
- -

-MAX_NODE_TYPE

-
-public static final short MAX_NODE_TYPE
-
-
The maximum number of node types for sizing purposes -

-

-
See Also:
Constant Field Values
-
- - - - - - - - - - - -
-Method Detail
- -

-supportsParent

-
-public boolean supportsParent()
-
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
-
-
- -
Returns:
true if this node supports the parent relationship or false it is - not supported
-
-
-
- -

-getParent

-
-public Element getParent()
-
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
-
-
- -
Returns:
the parent of this node or null if it is the root of the tree or - the parent relationship is not supported.
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
-
-
-
Parameters:
parent - is the new parent of this node.
-
-
-
- -

-getDocument

-
-public Document getDocument()
-
-

- getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
-
-
- -
Returns:
the document of this node or null if this feature is not - supported or the node is not associated with a - Document
-
-
-
- -

-setDocument

-
-public void setDocument(Document document)
-
-

- setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -

- -

- This method should only be called from inside a Document - implementation method and is not intended for general use. -

-

-

-
-
-
-
Parameters:
document - is the new document of this node.
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
-
-
- -
Returns:
true if this Node is read only and cannot be - modified otherwise false.
-
-
-
- -

-hasContent

-
-public boolean hasContent()
-
-

- hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. -

-

-

-
-
-
- -
Returns:
true if this Node is a Branch with a nodeCount() - of one or more.
-
-
-
- -

-getName

-
-public String getName()
-
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
-
-
- -
Returns:
the XML name of this node
-
-
-
- -

-setName

-
-public void setName(String name)
-
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
-
-
-
Parameters:
name - is the new name of this node
-
-
-
- -

-getText

-
-public String getText()
-
-

- Returns the text of this node. -

-

-

-
-
-
- -
Returns:
the text for this node.
-
-
-
- -

-setText

-
-public void setText(String text)
-
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
-
-
-
Parameters:
text - is the new textual value of this node
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . -

-

-
-
-
- -
Returns:
the text from all the child Text and Element nodes appended - together.
-
-
-
- -

-getPath

-
-public String getPath()
-
-

- Returns the XPath expression which will return a node set containing the - given node such as /a/b/@c. No indexing will be used to restrict the - path if multiple elements with the same name occur on the path. -

-

-

-
-
-
- -
Returns:
the XPath expression which will return a nodeset containing at - least this node.
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath()
-
-

- Returns the XPath expression which will return a nodeset of one node - which is the current node. This method will use the XPath index operator - to restrict the path if multiple elements with the same name occur on the - path. -

-

-

-
-
-
- -
Returns:
the XPath expression which will return a nodeset containing just - this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-asXML

-
-public String asXML()
-
-

- asXML returns the textual XML representation of this node. -

-

-

-
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
-
-
-
Parameters:
writer - is the Writer to output the XML to -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-getNodeType

-
-public short getNodeType()
-
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
-
-
- -
Returns:
a W3C DOM complient code for the node type such as ELEMENT_NODE - or ATTRIBUTE_NODE
-
-
-
- -

-getNodeTypeName

-
-public String getNodeTypeName()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the name of the type of node such as "Document", "Element", - "Attribute" or "Text"
-
-
-
- -

-detach

-
-public Node detach()
-
-

- Removes this node from its parent if there is one. If this node is the - root element of a document then it is removed from the document as well. -

- -

- This method is useful if you want to remove a node from its source - document and add it to another document. For example -

- Node node = ...; Element someOtherElement = ...; - someOtherElement.add( node.detach() ); -

-

-
-
-
- -
Returns:
the node that has been removed from its parent node if any and - its document if any.
-
-
-
- -

-selectNodes

-
-public List selectNodes(String xpathExpression)
-
-

- selectNodes evaluates an XPath expression and returns the - result as a List of Node instances or - String instances depending on the XPath expression. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the list of Node or String - instances depending on the XPath expression
-
-
-
- -

-selectObject

-
-public Object selectObject(String xpathExpression)
-
-

- selectObject evaluates an XPath expression and returns the - result as an Object. The object returned can either be a List of one or more Nodeinstances or a scalar object like a - Stringor a Numberinstance depending on the XPath - expression. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the value of the XPath expression as a Listof Node instances, a Stringor a Numberinstance - depending on the XPath expression.
-
-
-
- -

-selectNodes

-
-public List selectNodes(String xpathExpression,
-                        String comparisonXPathExpression)
-
-

- selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated
comparisonXPathExpression - is the XPath expression used to compare the results by for - sorting -
Returns:
the list of Node instances sorted by the - comparisonXPathExpression
-
-
-
- -

-selectNodes

-
-public List selectNodes(String xpathExpression,
-                        String comparisonXPathExpression,
-                        boolean removeDuplicates)
-
-

- selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated
comparisonXPathExpression - is the XPath expression used to compare the results by for - sorting
removeDuplicates - if this parameter is true then duplicate values (using the - comparisonXPathExpression) are removed from the result List. -
Returns:
the list of Node instances sorted by the - comparisonXPathExpression
-
-
-
- -

-selectSingleNode

-
-public Node selectSingleNode(String xpathExpression)
-
-

- selectSingleNode evaluates an XPath expression and returns - the result as a single Node instance. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the Node matching the XPath expression
-
-
-
- -

-valueOf

-
-public String valueOf(String xpathExpression)
-
-

- valueOf evaluates an XPath expression and returns the - textual representation of the results the XPath string-value of this - node. The string-value for a given node type is defined in the XPath specification . -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the string-value representation of the results of the XPath - expression
-
-
-
- -

-numberValueOf

-
-public Number numberValueOf(String xpathExpression)
-
-

- numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - in a number, or null if the result is not a number. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the numeric result of the XPath expression or null if the result - is not a number.
-
-
-
- -

-matches

-
-public boolean matches(String xpathExpression)
-
-

- matches returns true if evaluating the given XPath - expression on this node returns a non-empty node set containing this - node. -

- -

- This method does not behave like the <xsl:if> element - if you want - that behaviour, to evaluate if an XPath expression matches something, - then you can use the following code to be equivalent... -

- if ( node.selectSingleNode( "/some/path" ) != nulll ) -

-

-
-
-
-
Parameters:
xpathExpression - is an XPath expression -
Returns:
true if this node is returned by the given XPath expression
-
-
-
- -

-createXPath

-
-public XPath createXPath(String xpathExpression)
-                  throws InvalidXPathException
-
-

- createXPath creates an XPath object for the given - xpathExpression. The XPath object allows the variable context to be - specified. -

-

-

-
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
an XPath object represeting the given expression -
Throws: -
InvalidXPathException - if the XPath expression is invalid
-
-
-
- -

-asXPathResult

-
-public Node asXPathResult(Element parent)
-
-

- asXPathResult returns a version of this node which is - capable of being an XPath result. The result of an XPath expression - should always support the parent relationship, whether the original XML - tree was singly or doubly linked. If the node does not support the parent - relationship then a new node will be created which is linked to its - parent and returned. -

-

-

-
-
-
-
Parameters:
parent - DOCUMENT ME! -
Returns:
a Node which supports the parent relationship
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-

- accept is the method used in the Visitor Pattern. -

-

-

-
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
-
- -

-clone

-
-public Object clone()
-
-

- clone will return a deep clone or if this node is - read-only then clone will return the same instance. -

-

-

-
-
-
- -
Returns:
a deep clone of myself or myself if I am read only.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/NodeFilter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/NodeFilter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/NodeFilter.html 2005-05-16 13:27:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/NodeFilter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,241 +0,0 @@ - - - - - - - -NodeFilter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface NodeFilter

-
-
All Known Subinterfaces:
Pattern, XPath
-
-
-
All Known Implementing Classes:
DefaultPattern, DefaultXPath, NodeTypePattern, XPathPattern
-
-
-
-
public interface NodeFilter
- -

-

- NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node. Instances can be generated from an DocumentFactory. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanmatches(Node node) - -
-           - matches returns true if the given node matches the filter - condition. -
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(Node node)
-
-

- matches returns true if the given node matches the filter - condition. -

-

-

-
Parameters:
node - DOCUMENT ME! -
Returns:
true if this filter matches the given node
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/ProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/ProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/ProcessingInstruction.html 2005-05-16 13:27:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/ProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,439 +0,0 @@ - - - - - - - -ProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface ProcessingInstruction

-
-
All Superinterfaces:
Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractProcessingInstruction
-
-
-
-
public interface ProcessingInstruction
extends Node
- -

-

- ProcessingInstruction defines an XML processing instruction. - The Node.getName()method will return the target of the PI and the - Node.getText()method will return the data from all of the - instructions. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetTarget() - -
-          This method is the equivalent to the Node.getName()method.
- StringgetText() - -
-          DOCUMENT ME!
- StringgetValue(String name) - -
-           - Returns the value of a specific name in the PI. -
- MapgetValues() - -
-          DOCUMENT ME!
- booleanremoveValue(String name) - -
-           
- voidsetTarget(String target) - -
-          This method is the equivalent to the Node.setName(java.lang.String)method.
- voidsetValue(String name, - String value) - -
-           
- voidsetValues(Map data) - -
-           
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getTarget

-
-public String getTarget()
-
-
This method is the equivalent to the Node.getName()method. It is added - for clarity. -

-

-
-
-
- -
Returns:
the target of this PI
-
-
-
- -

-setTarget

-
-public void setTarget(String target)
-
-
This method is the equivalent to the Node.setName(java.lang.String)method. It is added - for clarity. -

-

-
-
-
-
Parameters:
target - DOCUMENT ME!
-
-
-
- -

-getText

-
-public String getText()
-
-
DOCUMENT ME! -

-

-
Specified by:
getText in interface Node
-
-
- -
Returns:
the text for all the data associated with the processing - instruction
-
-
-
- -

-getValue

-
-public String getValue(String name)
-
-

- Returns the value of a specific name in the PI. -

-

-

-
-
-
-
Parameters:
name - is the name of the attribute to lookup. -
Returns:
the value of the named attribute
-
-
-
- -

-getValues

-
-public Map getValues()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the values for this processing instruction as a Map
-
-
-
- -

-setValue

-
-public void setValue(String name,
-                     String value)
-
-
-
-
-
-
-
-
-
- -

-setValues

-
-public void setValues(Map data)
-
-
-
-
-
-
-
-
-
- -

-removeValue

-
-public boolean removeValue(String name)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/QName.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/QName.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/QName.html 2005-05-16 13:28:13.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/QName.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,647 +0,0 @@ - - - - - - - -QName (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class QName

-
-java.lang.Object
-  extended byorg.dom4j.QName
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class QName
extends Object
implements Serializable
- -

-

- QName represents a qualified name value of an XML element or - attribute. It consists of a local name and a Namespaceinstance. This - object is immutable. -

-

- -

-

-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
QName(String name) - -
-           
QName(String name, - Namespace namespace) - -
-           
QName(String name, - Namespace namespace, - String qualifiedName) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object object) - -
-           
-static QNameget(String name) - -
-           
-static QNameget(String name, - Namespace namespace) - -
-           
-static QNameget(String localName, - Namespace namespace, - String qualifiedName) - -
-           
-static QNameget(String qualifiedName, - String uri) - -
-           
-static QNameget(String name, - String prefix, - String uri) - -
-           
- DocumentFactorygetDocumentFactory() - -
-          DOCUMENT ME!
- StringgetName() - -
-          DOCUMENT ME!
- NamespacegetNamespace() - -
-          DOCUMENT ME!
- StringgetNamespacePrefix() - -
-          DOCUMENT ME!
- StringgetNamespaceURI() - -
-          DOCUMENT ME!
- StringgetQualifiedName() - -
-          DOCUMENT ME!
- inthashCode() - -
-          DOCUMENT ME!
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-QName

-
-public QName(String name)
-
-
-
- -

-QName

-
-public QName(String name,
-             Namespace namespace)
-
-
-
- -

-QName

-
-public QName(String name,
-             Namespace namespace,
-             String qualifiedName)
-
-
- - - - - - - - -
-Method Detail
- -

-get

-
-public static QName get(String name)
-
-
-
-
-
-
-
-
-
- -

-get

-
-public static QName get(String name,
-                        Namespace namespace)
-
-
-
-
-
-
-
-
-
- -

-get

-
-public static QName get(String name,
-                        String prefix,
-                        String uri)
-
-
-
-
-
-
-
-
-
- -

-get

-
-public static QName get(String qualifiedName,
-                        String uri)
-
-
-
-
-
-
-
-
-
- -

-get

-
-public static QName get(String localName,
-                        Namespace namespace,
-                        String qualifiedName)
-
-
-
-
-
-
-
-
-
- -

-getName

-
-public String getName()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the local name
-
-
-
- -

-getQualifiedName

-
-public String getQualifiedName()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the qualified name in the format prefix:localName
-
-
-
- -

-getNamespace

-
-public Namespace getNamespace()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the namespace of this QName
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the namespace URI of this QName
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the namespace URI of this QName
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the hash code based on the qualified name and the URI of the - namespace.
-
-
-
- -

-equals

-
-public boolean equals(Object object)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the factory that should be used for Elements of this QName
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Text.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Text.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Text.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Text.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,233 +0,0 @@ - - - - - - - -Text (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Text

-
-
All Superinterfaces:
CharacterData, Cloneable, Node
-
-
-
All Known Implementing Classes:
AbstractText, FlyweightText
-
-
-
-
public interface Text
extends CharacterData
- -

-

- Text defines an XML Text node. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Visitor.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Visitor.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/Visitor.html 2005-05-16 13:26:13.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/Visitor.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,470 +0,0 @@ - - - - - - - -Visitor (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface Visitor

-
-
All Known Implementing Classes:
VisitorSupport
-
-
-
-
public interface Visitor
- -

-

- Visitor is used to implement the Visitor - pattern in DOM4J. An object of this interface can be passed to a - Node which will then call its typesafe methods. Please refer - to the Gang of Four book of Design Patterns for more details on the - Visitor pattern. -

- -

- This site - has further discussion on design patterns and links to the GOF book. This link describes the - Visitor pattern in detail. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidvisit(Attribute node) - -
-           - Visits the given Attribute -
- voidvisit(CDATA node) - -
-           - Visits the given CDATA -
- voidvisit(Comment node) - -
-           - Visits the given Comment -
- voidvisit(Document document) - -
-           - Visits the given Document -
- voidvisit(DocumentType documentType) - -
-           - Visits the given DocumentType -
- voidvisit(Element node) - -
-           - Visits the given Element -
- voidvisit(Entity node) - -
-           - Visits the given Entity -
- voidvisit(Namespace namespace) - -
-           - Visits the given Namespace -
- voidvisit(ProcessingInstruction node) - -
-           - Visits the given ProcessingInstruction -
- voidvisit(Text node) - -
-           - Visits the given Text -
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-visit

-
-public void visit(Document document)
-
-

- Visits the given Document -

-

-

-
Parameters:
document - is the Document node to visit.
-
-
-
- -

-visit

-
-public void visit(DocumentType documentType)
-
-

- Visits the given DocumentType -

-

-

-
Parameters:
documentType - is the DocumentType node to visit.
-
-
-
- -

-visit

-
-public void visit(Element node)
-
-

- Visits the given Element -

-

-

-
Parameters:
node - is the Element node to visit.
-
-
-
- -

-visit

-
-public void visit(Attribute node)
-
-

- Visits the given Attribute -

-

-

-
Parameters:
node - is the Attribute node to visit.
-
-
-
- -

-visit

-
-public void visit(CDATA node)
-
-

- Visits the given CDATA -

-

-

-
Parameters:
node - is the CDATA node to visit.
-
-
-
- -

-visit

-
-public void visit(Comment node)
-
-

- Visits the given Comment -

-

-

-
Parameters:
node - is the Comment node to visit.
-
-
-
- -

-visit

-
-public void visit(Entity node)
-
-

- Visits the given Entity -

-

-

-
Parameters:
node - is the Entity node to visit.
-
-
-
- -

-visit

-
-public void visit(Namespace namespace)
-
-

- Visits the given Namespace -

-

-

-
Parameters:
namespace - is the Namespace node to visit.
-
-
-
- -

-visit

-
-public void visit(ProcessingInstruction node)
-
-

- Visits the given ProcessingInstruction -

-

-

-
Parameters:
node - is the ProcessingInstruction node to visit.
-
-
-
- -

-visit

-
-public void visit(Text node)
-
-

- Visits the given Text -

-

-

-
Parameters:
node - is the Text node to visit.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/VisitorSupport.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/VisitorSupport.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/VisitorSupport.html 2005-05-16 13:26:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/VisitorSupport.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,541 +0,0 @@ - - - - - - - -VisitorSupport (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class VisitorSupport

-
-java.lang.Object
-  extended byorg.dom4j.VisitorSupport
-
-
-
All Implemented Interfaces:
Visitor
-
-
-
-
public abstract class VisitorSupport
extends Object
implements Visitor
- -

-

- VisitorSupport is an abstract base class which is useful for - implementation inheritence or when using anonymous inner classes to create - simple Visitor implementations. -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
VisitorSupport() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidvisit(Attribute node) - -
-           - Visits the given Attribute -
- voidvisit(CDATA node) - -
-           - Visits the given CDATA -
- voidvisit(Comment node) - -
-           - Visits the given Comment -
- voidvisit(Document document) - -
-           - Visits the given Document -
- voidvisit(DocumentType documentType) - -
-           - Visits the given DocumentType -
- voidvisit(Element node) - -
-           - Visits the given Element -
- voidvisit(Entity node) - -
-           - Visits the given Entity -
- voidvisit(Namespace namespace) - -
-           - Visits the given Namespace -
- voidvisit(ProcessingInstruction node) - -
-           - Visits the given ProcessingInstruction -
- voidvisit(Text node) - -
-           - Visits the given Text -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-VisitorSupport

-
-public VisitorSupport()
-
-
- - - - - - - - -
-Method Detail
- -

-visit

-
-public void visit(Document document)
-
-
Description copied from interface: Visitor
-

- Visits the given Document -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
document - is the Document node to visit.
-
-
-
- -

-visit

-
-public void visit(DocumentType documentType)
-
-
Description copied from interface: Visitor
-

- Visits the given DocumentType -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
documentType - is the DocumentType node to visit.
-
-
-
- -

-visit

-
-public void visit(Element node)
-
-
Description copied from interface: Visitor
-

- Visits the given Element -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the Element node to visit.
-
-
-
- -

-visit

-
-public void visit(Attribute node)
-
-
Description copied from interface: Visitor
-

- Visits the given Attribute -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the Attribute node to visit.
-
-
-
- -

-visit

-
-public void visit(CDATA node)
-
-
Description copied from interface: Visitor
-

- Visits the given CDATA -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the CDATA node to visit.
-
-
-
- -

-visit

-
-public void visit(Comment node)
-
-
Description copied from interface: Visitor
-

- Visits the given Comment -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the Comment node to visit.
-
-
-
- -

-visit

-
-public void visit(Entity node)
-
-
Description copied from interface: Visitor
-

- Visits the given Entity -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the Entity node to visit.
-
-
-
- -

-visit

-
-public void visit(Namespace namespace)
-
-
Description copied from interface: Visitor
-

- Visits the given Namespace -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
namespace - is the Namespace node to visit.
-
-
-
- -

-visit

-
-public void visit(ProcessingInstruction node)
-
-
Description copied from interface: Visitor
-

- Visits the given ProcessingInstruction -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the ProcessingInstruction node to visit.
-
-
-
- -

-visit

-
-public void visit(Text node)
-
-
Description copied from interface: Visitor
-

- Visits the given Text -

-

-

-
Specified by:
visit in interface Visitor
-
-
-
Parameters:
node - is the Text node to visit.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/XPath.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/XPath.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/XPath.html 2005-05-16 13:27:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/XPath.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,853 +0,0 @@ - - - - - - - -XPath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Interface XPath

-
-
All Superinterfaces:
NodeFilter
-
-
-
All Known Implementing Classes:
DefaultXPath
-
-
-
-
public interface XPath
extends NodeFilter
- -

-

- XPath represents an XPath expression after it has been parsed - from a String. -

-

- -

-

-
Version:
-
$Revision: 1.20 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanbooleanValueOf(Object context) - -
-          Retrieve a boolean-value interpretation of this XPath expression when - evaluated against a given context. - -
- Objectevaluate(Object context) - -
-           - evaluate evaluates an XPath expression and returns the - result as an Object.
- org.jaxen.FunctionContextgetFunctionContext() - -
-          DOCUMENT ME!
- org.jaxen.NamespaceContextgetNamespaceContext() - -
-          DOCUMENT ME!
- StringgetText() - -
-           - getText will return the textual version of the XPath - expression. -
- org.jaxen.VariableContextgetVariableContext() - -
-          DOCUMENT ME!
- booleanmatches(Node node) - -
-           - matches returns true if the given node matches the XPath - expression.
- NumbernumberValueOf(Object context) - -
-           - numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - is a number, or null if the result is not a number. -
- ListselectNodes(Object context) - -
-           - selectNodes performs this XPath expression on the given - Nodeor Listof Nodes instances appending all - the results together into a single list. -
- ListselectNodes(Object context, - XPath sortXPath) - -
-           - selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -
- ListselectNodes(Object context, - XPath sortXPath, - boolean distinct) - -
-           - selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -
- ObjectselectObject(Object context) - -
-          Deprecated. please use evaluate(Object) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- NodeselectSingleNode(Object context) - -
-           - selectSingleNode evaluates this XPath expression on the - given Nodeor Listof Nodes and returns the - result as a single Node instance. -
- voidsetFunctionContext(org.jaxen.FunctionContext functionContext) - -
-          Sets the function context to be used when evaluating XPath expressions
- voidsetNamespaceContext(org.jaxen.NamespaceContext namespaceContext) - -
-          Sets the namespace context to be used when evaluating XPath expressions
- voidsetNamespaceURIs(Map map) - -
-           - Sets the current NamespaceContext from a Map where the keys are the - String namespace prefixes and the values are the namespace URIs. -
- voidsetVariableContext(org.jaxen.VariableContext variableContext) - -
-          Sets the variable context to be used when evaluating XPath expressions
- voidsort(List list) - -
-           - sort sorts the given List of Nodes using this XPath - expression as a Comparator. -
- voidsort(List list, - boolean distinct) - -
-           - sort sorts the given List of Nodes using this XPath - expression as a Comparatorand optionally removing - duplicates. -
- StringvalueOf(Object context) - -
-           - valueOf evaluates this XPath expression and returns the - textual representation of the results using the XPath string() function. -
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getText

-
-public String getText()
-
-

- getText will return the textual version of the XPath - expression. -

-

-

-
-
-
- -
Returns:
the textual format of the XPath expression.
-
-
-
- -

-matches

-
-public boolean matches(Node node)
-
-

- matches returns true if the given node matches the XPath - expression. To be more precise when evaluating this XPath expression on - the given node the result set must include the node. -

-

-

-
Specified by:
matches in interface NodeFilter
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the given node matches this XPath expression
-
-
-
- -

-evaluate

-
-public Object evaluate(Object context)
-
-

- evaluate evaluates an XPath expression and returns the - result as an Object. The object returned can either be a List of Nodeinstances, a Nodeinstance, a String or a Numberinstance depending on the XPath expression. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the value of the XPath expression as a Listof Node instances, a Nodeinstance, a Stringor a - Numberinstance depending on the XPath expression.
-
-
-
- -

-selectObject

-
-public Object selectObject(Object context)
-
-
Deprecated. please use evaluate(Object) instead. WILL BE REMOVED IN - dom4j-1.6 !! -

-

- selectObject evaluates an XPath expression and returns the - result as an Object. The object returned can either be a List of Nodeinstances, a Nodeinstance, a String or a Numberinstance depending on the XPath expression. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the value of the XPath expression as a Listof Node instances, a Nodeinstance, a Stringor a - Numberinstance depending on the XPath expression.
-
-
-
- -

-selectNodes

-
-public List selectNodes(Object context)
-
-

- selectNodes performs this XPath expression on the given - Nodeor Listof Nodes instances appending all - the results together into a single list. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the results of all the XPath evaluations as a single list
-
-
-
- -

-selectNodes

-
-public List selectNodes(Object context,
-                        XPath sortXPath)
-
-

- selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath
sortXPath - is the XPath expression to sort by -
Returns:
a list of Node instances
-
-
-
- -

-selectNodes

-
-public List selectNodes(Object context,
-                        XPath sortXPath,
-                        boolean distinct)
-
-

- selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath
sortXPath - is the XPath expression to sort by
distinct - specifies whether or not duplicate values of the sort - expression are allowed. If this parameter is true then only - distinct sort expressions values are included in the result -
Returns:
a list of Node instances
-
-
-
- -

-selectSingleNode

-
-public Node selectSingleNode(Object context)
-
-

- selectSingleNode evaluates this XPath expression on the - given Nodeor Listof Nodes and returns the - result as a single Node instance. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
a single matching Node instance
-
-
-
- -

-valueOf

-
-public String valueOf(Object context)
-
-

- valueOf evaluates this XPath expression and returns the - textual representation of the results using the XPath string() function. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the string representation of the results of the XPath expression
-
-
-
- -

-numberValueOf

-
-public Number numberValueOf(Object context)
-
-

- numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - is a number, or null if the result is not a number. -

-

-

-
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the numeric result of the XPath expression or null if the result - is not a number.
-
-
-
- -

-booleanValueOf

-
-public boolean booleanValueOf(Object context)
-
-
Retrieve a boolean-value interpretation of this XPath expression when - evaluated against a given context. - -

- The boolean-value of the expression is determined per the - boolean(..) core function as defined in the XPath - specification. This means that an expression that selects zero nodes will - return false, while an expression that selects - one-or-more nodes will return true. -

-

-

-
-
-
-
Parameters:
context - The node, nodeset or Context object for evaluation. This value - can be null -
Returns:
The boolean-value interpretation of this expression.
Since:
-
1.5
-
-
-
-
- -

-sort

-
-public void sort(List list)
-
-

- sort sorts the given List of Nodes using this XPath - expression as a Comparator. -

-

-

-
-
-
-
Parameters:
list - is the list of Nodes to sort
-
-
-
- -

-sort

-
-public void sort(List list,
-                 boolean distinct)
-
-

- sort sorts the given List of Nodes using this XPath - expression as a Comparatorand optionally removing - duplicates. -

-

-

-
-
-
-
Parameters:
list - is the list of Nodes to sort
distinct - if true then duplicate values (using the sortXPath for - comparisions) will be removed from the List
-
-
-
- -

-getFunctionContext

-
-public org.jaxen.FunctionContext getFunctionContext()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the current function context
-
-
-
- -

-setFunctionContext

-
-public void setFunctionContext(org.jaxen.FunctionContext functionContext)
-
-
Sets the function context to be used when evaluating XPath expressions -

-

-
-
-
-
Parameters:
functionContext - DOCUMENT ME!
-
-
-
- -

-getNamespaceContext

-
-public org.jaxen.NamespaceContext getNamespaceContext()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the current namespace context
-
-
-
- -

-setNamespaceContext

-
-public void setNamespaceContext(org.jaxen.NamespaceContext namespaceContext)
-
-
Sets the namespace context to be used when evaluating XPath expressions -

-

-
-
-
-
Parameters:
namespaceContext - DOCUMENT ME!
-
-
-
- -

-setNamespaceURIs

-
-public void setNamespaceURIs(Map map)
-
-

- Sets the current NamespaceContext from a Map where the keys are the - String namespace prefixes and the values are the namespace URIs. -

- -

- For example: - -

- Map uris = new HashMap();
- uris.put("SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/");
- uris.put("m", "urn:xmethodsBabelFish");
- XPath xpath = document
-         .createXPath("SOAP-ENV:Envelope/SOAP-ENV:Body/m:BabelFish");
- xpath.setNamespaceURIs(uris);
- Node babelfish = xpath.selectSingleNode(document);
- 
- -

-

-

-
-
-
-
Parameters:
map - the map containing the namespace mappings
-
-
-
- -

-getVariableContext

-
-public org.jaxen.VariableContext getVariableContext()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the current variable context
-
-
-
- -

-setVariableContext

-
-public void setVariableContext(org.jaxen.VariableContext variableContext)
-
-
Sets the variable context to be used when evaluating XPath expressions -

-

-
-
-
-
Parameters:
variableContext - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/XPathException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/XPathException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/XPathException.html 2005-05-16 13:26:24.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/XPathException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,315 +0,0 @@ - - - - - - - -XPathException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j -
-Class XPathException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended byjava.lang.RuntimeException
-              extended byorg.dom4j.XPathException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class XPathException
extends RuntimeException
- -

-

- XPathException is thrown when an exception occurs while - evaluating an XPath expression, usually due to some function throwing an - exception. -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
XPathException(String xpath) - -
-           
XPathException(String xpath, - Exception e) - -
-           
XPathException(String xpath, - String reason) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- StringgetXPath() - -
-          Returns the XPath expression that caused the problem
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XPathException

-
-public XPathException(String xpath)
-
-
-
- -

-XPathException

-
-public XPathException(String xpath,
-                      String reason)
-
-
-
- -

-XPathException

-
-public XPathException(String xpath,
-                      Exception e)
-
-
- - - - - - - - -
-Method Detail
- -

-getXPath

-
-public String getXPath()
-
-
Returns the XPath expression that caused the problem -

-

- -
Returns:
DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanAttribute.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,495 +0,0 @@ - - - - - - - -BeanAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.bean -
-Class BeanAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-          extended byorg.dom4j.bean.BeanAttribute
-
-
-
All Implemented Interfaces:
Attribute, Cloneable, Node, Serializable
-
-
-
-
public class BeanAttribute
extends AbstractAttribute
- -

-

- BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
BeanAttribute(BeanAttributeList beanList, - int index) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ObjectgetData() - -
-           - Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node#getText(). -
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- QNamegetQName() - -
-           - Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -
- StringgetValue() - -
-           - Returns the value of the attribute.
- voidsetData(Object data) - -
-           - Sets the data value of this attribute if this element supports data - binding or calls Node#setText(String)if it doesn't. -
- voidsetValue(String data) - -
-           - Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractAttribute
accept, asXML, createXPathResult, getName, getNamespace, getNamespacePrefix, getNamespaceURI, getNodeType, getPath, getQualifiedName, getText, getUniquePath, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BeanAttribute

-
-public BeanAttribute(BeanAttributeList beanList,
-                     int index)
-
-
- - - - - - - - -
-Method Detail
- -

-getQName

-
-public QName getQName()
-
-
Description copied from interface: Attribute
-

- Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -

-

-

- -
Returns:
the QName associated with this attribute
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-getValue

-
-public String getValue()
-
-
Description copied from interface: Attribute
-

- Returns the value of the attribute. This method returns the same value as - the Node.getText()method. -

-

-

- -
Returns:
the value of the attribute
-
-
-
- -

-setValue

-
-public void setValue(String data)
-
-
Description copied from interface: Attribute
-

- Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setValue in interface Attribute
Overrides:
setValue in class AbstractAttribute
-
-
-
-
-
-
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Attribute
-

- Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -

-

-

-
Specified by:
getData in interface Attribute
Overrides:
getData in class AbstractAttribute
-
-
-
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Attribute
-

- Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -

-

-

-
Specified by:
setData in interface Attribute
Overrides:
setData in class AbstractAttribute
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanAttributeList.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanAttributeList.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanAttributeList.html 2005-05-16 13:26:53.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanAttributeList.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,623 +0,0 @@ - - - - - - - -BeanAttributeList (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.bean -
-Class BeanAttributeList

-
-java.lang.Object
-  extended byjava.util.AbstractCollection
-      extended byjava.util.AbstractList
-          extended byorg.dom4j.bean.BeanAttributeList
-
-
-
All Implemented Interfaces:
Collection, List
-
-
-
-
public class BeanAttributeList
extends AbstractList
- -

-

- BeanAttributeList implements a list of Attributes which are - the properties of a JavaBean. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.AbstractList
modCount
-  - - - - - - - - - - - - - -
-Constructor Summary
BeanAttributeList(BeanElement parent) - -
-           
BeanAttributeList(BeanElement parent, - BeanMetaData beanMetaData) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(int index, - Object object) - -
-           
- booleanadd(Object object) - -
-           
- BeanAttributeattribute(int index) - -
-           
- Attributeattribute(QName qname) - -
-           
- Attributeattribute(String name) - -
-           
- voidclear() - -
-           
-protected  BeanAttributecreateAttribute(BeanElement element, - int index) - -
-           
- Objectget(int index) - -
-           
- ObjectgetData(int index) - -
-           
- BeanElementgetParent() - -
-           
- QNamegetQName(int index) - -
-           
- Objectremove(int index) - -
-           
- booleanremove(Object object) - -
-           
- Objectset(int index, - Object object) - -
-           
- voidsetData(int index, - Object data) - -
-           
- intsize() - -
-           
- - - - - - - -
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
- - - - - - - -
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BeanAttributeList

-
-public BeanAttributeList(BeanElement parent,
-                         BeanMetaData beanMetaData)
-
-
-
- -

-BeanAttributeList

-
-public BeanAttributeList(BeanElement parent)
-
-
- - - - - - - - -
-Method Detail
- -

-attribute

-
-public Attribute attribute(String name)
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(QName qname)
-
-
-
-
-
-
- -

-attribute

-
-public BeanAttribute attribute(int index)
-
-
-
-
-
-
- -

-getParent

-
-public BeanElement getParent()
-
-
-
-
-
-
- -

-getQName

-
-public QName getQName(int index)
-
-
-
-
-
-
- -

-getData

-
-public Object getData(int index)
-
-
-
-
-
-
- -

-setData

-
-public void setData(int index,
-                    Object data)
-
-
-
-
-
-
- -

-size

-
-public int size()
-
-
-
-
-
-
- -

-get

-
-public Object get(int index)
-
-
-
-
-
-
- -

-add

-
-public boolean add(Object object)
-
-
-
-
-
-
- -

-add

-
-public void add(int index,
-                Object object)
-
-
-
-
-
-
- -

-set

-
-public Object set(int index,
-                  Object object)
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Object object)
-
-
-
-
-
-
- -

-remove

-
-public Object remove(int index)
-
-
-
-
-
-
- -

-clear

-
-public void clear()
-
-
-
-
-
-
- -

-createAttribute

-
-protected BeanAttribute createAttribute(BeanElement element,
-                                        int index)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanDocumentFactory.html 2005-05-16 13:27:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,434 +0,0 @@ - - - - - - - -BeanDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.bean -
-Class BeanDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.bean.BeanDocumentFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class BeanDocumentFactory
extends DocumentFactory
- -

-

- BeanDocumentFactory is a factory of DOM4J objects which may be - BeanElements which are backed by JavaBeans and their properties. -

- -

- The tree built allows full XPath expressions from anywhere on the tree. -

-

- -

-

-
Version:
-
$Revision: 1.14 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
BeanDocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
-protected  ObjectcreateBean(QName qname) - -
-           
-protected  ObjectcreateBean(QName qname, - Attributes attributes) - -
-           
- ElementcreateElement(QName qname) - -
-           
- ElementcreateElement(QName qname, - Attributes attributes) - -
-           
-static DocumentFactorygetInstance() - -
-           - Access to the singleton instance of this factory. -
-protected  voidhandleException(Exception e) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BeanDocumentFactory

-
-public BeanDocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to the singleton instance of this factory. -

-

-

- -
Returns:
the default singleon instance
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
Overrides:
createElement in class DocumentFactory
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname,
-                             Attributes attributes)
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
Overrides:
createAttribute in class DocumentFactory
-
-
-
-
-
-
- -

-createBean

-
-protected Object createBean(QName qname)
-
-
-
-
-
-
- -

-createBean

-
-protected Object createBean(QName qname,
-                            Attributes attributes)
-
-
-
-
-
-
- -

-handleException

-
-protected void handleException(Exception e)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanElement.html 2005-05-16 13:28:21.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,730 +0,0 @@ - - - - - - - -BeanElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.bean -
-Class BeanElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.DefaultElement
-                  extended byorg.dom4j.bean.BeanElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
-
public class BeanElement
extends DefaultElement
- -

-

- BeanElement uses a Java Bean to store its attributes. -

-

- -

-

-
Version:
-
$Revision: 1.15 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
BeanElement(QName qname) - -
-           
BeanElement(QName qname, - Object bean) - -
-           
BeanElement(String name, - Namespace namespace, - Object bean) - -
-           
BeanElement(String name, - Object bean) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementaddAttribute(QName qName, - String value) - -
-           - Adds the attribute value of the given fully qualified name.
- ElementaddAttribute(String name, - String value) - -
-           - Adds the attribute value of the given local name.
- Attributeattribute(QName qname) - -
-          DOCUMENT ME!
- Attributeattribute(String name) - -
-          Returns the attribute with the given name
-protected  ListcreateAttributeList() - -
-          A Factory Method pattern which lazily creates a List implementation used - to store content
-protected  ListcreateAttributeList(int size) - -
-          A Factory Method pattern which creates a List implementation used to - store attributes
-protected  BeanAttributeListgetBeanAttributeList() - -
-           
- ObjectgetData() - -
-          DOCUMENT ME!
-protected  DocumentFactorygetDocumentFactory() - -
-           
- voidsetAttributes(Attributes attributes, - NamespaceStack namespaceStack, - boolean noNamespaceAttributes) - -
-          This method provides a more optimal way of setting all the attributes on - an Element particularly for use in SAXReader.
- voidsetAttributes(List attributes) - -
-          Sets the attributes that this element contains
- voidsetData(Object data) - -
-          Sets the data value of this element if this element supports data binding - or calls AbstractElement.setText(java.lang.String)if it doesn't
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, element, element, getDocument, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setContent, setDocument, setParent, setQName, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributeValue, setAttributeValue, setName, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BeanElement

-
-public BeanElement(String name,
-                   Object bean)
-
-
-
- -

-BeanElement

-
-public BeanElement(String name,
-                   Namespace namespace,
-                   Object bean)
-
-
-
- -

-BeanElement

-
-public BeanElement(QName qname,
-                   Object bean)
-
-
-
- -

-BeanElement

-
-public BeanElement(QName qname)
-
-
- - - - - - - - -
-Method Detail
- -

-getData

-
-public Object getData()
-
-
DOCUMENT ME! -

-

-
Specified by:
getData in interface Element
Overrides:
getData in class AbstractElement
-
-
- -
Returns:
the JavaBean associated with this element
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Element
-
Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't -

-

-
Specified by:
setData in interface Element
Overrides:
setData in class AbstractElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(String name)
-
-
Description copied from interface: Element
-
Returns the attribute with the given name -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class DefaultElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(QName qname)
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class DefaultElement
-
-
-
-
-
-
- -

-addAttribute

-
-public Element addAttribute(String name,
-                            String value)
-
-
Description copied from interface: Element
-

- Adds the attribute value of the given local name. If an attribute already - exists for the given name it will be replaced. Attributes with null - values are silently ignored. If the value of the attribute is null then - this method call will remove any attributes with the given name. -

-

-

-
Specified by:
addAttribute in interface Element
Overrides:
addAttribute in class AbstractElement
-
-
-
-
-
-
- -

-addAttribute

-
-public Element addAttribute(QName qName,
-                            String value)
-
-
Description copied from interface: Element
-

- Adds the attribute value of the given fully qualified name. If an - attribute already exists for the given name it will be replaced. - Attributes with null values are silently ignored. If the value of the - attribute is null then this method call will remove any attributes with - the given name. -

-

-

-
Specified by:
addAttribute in interface Element
Overrides:
addAttribute in class AbstractElement
-
-
-
-
-
-
- -

-setAttributes

-
-public void setAttributes(List attributes)
-
-
Description copied from interface: Element
-
Sets the attributes that this element contains -

-

-
Specified by:
setAttributes in interface Element
Overrides:
setAttributes in class DefaultElement
-
-
-
-
-
-
- -

-setAttributes

-
-public void setAttributes(Attributes attributes,
-                          NamespaceStack namespaceStack,
-                          boolean noNamespaceAttributes)
-
-
Description copied from class: AbstractElement
-
This method provides a more optimal way of setting all the attributes on - an Element particularly for use in SAXReader. -

-

-
Overrides:
setAttributes in class AbstractElement
-
-
-
Parameters:
attributes - DOCUMENT ME!
namespaceStack - DOCUMENT ME!
noNamespaceAttributes - DOCUMENT ME!
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
Overrides:
getDocumentFactory in class DefaultElement
-
-
-
-
-
-
- -

-getBeanAttributeList

-
-protected BeanAttributeList getBeanAttributeList()
-
-
-
-
-
-
- -

-createAttributeList

-
-protected List createAttributeList()
-
-
A Factory Method pattern which lazily creates a List implementation used - to store content -

-

-
Overrides:
createAttributeList in class AbstractElement
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createAttributeList

-
-protected List createAttributeList(int size)
-
-
Description copied from class: AbstractElement
-
A Factory Method pattern which creates a List implementation used to - store attributes -

-

-
Overrides:
createAttributeList in class AbstractElement
-
-
-
Parameters:
size - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanMetaData.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanMetaData.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/BeanMetaData.html 2005-05-16 13:26:11.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/BeanMetaData.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,462 +0,0 @@ - - - - - - - -BeanMetaData (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.bean -
-Class BeanMetaData

-
-java.lang.Object
-  extended byorg.dom4j.bean.BeanMetaData
-
-
-
-
public class BeanMetaData
extends Object
- -

-

- BeanMetaData contains metadata about a bean class. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static Object[]NULL_ARGS - -
-          Empty arguments for reflection calls
-  - - - - - - - - - - -
-Constructor Summary
BeanMetaData(Class beanClass) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intattributeCount() - -
-          DOCUMENT ME!
- BeanAttributeListcreateAttributeList(BeanElement parent) - -
-           
-static BeanMetaDataget(Class beanClass) - -
-          Static helper method to find and cache meta data objects for bean types
- ObjectgetData(int index, - Object bean) - -
-           
- intgetIndex(QName qName) - -
-           
- intgetIndex(String name) - -
-           
- QNamegetQName(int index) - -
-           
-protected  voidhandleException(Exception e) - -
-           
- voidsetData(int index, - Object bean, - Object data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-NULL_ARGS

-
-protected static final Object[] NULL_ARGS
-
-
Empty arguments for reflection calls -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BeanMetaData

-
-public BeanMetaData(Class beanClass)
-
-
- - - - - - - - -
-Method Detail
- -

-get

-
-public static BeanMetaData get(Class beanClass)
-
-
Static helper method to find and cache meta data objects for bean types -

-

-
Parameters:
beanClass - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-attributeCount

-
-public int attributeCount()
-
-
DOCUMENT ME! -

-

- -
Returns:
the number of attribtutes for this bean type
-
-
-
- -

-createAttributeList

-
-public BeanAttributeList createAttributeList(BeanElement parent)
-
-
-
-
-
-
- -

-getQName

-
-public QName getQName(int index)
-
-
-
-
-
-
- -

-getIndex

-
-public int getIndex(String name)
-
-
-
-
-
-
- -

-getIndex

-
-public int getIndex(QName qName)
-
-
-
-
-
-
- -

-getData

-
-public Object getData(int index,
-                      Object bean)
-
-
-
-
-
-
- -

-setData

-
-public void setData(int index,
-                    Object bean,
-                    Object data)
-
-
-
-
-
-
- -

-handleException

-
-protected void handleException(Exception e)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanAttribute.html 2005-05-16 13:26:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,183 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.bean.BeanAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.bean.BeanAttribute

-
- - - - - - - - - -
-Packages that use BeanAttribute
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
-  -

- - - - - -
-Uses of BeanAttribute in org.dom4j.bean
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.bean that return BeanAttribute
- BeanAttributeBeanAttributeList.attribute(int index) - -
-           
-protected  BeanAttributeBeanAttributeList.createAttribute(BeanElement element, - int index) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanAttributeList.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanAttributeList.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanAttributeList.html 2005-05-16 13:28:20.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanAttributeList.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,197 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.bean.BeanAttributeList (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.bean.BeanAttributeList

-
- - - - - - - - - -
-Packages that use BeanAttributeList
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
-  -

- - - - - -
-Uses of BeanAttributeList in org.dom4j.bean
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.bean that return BeanAttributeList
- BeanAttributeListBeanMetaData.createAttributeList(BeanElement parent) - -
-           
-protected  BeanAttributeListBeanElement.getBeanAttributeList() - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.bean with parameters of type BeanAttributeList
BeanAttribute(BeanAttributeList beanList, - int index) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanDocumentFactory.html 2005-05-16 13:28:11.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.bean.BeanDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.bean.BeanDocumentFactory

-
-No usage of org.dom4j.bean.BeanDocumentFactory -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanElement.html 2005-05-16 13:27:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,220 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.bean.BeanElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.bean.BeanElement

-
- - - - - - - - - -
-Packages that use BeanElement
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
-  -

- - - - - -
-Uses of BeanElement in org.dom4j.bean
-  -

- - - - - - - - - -
Methods in org.dom4j.bean that return BeanElement
- BeanElementBeanAttributeList.getParent() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.bean with parameters of type BeanElement
- BeanAttributeListBeanMetaData.createAttributeList(BeanElement parent) - -
-           
-protected  BeanAttributeBeanAttributeList.createAttribute(BeanElement element, - int index) - -
-           
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.bean with parameters of type BeanElement
BeanAttributeList(BeanElement parent, - BeanMetaData beanMetaData) - -
-           
BeanAttributeList(BeanElement parent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanMetaData.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanMetaData.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/class-use/BeanMetaData.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/class-use/BeanMetaData.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,189 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.bean.BeanMetaData (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.bean.BeanMetaData

-
- - - - - - - - - -
-Packages that use BeanMetaData
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
-  -

- - - - - -
-Uses of BeanMetaData in org.dom4j.bean
-  -

- - - - - - - - - -
Methods in org.dom4j.bean that return BeanMetaData
-static BeanMetaDataBeanMetaData.get(Class beanClass) - -
-          Static helper method to find and cache meta data objects for bean types
-  -

- - - - - - - - -
Constructors in org.dom4j.bean with parameters of type BeanMetaData
BeanAttributeList(BeanElement parent, - BeanMetaData beanMetaData) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-frame.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ - - - - - - - -org.dom4j.bean (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.bean - - - - -
-Classes  - -
-BeanAttribute -
-BeanAttributeList -
-BeanDocumentFactory -
-BeanElement -
-BeanMetaData
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-summary.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,195 +0,0 @@ - - - - - - - -org.dom4j.bean (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.bean -

-An implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
BeanAttribute - BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
BeanAttributeList - BeanAttributeList implements a list of Attributes which are - the properties of a JavaBean. -
BeanDocumentFactory - BeanDocumentFactory is a factory of DOM4J objects which may be - BeanElements which are backed by JavaBeans and their properties. -
BeanElement - BeanElement uses a Java Bean to store its attributes. -
BeanMetaData - BeanMetaData contains metadata about a bean class. -
-  - -

-

-Package org.dom4j.bean Description -

- -

-

An implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-tree.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,169 +0,0 @@ - - - - - - - -org.dom4j.bean Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.bean -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/bean/package-use.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/bean/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.bean (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.bean

-
- - - - - - - - - -
-Packages that use org.dom4j.bean
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.bean used by org.dom4j.bean
BeanAttribute - -
-           - BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
BeanAttributeList - -
-           - BeanAttributeList implements a list of Attributes which are - the properties of a JavaBean. -
BeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
BeanMetaData - -
-           - BeanMetaData contains metadata about a bean class. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Attribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Attribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Attribute.html 2005-05-16 13:27:59.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Attribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,890 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Attribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Attribute

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Attribute
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Attribute in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return Attribute
- AttributeElement.attribute(int index) - -
-          Returns the attribute at the specified indexGets the
- AttributeElement.attribute(String name) - -
-          Returns the attribute with the given name
- AttributeElement.attribute(QName qName) - -
-          DOCUMENT ME!
-static AttributeDocumentHelper.createAttribute(Element owner, - QName qname, - String value) - -
-           
-static AttributeDocumentHelper.createAttribute(Element owner, - String name, - String value) - -
-           
- AttributeDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeDocumentFactory.createAttribute(Element owner, - String name, - String value) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Attribute
- voidVisitorSupport.visit(Attribute node) - -
-           
- voidVisitor.visit(Attribute node) - -
-           - Visits the given Attribute -
- voidElement.add(Attribute attribute) - -
-          Adds the given Attribute to this element.
- booleanElement.remove(Attribute attribute) - -
-          Removes the given Attribute from this element.
-  -

- - - - - -
-Uses of Attribute in org.dom4j.bean
-  -

- - - - - - - - - -
Classes in org.dom4j.bean that implement Attribute
- classBeanAttribute - -
-           - BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.bean that return Attribute
- AttributeBeanElement.attribute(String name) - -
-           
- AttributeBeanElement.attribute(QName qname) - -
-           
- AttributeBeanDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeBeanAttributeList.attribute(String name) - -
-           
- AttributeBeanAttributeList.attribute(QName qname) - -
-           
-  -

- - - - - -
-Uses of Attribute in org.dom4j.datatype
-  -

- - - - - - - - - -
Classes in org.dom4j.datatype that implement Attribute
- classDatatypeAttribute - -
-           - DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.datatype that return Attribute
- AttributeDatatypeElementFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeDatatypeDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-  -

- - - - - -
-Uses of Attribute in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement Attribute
- classDOMAttribute - -
-           - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.dom that return Attribute
-protected  AttributeDOMElement.attribute(Attr attr) - -
-           
-protected  AttributeDOMElement.attribute(String namespaceURI, - String localName) - -
-           
-protected  AttributeDOMElement.createAttribute(Attr newAttr) - -
-           
- AttributeDOMDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-  -

- - - - - -
-Uses of Attribute in org.dom4j.io
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io that return Attribute
- AttributeSTAXEventReader.readAttribute(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Attribute from the provided event stream.
- AttributeSTAXEventReader.createAttribute(Element elem, - javax.xml.stream.events.Attribute attr) - -
-          Constructs a new DOM4J Attribute from the provided StAX Attribute event.
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Attribute
- voidXMLWriter.write(Attribute attribute) - -
-          Writes the given Attribute.
-protected  voidXMLWriter.writeAttribute(Attribute attribute) - -
-           
- voidSTAXEventWriter.writeAttribute(Attribute attr) - -
-          Writes a DOM4J Attributeto the stream.
- javax.xml.stream.events.AttributeSTAXEventWriter.createAttribute(Attribute attr) - -
-          Constructs a STAX Attributeevent from a - DOM4J Attribute.
-  -

- - - - - -
-Uses of Attribute in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Attribute
- classAbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
- classDefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
- classFlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return Attribute
- AttributeDefaultElement.attribute(int index) - -
-           
- AttributeDefaultElement.attribute(String name) - -
-           
- AttributeDefaultElement.attribute(QName qName) - -
-           
- AttributeDefaultElement.attribute(String name, - Namespace namespace) - -
-           
- AttributeAbstractElement.attribute(int index) - -
-           
- AttributeAbstractElement.attribute(String name) - -
-           
- AttributeAbstractElement.attribute(QName qName) - -
-           
- AttributeAbstractElement.attribute(String name, - Namespace namespace) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Attribute
- voidDefaultElement.add(Attribute attribute) - -
-           
- booleanDefaultElement.remove(Attribute attribute) - -
-           
- voidAbstractElement.add(Attribute attribute) - -
-           
- booleanAbstractElement.remove(Attribute attribute) - -
-           
-  -

- - - - - -
-Uses of Attribute in org.dom4j.util
-  -

- - - - - - - - - -
Classes in org.dom4j.util that implement Attribute
- classUserDataAttribute - -
-           - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util that return Attribute
- AttributeUserDataDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeProxyDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeProxyDocumentFactory.createAttribute(Element owner, - String name, - String value) - -
-           
- AttributeIndexedElement.attribute(String name) - -
-           
- AttributeIndexedElement.attribute(QName qName) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util with parameters of type Attribute
- intNodeComparator.compare(Attribute n1, - Attribute n2) - -
-           
-protected  voidIndexedElement.addToAttributeIndex(Attribute attribute) - -
-           
-protected  voidIndexedElement.addToAttributeIndex(Object key, - Attribute value) - -
-           
-protected  voidIndexedElement.removeFromAttributeIndex(Attribute attribute) - -
-           
-protected  voidIndexedElement.removeFromAttributeIndex(Object key, - Attribute value) - -
-           
-protected static booleanAttributeHelper.booleanValue(Attribute attribute) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Branch.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Branch.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Branch.html 2005-05-16 13:27:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Branch.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,657 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Branch (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Branch

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Branch
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Branch in org.dom4j
-  -

- - - - - - - - - - - - - -
Subinterfaces of Branch in org.dom4j
- interfaceDocument - -
-           - Document defines an XML Document. -
- interfaceElement - -
-           - Element interface defines an XML element.
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Branch
-static ElementDocumentHelper.makeElement(Branch source, - String path) - -
-           - makeElement - - a helper method which navigates from the given Document or Element node - to some Element using the path expression, creating any necessary - elements along the way.
- voidBranch.appendContent(Branch branch) - -
-          Appends the content of the given branch to this branch instance.
-  -

- - - - - - - - -
Constructors in org.dom4j with parameters of type Branch
IllegalAddException(Branch parent, - Node node, - String reason) - -
-           
-  -

- - - - - -
-Uses of Branch in org.dom4j.bean
-  -

- - - - - - - - - -
Classes in org.dom4j.bean that implement Branch
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - -
-Uses of Branch in org.dom4j.datatype
-  -

- - - - - - - - - -
Classes in org.dom4j.datatype that implement Branch
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - -
-Uses of Branch in org.dom4j.dom
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.dom that implement Branch
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.dom with parameters of type Branch
-static voidDOMNodeHelper.appendElementsByTagName(List list, - Branch parent, - String name) - -
-           
-static voidDOMNodeHelper.appendElementsByTagNameNS(List list, - Branch parent, - String namespace, - String localName) - -
-           
-  -

- - - - - -
-Uses of Branch in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Branch
- voidSTAXEventWriter.writeChildNodes(Branch branch) - -
-          Writes each child node within the provided Branchinstance.
-protected  voidSAXWriter.writeContent(Branch branch, - NamespaceStack namespaceStack) - -
-           
-protected  voidDOMReader.readTree(Node node, - Branch current) - -
-           
-protected  voidDOMReader.readElement(Node node, - Branch current) - -
-           
-  -

- - - - - -
-Uses of Branch in org.dom4j.swing
-  -

- - - - - - - - - -
Methods in org.dom4j.swing that return Branch
-protected  BranchBranchTreeNode.getXmlBranch() - -
-           
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.swing with parameters of type Branch
BranchTreeNode(Branch xmlNode) - -
-           
BranchTreeNode(TreeNode parent, - Branch xmlNode) - -
-           
-  -

- - - - - -
-Uses of Branch in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Branch
- classAbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
- classBaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
- classDefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
- classDefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
-  -

- - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Branch
- voidAbstractBranch.appendContent(Branch branch) - -
-           
-  -

- - - - - -
-Uses of Branch in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.util that implement Branch
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type Branch
- intNodeComparator.compareContent(Branch b1, - Branch b2) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/CDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/CDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/CDATA.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/CDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,454 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.CDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.CDATA

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use CDATA
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of CDATA in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j that return CDATA
-static CDATADocumentHelper.createCDATA(String text) - -
-           
- CDATADocumentFactory.createCDATA(String text) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type CDATA
- voidVisitorSupport.visit(CDATA node) - -
-           
- voidVisitor.visit(CDATA node) - -
-           - Visits the given CDATA -
- voidElement.add(CDATA cdata) - -
-          Adds the given CDATA to this element.
- booleanElement.remove(CDATA cdata) - -
-          Removes the given CDATA if the node is an immediate child - of this element.
-  -

- - - - - -
-Uses of CDATA in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement CDATA
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.dom that return CDATA
- CDATADOMDocumentFactory.createCDATA(String text) - -
-           
-protected  CDATADOMCDATA.createCDATA(String text) - -
-           
-  -

- - - - - -
-Uses of CDATA in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type CDATA
- voidXMLWriter.write(CDATA cdata) - -
-          Writes the given CDATA.
- voidSTAXEventWriter.writeCDATA(CDATA cdata) - -
-          Writes a DOM4J CDATAto the event stream.
- javax.xml.stream.events.CharactersSTAXEventWriter.createCharacters(CDATA cdata) - -
-          Constructs a STAX Charactersevent from a DOM4J CDATA.
- voidSAXWriter.write(CDATA cdata) - -
-          Generates SAX events for the given CDATA
-protected  voidDOMWriter.appendDOMTree(Document domDocument, - Node domCurrent, - CDATA cdata) - -
-           
-  -

- - - - - -
-Uses of CDATA in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement CDATA
- classAbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
- classFlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type CDATA
- voidAbstractElement.add(CDATA cdata) - -
-           
- booleanAbstractElement.remove(CDATA cdata) - -
-           
-  -

- - - - - -
-Uses of CDATA in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return CDATA
- CDATAProxyDocumentFactory.createCDATA(String text) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/CharacterData.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/CharacterData.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/CharacterData.html 2005-05-16 13:27:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/CharacterData.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,538 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.CharacterData (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.CharacterData

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use CharacterData
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of CharacterData in org.dom4j
-  -

- - - - - - - - - - - - - - - - - -
Subinterfaces of CharacterData in org.dom4j
- interfaceCDATA - -
-           - CDATA defines an XML CDATA section. -
- interfaceComment - -
-           - Comment defines the behavior of an XML comment. -
- interfaceText - -
-           - Text defines an XML Text node. -
-  -

- - - - - -
-Uses of CharacterData in org.dom4j.dom
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.dom that implement CharacterData
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.dom with parameters of type CharacterData
-static StringDOMNodeHelper.getData(CharacterData charData) - -
-           
-static voidDOMNodeHelper.setData(CharacterData charData, - String data) - -
-           
-static intDOMNodeHelper.getLength(CharacterData charData) - -
-           
-static StringDOMNodeHelper.substringData(CharacterData charData, - int offset, - int count) - -
-           
-static voidDOMNodeHelper.appendData(CharacterData charData, - String arg) - -
-           
-static voidDOMNodeHelper.insertData(CharacterData data, - int offset, - String arg) - -
-           
-static voidDOMNodeHelper.deleteData(CharacterData charData, - int offset, - int count) - -
-           
-static voidDOMNodeHelper.replaceData(CharacterData charData, - int offset, - int count, - String arg) - -
-           
-static TextDOMNodeHelper.asDOMText(CharacterData text) - -
-           
-  -

- - - - - -
-Uses of CharacterData in org.dom4j.io
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io that return CharacterData
- CharacterDataSTAXEventReader.readCharacters(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Text or CDATA section from the provided event stream. -
- CharacterDataSTAXEventReader.createCharacterData(javax.xml.stream.events.Characters characters) - -
-          Constructs a new DOM4J Text or CDATA object from the provided Characters - event.
-  -

- - - - - -
-Uses of CharacterData in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement CharacterData
- classAbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractCharacterData - -
-           - AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
- classDefaultText - -
-           - DefaultText is the default Text implementation.
- classFlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
- classFlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
- classFlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

- - - - - -
-Uses of CharacterData in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type CharacterData
- intNodeComparator.compare(CharacterData t1, - CharacterData t2) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Comment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Comment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Comment.html 2005-05-16 13:27:59.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Comment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,486 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Comment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Comment

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Comment
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Comment in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j that return Comment
-static CommentDocumentHelper.createComment(String text) - -
-           
- CommentDocumentFactory.createComment(String text) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Comment
- voidVisitorSupport.visit(Comment node) - -
-           
- voidVisitor.visit(Comment node) - -
-           - Visits the given Comment -
- voidBranch.add(Comment comment) - -
-          Adds the given Comment to this branch.
- booleanBranch.remove(Comment comment) - -
-          Removes the given Comment if the node is an immediate - child of this branch.
-  -

- - - - - -
-Uses of Comment in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement Comment
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - - - - - -
Methods in org.dom4j.dom that return Comment
- CommentDOMDocumentFactory.createComment(String text) - -
-           
-  -

- - - - - -
-Uses of Comment in org.dom4j.io
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io that return Comment
- CommentSTAXEventReader.readComment(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Comment from the provided event stream.
- CommentSTAXEventReader.createComment(javax.xml.stream.events.Comment comment) - -
-          Constructs a new DOM4J Comment from the provided StAX Comment event.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Comment
- voidXMLWriter.write(Comment comment) - -
-          Writes the given Comment.
- voidSTAXEventWriter.writeComment(Comment comment) - -
-          Writes a DOM4J Commentto the stream.
- javax.xml.stream.events.CommentSTAXEventWriter.createComment(Comment comment) - -
-          Constructs a STAX Commentevent from a - DOM4J Comment.
- voidSAXWriter.write(Comment comment) - -
-          Generates SAX events for the given Comment
-protected  voidDOMWriter.appendDOMTree(Document domDocument, - Node domCurrent, - Comment comment) - -
-           
-  -

- - - - - -
-Uses of Comment in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Comment
- classAbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
- classFlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Comment
- voidAbstractElement.add(Comment comment) - -
-           
- booleanAbstractElement.remove(Comment comment) - -
-           
- voidAbstractBranch.add(Comment comment) - -
-           
- booleanAbstractBranch.remove(Comment comment) - -
-           
-  -

- - - - - -
-Uses of Comment in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return Comment
- CommentProxyDocumentFactory.createComment(String text) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Document.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Document.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Document.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Document.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1545 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Document (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Document

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Document
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Document in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return Document
- DocumentNode.getDocument() - -
-           - getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -
-static DocumentDocumentHelper.createDocument() - -
-           
-static DocumentDocumentHelper.createDocument(Element rootElement) - -
-           
-static DocumentDocumentHelper.parseText(String text) - -
-           - parseText parses the given text as an XML document and - returns the newly created Document. -
- DocumentDocumentFactory.createDocument() - -
-           
- DocumentDocumentFactory.createDocument(String encoding) - -
-          DOCUMENT ME!
- DocumentDocumentFactory.createDocument(Element rootElement) - -
-           
- DocumentDocument.addComment(String comment) - -
-          Adds a new Comment node with the given text to this - branch.
- DocumentDocument.addProcessingInstruction(String target, - String text) - -
-          Adds a processing instruction for the given target
- DocumentDocument.addProcessingInstruction(String target, - Map data) - -
-          Adds a processing instruction for the given target
- DocumentDocument.addDocType(String name, - String publicId, - String systemId) - -
-          Adds a DOCTYPE declaration to this document
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Document
- voidVisitorSupport.visit(Document document) - -
-           
- voidVisitor.visit(Document document) - -
-           - Visits the given Document -
- voidNode.setDocument(Document document) - -
-           - setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -
-  -

- - - - - -
-Uses of Document in org.dom4j.datatype
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.datatype with parameters of type Document
- voidSchemaParser.build(Document schemaDocument) - -
-          Parses the given schema document
- voidSchemaParser.build(Document schemaDocument, - Namespace namespace) - -
-           
- voidDatatypeDocumentFactory.loadSchema(Document schemaDocument) - -
-          Loads the given XML Schema document into this factory so schema-aware - Document, Elements and Attributes will be created by this factory.
- voidDatatypeDocumentFactory.loadSchema(Document schemaDocument, - Namespace targetNamespace) - -
-           
-protected  voidDatatypeDocumentFactory.loadSchema(Document document, - String schemaInstanceURI) - -
-           
-protected  voidDatatypeDocumentFactory.loadSchema(Document document, - String schemaInstanceURI, - Namespace namespace) - -
-           
-  -

- - - - - -
-Uses of Document in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement Document
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
-  -

- - - - - - - - - -
Methods in org.dom4j.dom that return Document
- DocumentDOMDocumentFactory.createDocument() - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.dom with parameters of type Document
-static DocumentDOMNodeHelper.asDOMDocument(Document document) - -
-           
-  -

- - - - - -
-Uses of Document in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io that return Document
- DocumentXPPReader.read(File file) - -
-           - Reads a Document from the given File -
- DocumentXPPReader.read(URL url) - -
-           - Reads a Document from the given URL -
- DocumentXPPReader.read(String systemID) - -
-           - Reads a Document from the given URL or filename. -
- DocumentXPPReader.read(InputStream in) - -
-           - Reads a Document from the given stream -
- DocumentXPPReader.read(Reader reader) - -
-           - Reads a Document from the given Reader -
- DocumentXPPReader.read(char[] text) - -
-           - Reads a Document from the given array of characters -
- DocumentXPPReader.read(InputStream in, - String systemID) - -
-           - Reads a Document from the given stream -
- DocumentXPPReader.read(Reader reader, - String systemID) - -
-           - Reads a Document from the given Reader -
-protected  DocumentXPPReader.parseDocument() - -
-           
- DocumentXPP3Reader.read(File file) - -
-           - Reads a Document from the given File -
- DocumentXPP3Reader.read(URL url) - -
-           - Reads a Document from the given URL -
- DocumentXPP3Reader.read(String systemID) - -
-           - Reads a Document from the given URL or filename. -
- DocumentXPP3Reader.read(InputStream in) - -
-           - Reads a Document from the given stream -
- DocumentXPP3Reader.read(Reader reader) - -
-           - Reads a Document from the given Reader -
- DocumentXPP3Reader.read(char[] text) - -
-           - Reads a Document from the given array of characters -
- DocumentXPP3Reader.read(InputStream in, - String systemID) - -
-           - Reads a Document from the given stream -
- DocumentXPP3Reader.read(Reader reader, - String systemID) - -
-           - Reads a Document from the given Reader -
-protected  DocumentXPP3Reader.parseDocument() - -
-           
- DocumentSTAXEventReader.readDocument(InputStream is) - -
-          Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it.
- DocumentSTAXEventReader.readDocument(Reader reader) - -
-          Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it.
- DocumentSTAXEventReader.readDocument(InputStream is, - String systemId) - -
-          Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it.
- DocumentSTAXEventReader.readDocument(Reader reader, - String systemId) - -
-          Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it.
- DocumentSTAXEventReader.readDocument(javax.xml.stream.XMLEventReader reader) - -
-          Reads a DOM4J Documentfrom the provided stream.
- DocumentSAXReader.read(File file) - -
-           - Reads a Document from the given File -
- DocumentSAXReader.read(URL url) - -
-           - Reads a Document from the given URL using SAX -
- DocumentSAXReader.read(String systemId) - -
-           - Reads a Document from the given URL or filename using SAX. -
- DocumentSAXReader.read(InputStream in) - -
-           - Reads a Document from the given stream using SAX -
- DocumentSAXReader.read(Reader reader) - -
-           - Reads a Document from the given Reader using SAX -
- DocumentSAXReader.read(InputStream in, - String systemId) - -
-           - Reads a Document from the given stream using SAX -
- DocumentSAXReader.read(Reader reader, - String systemId) - -
-           - Reads a Document from the given Reader using SAX -
- DocumentSAXReader.read(InputSource in) - -
-           - Reads a Document from the given InputSource using SAX -
- DocumentSAXModifier.modify(File source) - -
-          Reads a Document from the given Fileand writes it to the - specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(InputSource source) - -
-          Reads a Document from the given InputSourceand - writes it to the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(InputStream source) - -
-          Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(InputStream source, - String systemId) - -
-          Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(Reader source) - -
-          Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(Reader source, - String systemId) - -
-          Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(URL source) - -
-          Reads a Document from the given URLand writes it to the - specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(String source) - -
-          Reads a Document from the given URL or filename and writes it to the - specified XMLWriterusing SAX.
- DocumentSAXContentHandler.getDocument() - -
-          DOCUMENT ME!
-protected  DocumentSAXContentHandler.createDocument() - -
-          DOCUMENT ME!
- DocumentDOMReader.read(Document domDocument) - -
-           
-protected  DocumentDOMReader.createDocument() - -
-           
- DocumentDocumentSource.getDocument() - -
-          DOCUMENT ME!
- DocumentDocumentResult.getDocument() - -
-          DOCUMENT ME!
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Document
- voidXMLWriter.write(Document doc) - -
-           - This will print the Document to the current Writer. -
- voidSTAXEventWriter.writeDocument(Document doc) - -
-          Writes a DOM4J Documentnode, and all its contents, to the - stream.
- javax.xml.stream.events.StartDocumentSTAXEventWriter.createStartDocument(Document doc) - -
-          Constructs a STAX StartDocumentevent from a DOM4J Document.
- javax.xml.stream.events.EndDocumentSTAXEventWriter.createEndDocument(Document doc) - -
-          Constructs a STAX EndDocumentevent from a DOM4J Document.
- voidSAXWriter.write(Document document) - -
-          Generates SAX events for the given Document and all its content
-protected  voidSAXWriter.documentLocator(Document document) - -
-          The Locatoris only really useful when parsing a - textual document as its main purpose is to identify the line and column - number.
-protected  voidSAXWriter.entityResolver(Document document) - -
-           
-protected  voidSAXWriter.dtdHandler(Document document) - -
-          We do not yet support DTD or XML Schemas so this method does nothing - right now.
- voidSAXValidator.validate(Document document) - -
-          Validates the given Document by writing it to a validating - SAX Parser.
- DocumentDOMWriter.write(Document document) - -
-           
- DocumentDOMWriter.write(Document document, - DOMImplementation domImpl) - -
-           
-protected  DocumentDOMWriter.createDomDocument(Document document) - -
-           
-protected  DocumentDOMWriter.createDomDocument(Document document, - DOMImplementation domImpl) - -
-           
- voidDocumentSource.setDocument(Document document) - -
-          Sets the document used as the JAXP SAXSource
-  -

- - - - - - - - -
Constructors in org.dom4j.io with parameters of type Document
DocumentSource(Document document) - -
-          Creates a JAXP SAXSourcefor the given Document.
-  -

- - - - - -
-Uses of Document in org.dom4j.jaxb
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.jaxb that return Document
- DocumentJAXBReader.read(File source) - -
-          Parses the specified File
- DocumentJAXBReader.read(File file, - java.nio.charset.Charset charset) - -
-          Parses the specified File, using the given Charset.
- DocumentJAXBReader.read(InputSource source) - -
-          Parses the specified InputSource
- DocumentJAXBReader.read(InputStream source) - -
-          Parses the specified InputStream
- DocumentJAXBReader.read(InputStream source, - String systemId) - -
-          Parses the specified InputStream
- DocumentJAXBReader.read(Reader source) - -
-          Parses the specified Reader
- DocumentJAXBReader.read(Reader source, - String systemId) - -
-          Parses the specified Reader
- DocumentJAXBReader.read(String source) - -
-          Parses the the given URL or filename.
- DocumentJAXBReader.read(URL source) - -
-          Parses the the given URL.
- DocumentJAXBModifier.modify(File source) - -
-          Parses the specified Filewith SAX
- DocumentJAXBModifier.modify(File source, - java.nio.charset.Charset charset) - -
-          Parses the specified Filewith SAX, using the given - Charset.
- DocumentJAXBModifier.modify(InputSource source) - -
-          Parses the specified InputSourcewith SAX.
- DocumentJAXBModifier.modify(InputStream source) - -
-          Parses the specified InputStreamwith SAX.
- DocumentJAXBModifier.modify(InputStream source, - String systemId) - -
-          Parses the specified InputStreamwith SAX.
- DocumentJAXBModifier.modify(Reader r) - -
-          Parses the specified Readerwith SAX.
- DocumentJAXBModifier.modify(Reader source, - String systemId) - -
-          Parses the specified Readerwith SAX.
- DocumentJAXBModifier.modify(String url) - -
-          Parses the the given URL or filename.
- DocumentJAXBModifier.modify(URL source) - -
-          Parses the the given URL.
-  -

- - - - - -
-Uses of Document in org.dom4j.rule
-  -

- - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Document
- voidMode.applyTemplates(Document document) - -
-           
-  -

- - - - - -
-Uses of Document in org.dom4j.swing
-  -

- - - - - - - - - -
Fields in org.dom4j.swing declared as Document
-protected  DocumentDocumentTreeModel.document - -
-          The document for this model
-  -

- - - - - - - - - -
Methods in org.dom4j.swing that return Document
- DocumentDocumentTreeModel.getDocument() - -
-          DOCUMENT ME!
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.swing with parameters of type Document
-static XMLTableDefinitionXMLTableDefinition.load(Document definition) - -
-          Loads an XML table definition from an XML definition document
- voidDocumentTreeModel.setDocument(Document document) - -
-          Sets the Document instance that this - TreeModel is based on
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.swing with parameters of type Document
XMLTableModel(Document tableDefinition, - Object source) - -
-          Creates a TableModel from an XML table definition document and an XML - source
DocumentTreeModel(Document document) - -
-           
-  -

- - - - - -
-Uses of Document in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Document
- classAbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
- classDefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return Document
- DocumentDefaultElement.getDocument() - -
-           
- DocumentDefaultDocument.addDocType(String docTypeName, - String publicId, - String systemId) - -
-           
- DocumentBaseElement.getDocument() - -
-           
- DocumentAbstractNode.getDocument() - -
-           
- DocumentAbstractDocument.getDocument() - -
-           
- DocumentAbstractDocument.addComment(String comment) - -
-           
- DocumentAbstractDocument.addProcessingInstruction(String target, - String data) - -
-           
- DocumentAbstractDocument.addProcessingInstruction(String target, - Map data) - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Document
- voidDefaultElement.setDocument(Document document) - -
-           
- voidBaseElement.setDocument(Document document) - -
-           
- voidAbstractNode.setDocument(Document document) - -
-           
-  -

- - - - - -
-Uses of Document in org.dom4j.util
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.util that return Document
- DocumentProxyDocumentFactory.createDocument() - -
-           
- DocumentProxyDocumentFactory.createDocument(Element rootElement) - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type Document
- intNodeComparator.compare(Document n1, - Document n2) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentException.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,803 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.DocumentException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.DocumentException

-
- - - - - - - - - - - - - - - - - -
-Packages that use DocumentException
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
-  -

- - - - - -
-Uses of DocumentException in org.dom4j
-  -

- - - - - - - - - -
Methods in org.dom4j that throw DocumentException
-static DocumentDocumentHelper.parseText(String text) - -
-           - parseText parses the given text as an XML document and - returns the newly created Document. -
-  -

- - - - - -
-Uses of DocumentException in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io that throw DocumentException
- DocumentXPPReader.read(File file) - -
-           - Reads a Document from the given File -
- DocumentXPPReader.read(URL url) - -
-           - Reads a Document from the given URL -
- DocumentXPPReader.read(String systemID) - -
-           - Reads a Document from the given URL or filename. -
- DocumentXPPReader.read(InputStream in) - -
-           - Reads a Document from the given stream -
- DocumentXPPReader.read(Reader reader) - -
-           - Reads a Document from the given Reader -
- DocumentXPPReader.read(char[] text) - -
-           - Reads a Document from the given array of characters -
- DocumentXPPReader.read(InputStream in, - String systemID) - -
-           - Reads a Document from the given stream -
- DocumentXPPReader.read(Reader reader, - String systemID) - -
-           - Reads a Document from the given Reader -
-protected  DocumentXPPReader.parseDocument() - -
-           
- DocumentXPP3Reader.read(File file) - -
-           - Reads a Document from the given File -
- DocumentXPP3Reader.read(URL url) - -
-           - Reads a Document from the given URL -
- DocumentXPP3Reader.read(String systemID) - -
-           - Reads a Document from the given URL or filename. -
- DocumentXPP3Reader.read(InputStream in) - -
-           - Reads a Document from the given stream -
- DocumentXPP3Reader.read(Reader reader) - -
-           - Reads a Document from the given Reader -
- DocumentXPP3Reader.read(char[] text) - -
-           - Reads a Document from the given array of characters -
- DocumentXPP3Reader.read(InputStream in, - String systemID) - -
-           - Reads a Document from the given stream -
- DocumentXPP3Reader.read(Reader reader, - String systemID) - -
-           - Reads a Document from the given Reader -
-protected  DocumentXPP3Reader.parseDocument() - -
-           
- DocumentSAXReader.read(File file) - -
-           - Reads a Document from the given File -
- DocumentSAXReader.read(URL url) - -
-           - Reads a Document from the given URL using SAX -
- DocumentSAXReader.read(String systemId) - -
-           - Reads a Document from the given URL or filename using SAX. -
- DocumentSAXReader.read(InputStream in) - -
-           - Reads a Document from the given stream using SAX -
- DocumentSAXReader.read(Reader reader) - -
-           - Reads a Document from the given Reader using SAX -
- DocumentSAXReader.read(InputStream in, - String systemId) - -
-           - Reads a Document from the given stream using SAX -
- DocumentSAXReader.read(Reader reader, - String systemId) - -
-           - Reads a Document from the given Reader using SAX -
- DocumentSAXReader.read(InputSource in) - -
-           - Reads a Document from the given InputSource using SAX -
-protected  voidSAXReader.configureReader(XMLReader reader, - DefaultHandler handler) - -
-          Configures the XMLReader before use
- DocumentSAXModifier.modify(File source) - -
-          Reads a Document from the given Fileand writes it to the - specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(InputSource source) - -
-          Reads a Document from the given InputSourceand - writes it to the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(InputStream source) - -
-          Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(InputStream source, - String systemId) - -
-          Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(Reader source) - -
-          Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(Reader source, - String systemId) - -
-          Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(URL source) - -
-          Reads a Document from the given URLand writes it to the - specified XMLWriterusing SAX.
- DocumentSAXModifier.modify(String source) - -
-          Reads a Document from the given URL or filename and writes it to the - specified XMLWriterusing SAX.
-static StringHTMLWriter.prettyPrintHTML(String html) - -
-          Convenience method to just get a String result.
-static StringHTMLWriter.prettyPrintXHTML(String html) - -
-          Convenience method to just get a String result, but As XHTML .
-static StringHTMLWriter.prettyPrintHTML(String html, - boolean newlines, - boolean trim, - boolean isXHTML, - boolean expandEmpty) - -
-          DOCUMENT ME!
- ClassDOMWriter.getDomDocumentClass() - -
-           
- voidDOMWriter.setDomDocumentClassName(String name) - -
-          Sets the DOM Documentimplementation class name used - by the writer when creating DOM documents.
- DocumentDOMWriter.write(Document document) - -
-           
- DocumentDOMWriter.write(Document document, - DOMImplementation domImpl) - -
-           
-protected  DocumentDOMWriter.createDomDocument(Document document) - -
-           
-protected  DocumentDOMWriter.createDomDocumentViaJAXP() - -
-           
-protected  DocumentDOMWriter.createDomDocument(Document document, - DOMImplementation domImpl) - -
-           
-  -

- - - - - -
-Uses of DocumentException in org.dom4j.jaxb
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.jaxb that throw DocumentException
- DocumentJAXBReader.read(File source) - -
-          Parses the specified File
- DocumentJAXBReader.read(File file, - java.nio.charset.Charset charset) - -
-          Parses the specified File, using the given Charset.
- DocumentJAXBReader.read(InputSource source) - -
-          Parses the specified InputSource
- DocumentJAXBReader.read(InputStream source) - -
-          Parses the specified InputStream
- DocumentJAXBReader.read(InputStream source, - String systemId) - -
-          Parses the specified InputStream
- DocumentJAXBReader.read(Reader source) - -
-          Parses the specified Reader
- DocumentJAXBReader.read(Reader source, - String systemId) - -
-          Parses the specified Reader
- DocumentJAXBReader.read(String source) - -
-          Parses the the given URL or filename.
- DocumentJAXBReader.read(URL source) - -
-          Parses the the given URL.
- DocumentJAXBModifier.modify(File source) - -
-          Parses the specified Filewith SAX
- DocumentJAXBModifier.modify(File source, - java.nio.charset.Charset charset) - -
-          Parses the specified Filewith SAX, using the given - Charset.
- DocumentJAXBModifier.modify(InputSource source) - -
-          Parses the specified InputSourcewith SAX.
- DocumentJAXBModifier.modify(InputStream source) - -
-          Parses the specified InputStreamwith SAX.
- DocumentJAXBModifier.modify(InputStream source, - String systemId) - -
-          Parses the specified InputStreamwith SAX.
- DocumentJAXBModifier.modify(Reader r) - -
-          Parses the specified Readerwith SAX.
- DocumentJAXBModifier.modify(Reader source, - String systemId) - -
-          Parses the specified Readerwith SAX.
- DocumentJAXBModifier.modify(String url) - -
-          Parses the the given URL or filename.
- DocumentJAXBModifier.modify(URL source) - -
-          Parses the the given URL.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentFactory.html 2005-05-16 13:26:10.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,884 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.DocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.DocumentFactory

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use DocumentFactory
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xppProvides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return DocumentFactory
- DocumentFactoryQName.getDocumentFactory() - -
-          DOCUMENT ME!
-static DocumentFactoryDocumentFactory.getInstance() - -
-           - Access to singleton implementation of DocumentFactory which is used if no - DocumentFactory is specified when building using the standard builders. -
-protected static DocumentFactoryDocumentFactory.createSingleton(String className) - -
-           - createSingleton creates the singleton instance from the - given class name. -
-  -

- - - - - - - - - -
Methods in org.dom4j with parameters of type DocumentFactory
- voidQName.setDocumentFactory(DocumentFactory documentFactory) - -
-           
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.bean
-  -

- - - - - - - - - -
Subclasses of DocumentFactory in org.dom4j.bean
- classBeanDocumentFactory - -
-           - BeanDocumentFactory is a factory of DOM4J objects which may be - BeanElements which are backed by JavaBeans and their properties. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.bean that return DocumentFactory
-protected  DocumentFactoryBeanElement.getDocumentFactory() - -
-           
-static DocumentFactoryBeanDocumentFactory.getInstance() - -
-           - Access to the singleton instance of this factory. -
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.datatype
-  -

- - - - - - - - - - - - - -
Subclasses of DocumentFactory in org.dom4j.datatype
- classDatatypeDocumentFactory - -
-           - DatatypeDocumentFactory is a factory of XML objects which - support the XML Schema Data Types - specification. -
- classDatatypeElementFactory - -
-           - DatatypeElementFactory is a factory for a specific Element in - an XML Schema. -
-  -

- - - - - - - - - -
Methods in org.dom4j.datatype that return DocumentFactory
-static DocumentFactoryDatatypeDocumentFactory.getInstance() - -
-           - Access to the singleton instance of this factory. -
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DocumentFactory in org.dom4j.dom
- classDOMDocumentFactory - -
-           - DOMDocumentFactory is a factory of DOM4J objects which - implement the W3C DOM API. -
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.dom that return DocumentFactory
-protected  DocumentFactoryDOMElement.getDocumentFactory() - -
-           
-static DocumentFactoryDOMDocumentFactory.getInstance() - -
-           - Access to the singleton instance of this factory. -
-protected  DocumentFactoryDOMDocument.getDocumentFactory() - -
-           
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io that return DocumentFactory
- DocumentFactoryXPPReader.getDocumentFactory() - -
-          DOCUMENT ME!
- DocumentFactoryXPP3Reader.getDocumentFactory() - -
-          DOCUMENT ME!
- DocumentFactorySAXReader.getDocumentFactory() - -
-          DOCUMENT ME!
- DocumentFactorySAXModifier.getDocumentFactory() - -
-          Get the DocumentFactoryused to create the DOM4J - document structure
- DocumentFactoryDOMReader.getDocumentFactory() - -
-          DOCUMENT ME!
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type DocumentFactory
- voidXPPReader.setDocumentFactory(DocumentFactory documentFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- voidXPP3Reader.setDocumentFactory(DocumentFactory documentFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- voidSTAXEventReader.setDocumentFactory(DocumentFactory documentFactory) - -
-          Sets the DocumentFactory to be used when constructing DOM4J nodes.
- voidSAXReader.setDocumentFactory(DocumentFactory documentFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- voidSAXModifier.setDocumentFactory(DocumentFactory factory) - -
-          Sets the DocumentFactoryused to create the DOM4J - document tree.
- voidDOMReader.setDocumentFactory(DocumentFactory docFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.io with parameters of type DocumentFactory
XPPReader(DocumentFactory factory) - -
-           
XPP3Reader(DocumentFactory factory) - -
-           
STAXEventReader(DocumentFactory factory) - -
-          Constructs a STAXEventReader instance that uses the - specified DocumentFactoryto construct DOM4J Nodes.
SAXReader(DocumentFactory factory) - -
-           
SAXReader(DocumentFactory factory, - boolean validating) - -
-           
SAXContentHandler(DocumentFactory documentFactory) - -
-           
SAXContentHandler(DocumentFactory documentFactory, - ElementHandler elementHandler) - -
-           
SAXContentHandler(DocumentFactory documentFactory, - ElementHandler elementHandler, - org.dom4j.io.ElementStack elementStack) - -
-           
DOMReader(DocumentFactory factory) - -
-           
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return DocumentFactory
- DocumentFactoryNamespaceStack.getDocumentFactory() - -
-           
-protected  DocumentFactoryDefaultElement.getDocumentFactory() - -
-           
-protected  DocumentFactoryDefaultDocument.getDocumentFactory() - -
-           
-protected  DocumentFactoryAbstractNode.getDocumentFactory() - -
-           
-protected  DocumentFactoryAbstractElement.getDocumentFactory() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type DocumentFactory
- voidNamespaceStack.setDocumentFactory(DocumentFactory documentFactory) - -
-           
- voidDefaultDocument.setDocumentFactory(DocumentFactory documentFactory) - -
-           
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.tree with parameters of type DocumentFactory
QNameCache(DocumentFactory documentFactory) - -
-           
NamespaceStack(DocumentFactory documentFactory) - -
-           
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - -
Subclasses of DocumentFactory in org.dom4j.util
- classIndexedDocumentFactory - -
-           - IndexedDocumentFactory is a factory of XML objects which - create indexed Element implementations to allow quicker lookup via name of - Element and Attributes though at the expense of more memory used to create - the name indexes. -
- classNonLazyDocumentFactory - -
-           - NonLazyDocumentFactory is a factory of XML objects which avoid - using the lazy creation pattern.
- classUserDataDocumentFactory - -
-           - UserDataDocumentFactory is a factory of XML objects which - support the adornment of a user data object on an Element or Attribute - instance such that the methods getData() and - setData() will get and set the values of a user data object. -
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util that return DocumentFactory
-static DocumentFactoryUserDataDocumentFactory.getInstance() - -
-           - Access to the singleton instance of this factory. -
-protected  DocumentFactoryProxyDocumentFactory.getProxy() - -
-           
-static DocumentFactoryNonLazyDocumentFactory.getInstance() - -
-           - Access to the singleton instance of this factory. -
-static DocumentFactoryIndexedDocumentFactory.getInstance() - -
-           - Access to the singleton instance of this factory. -
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type DocumentFactory
-protected  voidProxyDocumentFactory.setProxy(DocumentFactory proxy) - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.util with parameters of type DocumentFactory
ProxyDocumentFactory(DocumentFactory proxy) - -
-           
-  -

- - - - - -
-Uses of DocumentFactory in org.dom4j.xpp
-  -

- - - - - - - - - -
Methods in org.dom4j.xpp that return DocumentFactory
- DocumentFactoryProxyXmlStartTag.getDocumentFactory() - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.xpp with parameters of type DocumentFactory
- voidProxyXmlStartTag.setDocumentFactory(DocumentFactory documentFactory) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentHelper.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentHelper.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentHelper.html 2005-05-16 13:27:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentHelper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.DocumentHelper (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.DocumentHelper

-
-No usage of org.dom4j.DocumentHelper -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/DocumentType.html 2005-05-16 13:27:39.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/DocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,494 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.DocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.DocumentType

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use DocumentType
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of DocumentType in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j that return DocumentType
- DocumentTypeDocumentFactory.createDocType(String name, - String publicId, - String systemId) - -
-           
- DocumentTypeDocument.getDocType() - -
-          DOCUMENT ME!
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type DocumentType
- voidVisitorSupport.visit(DocumentType documentType) - -
-           
- voidVisitor.visit(DocumentType documentType) - -
-           - Visits the given DocumentType -
- voidDocument.setDocType(DocumentType docType) - -
-          Sets the DocumentType property
-  -

- - - - - -
-Uses of DocumentType in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement DocumentType
- classDOMDocumentType - -
-           - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
-  -

- - - - - - - - - -
Methods in org.dom4j.dom that return DocumentType
- DocumentTypeDOMDocumentFactory.createDocType(String name, - String publicId, - String systemId) - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.dom with parameters of type DocumentType
-static DocumentTypeDOMNodeHelper.asDOMDocumentType(DocumentType dt) - -
-           
-  -

- - - - - -
-Uses of DocumentType in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type DocumentType
- voidXMLWriter.write(DocumentType docType) - -
-          Writes the given DocumentType.
-protected  voidXMLWriter.writeDocType(DocumentType docType) - -
-           
- voidSTAXEventWriter.writeDocumentType(DocumentType docType) - -
-          Writes a DOM4J DocumentTypeto the stream.
- javax.xml.stream.events.DTDSTAXEventWriter.createDTD(DocumentType docType) - -
-          Constructs a STAX DTDevent from a DOM4J DocumentType.
-  -

- - - - - -
-Uses of DocumentType in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement DocumentType
- classAbstractDocumentType - -
-           - AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
- classDefaultDocumentType - -
-           - DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
-  -

- - - - - - - - - -
Methods in org.dom4j.tree that return DocumentType
- DocumentTypeDefaultDocument.getDocType() - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.tree with parameters of type DocumentType
- voidDefaultDocument.setDocType(DocumentType docType) - -
-           
-  -

- - - - - - - - - - - - - - -
Constructors in org.dom4j.tree with parameters of type DocumentType
DefaultDocument(DocumentType docType) - -
-           
DefaultDocument(Element rootElement, - DocumentType docType) - -
-           
DefaultDocument(String name, - Element rootElement, - DocumentType docType) - -
-           
-  -

- - - - - -
-Uses of DocumentType in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return DocumentType
- DocumentTypeProxyDocumentFactory.createDocType(String name, - String publicId, - String systemId) - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type DocumentType
- intNodeComparator.compare(DocumentType o1, - DocumentType o2) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Element.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Element.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Element.html 2005-05-16 13:27:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Element.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2607 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Element (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Element

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Element
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
org.dom4j.xppProvides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP
-  -

- - - - - -
-Uses of Element in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return Element
- ElementNode.getParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- ElementElementPath.getElement(int depth) - -
-          DOCUMENT ME!
- ElementElementPath.getCurrent() - -
-          DOCUMENT ME!
- ElementElement.addAttribute(String name, - String value) - -
-           - Adds the attribute value of the given local name.
- ElementElement.addAttribute(QName qName, - String value) - -
-           - Adds the attribute value of the given fully qualified name.
- ElementElement.addComment(String comment) - -
-          Adds a new Comment node with the given text to this - element.
- ElementElement.addCDATA(String cdata) - -
-          Adds a new CDATA node with the given text to this element.
- ElementElement.addEntity(String name, - String text) - -
-          Adds a new Entity node with the given name and text to - this element and returns a reference to the new node.
- ElementElement.addNamespace(String prefix, - String uri) - -
-          Adds a namespace to this element for use by its child content
- ElementElement.addProcessingInstruction(String target, - String text) - -
-          Adds a processing instruction for the given target
- ElementElement.addProcessingInstruction(String target, - Map data) - -
-          Adds a processing instruction for the given target
- ElementElement.addText(String text) - -
-          Adds a new Text node with the given text to this element.
- ElementElement.element(String name) - -
-          Returns the first element for the given local name and any namespace.
- ElementElement.element(QName qName) - -
-          Returns the first element for the given fully qualified name.
- ElementElement.createCopy() - -
-           - Creates a deep copy of this element The new element is detached from its - parent, and getParent() on the clone will return null. -
- ElementElement.createCopy(String name) - -
-           - Creates a deep copy of this element with the given local name The new - element is detached from its parent, and getParent() on the clone will - return null. -
- ElementElement.createCopy(QName qName) - -
-           - Creates a deep copy of this element with the given fully qualified name. -
-static ElementDocumentHelper.createElement(QName qname) - -
-           
-static ElementDocumentHelper.createElement(String name) - -
-           
-static ElementDocumentHelper.makeElement(Branch source, - String path) - -
-           - makeElement - - a helper method which navigates from the given Document or Element node - to some Element using the path expression, creating any necessary - elements along the way.
- ElementDocumentFactory.createElement(QName qname) - -
-           
- ElementDocumentFactory.createElement(String name) - -
-           
- ElementDocumentFactory.createElement(String qualifiedName, - String namespaceURI) - -
-           
- ElementDocument.getRootElement() - -
-          Returns the root Elementfor this document.
- ElementBranch.elementByID(String elementID) - -
-          Returns the element of the given ID attribute value.
- ElementBranch.addElement(String name) - -
-          Adds a new Element node with the given name to this branch - and returns a reference to the new node.
- ElementBranch.addElement(QName qname) - -
-          Adds a new Element node with the given QNameto - this branch and returns a reference to the new node.
- ElementBranch.addElement(String qualifiedName, - String namespaceURI) - -
-          Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Element
- voidVisitorSupport.visit(Element node) - -
-           
- voidVisitor.visit(Element node) - -
-           - Visits the given Element -
- voidNode.setParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- StringNode.getPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringNode.getUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- NodeNode.asXPathResult(Element parent) - -
-           - asXPathResult returns a version of this node which is - capable of being an XPath result.
- StringNamespace.getPath(Element context) - -
-           
- StringNamespace.getUniquePath(Element context) - -
-           
-protected  NodeNamespace.createXPathResult(Element parent) - -
-           
- voidElement.appendAttributes(Element element) - -
-          Appends the attributes of the given element to me.
-static DocumentDocumentHelper.createDocument(Element rootElement) - -
-           
-static AttributeDocumentHelper.createAttribute(Element owner, - QName qname, - String value) - -
-           
-static AttributeDocumentHelper.createAttribute(Element owner, - String name, - String value) - -
-           
- DocumentDocumentFactory.createDocument(Element rootElement) - -
-           
- AttributeDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeDocumentFactory.createAttribute(Element owner, - String name, - String value) - -
-           
- voidDocument.setRootElement(Element rootElement) - -
-          Sets the root element for this document
- voidBranch.add(Element element) - -
-          Adds the given Element to this branch.
- booleanBranch.remove(Element element) - -
-          Removes the given Element if the node is an immediate - child of this branch.
-  -

- - - - - - - - -
Constructors in org.dom4j with parameters of type Element
IllegalAddException(Element parent, - Node node, - String reason) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.bean
-  -

- - - - - - - - - -
Classes in org.dom4j.bean that implement Element
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.bean that return Element
- ElementBeanElement.addAttribute(String name, - String value) - -
-           
- ElementBeanElement.addAttribute(QName qName, - String value) - -
-           
- ElementBeanDocumentFactory.createElement(QName qname) - -
-           
- ElementBeanDocumentFactory.createElement(QName qname, - Attributes attributes) - -
-           
- ElementBeanAttribute.getParent() - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.bean with parameters of type Element
- AttributeBeanDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.datatype
-  -

- - - - - - - - - -
Classes in org.dom4j.datatype that implement Element
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.datatype that return Element
- ElementDatatypeElementFactory.createElement(QName qname) - -
-           
- ElementDatatypeElement.addText(String text) - -
-           
- ElementDatatypeAttribute.getParent() - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.datatype with parameters of type Element
- AttributeDatatypeElementFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeDatatypeDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- voidDatatypeAttribute.setParent(Element parent) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement Element
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.dom that return Element
- ElementDOMDocumentFactory.createElement(QName qname) - -
-           
- ElementDOMDocumentFactory.createElement(QName qname, - int attributeCount) - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.dom with parameters of type Element
- AttributeDOMDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.dom with parameters of type Element
DOMText(Element parent, - String text) - -
-           
DOMProcessingInstruction(Element parent, - String target, - String val) - -
-           
DOMNamespace(Element parent, - String prefix, - String uri) - -
-           
DOMEntityReference(Element parent, - String name, - String text) - -
-           
DOMComment(Element parent, - String text) - -
-           
DOMCDATA(Element parent, - String text) - -
-           
DOMAttribute(Element parent, - QName qname, - String value) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io that return Element
- ElementSTAXEventReader.readElement(javax.xml.stream.XMLEventReader eventReader) - -
-          Reads a DOM4J Element from the provided event stream.
- ElementSTAXEventReader.createElement(javax.xml.stream.events.StartElement startEvent) - -
-          Constructs a new DOM4J Element from the provided StartElement event.
- ElementElementModifier.modifyElement(Element element) - -
-          Called by an event based processor when an elements closing tag is - encountered.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Element
- voidXMLWriter.write(Element element) - -
-           - Writes the Element, including its Attribute - s, and its value, and all its content (child nodes) to the current - Writer. -
- voidXMLWriter.writeOpen(Element element) - -
-           - Writes the opening tag of an Element, including its Attributes but without its content. -
- voidXMLWriter.writeClose(Element element) - -
-           - Writes the closing tag of an Element -
-protected  voidXMLWriter.writeElement(Element element) - -
-           
-protected  booleanXMLWriter.isElementSpacePreserved(Element element) - -
-          Determines if element is a special case of XML elements where it contains - an xml:space attribute of "preserve".
-protected  voidXMLWriter.writeElementContent(Element element) - -
-          Outputs the content of the given element.
-protected  voidXMLWriter.writeAttributes(Element element) - -
-          Writes the attributes of the given element
- voidSTAXEventWriter.writeElement(Element elem) - -
-          Writes a DOM4J Elementnode and its children to the stream.
- javax.xml.stream.events.StartElementSTAXEventWriter.createStartElement(Element elem) - -
-          Constructs a STAX StartElementevent from a DOM4J Element.
- javax.xml.stream.events.EndElementSTAXEventWriter.createEndElement(Element elem) - -
-          Constructs a STAX EndElementevent from a DOM4J Element.
- AttributeSTAXEventReader.createAttribute(Element elem, - javax.xml.stream.events.Attribute attr) - -
-          Constructs a new DOM4J Attribute from the provided StAX Attribute event.
- voidSAXWriter.write(Element element) - -
-          Generates SAX events for the given Element and all its content
- voidSAXWriter.writeOpen(Element element) - -
-           - Writes the opening tag of an Element, including its Attributes but without its content. -
- voidSAXWriter.writeClose(Element element) - -
-           - Writes the closing tag of an Element -
-protected  voidSAXWriter.write(Element element, - NamespaceStack namespaceStack) - -
-           
-protected  AttributesImplSAXWriter.startPrefixMapping(Element element, - NamespaceStack namespaceStack) - -
-          Fires a SAX startPrefixMapping event for all the namespaceStack which - have just come into scope
-protected  voidSAXWriter.startElement(Element element, - AttributesImpl namespaceAttributes) - -
-           
-protected  voidSAXWriter.endElement(Element element) - -
-           
-protected  AttributesSAXWriter.createAttributes(Element element, - Attributes namespaceAttributes) - -
-           
-protected  voidSAXContentHandler.addDeclaredNamespaces(Element element) - -
-          Add all namespaces declared before the startElement() SAX event to the - current element so that they are available to child elements and - attributes
-protected  voidSAXContentHandler.addAttributes(Element element, - Attributes attributes) - -
-          Add all the attributes to the given elements
-protected  voidHTMLWriter.writeElement(Element element) - -
-          This override handles any elements that should not remove whitespace, - such as <PRE>, <SCRIPT>, <STYLE>, and <TEXTAREA>. -
- ElementElementModifier.modifyElement(Element element) - -
-          Called by an event based processor when an elements closing tag is - encountered.
-protected  voidDOMWriter.appendDOMTree(Document domDocument, - Node domCurrent, - Element element) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.jaxb
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.jaxb with parameters of type Element
- voidJAXBWriter.writeElement(Element element) - -
-          Writes the specified Elementto the document.
- voidJAXBWriter.writeCloseElement(Element element) - -
-          Writes the closing tag of the specified Elementto the - document.
- voidJAXBWriter.writeOpenElement(Element element) - -
-          Writes the opening tag of the specified Elementto the - document.
-  -

- - - - - -
-Uses of Element in org.dom4j.rule
-  -

- - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Element
- voidMode.applyTemplates(Element element) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.swing
-  -

- - - - - - - - - -
Methods in org.dom4j.swing with parameters of type Element
-static XMLTableDefinitionXMLTableDefinition.load(Element definition) - -
-          Loads an XML table definition from an XML definition document
-  -

- - - - - - - - -
Constructors in org.dom4j.swing with parameters of type Element
XMLTableModel(Element tableDefinition, - Object source) - -
-          Creates a TableModel from an XML table definition document and an XML - source
-  -

- - - - - -
-Uses of Element in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Element
- classAbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
- classBaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
- classDefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return Element
- ElementDefaultText.getParent() - -
-           
- ElementDefaultProcessingInstruction.getParent() - -
-           
- ElementDefaultNamespace.getParent() - -
-           
- ElementDefaultEntity.getParent() - -
-           
- ElementDefaultElement.getParent() - -
-           
- ElementDefaultElement.element(String name) - -
-           
- ElementDefaultElement.element(QName qName) - -
-           
- ElementDefaultElement.element(String name, - Namespace namespace) - -
-           
- ElementDefaultDocument.getRootElement() - -
-           
- ElementDefaultComment.getParent() - -
-           
- ElementDefaultCDATA.getParent() - -
-           
- ElementDefaultAttribute.getParent() - -
-           
- ElementBaseElement.getParent() - -
-           
- ElementAbstractNode.getParent() - -
-           
- ElementAbstractElement.element(String name) - -
-           
- ElementAbstractElement.element(QName qName) - -
-           
- ElementAbstractElement.element(String name, - Namespace namespace) - -
-           
- ElementAbstractElement.addAttribute(String name, - String value) - -
-           
- ElementAbstractElement.addAttribute(QName qName, - String value) - -
-           
- ElementAbstractElement.addCDATA(String cdata) - -
-           
- ElementAbstractElement.addComment(String comment) - -
-           
- ElementAbstractElement.addElement(String name) - -
-           
- ElementAbstractElement.addEntity(String name, - String text) - -
-           
- ElementAbstractElement.addNamespace(String prefix, - String uri) - -
-           
- ElementAbstractElement.addProcessingInstruction(String target, - String data) - -
-           
- ElementAbstractElement.addProcessingInstruction(String target, - Map data) - -
-           
- ElementAbstractElement.addText(String text) - -
-           
- ElementAbstractElement.createCopy() - -
-           - This returns a deep clone of this element.
- ElementAbstractElement.createCopy(String name) - -
-           
- ElementAbstractElement.createCopy(QName qName) - -
-           
-protected  ElementAbstractElement.createElement(String name) - -
-           
-protected  ElementAbstractElement.createElement(QName qName) - -
-           
- ElementAbstractDocument.addElement(String name) - -
-           
- ElementAbstractDocument.addElement(String qualifiedName, - String namespaceURI) - -
-           
- ElementAbstractDocument.addElement(QName qName) - -
-           
- ElementAbstractBranch.addElement(String name) - -
-           
- ElementAbstractBranch.addElement(String qualifiedName, - String namespaceURI) - -
-           
- ElementAbstractBranch.addElement(QName qname) - -
-           
- ElementAbstractBranch.addElement(String name, - String prefix, - String uri) - -
-           
- ElementAbstractBranch.elementByID(String elementID) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Element
-protected  NodeFlyweightText.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightProcessingInstruction.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightEntity.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightComment.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightCDATA.createXPathResult(Element parent) - -
-           
- voidDefaultText.setParent(Element parent) - -
-           
- voidDefaultProcessingInstruction.setParent(Element parent) - -
-           
- voidDefaultNamespace.setParent(Element parent) - -
-           
- voidDefaultEntity.setParent(Element parent) - -
-           
- voidDefaultElement.setParent(Element parent) - -
-           
-protected  voidDefaultDocument.rootElementAdded(Element element) - -
-           
- voidDefaultComment.setParent(Element parent) - -
-           
- voidDefaultCDATA.setParent(Element parent) - -
-           
- voidDefaultAttribute.setParent(Element parent) - -
-           
- voidBaseElement.setParent(Element parent) - -
-           
- StringAbstractProcessingInstruction.getPath(Element context) - -
-           
- StringAbstractProcessingInstruction.getUniquePath(Element context) - -
-           
- voidAbstractNode.setParent(Element parent) - -
-           
- NodeAbstractNode.asXPathResult(Element parent) - -
-           
-protected  NodeAbstractNode.createXPathResult(Element parent) - -
-           
- StringAbstractEntity.getPath(Element context) - -
-           
- StringAbstractEntity.getUniquePath(Element context) - -
-           
- StringAbstractElement.getPath(Element context) - -
-           
- StringAbstractElement.getUniquePath(Element context) - -
-           
- voidAbstractElement.add(Element element) - -
-           
- booleanAbstractElement.remove(Element element) - -
-           
- voidAbstractElement.appendAttributes(Element element) - -
-           
- StringAbstractDocumentType.getPath(Element context) - -
-           
- StringAbstractDocumentType.getUniquePath(Element context) - -
-           
- StringAbstractDocument.getPath(Element context) - -
-           
- StringAbstractDocument.getUniquePath(Element context) - -
-           
- voidAbstractDocument.setRootElement(Element rootElement) - -
-           
- voidAbstractDocument.add(Element element) - -
-           
- booleanAbstractDocument.remove(Element element) - -
-           
- NodeAbstractDocument.asXPathResult(Element parent) - -
-           
-protected  voidAbstractDocument.checkAddElementAllowed(Element element) - -
-           
-protected abstract  voidAbstractDocument.rootElementAdded(Element rootElement) - -
-          Called to set the root element variable
- StringAbstractComment.getPath(Element context) - -
-           
- StringAbstractComment.getUniquePath(Element context) - -
-           
- StringAbstractCharacterData.getPath(Element context) - -
-           
- StringAbstractCharacterData.getUniquePath(Element context) - -
-           
- voidAbstractBranch.add(Element element) - -
-           
- booleanAbstractBranch.remove(Element element) - -
-           
-protected  StringAbstractBranch.elementID(Element element) - -
-          DOCUMENT ME!
- StringAbstractAttribute.getPath(Element context) - -
-           
- StringAbstractAttribute.getUniquePath(Element context) - -
-           
-protected  NodeAbstractAttribute.createXPathResult(Element parent) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.tree with parameters of type Element
DefaultText(Element parent, - String text) - -
-          DOCUMENT ME!
DefaultProcessingInstruction(Element parent, - String target, - String values) - -
-           - This will create a new PI with the given target and values -
DefaultNamespace(Element parent, - String prefix, - String uri) - -
-          DOCUMENT ME!
DefaultEntity(Element parent, - String name, - String text) - -
-          Creates the Entity with the specified name and text.
DefaultDocument(Element rootElement) - -
-           
DefaultDocument(Element rootElement, - DocumentType docType) - -
-           
DefaultDocument(String name, - Element rootElement, - DocumentType docType) - -
-           
DefaultComment(Element parent, - String text) - -
-          DOCUMENT ME!
DefaultCDATA(Element parent, - String text) - -
-          DOCUMENT ME!
DefaultAttribute(Element parent, - QName qname, - String value) - -
-           
DefaultAttribute(Element parent, - String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
-  -

- - - - - -
-Uses of Element in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.util that implement Element
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util that return Element
- ElementXMLErrorHandler.getErrors() - -
-           
-protected  ElementUserDataElement.createElement(String name) - -
-           
-protected  ElementUserDataElement.createElement(QName qName) - -
-           
- ElementUserDataDocumentFactory.createElement(QName qname) - -
-           
- ElementProxyDocumentFactory.createElement(QName qname) - -
-           
- ElementProxyDocumentFactory.createElement(String name) - -
-           
- ElementNonLazyDocumentFactory.createElement(QName qname) - -
-           
- ElementIndexedElement.element(String name) - -
-           
- ElementIndexedElement.element(QName qName) - -
-           
-protected  ElementIndexedElement.asElement(Object object) - -
-           
- ElementIndexedDocumentFactory.createElement(QName qname) - -
-           
- ElementIndexedDocumentFactory.createElement(QName qname, - int attributeCount) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util with parameters of type Element
- voidXMLErrorHandler.setErrors(Element errors) - -
-           
-protected  voidXMLErrorHandler.addException(Element element, - SAXParseException e) - -
-          Adds the given parse exception information to the given element instance
- AttributeUserDataDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- DocumentProxyDocumentFactory.createDocument(Element rootElement) - -
-           
- AttributeProxyDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributeProxyDocumentFactory.createAttribute(Element owner, - String name, - String value) - -
-           
- intNodeComparator.compare(Element n1, - Element n2) - -
-           
-protected  voidIndexedElement.addToElementIndex(Element element) - -
-           
-protected  voidIndexedElement.addToElementIndex(Object key, - Element value) - -
-           
-protected  voidIndexedElement.removeFromElementIndex(Element element) - -
-           
-protected  voidIndexedElement.removeFromElementIndex(Object key, - Element value) - -
-           
-static booleanAttributeHelper.booleanValue(Element element, - String attributeName) - -
-           
-static booleanAttributeHelper.booleanValue(Element element, - QName attributeQName) - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.util with parameters of type Element
XMLErrorHandler(Element errors) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.xpath
-  -

- - - - - - - - -
Constructors in org.dom4j.xpath with parameters of type Element
DefaultNamespaceContext(Element element) - -
-           
-  -

- - - - - -
-Uses of Element in org.dom4j.xpp
-  -

- - - - - - - - - -
Methods in org.dom4j.xpp that return Element
- ElementProxyXmlStartTag.getElement() - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.xpp with parameters of type Element
ProxyXmlStartTag(Element element) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/ElementHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/ElementHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/ElementHandler.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/ElementHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,312 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.ElementHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.ElementHandler

-
- - - - - - - - - - - - - - - - - -
-Packages that use ElementHandler
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
-  -

- - - - - -
-Uses of ElementHandler in org.dom4j
-  -

- - - - - - - - - -
Methods in org.dom4j with parameters of type ElementHandler
- voidElementPath.addHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
-  -

- - - - - -
-Uses of ElementHandler in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type ElementHandler
- voidXPPReader.addHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
- voidXPPReader.setDefaultHandler(ElementHandler handler) - -
-          When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered.
- voidXPP3Reader.addHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
- voidXPP3Reader.setDefaultHandler(ElementHandler handler) - -
-          When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered.
- voidSAXReader.addHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
- voidSAXReader.setDefaultHandler(ElementHandler handler) - -
-          When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered.
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.io with parameters of type ElementHandler
SAXContentHandler(DocumentFactory documentFactory, - ElementHandler elementHandler) - -
-           
SAXContentHandler(DocumentFactory documentFactory, - ElementHandler elementHandler, - org.dom4j.io.ElementStack elementStack) - -
-           
-  -

- - - - - -
-Uses of ElementHandler in org.dom4j.jaxb
-  -

- - - - - - - - - -
Methods in org.dom4j.jaxb with parameters of type ElementHandler
- voidJAXBReader.addHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/ElementPath.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/ElementPath.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/ElementPath.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/ElementPath.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,184 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.ElementPath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.ElementPath

-
- - - - - - - - - -
-Packages that use ElementPath
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
-  -

- - - - - -
-Uses of ElementPath in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type ElementPath
- voidElementHandler.onStart(ElementPath elementPath) - -
-          Called by an event based processor when an elements openning tag is - encountered.
- voidElementHandler.onEnd(ElementPath elementPath) - -
-          Called by an event based processor when an elements closing tag is - encountered.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Entity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Entity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Entity.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Entity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,508 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Entity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Entity

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Entity
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Entity in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j that return Entity
-static EntityDocumentHelper.createEntity(String name, - String text) - -
-           
- EntityDocumentFactory.createEntity(String name, - String text) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Entity
- voidVisitorSupport.visit(Entity node) - -
-           
- voidVisitor.visit(Entity node) - -
-           - Visits the given Entity -
- voidElement.add(Entity entity) - -
-          Adds the given Entity to this element.
- booleanElement.remove(Entity entity) - -
-          Removes the given Entity if the node is an immediate child - of this element.
-  -

- - - - - -
-Uses of Entity in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement Entity
- classDOMEntityReference - -
-           - DOMEntity implements a Entity node which supports the W3C DOM - API. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.dom that return Entity
- EntityDOMDocumentFactory.createEntity(String name) - -
-           
- EntityDOMDocumentFactory.createEntity(String name, - String text) - -
-           
-  -

- - - - - -
-Uses of Entity in org.dom4j.io
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io that return Entity
- EntitySTAXEventReader.readEntityReference(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Entity from the provided event stream.
- EntitySTAXEventReader.createEntity(javax.xml.stream.events.EntityReference entityRef) - -
-          Constructs a new DOM4J Entity from the provided StAX EntityReference - event.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Entity
- voidXMLWriter.write(Entity entity) - -
-          Writes the given Entity.
-protected  voidXMLWriter.writeEntity(Entity entity) - -
-           
- voidSTAXEventWriter.writeEntity(Entity entity) - -
-          Writes a DOM4J Entityto the stream.
- voidSAXWriter.write(Entity entity) - -
-          Generates SAX events for the given Entity
-protected  voidHTMLWriter.writeEntity(Entity entity) - -
-           
-protected  voidDOMWriter.appendDOMTree(Document domDocument, - Node domCurrent, - Entity entity) - -
-           
-  -

- - - - - -
-Uses of Entity in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Entity
- classAbstractEntity - -
-           - AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
- classDefaultEntity - -
-           - DefaultEntity is the default Entity implementation.
- classFlyweightEntity - -
-           - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Entity
- voidAbstractElement.add(Entity entity) - -
-           
- booleanAbstractElement.remove(Entity entity) - -
-           
-  -

- - - - - -
-Uses of Entity in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return Entity
- EntityProxyDocumentFactory.createEntity(String name, - String text) - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type Entity
- intNodeComparator.compare(Entity n1, - Entity n2) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/IllegalAddException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/IllegalAddException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/IllegalAddException.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/IllegalAddException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.IllegalAddException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.IllegalAddException

-
-No usage of org.dom4j.IllegalAddException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/InvalidXPathException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/InvalidXPathException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/InvalidXPathException.html 2005-05-16 13:27:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/InvalidXPathException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,238 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.InvalidXPathException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.InvalidXPathException

-
- - - - - - - - - - - - - -
-Packages that use InvalidXPathException
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of InvalidXPathException in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that throw InvalidXPathException
- XPathNode.createXPath(String xpathExpression) - -
-           - createXPath creates an XPath object for the given - xpathExpression.
-static XPathDocumentHelper.createXPath(String xpathExpression) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -
-static XPathDocumentHelper.createXPath(String xpathExpression, - org.jaxen.VariableContext context) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -
- XPathDocumentFactory.createXPath(String xpathExpression) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance. -
-  -

- - - - - -
-Uses of InvalidXPathException in org.dom4j.xpath
-  -

- - - - - - - - -
Constructors in org.dom4j.xpath that throw InvalidXPathException
DefaultXPath(String text) - -
-          Construct an XPath
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Namespace.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Namespace.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Namespace.html 2005-05-16 13:26:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Namespace.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1170 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.Namespace (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.Namespace

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Namespace
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Namespace in org.dom4j
-  -

- - - - - - - - - - - - - -
Fields in org.dom4j declared as Namespace
-static NamespaceNamespace.XML_NAMESPACE - -
-          XML Namespace
-static NamespaceNamespace.NO_NAMESPACE - -
-          No Namespace present
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return Namespace
- NamespaceQName.getNamespace() - -
-          DOCUMENT ME!
-static NamespaceNamespace.get(String prefix, - String uri) - -
-          A helper method to return the Namespace instance for the given prefix and - URI
-static NamespaceNamespace.get(String uri) - -
-          A helper method to return the Namespace instance for no prefix and the - URI
- NamespaceElement.getNamespace() - -
-           - Returns the Namespace of this element if one exists - otherwise Namespace.NO_NAMESPACE is returned. -
- NamespaceElement.getNamespaceForPrefix(String prefix) - -
-           - Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -
- NamespaceElement.getNamespaceForURI(String uri) - -
-           - Returns the Namespace which is mapped to the given URI or - null if it could not be found.
-static NamespaceDocumentHelper.createNamespace(String prefix, - String uri) - -
-           
- NamespaceDocumentFactory.createNamespace(String prefix, - String uri) - -
-           
- NamespaceAttribute.getNamespace() - -
-           - Returns the Namespace of this element if one exists - otherwise null is returned returned. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Namespace
- voidVisitorSupport.visit(Namespace namespace) - -
-           
- voidVisitor.visit(Namespace namespace) - -
-           - Visits the given Namespace -
-static QNameQName.get(String name, - Namespace namespace) - -
-           
-static QNameQName.get(String localName, - Namespace namespace, - String qualifiedName) - -
-           
- voidElement.add(Namespace namespace) - -
-          Adds the given Namespace to this element.
- booleanElement.remove(Namespace namespace) - -
-          Removes the given Namespace if the node is an immediate - child of this element.
-static QNameDocumentHelper.createQName(String localName, - Namespace namespace) - -
-           
- QNameDocumentFactory.createQName(String localName, - Namespace namespace) - -
-           
- voidAttribute.setNamespace(Namespace namespace) - -
-           - Sets the Namespace of this element or if this element is - read only then an UnsupportedOperationException is thrown. -
-  -

- - - - - - - - - - - -
Constructors in org.dom4j with parameters of type Namespace
QName(String name, - Namespace namespace) - -
-           
QName(String name, - Namespace namespace, - String qualifiedName) - -
-           
-  -

- - - - - -
-Uses of Namespace in org.dom4j.bean
-  -

- - - - - - - - -
Constructors in org.dom4j.bean with parameters of type Namespace
BeanElement(String name, - Namespace namespace, - Object bean) - -
-           
-  -

- - - - - -
-Uses of Namespace in org.dom4j.datatype
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.datatype with parameters of type Namespace
- voidSchemaParser.build(Document schemaDocument, - Namespace namespace) - -
-           
- voidDatatypeDocumentFactory.loadSchema(Document schemaDocument, - Namespace targetNamespace) - -
-           
-protected  voidDatatypeDocumentFactory.loadSchema(Document document, - String schemaInstanceURI, - Namespace namespace) - -
-           
-  -

- - - - - -
-Uses of Namespace in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of Namespace in org.dom4j.dom
- classDOMNamespace - -
-           - DOMNamespace implements a Namespace that is compatable with - the DOM API. -
-  -

- - - - - - - - - -
Methods in org.dom4j.dom that return Namespace
- NamespaceDOMDocumentFactory.createNamespace(String prefix, - String uri) - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.dom with parameters of type Namespace
DOMElement(String name, - Namespace namespace) - -
-           
-  -

- - - - - -
-Uses of Namespace in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io that return Namespace
- NamespaceSTAXEventReader.readNamespace(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Namespace from the provided event stream.
- NamespaceSTAXEventReader.createNamespace(javax.xml.stream.events.Namespace ns) - -
-          Constructs a new DOM4J Namespace from the provided StAX Namespace event.
-protected  NamespaceDOMReader.getNamespace(String prefix, - String uri) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Namespace
- voidXMLWriter.write(Namespace namespace) - -
-          Writes the given Namespace.
-protected  voidXMLWriter.writeNamespace(Namespace namespace) - -
-           
-protected  booleanXMLWriter.isNamespaceDeclaration(Namespace ns) - -
-           
- voidSTAXEventWriter.writeNamespace(Namespace ns) - -
-          Writes a DOM4J Namespaceto the stream.
- javax.xml.stream.events.NamespaceSTAXEventWriter.createNamespace(Namespace ns) - -
-          Constructs a STAX Namespaceevent from a - DOM4J Namespace.
-protected  AttributesImplSAXWriter.addNamespaceAttribute(AttributesImpl attrs, - Namespace namespace) - -
-          If isDelcareNamespaceAttributes() is enabled then this method will add - the given namespace declaration to the supplied attributes object, - creating one if it does not exist.
-protected  booleanSAXWriter.isIgnoreableNamespace(Namespace namespace, - NamespaceStack namespaceStack) - -
-          DOCUMENT ME!
-protected  voidDOMWriter.writeNamespace(Element domElement, - Namespace namespace) - -
-           
-protected  StringDOMWriter.attributeNameForNamespace(Namespace namespace) - -
-           
-protected  booleanDOMWriter.isNamespaceDeclaration(Namespace ns) - -
-           
-  -

- - - - - -
-Uses of Namespace in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of Namespace in org.dom4j.tree
- classDefaultNamespace - -
-           - DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return Namespace
- NamespaceNamespaceStack.pop() - -
-          Pops the most recently used Namespace from the stack
- NamespaceNamespaceStack.getNamespace(int index) - -
-          DOCUMENT ME!
- NamespaceNamespaceStack.getNamespaceForPrefix(String prefix) - -
-          DOCUMENT ME!
- NamespaceNamespaceStack.addNamespace(String prefix, - String uri) - -
-          Adds a new namespace to the stack
- NamespaceNamespaceStack.pop(String prefix) - -
-          Pops a namepace from the stack with the given prefix and URI
- NamespaceNamespaceStack.getDefaultNamespace() - -
-           
-protected  NamespaceNamespaceStack.createNamespace(String prefix, - String namespaceURI) - -
-          Factory method to creeate new Namespace instances.
-protected  NamespaceNamespaceStack.findDefaultNamespace() - -
-          Attempts to find the current default namespace on the stack right now or - returns null if one could not be found
-protected  NamespaceNamespaceStack.remove(int index) - -
-          Removes the namespace at the given index of the stack
- NamespaceNamespaceCache.get(String prefix, - String uri) - -
-          DOCUMENT ME!
- NamespaceNamespaceCache.get(String uri) - -
-          DOCUMENT ME!
-protected  NamespaceNamespaceCache.createNamespace(String prefix, - String uri) - -
-          A factory method to create Namespaceinstance
- NamespaceDefaultElement.getNamespaceForPrefix(String prefix) - -
-           
- NamespaceDefaultElement.getNamespaceForURI(String uri) - -
-           
- NamespaceAbstractElement.getNamespace() - -
-           
- NamespaceAbstractElement.getNamespaceForPrefix(String prefix) - -
-           
- NamespaceAbstractElement.getNamespaceForURI(String uri) - -
-           
- NamespaceAbstractAttribute.getNamespace() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Namespace
- QNameQNameCache.get(String name, - Namespace namespace) - -
-          DOCUMENT ME!
- QNameQNameCache.get(String localName, - Namespace namespace, - String qName) - -
-          DOCUMENT ME!
-protected  MapQNameCache.getNamespaceCache(Namespace namespace) - -
-          DOCUMENT ME!
-protected  QNameQNameCache.createQName(String name, - Namespace namespace) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
-protected  QNameQNameCache.createQName(String name, - Namespace namespace, - String qualifiedName) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
- voidNamespaceStack.push(Namespace namespace) - -
-          Pushes the given namespace onto the stack so that its prefix becomes - available.
- booleanNamespaceStack.contains(Namespace namespace) - -
-          DOCUMENT ME!
-protected  QNameNamespaceStack.pushQName(String localName, - String qualifiedName, - Namespace namespace, - String prefix) - -
-          Adds the QName to the stack of available QNames
-protected  QNameNamespaceStack.createQName(String localName, - String qualifiedName, - Namespace namespace) - -
-          Factory method to creeate new QName instances.
- ElementDefaultElement.element(String name, - Namespace namespace) - -
-           
- AttributeDefaultElement.attribute(String name, - Namespace namespace) - -
-           
- voidAbstractElement.setNamespace(Namespace namespace) - -
-           
- ElementAbstractElement.element(String name, - Namespace namespace) - -
-           
- ListAbstractElement.elements(String name, - Namespace namespace) - -
-           
- IteratorAbstractElement.elementIterator(String name, - Namespace ns) - -
-           
- AttributeAbstractElement.attribute(String name, - Namespace namespace) - -
-           
- voidAbstractElement.add(Namespace namespace) - -
-           
- booleanAbstractElement.remove(Namespace namespace) - -
-           
- voidAbstractAttribute.setNamespace(Namespace namespace) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.tree with parameters of type Namespace
FlyweightAttribute(String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
DefaultElement(String name, - Namespace namespace) - -
-           
DefaultAttribute(String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
DefaultAttribute(Element parent, - String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
BaseElement(String name, - Namespace namespace) - -
-           
-  -

- - - - - -
-Uses of Namespace in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return Namespace
- NamespaceProxyDocumentFactory.createNamespace(String prefix, - String uri) - -
-           
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.util with parameters of type Namespace
- QNameProxyDocumentFactory.createQName(String localName, - Namespace namespace) - -
-           
- intNodeComparator.compare(Namespace n1, - Namespace n2) - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.util with parameters of type Namespace
NonLazyElement(String name, - Namespace namespace) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Node.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Node.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Node.html 2005-05-16 13:28:15.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Node.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2134 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Node (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Node

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Node
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.rule.pattern  
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of Node in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subinterfaces of Node in org.dom4j
- interfaceAttribute - -
-           - Attribute defines an XML attribute.
- interfaceBranch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
- interfaceCDATA - -
-           - CDATA defines an XML CDATA section. -
- interfaceCharacterData - -
-           - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
- interfaceComment - -
-           - Comment defines the behavior of an XML comment. -
- interfaceDocument - -
-           - Document defines an XML Document. -
- interfaceDocumentType - -
-           - DocumentType defines an XML DOCTYPE declaration. -
- interfaceElement - -
-           - Element interface defines an XML element.
- interfaceEntity - -
-           - Entity defines an XML entity. -
- interfaceProcessingInstruction - -
-           - ProcessingInstruction defines an XML processing instruction. -
- interfaceText - -
-           - Text defines an XML Text node. -
-  -

- - - - - - - - - -
Classes in org.dom4j that implement Node
- classNamespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return Node
- NodeXPath.selectSingleNode(Object context) - -
-           - selectSingleNode evaluates this XPath expression on the - given Nodeor Listof Nodes and returns the - result as a single Node instance. -
- NodeNode.detach() - -
-           - Removes this node from its parent if there is one.
- NodeNode.selectSingleNode(String xpathExpression) - -
-           - selectSingleNode evaluates an XPath expression and returns - the result as a single Node instance. -
- NodeNode.asXPathResult(Element parent) - -
-           - asXPathResult returns a version of this node which is - capable of being an XPath result.
-protected  NodeNamespace.createXPathResult(Element parent) - -
-           
- NodeElement.getXPathResult(int index) - -
-          Returns a node at the given index suitable for an XPath result set.
- NodeBranch.node(int index) - -
-          Returns the Node at the specified index position.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Node
- booleanXPath.matches(Node node) - -
-           - matches returns true if the given node matches the XPath - expression.
- booleanNodeFilter.matches(Node node) - -
-           - matches returns true if the given node matches the filter - condition. -
-static ListDocumentHelper.selectNodes(String xpathFilterExpression, - Node node) - -
-           - selectNodes performs the given XPath expression on the - Listof Nodeinstances appending all the results together - into a single list. -
- intBranch.indexOf(Node node) - -
-          Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node.
- voidBranch.add(Node node) - -
-          Adds the given Node or throws IllegalAddException - if the given node is not of a valid type.
- booleanBranch.remove(Node node) - -
-          Removes the given Node if the node is an immediate child - of this branch.
-  -

- - - - - - - - - - - -
Constructors in org.dom4j with parameters of type Node
IllegalAddException(Element parent, - Node node, - String reason) - -
-           
IllegalAddException(Branch parent, - Node node, - String reason) - -
-           
-  -

- - - - - -
-Uses of Node in org.dom4j.bean
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.bean that implement Node
- classBeanAttribute - -
-           - BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - -
-Uses of Node in org.dom4j.datatype
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.datatype that implement Node
- classDatatypeAttribute - -
-           - DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.datatype with parameters of type Node
-protected  voidDatatypeElement.childAdded(Node node) - -
-          Override to force lazy recreation of data object
-protected  voidDatatypeElement.childRemoved(Node node) - -
-          Override to force lazy recreation of data object
-  -

- - - - - -
-Uses of Node in org.dom4j.dom
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Classes in org.dom4j.dom that implement Node
- classDOMAttribute - -
-           - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
- classDOMDocumentType - -
-           - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
- classDOMEntityReference - -
-           - DOMEntity implements a Entity node which supports the W3C DOM - API. -
- classDOMNamespace - -
-           - DOMNamespace implements a Namespace that is compatable with - the DOM API. -
- classDOMProcessingInstruction - -
-           - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.dom with parameters of type Node
-static booleanDOMNodeHelper.supports(Node node, - String feature, - String version) - -
-           
-static StringDOMNodeHelper.getNamespaceURI(Node node) - -
-           
-static StringDOMNodeHelper.getPrefix(Node node) - -
-           
-static StringDOMNodeHelper.getLocalName(Node node) - -
-           
-static voidDOMNodeHelper.setPrefix(Node node, - String prefix) - -
-           
-static StringDOMNodeHelper.getNodeValue(Node node) - -
-           
-static voidDOMNodeHelper.setNodeValue(Node node, - String nodeValue) - -
-           
-static NodeDOMNodeHelper.getParentNode(Node node) - -
-           
-static NodeListDOMNodeHelper.getChildNodes(Node node) - -
-           
-static NodeDOMNodeHelper.getFirstChild(Node node) - -
-           
-static NodeDOMNodeHelper.getLastChild(Node node) - -
-           
-static NodeDOMNodeHelper.getPreviousSibling(Node node) - -
-           
-static NodeDOMNodeHelper.getNextSibling(Node node) - -
-           
-static NamedNodeMapDOMNodeHelper.getAttributes(Node node) - -
-           
-static DocumentDOMNodeHelper.getOwnerDocument(Node node) - -
-           
-static NodeDOMNodeHelper.insertBefore(Node node, - Node newChild, - Node refChild) - -
-           
-static NodeDOMNodeHelper.replaceChild(Node node, - Node newChild, - Node oldChild) - -
-           
-static NodeDOMNodeHelper.removeChild(Node node, - Node oldChild) - -
-           
-static NodeDOMNodeHelper.appendChild(Node node, - Node newChild) - -
-           
-static booleanDOMNodeHelper.hasChildNodes(Node node) - -
-           
-static NodeDOMNodeHelper.cloneNode(Node node, - boolean deep) - -
-           
-static voidDOMNodeHelper.normalize(Node node) - -
-           
-static booleanDOMNodeHelper.isSupported(Node n, - String feature, - String version) - -
-           
-static booleanDOMNodeHelper.hasAttributes(Node node) - -
-           
-static NodeDOMNodeHelper.asDOMNode(Node node) - -
-           
-static ElementDOMNodeHelper.asDOMElement(Node element) - -
-           
-static AttrDOMNodeHelper.asDOMAttr(Node attribute) - -
-           
-  -

- - - - - -
-Uses of Node in org.dom4j.io
-  -

- - - - - - - - - -
Methods in org.dom4j.io that return Node
- NodeSTAXEventReader.readNode(javax.xml.stream.XMLEventReader reader) - -
-          Reads a Nodefrom the event stream.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Node
- voidXMLWriter.write(Node node) - -
-          Writes the given Node.
-protected  voidXMLWriter.writeNodeText(Node node) - -
-          This method is used to write out Nodes that contain text and still allow - for xml:space to be handled properly.
-protected  voidXMLWriter.writeNode(Node node) - -
-           
- voidSTAXEventWriter.writeNode(Node n) - -
-          Writes a DOM4J Nodeto the stream.
- voidSAXWriter.write(Node node) - -
-          A polymorphic method to write any Node to this SAX stream
-  -

- - - - - - - - -
Constructors in org.dom4j.io with parameters of type Node
DocumentSource(Node node) - -
-          Creates a JAXP SAXSourcefor the given Node.
-  -

- - - - - -
-Uses of Node in org.dom4j.rule
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Node
- voidStylesheet.run(Node node) - -
-           
- voidStylesheet.run(Node node, - String mode) - -
-           
- RuleRuleSet.getMatchingRule(Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
- RuleRuleManager.getMatchingRule(String modeName, - Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
- booleanRule.matches(Node node) - -
-          DOCUMENT ME!
- booleanPattern.matches(Node node) - -
-          DOCUMENT ME!
- voidNullAction.run(Node node) - -
-           
- voidMode.fireRule(Node node) - -
-          Runs the actions associated with the given node
- RuleMode.getMatchingRule(Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
- voidAction.run(Node node) - -
-           
-  -

- - - - - -
-Uses of Node in org.dom4j.rule.pattern
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.rule.pattern with parameters of type Node
- booleanNodeTypePattern.matches(Node node) - -
-           
- booleanDefaultPattern.matches(Node node) - -
-           
-  -

- - - - - -
-Uses of Node in org.dom4j.swing
-  -

- - - - - - - - - -
Fields in org.dom4j.swing declared as Node
-protected  NodeLeafTreeNode.xmlNode - -
-          The dom4j Node which contains the
-  -

- - - - - - - - - -
Methods in org.dom4j.swing that return Node
- NodeLeafTreeNode.getXmlNode() - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.swing with parameters of type Node
-protected  TreeNodeBranchTreeNode.createChildTreeNode(Node xmlNode) - -
-          Factory method to create child tree nodes for a given XML node type
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.swing with parameters of type Node
LeafTreeNode(Node xmlNode) - -
-           
LeafTreeNode(TreeNode parent, - Node xmlNode) - -
-           
-  -

- - - - - -
-Uses of Node in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Node
- classAbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractCharacterData - -
-           - AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractDocumentType - -
-           - AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractEntity - -
-           - AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractProcessingInstruction - -
-           - AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
- classAbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
- classBaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
- classDefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
- classDefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
- classDefaultDocumentType - -
-           - DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
- classDefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
- classDefaultEntity - -
-           - DefaultEntity is the default Entity implementation.
- classDefaultNamespace - -
-           - DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable.
- classDefaultProcessingInstruction - -
-           - DefaultProcessingInstruction is the default Processing - Instruction implementation.
- classDefaultText - -
-           - DefaultText is the default Text implementation.
- classFlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
- classFlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
- classFlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
- classFlyweightEntity - -
-           - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
- classFlyweightProcessingInstruction - -
-           - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
- classFlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return Node
-protected  NodeFlyweightText.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightProcessingInstruction.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightEntity.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightComment.createXPathResult(Element parent) - -
-           
-protected  NodeFlyweightCDATA.createXPathResult(Element parent) - -
-           
- NodeDefaultElement.node(int index) - -
-           
-protected  NodeContentListFacade.asNode(Object object) - -
-           
-protected  NodeBackedList.asNode(Object object) - -
-           
- NodeAbstractNode.detach() - -
-           
- NodeAbstractNode.selectSingleNode(String xpathExpression) - -
-           
- NodeAbstractNode.asXPathResult(Element parent) - -
-           
-protected  NodeAbstractNode.createXPathResult(Element parent) - -
-           
- NodeAbstractElement.node(int index) - -
-           
- NodeAbstractElement.getXPathResult(int index) - -
-           
- NodeAbstractDocument.asXPathResult(Element parent) - -
-           
- NodeAbstractBranch.node(int index) - -
-           
-protected  NodeAbstractAttribute.createXPathResult(Element parent) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Node
- intDefaultElement.indexOf(Node node) - -
-           
-protected  voidDefaultElement.addNewNode(Node node) - -
-           
-protected  booleanDefaultElement.removeNode(Node node) - -
-           
-protected  voidDefaultDocument.addNode(Node node) - -
-           
-protected  voidDefaultDocument.addNode(int index, - Node node) - -
-           
-protected  booleanDefaultDocument.removeNode(Node node) - -
-           
- intAbstractElement.indexOf(Node node) - -
-           
- voidAbstractElement.add(Node node) - -
-           
- booleanAbstractElement.remove(Node node) - -
-           
-protected  voidAbstractElement.addNode(Node node) - -
-           
-protected  voidAbstractElement.addNode(int index, - Node node) - -
-           
-protected  voidAbstractElement.addNewNode(Node node) - -
-          Like addNode() but does not require a parent check
-protected  voidAbstractElement.addNewNode(int index, - Node node) - -
-           
-protected  booleanAbstractElement.removeNode(Node node) - -
-           
-protected  voidAbstractElement.childAdded(Node node) - -
-          Called when a new child node is added to create any parent relationships
-protected  voidAbstractElement.childRemoved(Node node) - -
-           
-protected  voidAbstractDocument.childAdded(Node node) - -
-           
-protected  voidAbstractDocument.childRemoved(Node node) - -
-           
- voidAbstractBranch.add(Node node) - -
-           
- booleanAbstractBranch.remove(Node node) - -
-           
- intAbstractBranch.indexOf(Node node) - -
-           
-protected abstract  voidAbstractBranch.addNode(Node node) - -
-           
-protected abstract  voidAbstractBranch.addNode(int index, - Node node) - -
-           
-protected abstract  booleanAbstractBranch.removeNode(Node node) - -
-           
-protected abstract  voidAbstractBranch.childAdded(Node node) - -
-          Called when a new child node has been added to me to allow any parent - relationships to be created or events to be fired.
-protected abstract  voidAbstractBranch.childRemoved(Node node) - -
-          Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired.
-protected  voidAbstractBranch.invalidNodeTypeAddException(Node node) - -
-          Called when an invalid node has been added.
-  -

- - - - - -
-Uses of Node in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - - - - - -
Classes in org.dom4j.util that implement Node
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
- classUserDataAttribute - -
-           - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util with parameters of type Node
- intNodeComparator.compare(Node n1, - Node n2) - -
-           
-protected  voidIndexedElement.addNode(Node node) - -
-           
-protected  booleanIndexedElement.removeNode(Node node) - -
-           
-  -

- - - - - -
-Uses of Node in org.dom4j.xpath
-  -

- - - - - - - - - -
Methods in org.dom4j.xpath that return Node
- NodeDefaultXPath.selectSingleNode(Object context) - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.xpath with parameters of type Node
- booleanXPathPattern.matches(Node node) - -
-           
- booleanDefaultXPath.matches(Node node) - -
-           
-protected  ObjectDefaultXPath.getCompareValue(Node node) - -
-          DOCUMENT ME!
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/NodeFilter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/NodeFilter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/NodeFilter.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/NodeFilter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,422 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.NodeFilter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.NodeFilter

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use NodeFilter
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.rule.pattern  
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of NodeFilter in org.dom4j
-  -

- - - - - - - - - -
Subinterfaces of NodeFilter in org.dom4j
- interfaceXPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return NodeFilter
-static NodeFilterDocumentHelper.createXPathFilter(String xpathFilterExpression) - -
-           - createXPathFilter parses a NodeFilter from the given XPath - filter expression using the singleton DocumentFactory.
- NodeFilterDocumentFactory.createXPathFilter(String xpathFilterExpression, - org.jaxen.VariableContext variableContext) - -
-           - createXPathFilter parses a NodeFilter from the given XPath - filter expression.
- NodeFilterDocumentFactory.createXPathFilter(String xpathFilterExpression) - -
-           - createXPathFilter parses a NodeFilter from the given XPath - filter expression.
-  -

- - - - - -
-Uses of NodeFilter in org.dom4j.rule
-  -

- - - - - - - - - -
Subinterfaces of NodeFilter in org.dom4j.rule
- interfacePattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  -

- - - - - -
-Uses of NodeFilter in org.dom4j.rule.pattern
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.rule.pattern that implement NodeFilter
- classDefaultPattern - -
-           - DefaultPattern a default implementation of Pattern which can - take any XPath implementation or NodeFilter for defining the pattern. -
- classNodeTypePattern - -
-           - NodeTypePattern implements a Pattern which matches any node of - the given node type. -
-  -

- - - - - - - - -
Constructors in org.dom4j.rule.pattern with parameters of type NodeFilter
DefaultPattern(NodeFilter filter) - -
-           
-  -

- - - - - -
-Uses of NodeFilter in org.dom4j.tree
-  -

- - - - - - - - - -
Methods in org.dom4j.tree that return NodeFilter
- NodeFilterAbstractNode.createXPathFilter(String patternText) - -
-           
-  -

- - - - - -
-Uses of NodeFilter in org.dom4j.util
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.util that return NodeFilter
- NodeFilterProxyDocumentFactory.createXPathFilter(String xpathFilterExpression, - org.jaxen.VariableContext variableContext) - -
-           
- NodeFilterProxyDocumentFactory.createXPathFilter(String xpathFilterExpression) - -
-           
-  -

- - - - - -
-Uses of NodeFilter in org.dom4j.xpath
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.xpath that implement NodeFilter
- classDefaultXPath - -
-           - Default implementation of XPathwhich uses the Jaxen project. -
- classXPathPattern - -
-           - XPathPattern is an implementation of Pattern which uses an - XPath xpath. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/ProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/ProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/ProcessingInstruction.html 2005-05-16 13:27:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/ProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,595 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.ProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.ProcessingInstruction

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use ProcessingInstruction
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of ProcessingInstruction in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return ProcessingInstruction
-static ProcessingInstructionDocumentHelper.createProcessingInstruction(String pi, - String d) - -
-           
-static ProcessingInstructionDocumentHelper.createProcessingInstruction(String pi, - Map data) - -
-           
- ProcessingInstructionDocumentFactory.createProcessingInstruction(String target, - String data) - -
-           
- ProcessingInstructionDocumentFactory.createProcessingInstruction(String target, - Map data) - -
-           
- ProcessingInstructionBranch.processingInstruction(String target) - -
-          DOCUMENT ME!
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type ProcessingInstruction
- voidVisitorSupport.visit(ProcessingInstruction node) - -
-           
- voidVisitor.visit(ProcessingInstruction node) - -
-           - Visits the given ProcessingInstruction -
- voidBranch.add(ProcessingInstruction pi) - -
-          Adds the given ProcessingInstruction to this branch.
- booleanBranch.remove(ProcessingInstruction pi) - -
-          Removes the given ProcessingInstruction if the node is an - immediate child of this branch.
-  -

- - - - - -
-Uses of ProcessingInstruction in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement ProcessingInstruction
- classDOMProcessingInstruction - -
-           - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.dom that return ProcessingInstruction
- ProcessingInstructionDOMDocumentFactory.createProcessingInstruction(String target, - String data) - -
-           
- ProcessingInstructionDOMDocumentFactory.createProcessingInstruction(String target, - Map data) - -
-           
-  -

- - - - - -
-Uses of ProcessingInstruction in org.dom4j.io
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io that return ProcessingInstruction
- ProcessingInstructionSTAXEventReader.readProcessingInstruction(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J ProcessingInstruction from the provided event stream. -
- ProcessingInstructionSTAXEventReader.createProcessingInstruction(javax.xml.stream.events.ProcessingInstruction pi) - -
-          Constructs a new DOM4J ProcessingInstruction from the provided StAX - ProcessingInstruction event.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type ProcessingInstruction
- voidXMLWriter.write(ProcessingInstruction processingInstruction) - -
-          Writes the given ProcessingInstruction.
-protected  voidXMLWriter.writeProcessingInstruction(ProcessingInstruction pi) - -
-           
- voidSTAXEventWriter.writeProcessingInstruction(ProcessingInstruction pi) - -
-          Writes a DOM4J ProcessingInstructionto the stream.
- javax.xml.stream.events.ProcessingInstructionSTAXEventWriter.createProcessingInstruction(ProcessingInstruction pi) - -
-          Constructs a STAX ProcessingInstruction - event from a DOM4J ProcessingInstruction.
- voidSAXWriter.write(ProcessingInstruction pi) - -
-          Generates SAX events for the given ProcessingInstruction
-protected  voidDOMWriter.appendDOMTree(Document domDoc, - Node domCurrent, - ProcessingInstruction pi) - -
-           
-  -

- - - - - -
-Uses of ProcessingInstruction in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement ProcessingInstruction
- classAbstractProcessingInstruction - -
-           - AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
- classDefaultProcessingInstruction - -
-           - DefaultProcessingInstruction is the default Processing - Instruction implementation.
- classFlyweightProcessingInstruction - -
-           - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return ProcessingInstruction
- ProcessingInstructionDefaultElement.processingInstruction(String target) - -
-           
- ProcessingInstructionDefaultDocument.processingInstruction(String target) - -
-           
- ProcessingInstructionAbstractElement.processingInstruction(String target) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type ProcessingInstruction
- voidAbstractElement.add(ProcessingInstruction pi) - -
-           
- booleanAbstractElement.remove(ProcessingInstruction pi) - -
-           
- voidAbstractBranch.add(ProcessingInstruction pi) - -
-           
- booleanAbstractBranch.remove(ProcessingInstruction pi) - -
-           
-  -

- - - - - -
-Uses of ProcessingInstruction in org.dom4j.util
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.util that return ProcessingInstruction
- ProcessingInstructionProxyDocumentFactory.createProcessingInstruction(String target, - String data) - -
-           
- ProcessingInstructionProxyDocumentFactory.createProcessingInstruction(String target, - Map data) - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j.util with parameters of type ProcessingInstruction
- intNodeComparator.compare(ProcessingInstruction n1, - ProcessingInstruction n2) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/QName.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/QName.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/QName.html 2005-05-16 13:28:18.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/QName.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1664 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.QName (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.QName

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use QName
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of QName in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return QName
-static QNameQName.get(String name) - -
-           
-static QNameQName.get(String name, - Namespace namespace) - -
-           
-static QNameQName.get(String name, - String prefix, - String uri) - -
-           
-static QNameQName.get(String qualifiedName, - String uri) - -
-           
-static QNameQName.get(String localName, - Namespace namespace, - String qualifiedName) - -
-           
- QNameElement.getQName() - -
-           - Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -
- QNameElement.getQName(String qualifiedName) - -
-           - Returns the QName for the given qualified name, using the - namespace URI in scope for the given prefix of the qualified name or the - default namespace if the qualified name has no prefix. -
-static QNameDocumentHelper.createQName(String localName, - Namespace namespace) - -
-           
-static QNameDocumentHelper.createQName(String localName) - -
-           
- QNameDocumentFactory.createQName(String localName, - Namespace namespace) - -
-           
- QNameDocumentFactory.createQName(String localName) - -
-           
- QNameDocumentFactory.createQName(String name, - String prefix, - String uri) - -
-           
- QNameDocumentFactory.createQName(String qualifiedName, - String uri) - -
-           
-protected  QNameDocumentFactory.intern(QName qname) - -
-          DOCUMENT ME!
- QNameAttribute.getQName() - -
-           - Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type QName
- voidElement.setQName(QName qname) - -
-           - Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -
- ElementElement.addAttribute(QName qName, - String value) - -
-           - Adds the attribute value of the given fully qualified name.
- AttributeElement.attribute(QName qName) - -
-          DOCUMENT ME!
- StringElement.attributeValue(QName qName) - -
-           - This returns the attribute value for the attribute with the given fully - qualified name or null if there is no such attribute or the empty string - if the attribute value is empty. -
- StringElement.attributeValue(QName qName, - String defaultValue) - -
-           - This returns the attribute value for the attribute with the given fully - qualified name or the default value if there is no such attribute value. -
- voidElement.setAttributeValue(QName qName, - String value) - -
-          Deprecated. As of version 0.5. Please use Element.addAttribute(QName,String) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- ElementElement.element(QName qName) - -
-          Returns the first element for the given fully qualified name.
- ListElement.elements(QName qName) - -
-           - Returns the elements contained in this element with the given fully - qualified name.
- IteratorElement.elementIterator(QName qName) - -
-          Returns an iterator over the elements contained in this element which - match the given fully qualified name.
- ElementElement.createCopy(QName qName) - -
-           - Creates a deep copy of this element with the given fully qualified name. -
- StringElement.elementText(QName qname) - -
-           
- StringElement.elementTextTrim(QName qname) - -
-           
-static ElementDocumentHelper.createElement(QName qname) - -
-           
-static AttributeDocumentHelper.createAttribute(Element owner, - QName qname, - String value) - -
-           
- ElementDocumentFactory.createElement(QName qname) - -
-           
- AttributeDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-protected  QNameDocumentFactory.intern(QName qname) - -
-          DOCUMENT ME!
- ElementBranch.addElement(QName qname) - -
-          Adds a new Element node with the given QNameto - this branch and returns a reference to the new node.
-  -

- - - - - -
-Uses of QName in org.dom4j.bean
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.bean that return QName
- QNameBeanMetaData.getQName(int index) - -
-           
- QNameBeanAttributeList.getQName(int index) - -
-           
- QNameBeanAttribute.getQName() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.bean with parameters of type QName
- intBeanMetaData.getIndex(QName qName) - -
-           
- AttributeBeanElement.attribute(QName qname) - -
-           
- ElementBeanElement.addAttribute(QName qName, - String value) - -
-           
- ElementBeanDocumentFactory.createElement(QName qname) - -
-           
- ElementBeanDocumentFactory.createElement(QName qname, - Attributes attributes) - -
-           
- AttributeBeanDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-protected  ObjectBeanDocumentFactory.createBean(QName qname) - -
-           
-protected  ObjectBeanDocumentFactory.createBean(QName qname, - Attributes attributes) - -
-           
- AttributeBeanAttributeList.attribute(QName qname) - -
-           
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.bean with parameters of type QName
BeanElement(QName qname, - Object bean) - -
-           
BeanElement(QName qname) - -
-           
-  -

- - - - - -
-Uses of QName in org.dom4j.datatype
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.datatype that return QName
- QNameDatatypeElementFactory.getQName() - -
-          DOCUMENT ME!
- QNameDatatypeAttribute.getQName() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.datatype with parameters of type QName
- com.sun.msv.datatype.xsd.XSDatatypeDatatypeElementFactory.getAttributeXSDatatype(QName attributeQName) - -
-          DOCUMENT ME!
- voidDatatypeElementFactory.setAttributeXSDatatype(QName attributeQName, - com.sun.msv.datatype.xsd.XSDatatype type) - -
-          Registers the given XSDatatype for the given - <attribute> QNames
- com.sun.msv.datatype.xsd.XSDatatypeDatatypeElementFactory.getChildElementXSDatatype(QName qname) - -
-          DOCUMENT ME!
- voidDatatypeElementFactory.setChildElementXSDatatype(QName qname, - com.sun.msv.datatype.xsd.XSDatatype dataType) - -
-           
- ElementDatatypeElementFactory.createElement(QName qname) - -
-           
- AttributeDatatypeElementFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- DatatypeElementFactoryDatatypeDocumentFactory.getElementFactory(QName elementQName) - -
-          Registers the given DatatypeElementFactory for the given - <element> schema element
- AttributeDatatypeDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.datatype with parameters of type QName
DatatypeElementFactory(QName elementQName) - -
-           
DatatypeElement(QName qname, - com.sun.msv.datatype.xsd.XSDatatype datatype) - -
-           
DatatypeElement(QName qname, - int attributeCount, - com.sun.msv.datatype.xsd.XSDatatype type) - -
-           
DatatypeAttribute(QName qname, - com.sun.msv.datatype.xsd.XSDatatype datatype) - -
-           
DatatypeAttribute(QName qname, - com.sun.msv.datatype.xsd.XSDatatype datatype, - String text) - -
-           
-  -

- - - - - -
-Uses of QName in org.dom4j.dom
-  -

- - - - - - - - - -
Methods in org.dom4j.dom that return QName
-protected  QNameDOMElement.getQName(String namespace, - String qualifiedName) - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.dom with parameters of type QName
- ElementDOMDocumentFactory.createElement(QName qname) - -
-           
- ElementDOMDocumentFactory.createElement(QName qname, - int attributeCount) - -
-           
- AttributeDOMDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.dom with parameters of type QName
DOMElement(QName qname) - -
-           
DOMElement(QName qname, - int attributeCount) - -
-           
DOMAttribute(QName qname) - -
-           
DOMAttribute(QName qname, - String value) - -
-           
DOMAttribute(Element parent, - QName qname, - String value) - -
-           
-  -

- - - - - -
-Uses of QName in org.dom4j.io
-  -

- - - - - - - - - -
Methods in org.dom4j.io that return QName
- QNameSTAXEventReader.createQName(javax.xml.namespace.QName qname) - -
-          Constructs a new DOM4J QName from the provided JAXP QName.
-  -

- - - - - - - - - -
Methods in org.dom4j.io with parameters of type QName
- javax.xml.namespace.QNameSTAXEventWriter.createQName(QName qname) - -
-          Constructs a STAX QNamefrom a DOM4J QName.
-  -

- - - - - -
-Uses of QName in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree that return QName
- QNameQNameCache.get(String name) - -
-          DOCUMENT ME!
- QNameQNameCache.get(String name, - Namespace namespace) - -
-          DOCUMENT ME!
- QNameQNameCache.get(String localName, - Namespace namespace, - String qName) - -
-          DOCUMENT ME!
- QNameQNameCache.get(String qualifiedName, - String uri) - -
-           
- QNameQNameCache.intern(QName qname) - -
-          DOCUMENT ME!
-protected  QNameQNameCache.createQName(String name) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
-protected  QNameQNameCache.createQName(String name, - Namespace namespace) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
-protected  QNameQNameCache.createQName(String name, - Namespace namespace, - String qualifiedName) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
- QNameNamespaceStack.getQName(String namespaceURI, - String localName, - String qualifiedName) - -
-           
- QNameNamespaceStack.getAttributeQName(String namespaceURI, - String localName, - String qualifiedName) - -
-           
-protected  QNameNamespaceStack.pushQName(String localName, - String qualifiedName, - Namespace namespace, - String prefix) - -
-          Adds the QName to the stack of available QNames
-protected  QNameNamespaceStack.createQName(String localName, - String qualifiedName, - Namespace namespace) - -
-          Factory method to creeate new QName instances.
- QNameFlyweightAttribute.getQName() - -
-           
- QNameDefaultElement.getQName() - -
-           
- QNameBaseElement.getQName() - -
-           
- QNameAbstractElement.getQName(String qualifiedName) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type QName
- QNameQNameCache.intern(QName qname) - -
-          DOCUMENT ME!
- voidDefaultElement.setQName(QName name) - -
-           
- ElementDefaultElement.element(QName qName) - -
-           
- AttributeDefaultElement.attribute(QName qName) - -
-           
- voidBaseElement.setQName(QName name) - -
-           
- ElementAbstractElement.element(QName qName) - -
-           
- ListAbstractElement.elements(QName qName) - -
-           
- IteratorAbstractElement.elementIterator(QName qName) - -
-           
- AttributeAbstractElement.attribute(QName qName) - -
-           
- StringAbstractElement.attributeValue(QName qName) - -
-           
- StringAbstractElement.attributeValue(QName qName, - String defaultValue) - -
-           
- voidAbstractElement.setAttributeValue(QName qName, - String value) - -
-          Deprecated. As of version 0.5. Please use AbstractElement.addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- ElementAbstractElement.addAttribute(QName qName, - String value) - -
-           
- StringAbstractElement.elementText(QName qName) - -
-           
- StringAbstractElement.elementTextTrim(QName qName) - -
-           
- ElementAbstractElement.createCopy(QName qName) - -
-           
-protected  ElementAbstractElement.createElement(QName qName) - -
-           
- ElementAbstractDocument.addElement(QName qName) - -
-           
- ElementAbstractBranch.addElement(QName qname) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.tree with parameters of type QName
FlyweightAttribute(QName qname) - -
-           
FlyweightAttribute(QName qname, - String value) - -
-           
ElementQNameIterator(Iterator proxy, - QName qName) - -
-          Deprecated.  
DefaultElement(QName qname) - -
-           
DefaultElement(QName qname, - int attributeCount) - -
-           
DefaultAttribute(QName qname) - -
-           
DefaultAttribute(QName qname, - String value) - -
-           
DefaultAttribute(Element parent, - QName qname, - String value) - -
-           
BaseElement(QName qname) - -
-           
-  -

- - - - - -
-Uses of QName in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - -
Fields in org.dom4j.util declared as QName
-protected static QNameXMLErrorHandler.ERROR_QNAME - -
-           
-protected static QNameXMLErrorHandler.FATALERROR_QNAME - -
-           
-protected static QNameXMLErrorHandler.WARNING_QNAME - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util that return QName
- QNameXMLErrorHandler.getErrorQName() - -
-           
- QNameXMLErrorHandler.getFatalErrorQName() - -
-           
- QNameXMLErrorHandler.getWarningQName() - -
-           
- QNameProxyDocumentFactory.createQName(String localName, - Namespace namespace) - -
-           
- QNameProxyDocumentFactory.createQName(String localName) - -
-           
- QNameProxyDocumentFactory.createQName(String name, - String prefix, - String uri) - -
-           
- QNameProxyDocumentFactory.createQName(String qualifiedName, - String uri) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.util with parameters of type QName
- voidXMLErrorHandler.setErrorQName(QName errorQName) - -
-           
- voidXMLErrorHandler.setFatalErrorQName(QName fatalErrorQName) - -
-           
- voidXMLErrorHandler.setWarningQName(QName warningQName) - -
-           
-protected  ElementUserDataElement.createElement(QName qName) - -
-           
- ElementUserDataDocumentFactory.createElement(QName qname) - -
-           
- AttributeUserDataDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- ElementProxyDocumentFactory.createElement(QName qname) - -
-           
- AttributeProxyDocumentFactory.createAttribute(Element owner, - QName qname, - String value) - -
-           
- ElementNonLazyDocumentFactory.createElement(QName qname) - -
-           
- intNodeComparator.compare(QName n1, - QName n2) - -
-           
- AttributeIndexedElement.attribute(QName qName) - -
-           
- ElementIndexedElement.element(QName qName) - -
-           
- ListIndexedElement.elements(QName qName) - -
-           
- ElementIndexedDocumentFactory.createElement(QName qname) - -
-           
- ElementIndexedDocumentFactory.createElement(QName qname, - int attributeCount) - -
-           
-static booleanAttributeHelper.booleanValue(Element element, - QName attributeQName) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.util with parameters of type QName
UserDataElement(QName qname) - -
-           
UserDataAttribute(QName qname) - -
-           
UserDataAttribute(QName qname, - String text) - -
-           
NonLazyElement(QName qname) - -
-           
NonLazyElement(QName qname, - int attributeCount) - -
-           
IndexedElement(QName qname) - -
-           
IndexedElement(QName qname, - int attributeCount) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Text.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Text.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Text.html 2005-05-16 13:27:38.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Text.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,435 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Text (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Text

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Text
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of Text in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j that return Text
-static TextDocumentHelper.createText(String text) - -
-           
- TextDocumentFactory.createText(String text) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Text
- voidVisitorSupport.visit(Text node) - -
-           
- voidVisitor.visit(Text node) - -
-           - Visits the given Text -
- voidElement.add(Text text) - -
-          Adds the given Text to this element.
- booleanElement.remove(Text text) - -
-          Removes the given Text if the node is an immediate child - of this element.
-  -

- - - - - -
-Uses of Text in org.dom4j.dom
-  -

- - - - - - - - - -
Classes in org.dom4j.dom that implement Text
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.dom that return Text
-protected  TextDOMText.createText(String text) - -
-           
- TextDOMDocumentFactory.createText(String text) - -
-           
-  -

- - - - - -
-Uses of Text in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type Text
- voidXMLWriter.write(Text text) - -
-          Writes the given Text.
- voidSTAXEventWriter.writeText(Text text) - -
-          Writes a DOM4J Textto the stream.
- javax.xml.stream.events.CharactersSTAXEventWriter.createCharacters(Text text) - -
-          Constructs a STAX Charactersevent from a DOM4J Text.
-  -

- - - - - -
-Uses of Text in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.dom4j.tree that implement Text
- classAbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
- classDefaultText - -
-           - DefaultText is the default Text implementation.
- classFlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Text
- voidAbstractElement.add(Text text) - -
-           
- booleanAbstractElement.remove(Text text) - -
-           
-  -

- - - - - -
-Uses of Text in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return Text
- TextProxyDocumentFactory.createText(String text) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Visitor.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Visitor.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/Visitor.html 2005-05-16 13:28:10.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/Visitor.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,306 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.Visitor (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.Visitor

-
- - - - - - - - - - - - - -
-Packages that use Visitor
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of Visitor in org.dom4j
-  -

- - - - - - - - - -
Classes in org.dom4j that implement Visitor
- classVisitorSupport - -
-           - VisitorSupport is an abstract base class which is useful for - implementation inheritence or when using anonymous inner classes to create - simple Visitor implementations. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type Visitor
- voidNode.accept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- voidNamespace.accept(Visitor visitor) - -
-           
-  -

- - - - - -
-Uses of Visitor in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.tree with parameters of type Visitor
- voidAbstractText.accept(Visitor visitor) - -
-           
- voidAbstractProcessingInstruction.accept(Visitor visitor) - -
-           
- voidAbstractEntity.accept(Visitor visitor) - -
-           
- voidAbstractElement.accept(Visitor visitor) - -
-           - accept method is the Visitor Pattern - method. -
- voidAbstractDocumentType.accept(Visitor visitor) - -
-           
- voidAbstractDocument.accept(Visitor visitor) - -
-           - accept method is the Visitor Pattern - method. -
- voidAbstractComment.accept(Visitor visitor) - -
-           
- voidAbstractCDATA.accept(Visitor visitor) - -
-           
- voidAbstractAttribute.accept(Visitor visitor) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/VisitorSupport.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/VisitorSupport.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/VisitorSupport.html 2005-05-16 13:28:15.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/VisitorSupport.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.VisitorSupport (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.VisitorSupport

-
-No usage of org.dom4j.VisitorSupport -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/XPath.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/XPath.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/XPath.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/XPath.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,574 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.XPath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.XPath

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use XPath
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of XPath in org.dom4j
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j that return XPath
- XPathNode.createXPath(String xpathExpression) - -
-           - createXPath creates an XPath object for the given - xpathExpression.
-static XPathDocumentHelper.createXPath(String xpathExpression) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -
-static XPathDocumentHelper.createXPath(String xpathExpression, - org.jaxen.VariableContext context) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance using the singleton DocumentFactory. -
- XPathDocumentFactory.createXPath(String xpathExpression) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance. -
- XPathDocumentFactory.createXPath(String xpathExpression, - org.jaxen.VariableContext variableContext) - -
-           - createXPath parses an XPath expression and creates a new - XPath XPath instance. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j with parameters of type XPath
- ListXPath.selectNodes(Object context, - XPath sortXPath) - -
-           - selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -
- ListXPath.selectNodes(Object context, - XPath sortXPath, - boolean distinct) - -
-           - selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -
-  -

- - - - - -
-Uses of XPath in org.dom4j.rule
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.rule with parameters of type XPath
- voidStylesheet.applyTemplates(Object input, - XPath xpath) - -
-          Processes the result of the xpath expression.
- voidStylesheet.applyTemplates(Object input, - XPath xpath, - String mode) - -
-          Processes the result of the xpath expression in the given mode.
-  -

- - - - - -
-Uses of XPath in org.dom4j.swing
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.swing that return XPath
- XPathXMLTableDefinition.getColumnXPath(int columnIndex) - -
-          DOCUMENT ME!
- XPathXMLTableDefinition.getColumnNameXPath(int columnIndex) - -
-          DOCUMENT ME!
- XPathXMLTableDefinition.getRowXPath() - -
-          Getter for property rowXPath.
-protected  XPathXMLTableDefinition.createXPath(String expression) - -
-           
-protected  XPathXMLTableDefinition.createColumnXPath(String expression) - -
-           
- XPathXMLTableColumnDefinition.getXPath() - -
-          Getter for property xpath.
- XPathXMLTableColumnDefinition.getColumnNameXPath() - -
-          DOCUMENT ME!
-protected  XPathXMLTableColumnDefinition.createXPath(String expression) - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.swing with parameters of type XPath
- voidXMLTableDefinition.setRowXPath(XPath rowXPath) - -
-          Setter for property rowXPath.
- voidXMLTableColumnDefinition.setXPath(XPath xPath) - -
-          Setter for property xpath.
- voidXMLTableColumnDefinition.setColumnNameXPath(XPath columnNameXPath) - -
-          Setter for property columnNameXPath.
-  -

- - - - - - - - - - - -
Constructors in org.dom4j.swing with parameters of type XPath
XMLTableColumnDefinition(String name, - XPath xpath, - int type) - -
-           
XMLTableColumnDefinition(XPath columnXPath, - XPath xpath, - int type) - -
-           
-  -

- - - - - -
-Uses of XPath in org.dom4j.tree
-  -

- - - - - - - - - -
Methods in org.dom4j.tree that return XPath
- XPathAbstractNode.createXPath(String xpathExpression) - -
-           
-  -

- - - - - -
-Uses of XPath in org.dom4j.util
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.util that return XPath
- XPathProxyDocumentFactory.createXPath(String xpathExpression) - -
-           
- XPathProxyDocumentFactory.createXPath(String xpathExpression, - org.jaxen.VariableContext variableContext) - -
-           
-  -

- - - - - -
-Uses of XPath in org.dom4j.xpath
-  -

- - - - - - - - - -
Classes in org.dom4j.xpath that implement XPath
- classDefaultXPath - -
-           - Default implementation of XPathwhich uses the Jaxen project. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.xpath with parameters of type XPath
- ListDefaultXPath.selectNodes(Object context, - XPath sortXPath) - -
-           
- ListDefaultXPath.selectNodes(Object context, - XPath sortXPath, - boolean distinct) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/XPathException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/XPathException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/class-use/XPathException.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/class-use/XPathException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,182 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.XPathException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.XPathException

-
- - - - - - - - - -
-Packages that use XPathException
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of XPathException in org.dom4j.xpath
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.xpath that throw XPathException
-protected  voidXPathPattern.handleJaxenException(org.jaxen.JaxenException exception) - -
-           
-protected  voidDefaultXPath.handleJaxenException(org.jaxen.JaxenException exception) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeAttribute.html 2005-05-16 13:26:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,832 +0,0 @@ - - - - - - - -DatatypeAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.datatype -
-Class DatatypeAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-          extended byorg.dom4j.datatype.DatatypeAttribute
-
-
-
All Implemented Interfaces:
Attribute, Cloneable, Node, Serializable, com.sun.msv.datatype.SerializationContext, org.relaxng.datatype.ValidationContext
-
-
-
-
public class DatatypeAttribute
extends AbstractAttribute
implements com.sun.msv.datatype.SerializationContext, org.relaxng.datatype.ValidationContext
- -

-

- DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DatatypeAttribute(QName qname, - com.sun.msv.datatype.xsd.XSDatatype datatype) - -
-           
DatatypeAttribute(QName qname, - com.sun.msv.datatype.xsd.XSDatatype datatype, - String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  ObjectconvertToValue(String txt) - -
-           
- StringgetBaseUri() - -
-           
- ObjectgetData() - -
-           - Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node#getText(). -
- StringgetNamespacePrefix(String uri) - -
-           
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- QNamegetQName() - -
-           - Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -
- StringgetValue() - -
-           - Returns the value of the attribute.
- com.sun.msv.datatype.xsd.XSDatatypegetXSDatatype() - -
-          Returns the MSV XSDatatype for this node
- booleanisNotation(String notationName) - -
-           
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- booleanisUnparsedEntity(String entityName) - -
-           
- StringresolveNamespacePrefix(String prefix) - -
-           
- voidsetData(Object data) - -
-           - Sets the data value of this attribute if this element supports data - binding or calls Node#setText(String)if it doesn't. -
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetValue(String value) - -
-           - Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- StringtoString() - -
-           
-protected  voidvalidate(String txt) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractAttribute
accept, asXML, createXPathResult, getName, getNamespace, getNamespacePrefix, getNamespaceURI, getNodeType, getPath, getQualifiedName, getText, getUniquePath, setNamespace, setText, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DatatypeAttribute

-
-public DatatypeAttribute(QName qname,
-                         com.sun.msv.datatype.xsd.XSDatatype datatype)
-
-
-
- -

-DatatypeAttribute

-
-public DatatypeAttribute(QName qname,
-                         com.sun.msv.datatype.xsd.XSDatatype datatype,
-                         String text)
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class AbstractAttribute
-
-
-
-
-
-
- -

-getXSDatatype

-
-public com.sun.msv.datatype.xsd.XSDatatype getXSDatatype()
-
-
Returns the MSV XSDatatype for this node -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix(String uri)
-
-
-
Specified by:
getNamespacePrefix in interface com.sun.msv.datatype.SerializationContext
-
-
-
-
-
-
- -

-getBaseUri

-
-public String getBaseUri()
-
-
-
Specified by:
getBaseUri in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-isNotation

-
-public boolean isNotation(String notationName)
-
-
-
Specified by:
isNotation in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-isUnparsedEntity

-
-public boolean isUnparsedEntity(String entityName)
-
-
-
Specified by:
isUnparsedEntity in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-resolveNamespacePrefix

-
-public String resolveNamespacePrefix(String prefix)
-
-
-
Specified by:
resolveNamespacePrefix in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-getQName

-
-public QName getQName()
-
-
Description copied from interface: Attribute
-

- Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -

-

-

-
Specified by:
getQName in interface Attribute
-
-
- -
Returns:
the QName associated with this attribute
-
-
-
- -

-getValue

-
-public String getValue()
-
-
Description copied from interface: Attribute
-

- Returns the value of the attribute. This method returns the same value as - the Node.getText()method. -

-

-

-
Specified by:
getValue in interface Attribute
-
-
- -
Returns:
the value of the attribute
-
-
-
- -

-setValue

-
-public void setValue(String value)
-
-
Description copied from interface: Attribute
-

- Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setValue in interface Attribute
Overrides:
setValue in class AbstractAttribute
-
-
-
-
-
-
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Attribute
-

- Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -

-

-

-
Specified by:
getData in interface Attribute
Overrides:
getData in class AbstractAttribute
-
-
-
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Attribute
-

- Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -

-

-

-
Specified by:
setData in interface Attribute
Overrides:
setData in class AbstractAttribute
-
-
-
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
-
- -

-validate

-
-protected void validate(String txt)
-                 throws IllegalArgumentException
-
-
-
-
-
- -
Throws: -
IllegalArgumentException
-
-
-
- -

-convertToValue

-
-protected Object convertToValue(String txt)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeDocumentFactory.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,467 +0,0 @@ - - - - - - - -DatatypeDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.datatype -
-Class DatatypeDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.datatype.DatatypeDocumentFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class DatatypeDocumentFactory
extends DocumentFactory
- -

-

- DatatypeDocumentFactory is a factory of XML objects which - support the XML Schema Data Types - specification. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static DatatypeDocumentFactorysingleton - -
-          The Singleton instance
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
DatatypeDocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
- DatatypeElementFactorygetElementFactory(QName elementQName) - -
-          Registers the given DatatypeElementFactory for the given - <element> schema element
-static DocumentFactorygetInstance() - -
-           - Access to the singleton instance of this factory. -
- voidloadSchema(Document schemaDocument) - -
-          Loads the given XML Schema document into this factory so schema-aware - Document, Elements and Attributes will be created by this factory.
- voidloadSchema(Document schemaDocument, - Namespace targetNamespace) - -
-           
-protected  voidloadSchema(Document document, - String schemaInstanceURI) - -
-           
-protected  voidloadSchema(Document document, - String schemaInstanceURI, - Namespace namespace) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-singleton

-
-protected static transient DatatypeDocumentFactory singleton
-
-
The Singleton instance -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-DatatypeDocumentFactory

-
-public DatatypeDocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to the singleton instance of this factory. -

-

-

- -
Returns:
the default singleon instance
-
-
-
- -

-loadSchema

-
-public void loadSchema(Document schemaDocument)
-
-
Loads the given XML Schema document into this factory so schema-aware - Document, Elements and Attributes will be created by this factory. -

-

-
Parameters:
schemaDocument - is an XML Schema Document instance.
-
-
-
- -

-loadSchema

-
-public void loadSchema(Document schemaDocument,
-                       Namespace targetNamespace)
-
-
-
-
-
-
- -

-getElementFactory

-
-public DatatypeElementFactory getElementFactory(QName elementQName)
-
-
Registers the given DatatypeElementFactory for the given - <element> schema element -

-

-
Parameters:
elementQName - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
Overrides:
createAttribute in class DocumentFactory
-
-
-
-
-
-
- -

-loadSchema

-
-protected void loadSchema(Document document,
-                          String schemaInstanceURI)
-
-
-
-
-
-
- -

-loadSchema

-
-protected void loadSchema(Document document,
-                          String schemaInstanceURI,
-                          Namespace namespace)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeElement.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,723 +0,0 @@ - - - - - - - -DatatypeElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.datatype -
-Class DatatypeElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.DefaultElement
-                  extended byorg.dom4j.datatype.DatatypeElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable, com.sun.msv.datatype.SerializationContext, org.relaxng.datatype.ValidationContext
-
-
-
-
public class DatatypeElement
extends DefaultElement
implements com.sun.msv.datatype.SerializationContext, org.relaxng.datatype.ValidationContext
- -

-

- DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DatatypeElement(QName qname, - int attributeCount, - com.sun.msv.datatype.xsd.XSDatatype type) - -
-           
DatatypeElement(QName qname, - com.sun.msv.datatype.xsd.XSDatatype datatype) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementaddText(String text) - -
-          Adds a new Text node with the given text to this element.
-protected  voidchildAdded(Node node) - -
-          Override to force lazy recreation of data object
-protected  voidchildRemoved(Node node) - -
-          Override to force lazy recreation of data object
- StringgetBaseUri() - -
-           
- ObjectgetData() - -
-          Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as DefaultElement.getText()
- StringgetNamespacePrefix(String uri) - -
-           
- com.sun.msv.datatype.xsd.XSDatatypegetXSDatatype() - -
-          Returns the MSV XSDatatype for this node
- booleanisNotation(String notationName) - -
-           
- booleanisUnparsedEntity(String entityName) - -
-           
- StringresolveNamespacePrefix(String prefix) - -
-           
- voidsetData(Object data) - -
-          Sets the data value of this element if this element supports data binding - or calls setText(java.lang.String)if it doesn't
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- StringtoString() - -
-           
-protected  voidvalidate(String text) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, element, element, getDocument, getDocumentFactory, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setName, setNamespace, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DatatypeElement

-
-public DatatypeElement(QName qname,
-                       com.sun.msv.datatype.xsd.XSDatatype datatype)
-
-
-
- -

-DatatypeElement

-
-public DatatypeElement(QName qname,
-                       int attributeCount,
-                       com.sun.msv.datatype.xsd.XSDatatype type)
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class AbstractElement
-
-
-
-
-
-
- -

-getXSDatatype

-
-public com.sun.msv.datatype.xsd.XSDatatype getXSDatatype()
-
-
Returns the MSV XSDatatype for this node -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix(String uri)
-
-
-
Specified by:
getNamespacePrefix in interface com.sun.msv.datatype.SerializationContext
-
-
-
-
-
-
- -

-getBaseUri

-
-public String getBaseUri()
-
-
-
Specified by:
getBaseUri in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-isNotation

-
-public boolean isNotation(String notationName)
-
-
-
Specified by:
isNotation in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-isUnparsedEntity

-
-public boolean isUnparsedEntity(String entityName)
-
-
-
Specified by:
isUnparsedEntity in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-resolveNamespacePrefix

-
-public String resolveNamespacePrefix(String prefix)
-
-
-
Specified by:
resolveNamespacePrefix in interface org.relaxng.datatype.ValidationContext
-
-
-
-
-
-
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Element
-
Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as Element.getText() -

-

-
Specified by:
getData in interface Element
Overrides:
getData in class AbstractElement
-
-
-
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Element
-
Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't -

-

-
Specified by:
setData in interface Element
Overrides:
setData in class AbstractElement
-
-
-
-
-
-
- -

-addText

-
-public Element addText(String text)
-
-
Description copied from interface: Element
-
Adds a new Text node with the given text to this element. -

-

-
Specified by:
addText in interface Element
Overrides:
addText in class AbstractElement
-
-
-
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractElement
-
-
-
-
-
-
- -

-childAdded

-
-protected void childAdded(Node node)
-
-
Override to force lazy recreation of data object -

-

-
Overrides:
childAdded in class AbstractElement
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-childRemoved

-
-protected void childRemoved(Node node)
-
-
Override to force lazy recreation of data object -

-

-
Overrides:
childRemoved in class AbstractElement
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-validate

-
-protected void validate(String text)
-                 throws IllegalArgumentException
-
-
-
-
-
- -
Throws: -
IllegalArgumentException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeElementFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeElementFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/DatatypeElementFactory.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/DatatypeElementFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,438 +0,0 @@ - - - - - - - -DatatypeElementFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.datatype -
-Class DatatypeElementFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.datatype.DatatypeElementFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class DatatypeElementFactory
extends DocumentFactory
- -

-

- DatatypeElementFactory is a factory for a specific Element in - an XML Schema. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan , Yuxin Ruan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
DatatypeElementFactory(QName elementQName) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
- ElementcreateElement(QName qname) - -
-           
- com.sun.msv.datatype.xsd.XSDatatypegetAttributeXSDatatype(QName attributeQName) - -
-          DOCUMENT ME!
- com.sun.msv.datatype.xsd.XSDatatypegetChildElementXSDatatype(QName qname) - -
-          DOCUMENT ME!
- QNamegetQName() - -
-          DOCUMENT ME!
- voidsetAttributeXSDatatype(QName attributeQName, - com.sun.msv.datatype.xsd.XSDatatype type) - -
-          Registers the given XSDatatype for the given - <attribute> QNames
- voidsetChildElementXSDatatype(QName qname, - com.sun.msv.datatype.xsd.XSDatatype dataType) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getInstance, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DatatypeElementFactory

-
-public DatatypeElementFactory(QName elementQName)
-
-
- - - - - - - - -
-Method Detail
- -

-getQName

-
-public QName getQName()
-
-
DOCUMENT ME! -

-

- -
Returns:
the QName this element factory is associated with
-
-
-
- -

-getAttributeXSDatatype

-
-public com.sun.msv.datatype.xsd.XSDatatype getAttributeXSDatatype(QName attributeQName)
-
-
DOCUMENT ME! -

-

-
Parameters:
attributeQName - DOCUMENT ME! -
Returns:
the XSDatatype associated with the given Attribute - QName
-
-
-
- -

-setAttributeXSDatatype

-
-public void setAttributeXSDatatype(QName attributeQName,
-                                   com.sun.msv.datatype.xsd.XSDatatype type)
-
-
Registers the given XSDatatype for the given - <attribute> QNames -

-

-
Parameters:
attributeQName - DOCUMENT ME!
type - DOCUMENT ME!
-
-
-
- -

-getChildElementXSDatatype

-
-public com.sun.msv.datatype.xsd.XSDatatype getChildElementXSDatatype(QName qname)
-
-
DOCUMENT ME! -

-

-
Parameters:
qname - DOCUMENT ME! -
Returns:
the XSDatatype associated with the given child - Element QName
-
-
-
- -

-setChildElementXSDatatype

-
-public void setChildElementXSDatatype(QName qname,
-                                      com.sun.msv.datatype.xsd.XSDatatype dataType)
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
Overrides:
createElement in class DocumentFactory
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
Overrides:
createAttribute in class DocumentFactory
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/InvalidSchemaException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/InvalidSchemaException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/InvalidSchemaException.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/InvalidSchemaException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,248 +0,0 @@ - - - - - - - -InvalidSchemaException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.datatype -
-Class InvalidSchemaException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended byjava.lang.RuntimeException
-              extended byjava.lang.IllegalArgumentException
-                  extended byorg.dom4j.datatype.InvalidSchemaException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class InvalidSchemaException
extends IllegalArgumentException
- -

-

- InvalidSchemaException is thrown when an invalid XML Schema - document is used -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
InvalidSchemaException(String reason) - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-InvalidSchemaException

-
-public InvalidSchemaException(String reason)
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/SchemaParser.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/SchemaParser.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/SchemaParser.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/SchemaParser.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,302 +0,0 @@ - - - - - - - -SchemaParser (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.datatype -
-Class SchemaParser

-
-java.lang.Object
-  extended byorg.dom4j.datatype.SchemaParser
-
-
-
-
public class SchemaParser
extends Object
- -

-

- SchemaParser reads an XML Schema Document. -

-

- -

-

-
Version:
-
$Revision: 1.19 $
-
Author:
-
James Strachan , Yuxin Ruan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SchemaParser() - -
-           
SchemaParser(DatatypeDocumentFactory documentFactory) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidbuild(Document schemaDocument) - -
-          Parses the given schema document
- voidbuild(Document schemaDocument, - Namespace namespace) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SchemaParser

-
-public SchemaParser()
-
-
-
- -

-SchemaParser

-
-public SchemaParser(DatatypeDocumentFactory documentFactory)
-
-
- - - - - - - - -
-Method Detail
- -

-build

-
-public void build(Document schemaDocument)
-
-
Parses the given schema document -

-

-
Parameters:
schemaDocument - is the document of the XML Schema
-
-
-
- -

-build

-
-public void build(Document schemaDocument,
-                  Namespace namespace)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeAttribute.html 2005-05-16 13:27:38.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.datatype.DatatypeAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.datatype.DatatypeAttribute

-
-No usage of org.dom4j.datatype.DatatypeAttribute -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeDocumentFactory.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,188 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.datatype.DatatypeDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.datatype.DatatypeDocumentFactory

-
- - - - - - - - - -
-Packages that use DatatypeDocumentFactory
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
-  -

- - - - - -
-Uses of DatatypeDocumentFactory in org.dom4j.datatype
-  -

- - - - - - - - - -
Fields in org.dom4j.datatype declared as DatatypeDocumentFactory
-protected static DatatypeDocumentFactoryDatatypeDocumentFactory.singleton - -
-          The Singleton instance
-  -

- - - - - - - - -
Constructors in org.dom4j.datatype with parameters of type DatatypeDocumentFactory
SchemaParser(DatatypeDocumentFactory documentFactory) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElement.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.datatype.DatatypeElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.datatype.DatatypeElement

-
-No usage of org.dom4j.datatype.DatatypeElement -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElementFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElementFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElementFactory.html 2005-05-16 13:27:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/DatatypeElementFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,175 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.datatype.DatatypeElementFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.datatype.DatatypeElementFactory

-
- - - - - - - - - -
-Packages that use DatatypeElementFactory
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
-  -

- - - - - -
-Uses of DatatypeElementFactory in org.dom4j.datatype
-  -

- - - - - - - - - -
Methods in org.dom4j.datatype that return DatatypeElementFactory
- DatatypeElementFactoryDatatypeDocumentFactory.getElementFactory(QName elementQName) - -
-          Registers the given DatatypeElementFactory for the given - <element> schema element
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/InvalidSchemaException.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/InvalidSchemaException.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/InvalidSchemaException.html 2005-05-16 13:26:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/InvalidSchemaException.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.datatype.InvalidSchemaException (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.datatype.InvalidSchemaException

-
-No usage of org.dom4j.datatype.InvalidSchemaException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/SchemaParser.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/SchemaParser.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/class-use/SchemaParser.html 2005-05-16 13:26:18.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/class-use/SchemaParser.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.datatype.SchemaParser (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.datatype.SchemaParser

-
-No usage of org.dom4j.datatype.SchemaParser -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-frame.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ - - - - - - - -org.dom4j.datatype (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.datatype - - - - -
-Classes  - -
-DatatypeAttribute -
-DatatypeDocumentFactory -
-DatatypeElement -
-DatatypeElementFactory -
-SchemaParser
- - - - - - -
-Exceptions  - -
-InvalidSchemaException
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-summary.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,216 +0,0 @@ - - - - - - - -org.dom4j.datatype (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.datatype -

-An implementation of the dom4j API which supports the - XML Schema Data Types specification. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DatatypeAttribute - DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -
DatatypeDocumentFactory - DatatypeDocumentFactory is a factory of XML objects which - support the XML Schema Data Types - specification. -
DatatypeElement - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
DatatypeElementFactory - DatatypeElementFactory is a factory for a specific Element in - an XML Schema. -
SchemaParser - SchemaParser reads an XML Schema Document. -
-  - -

- - - - - - - - - -
-Exception Summary
InvalidSchemaException - InvalidSchemaException is thrown when an invalid XML Schema - document is used -
-  - -

-

-Package org.dom4j.datatype Description -

- -

-

An implementation of the dom4j API which supports the - XML Schema Data Types specification.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-tree.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,174 +0,0 @@ - - - - - - - -org.dom4j.datatype Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.datatype -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/datatype/package-use.html 2005-05-16 13:27:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/datatype/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.datatype (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.datatype

-
- - - - - - - - - -
-Packages that use org.dom4j.datatype
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
-  -

- - - - - - - - - - - -
-Classes in org.dom4j.datatype used by org.dom4j.datatype
DatatypeDocumentFactory - -
-           - DatatypeDocumentFactory is a factory of XML objects which - support the XML Schema Data Types - specification. -
DatatypeElementFactory - -
-           - DatatypeElementFactory is a factory for a specific Element in - an XML Schema. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMAttribute.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1026 +0,0 @@ - - - - - - - -DOMAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-          extended byorg.dom4j.tree.FlyweightAttribute
-              extended byorg.dom4j.tree.DefaultAttribute
-                  extended byorg.dom4j.dom.DOMAttribute
-
-
-
All Implemented Interfaces:
Attr, Attribute, Cloneable, Node, Node, Serializable
-
-
-
-
public class DOMAttribute
extends DefaultAttribute
implements Attr
- -

-

- DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.14 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightAttribute
value
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMAttribute(Element parent, - QName qname, - String value) - -
-           
DOMAttribute(QName qname) - -
-           
DOMAttribute(QName qname, - String value) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- NodecloneNode(boolean deep) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           - Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- ElementgetOwnerElement() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleangetSpecified() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultAttribute
getParent, isReadOnly, setParent, setValue, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightAttribute
getQName, getValue
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractAttribute
accept, asXML, createXPathResult, getData, getName, getNamespace, getNamespacePrefix, getNodeType, getPath, getQualifiedName, getText, getUniquePath, setData, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Attr
getName, getValue, setValue
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMAttribute

-
-public DOMAttribute(QName qname)
-
-
-
- -

-DOMAttribute

-
-public DOMAttribute(QName qname,
-                    String value)
-
-
-
- -

-DOMAttribute

-
-public DOMAttribute(Element parent,
-                    QName qname,
-                    String value)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
Description copied from interface: Attribute
-

- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -

-

-

-
Specified by:
getNamespaceURI in interface Node
Overrides:
getNamespaceURI in class AbstractAttribute
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getSpecified

-
-public boolean getSpecified()
-
-
-
Specified by:
getSpecified in interface Attr
-
-
-
-
-
-
- -

-getOwnerElement

-
-public Element getOwnerElement()
-
-
-
Specified by:
getOwnerElement in interface Attr
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMAttributeNodeMap.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMAttributeNodeMap.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMAttributeNodeMap.html 2005-05-16 13:26:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMAttributeNodeMap.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,467 +0,0 @@ - - - - - - - -DOMAttributeNodeMap (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMAttributeNodeMap

-
-java.lang.Object
-  extended byorg.dom4j.dom.DOMAttributeNodeMap
-
-
-
All Implemented Interfaces:
NamedNodeMap
-
-
-
-
public class DOMAttributeNodeMap
extends Object
implements NamedNodeMap
- -

-

- DOMAttributeNodeMap implements a W3C NameNodeMap for the - attributes of an element. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DOMAttributeNodeMap(DOMElement element) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidfoo() - -
-           
- intgetLength() - -
-           
- NodegetNamedItem(String name) - -
-           
- NodegetNamedItemNS(String namespaceURI, - String localName) - -
-           
- Nodeitem(int index) - -
-           
- NoderemoveNamedItem(String name) - -
-           
- NoderemoveNamedItemNS(String namespaceURI, - String localName) - -
-           
- NodesetNamedItem(Node arg) - -
-           
- NodesetNamedItemNS(Node arg) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMAttributeNodeMap

-
-public DOMAttributeNodeMap(DOMElement element)
-
-
- - - - - - - - -
-Method Detail
- -

-foo

-
-public void foo()
-         throws DOMException
-
-
-
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getNamedItem

-
-public Node getNamedItem(String name)
-
-
-
Specified by:
getNamedItem in interface NamedNodeMap
-
-
-
-
-
-
- -

-setNamedItem

-
-public Node setNamedItem(Node arg)
-                  throws DOMException
-
-
-
Specified by:
setNamedItem in interface NamedNodeMap
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeNamedItem

-
-public Node removeNamedItem(String name)
-                     throws DOMException
-
-
-
Specified by:
removeNamedItem in interface NamedNodeMap
-
-
- -
Throws: -
DOMException
-
-
-
- -

-item

-
-public Node item(int index)
-
-
-
Specified by:
item in interface NamedNodeMap
-
-
-
-
-
-
- -

-getLength

-
-public int getLength()
-
-
-
Specified by:
getLength in interface NamedNodeMap
-
-
-
-
-
-
- -

-getNamedItemNS

-
-public Node getNamedItemNS(String namespaceURI,
-                           String localName)
-
-
-
Specified by:
getNamedItemNS in interface NamedNodeMap
-
-
-
-
-
-
- -

-setNamedItemNS

-
-public Node setNamedItemNS(Node arg)
-                    throws DOMException
-
-
-
Specified by:
setNamedItemNS in interface NamedNodeMap
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeNamedItemNS

-
-public Node removeNamedItemNS(String namespaceURI,
-                              String localName)
-                       throws DOMException
-
-
-
Specified by:
removeNamedItemNS in interface NamedNodeMap
-
-
- -
Throws: -
DOMException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMCDATA.html 2005-05-16 13:26:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1219 +0,0 @@ - - - - - - - -DOMCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMCDATA

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractCDATA
-              extended byorg.dom4j.tree.FlyweightCDATA
-                  extended byorg.dom4j.tree.DefaultCDATA
-                      extended byorg.dom4j.dom.DOMCDATA
-
-
-
All Implemented Interfaces:
CDATA, CDATASection, CharacterData, CharacterData, Cloneable, Node, Node, Serializable, Text
-
-
-
-
public class DOMCDATA
extends DefaultCDATA
implements CDATASection
- -

-

- DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightCDATA
text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DOMCDATA(Element parent, - String text) - -
-           
DOMCDATA(String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- voidappendData(String arg) - -
-           
- NodecloneNode(boolean deep) - -
-           
-protected  CDATAcreateCDATA(String text) - -
-           
- voiddeleteData(int offset, - int count) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- StringgetData() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- intgetLength() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- voidinsertData(int offset, - String arg) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidreplaceData(int offset, - int count, - String arg) - -
-           
- voidsetData(String data) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- TextsplitText(int offset) - -
-           
- StringsubstringData(int offset, - int count) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultCDATA
getParent, isReadOnly, setParent, setText, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightCDATA
createXPathResult, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCDATA
accept, asXML, getNodeType, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMCDATA

-
-public DOMCDATA(String text)
-
-
-
- -

-DOMCDATA

-
-public DOMCDATA(Element parent,
-                String text)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getData

-
-public String getData()
-               throws DOMException
-
-
-
Specified by:
getData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setData

-
-public void setData(String data)
-             throws DOMException
-
-
-
Specified by:
setData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLength

-
-public int getLength()
-
-
-
Specified by:
getLength in interface CharacterData
-
-
-
-
-
-
- -

-substringData

-
-public String substringData(int offset,
-                            int count)
-                     throws DOMException
-
-
-
Specified by:
substringData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendData

-
-public void appendData(String arg)
-                throws DOMException
-
-
-
Specified by:
appendData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-insertData

-
-public void insertData(int offset,
-                       String arg)
-                throws DOMException
-
-
-
Specified by:
insertData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-deleteData

-
-public void deleteData(int offset,
-                       int count)
-                throws DOMException
-
-
-
Specified by:
deleteData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceData

-
-public void replaceData(int offset,
-                        int count,
-                        String arg)
-                 throws DOMException
-
-
-
Specified by:
replaceData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-splitText

-
-public Text splitText(int offset)
-               throws DOMException
-
-
-
Specified by:
splitText in interface Text
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createCDATA

-
-protected CDATA createCDATA(String text)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMComment.html 2005-05-16 13:27:32.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1171 +0,0 @@ - - - - - - - -DOMComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMComment

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractComment
-              extended byorg.dom4j.tree.FlyweightComment
-                  extended byorg.dom4j.tree.DefaultComment
-                      extended byorg.dom4j.dom.DOMComment
-
-
-
All Implemented Interfaces:
CharacterData, CharacterData, Cloneable, Comment, Comment, Node, Node, Serializable
-
-
-
-
public class DOMComment
extends DefaultComment
implements Comment
- -

-

- DOMText implements a Text node which supports the W3C DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightComment
text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DOMComment(Element parent, - String text) - -
-           
DOMComment(String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- voidappendData(String arg) - -
-           
- NodecloneNode(boolean deep) - -
-           
- voiddeleteData(int offset, - int count) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- StringgetData() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- intgetLength() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- voidinsertData(int offset, - String arg) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidreplaceData(int offset, - int count, - String arg) - -
-           
- voidsetData(String data) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- StringsubstringData(int offset, - int count) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultComment
getParent, isReadOnly, setParent, setText, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightComment
createXPathResult, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractComment
accept, asXML, getNodeType, getPath, getUniquePath, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMComment

-
-public DOMComment(String text)
-
-
-
- -

-DOMComment

-
-public DOMComment(Element parent,
-                  String text)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getData

-
-public String getData()
-               throws DOMException
-
-
-
Specified by:
getData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setData

-
-public void setData(String data)
-             throws DOMException
-
-
-
Specified by:
setData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLength

-
-public int getLength()
-
-
-
Specified by:
getLength in interface CharacterData
-
-
-
-
-
-
- -

-substringData

-
-public String substringData(int offset,
-                            int count)
-                     throws DOMException
-
-
-
Specified by:
substringData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendData

-
-public void appendData(String arg)
-                throws DOMException
-
-
-
Specified by:
appendData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-insertData

-
-public void insertData(int offset,
-                       String arg)
-                throws DOMException
-
-
-
Specified by:
insertData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-deleteData

-
-public void deleteData(int offset,
-                       int count)
-                throws DOMException
-
-
-
Specified by:
deleteData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceData

-
-public void replaceData(int offset,
-                        int count,
-                        String arg)
-                 throws DOMException
-
-
-
Specified by:
replaceData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMDocument.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMDocument.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMDocument.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMDocument.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1441 +0,0 @@ - - - - - - - -DOMDocument (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMDocument

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractDocument
-              extended byorg.dom4j.tree.DefaultDocument
-                  extended byorg.dom4j.dom.DOMDocument
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Document, Document, Node, Node, Serializable
-
-
-
-
public class DOMDocument
extends DefaultDocument
implements Document
- -

-

- DOMDocument implements an XML document which supports the W3C - DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.17 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.DefaultDocument
EMPTY_ITERATOR, EMPTY_LIST
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractDocument
encoding
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMDocument() - -
-           
DOMDocument(DOMDocumentType docType) - -
-           
DOMDocument(DOMElement rootElement) - -
-           
DOMDocument(DOMElement rootElement, - DOMDocumentType docType) - -
-           
DOMDocument(String name) - -
-           
DOMDocument(String name, - DOMElement rootElement, - DOMDocumentType docType) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- NodecloneNode(boolean deep) - -
-           
- AttrcreateAttribute(String name) - -
-           
- AttrcreateAttributeNS(String namespaceURI, - String qualifiedName) - -
-           
- CDATASectioncreateCDATASection(String data) - -
-           
- CommentcreateComment(String data) - -
-           
- DocumentFragmentcreateDocumentFragment() - -
-           
- ElementcreateElement(String name) - -
-           
- ElementcreateElementNS(String namespaceURI, - String qualifiedName) - -
-           
- EntityReferencecreateEntityReference(String name) - -
-           
- ProcessingInstructioncreateProcessingInstruction(String target, - String data) - -
-           
- TextcreateTextNode(String data) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- DocumentTypegetDoctype() - -
-           
- ElementgetDocumentElement() - -
-           
-protected  DocumentFactorygetDocumentFactory() - -
-           
- ElementgetElementById(String elementId) - -
-           
- NodeListgetElementsByTagName(String name) - -
-           
- NodeListgetElementsByTagNameNS(String namespace, - String name) - -
-           
- NodegetFirstChild() - -
-           
- DOMImplementationgetImplementation() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeimportNode(Node importedNode, - boolean deep) - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultDocument
addDocType, addNode, addNode, clearContent, clone, contentList, getDocType, getEntityResolver, getName, getRootElement, getXMLEncoding, processingInstruction, processingInstructions, processingInstructions, removeNode, removeProcessingInstruction, rootElementAdded, setContent, setDocType, setDocumentFactory, setEntityResolver, setName
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractDocument
accept, add, addComment, addElement, addElement, addElement, addProcessingInstruction, addProcessingInstruction, asXML, asXPathResult, checkAddElementAllowed, childAdded, childRemoved, getDocument, getNodeType, getPath, getStringValue, getUniquePath, normalize, remove, setRootElement, setXMLEncoding, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
add, add, add, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, indexOf, invalidNodeTypeAddException, isReadOnly, node, nodeCount, nodeIterator, remove, remove, remove, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getParent, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType, normalize
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
add, add, add, appendContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, remove, remove, remove, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
createXPath, detach, getNodeTypeName, getParent, getPath, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMDocument

-
-public DOMDocument()
-
-
-
- -

-DOMDocument

-
-public DOMDocument(String name)
-
-
-
- -

-DOMDocument

-
-public DOMDocument(DOMElement rootElement)
-
-
-
- -

-DOMDocument

-
-public DOMDocument(DOMDocumentType docType)
-
-
-
- -

-DOMDocument

-
-public DOMDocument(DOMElement rootElement,
-                   DOMDocumentType docType)
-
-
-
- -

-DOMDocument

-
-public DOMDocument(String name,
-                   DOMElement rootElement,
-                   DOMDocumentType docType)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getElementsByTagName

-
-public NodeList getElementsByTagName(String name)
-
-
-
Specified by:
getElementsByTagName in interface Document
-
-
-
-
-
-
- -

-getElementsByTagNameNS

-
-public NodeList getElementsByTagNameNS(String namespace,
-                                       String name)
-
-
-
Specified by:
getElementsByTagNameNS in interface Document
-
-
-
-
-
-
- -

-getDoctype

-
-public DocumentType getDoctype()
-
-
-
Specified by:
getDoctype in interface Document
-
-
-
-
-
-
- -

-getImplementation

-
-public DOMImplementation getImplementation()
-
-
-
Specified by:
getImplementation in interface Document
-
-
-
-
-
-
- -

-getDocumentElement

-
-public Element getDocumentElement()
-
-
-
Specified by:
getDocumentElement in interface Document
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(String name)
-                      throws DOMException
-
-
-
Specified by:
createElement in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createDocumentFragment

-
-public DocumentFragment createDocumentFragment()
-
-
-
Specified by:
createDocumentFragment in interface Document
-
-
-
-
-
-
- -

-createTextNode

-
-public Text createTextNode(String data)
-
-
-
Specified by:
createTextNode in interface Document
-
-
-
-
-
-
- -

-createComment

-
-public Comment createComment(String data)
-
-
-
Specified by:
createComment in interface Document
-
-
-
-
-
-
- -

-createCDATASection

-
-public CDATASection createCDATASection(String data)
-                                throws DOMException
-
-
-
Specified by:
createCDATASection in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         String data)
-                                                  throws DOMException
-
-
-
Specified by:
createProcessingInstruction in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createAttribute

-
-public Attr createAttribute(String name)
-                     throws DOMException
-
-
-
Specified by:
createAttribute in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createEntityReference

-
-public EntityReference createEntityReference(String name)
-                                      throws DOMException
-
-
-
Specified by:
createEntityReference in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-importNode

-
-public Node importNode(Node importedNode,
-                       boolean deep)
-                throws DOMException
-
-
-
Specified by:
importNode in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createElementNS

-
-public Element createElementNS(String namespaceURI,
-                               String qualifiedName)
-                        throws DOMException
-
-
-
Specified by:
createElementNS in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createAttributeNS

-
-public Attr createAttributeNS(String namespaceURI,
-                              String qualifiedName)
-                       throws DOMException
-
-
-
Specified by:
createAttributeNS in interface Document
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getElementById

-
-public Element getElementById(String elementId)
-
-
-
Specified by:
getElementById in interface Document
-
-
-
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
Overrides:
getDocumentFactory in class DefaultDocument
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMDocumentFactory.html 2005-05-16 13:28:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,713 +0,0 @@ - - - - - - - -DOMDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.dom.DOMDocumentFactory
-
-
-
All Implemented Interfaces:
DOMImplementation, Serializable
-
-
-
-
public class DOMDocumentFactory
extends DocumentFactory
implements DOMImplementation
- -

-

- DOMDocumentFactory is a factory of DOM4J objects which - implement the W3C DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.21 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
DOMDocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  DOMDocumentTypeasDocumentType(DocumentType docType) - -
-           
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
- CDATAcreateCDATA(String text) - -
-           
- CommentcreateComment(String text) - -
-           
- DocumentTypecreateDocType(String name, - String publicId, - String systemId) - -
-           
- DocumentcreateDocument() - -
-           
- DocumentcreateDocument(String namespaceURI, - String qualifiedName, - DocumentType docType) - -
-           
- DocumentTypecreateDocumentType(String qualifiedName, - String publicId, - String systemId) - -
-           
- ElementcreateElement(QName qname) - -
-           
- ElementcreateElement(QName qname, - int attributeCount) - -
-           
- EntitycreateEntity(String name) - -
-           
- EntitycreateEntity(String name, - String text) - -
-           
- NamespacecreateNamespace(String prefix, - String uri) - -
-           
- ProcessingInstructioncreateProcessingInstruction(String target, - Map data) - -
-           
- ProcessingInstructioncreateProcessingInstruction(String target, - String data) - -
-           
- TextcreateText(String text) - -
-           
-static DocumentFactorygetInstance() - -
-           - Access to the singleton instance of this factory. -
- booleanhasFeature(String feat, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createDocument, createDocument, createElement, createElement, createPattern, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMDocumentFactory

-
-public DOMDocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to the singleton instance of this factory. -

-

-

-
-
-
- -
Returns:
the default singleon instance
-
-
-
- -

-createDocument

-
-public Document createDocument()
-
-
-
Overrides:
createDocument in class DocumentFactory
-
-
-
-
-
-
- -

-createDocType

-
-public DocumentType createDocType(String name,
-                                  String publicId,
-                                  String systemId)
-
-
-
Overrides:
createDocType in class DocumentFactory
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
Overrides:
createElement in class DocumentFactory
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname,
-                             int attributeCount)
-
-
-
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
Overrides:
createAttribute in class DocumentFactory
-
-
-
-
-
-
- -

-createCDATA

-
-public CDATA createCDATA(String text)
-
-
-
Overrides:
createCDATA in class DocumentFactory
-
-
-
-
-
-
- -

-createComment

-
-public Comment createComment(String text)
-
-
-
Overrides:
createComment in class DocumentFactory
-
-
-
-
-
-
- -

-createText

-
-public Text createText(String text)
-
-
-
Overrides:
createText in class DocumentFactory
-
-
-
-
-
-
- -

-createEntity

-
-public Entity createEntity(String name)
-
-
-
-
-
-
-
-
-
- -

-createEntity

-
-public Entity createEntity(String name,
-                           String text)
-
-
-
Overrides:
createEntity in class DocumentFactory
-
-
-
-
-
-
- -

-createNamespace

-
-public Namespace createNamespace(String prefix,
-                                 String uri)
-
-
-
Overrides:
createNamespace in class DocumentFactory
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         String data)
-
-
-
Overrides:
createProcessingInstruction in class DocumentFactory
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         Map data)
-
-
-
Overrides:
createProcessingInstruction in class DocumentFactory
-
-
-
-
-
-
- -

-hasFeature

-
-public boolean hasFeature(String feat,
-                          String version)
-
-
-
Specified by:
hasFeature in interface DOMImplementation
-
-
-
-
-
-
- -

-createDocumentType

-
-public DocumentType createDocumentType(String qualifiedName,
-                                       String publicId,
-                                       String systemId)
-                                throws DOMException
-
-
-
Specified by:
createDocumentType in interface DOMImplementation
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createDocument

-
-public Document createDocument(String namespaceURI,
-                               String qualifiedName,
-                               DocumentType docType)
-                        throws DOMException
-
-
-
Specified by:
createDocument in interface DOMImplementation
-
-
- -
Throws: -
DOMException
-
-
-
- -

-asDocumentType

-
-protected DOMDocumentType asDocumentType(DocumentType docType)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMDocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMDocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMDocumentType.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMDocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1073 +0,0 @@ - - - - - - - -DOMDocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMDocumentType

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractDocumentType
-          extended byorg.dom4j.tree.DefaultDocumentType
-              extended byorg.dom4j.dom.DOMDocumentType
-
-
-
All Implemented Interfaces:
Cloneable, DocumentType, DocumentType, Node, Node, Serializable
-
-
-
-
public class DOMDocumentType
extends DefaultDocumentType
implements DocumentType
- -

-

- DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.DefaultDocumentType
elementName
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMDocumentType() - -
-           
DOMDocumentType(String elementName, - String systemID) - -
-           
DOMDocumentType(String name, - String publicID, - String systemID) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- NodecloneNode(boolean deep) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- NamedNodeMapgetEntities() - -
-           
- NodegetFirstChild() - -
-           
- StringgetInternalSubset() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- NamedNodeMapgetNotations() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- StringgetPublicId() - -
-           
- StringgetSystemId() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultDocumentType
getElementName, getExternalDeclarations, getInternalDeclarations, getPublicID, getSystemID, setElementName, setExternalDeclarations, setInternalDeclarations, setPublicID, setSystemID
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractDocumentType
accept, asXML, getName, getNodeType, getPath, getText, getUniquePath, setName, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.DocumentType
getName
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMDocumentType

-
-public DOMDocumentType()
-
-
-
- -

-DOMDocumentType

-
-public DOMDocumentType(String elementName,
-                       String systemID)
-
-
-
- -

-DOMDocumentType

-
-public DOMDocumentType(String name,
-                       String publicID,
-                       String systemID)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getEntities

-
-public NamedNodeMap getEntities()
-
-
-
Specified by:
getEntities in interface DocumentType
-
-
-
-
-
-
- -

-getNotations

-
-public NamedNodeMap getNotations()
-
-
-
Specified by:
getNotations in interface DocumentType
-
-
-
-
-
-
- -

-getPublicId

-
-public String getPublicId()
-
-
-
Specified by:
getPublicId in interface DocumentType
-
-
-
-
-
-
- -

-getSystemId

-
-public String getSystemId()
-
-
-
Specified by:
getSystemId in interface DocumentType
-
-
-
-
-
-
- -

-getInternalSubset

-
-public String getInternalSubset()
-
-
-
Specified by:
getInternalSubset in interface DocumentType
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMElement.html 2005-05-16 13:26:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1493 +0,0 @@ - - - - - - - -DOMElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.DefaultElement
-                  extended byorg.dom4j.dom.DOMElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Element, Node, Node, Serializable
-
-
-
-
public class DOMElement
extends DefaultElement
implements Element
- -

-

- DOMElement implements an XML element which supports the W3C - DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.23 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMElement(QName qname) - -
-           
DOMElement(QName qname, - int attributeCount) - -
-           
DOMElement(String name) - -
-           
DOMElement(String name, - Namespace namespace) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
-protected  Attributeattribute(Attr attr) - -
-           
-protected  Attributeattribute(String namespaceURI, - String localName) - -
-           
- NodecloneNode(boolean deep) - -
-           
-protected  AttributecreateAttribute(Attr newAttr) - -
-           
- StringgetAttribute(String name) - -
-           
- AttrgetAttributeNode(String name) - -
-           
- AttrgetAttributeNodeNS(String namespaceURI, - String localName) - -
-           
- StringgetAttributeNS(String namespaceURI, - String localName) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
-protected  DocumentFactorygetDocumentFactory() - -
-           
- NodeListgetElementsByTagName(String name) - -
-           
- NodeListgetElementsByTagNameNS(String namespace, - String lName) - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           - Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
-protected  QNamegetQName(String namespace, - String qualifiedName) - -
-           
- StringgetTagName() - -
-           
- booleanhasAttribute(String name) - -
-           
- booleanhasAttributeNS(String namespaceURI, - String localName) - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidremoveAttribute(String name) - -
-           
- AttrremoveAttributeNode(Attr oldAttr) - -
-           
- voidremoveAttributeNS(String namespaceURI, - String localName) - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetAttribute(String name, - String value) - -
-           
- AttrsetAttributeNode(Attr newAttr) - -
-           
- AttrsetAttributeNodeNS(Attr newAttr) - -
-           
- voidsetAttributeNS(String namespaceURI, - String qualifiedName, - String value) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, element, element, getDocument, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType, normalize
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMElement

-
-public DOMElement(String name)
-
-
-
- -

-DOMElement

-
-public DOMElement(QName qname)
-
-
-
- -

-DOMElement

-
-public DOMElement(QName qname,
-                  int attributeCount)
-
-
-
- -

-DOMElement

-
-public DOMElement(String name,
-                  Namespace namespace)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
Description copied from interface: Element
-

- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -

-

-

-
Specified by:
getNamespaceURI in interface Node
Overrides:
getNamespaceURI in class AbstractElement
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getTagName

-
-public String getTagName()
-
-
-
Specified by:
getTagName in interface Element
-
-
-
-
-
-
- -

-getAttribute

-
-public String getAttribute(String name)
-
-
-
Specified by:
getAttribute in interface Element
-
-
-
-
-
-
- -

-setAttribute

-
-public void setAttribute(String name,
-                         String value)
-                  throws DOMException
-
-
-
Specified by:
setAttribute in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeAttribute

-
-public void removeAttribute(String name)
-                     throws DOMException
-
-
-
Specified by:
removeAttribute in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getAttributeNode

-
-public Attr getAttributeNode(String name)
-
-
-
Specified by:
getAttributeNode in interface Element
-
-
-
-
-
-
- -

-setAttributeNode

-
-public Attr setAttributeNode(Attr newAttr)
-                      throws DOMException
-
-
-
Specified by:
setAttributeNode in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeAttributeNode

-
-public Attr removeAttributeNode(Attr oldAttr)
-                         throws DOMException
-
-
-
Specified by:
removeAttributeNode in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getAttributeNS

-
-public String getAttributeNS(String namespaceURI,
-                             String localName)
-
-
-
Specified by:
getAttributeNS in interface Element
-
-
-
-
-
-
- -

-setAttributeNS

-
-public void setAttributeNS(String namespaceURI,
-                           String qualifiedName,
-                           String value)
-                    throws DOMException
-
-
-
Specified by:
setAttributeNS in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeAttributeNS

-
-public void removeAttributeNS(String namespaceURI,
-                              String localName)
-                       throws DOMException
-
-
-
Specified by:
removeAttributeNS in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getAttributeNodeNS

-
-public Attr getAttributeNodeNS(String namespaceURI,
-                               String localName)
-
-
-
Specified by:
getAttributeNodeNS in interface Element
-
-
-
-
-
-
- -

-setAttributeNodeNS

-
-public Attr setAttributeNodeNS(Attr newAttr)
-                        throws DOMException
-
-
-
Specified by:
setAttributeNodeNS in interface Element
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getElementsByTagName

-
-public NodeList getElementsByTagName(String name)
-
-
-
Specified by:
getElementsByTagName in interface Element
-
-
-
-
-
-
- -

-getElementsByTagNameNS

-
-public NodeList getElementsByTagNameNS(String namespace,
-                                       String lName)
-
-
-
Specified by:
getElementsByTagNameNS in interface Element
-
-
-
-
-
-
- -

-hasAttribute

-
-public boolean hasAttribute(String name)
-
-
-
Specified by:
hasAttribute in interface Element
-
-
-
-
-
-
- -

-hasAttributeNS

-
-public boolean hasAttributeNS(String namespaceURI,
-                              String localName)
-
-
-
Specified by:
hasAttributeNS in interface Element
-
-
-
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
Overrides:
getDocumentFactory in class DefaultElement
-
-
-
-
-
-
- -

-attribute

-
-protected Attribute attribute(Attr attr)
-
-
-
-
-
-
-
-
-
- -

-attribute

-
-protected Attribute attribute(String namespaceURI,
-                              String localName)
-
-
-
-
-
-
-
-
-
- -

-createAttribute

-
-protected Attribute createAttribute(Attr newAttr)
-
-
-
-
-
-
-
-
-
- -

-getQName

-
-protected QName getQName(String namespace,
-                         String qualifiedName)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMEntityReference.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMEntityReference.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMEntityReference.html 2005-05-16 13:28:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMEntityReference.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,964 +0,0 @@ - - - - - - - -DOMEntityReference (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMEntityReference

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractEntity
-          extended byorg.dom4j.tree.FlyweightEntity
-              extended byorg.dom4j.tree.DefaultEntity
-                  extended byorg.dom4j.dom.DOMEntityReference
-
-
-
All Implemented Interfaces:
Cloneable, Entity, EntityReference, Node, Node, Serializable
-
-
-
-
public class DOMEntityReference
extends DefaultEntity
implements EntityReference
- -

-

- DOMEntity implements a Entity node which supports the W3C DOM - API. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightEntity
name, text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMEntityReference(Element parent, - String name, - String text) - -
-           
DOMEntityReference(String name) - -
-           
DOMEntityReference(String name, - String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- NodecloneNode(boolean deep) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultEntity
getParent, isReadOnly, setName, setParent, setText, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightEntity
createXPathResult, getName, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractEntity
accept, asXML, getNodeType, getPath, getStringValue, getUniquePath, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMEntityReference

-
-public DOMEntityReference(String name)
-
-
-
- -

-DOMEntityReference

-
-public DOMEntityReference(String name,
-                          String text)
-
-
-
- -

-DOMEntityReference

-
-public DOMEntityReference(Element parent,
-                          String name,
-                          String text)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMNamespace.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMNamespace.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMNamespace.html 2005-05-16 13:26:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMNamespace.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,909 +0,0 @@ - - - - - - - -DOMNamespace (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMNamespace

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.Namespace
-          extended byorg.dom4j.tree.DefaultNamespace
-              extended byorg.dom4j.dom.DOMNamespace
-
-
-
All Implemented Interfaces:
Cloneable, Node, Node, Serializable
-
-
-
-
public class DOMNamespace
extends DefaultNamespace
implements Node
- -

-

- DOMNamespace implements a Namespace that is compatable with - the DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.Namespace
CACHE, NO_NAMESPACE, XML_NAMESPACE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DOMNamespace(Element parent, - String prefix, - String uri) - -
-           
DOMNamespace(String prefix, - String uri) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- NodecloneNode(boolean deep) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultNamespace
createHashCode, equals, getParent, hashCode, isReadOnly, setParent, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.Namespace
accept, asXML, createXPathResult, get, get, getNodeType, getPath, getPrefix, getStringValue, getText, getUniquePath, getURI, getXPathNameStep, toString
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setText, valueOf, write
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType, getPrefix
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMNamespace

-
-public DOMNamespace(String prefix,
-                    String uri)
-
-
-
- -

-DOMNamespace

-
-public DOMNamespace(Element parent,
-                    String prefix,
-                    String uri)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMNodeHelper.EmptyNodeList.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMNodeHelper.EmptyNodeList.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMNodeHelper.EmptyNodeList.html 2005-05-16 13:26:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMNodeHelper.EmptyNodeList.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,284 +0,0 @@ - - - - - - - -DOMNodeHelper.EmptyNodeList (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMNodeHelper.EmptyNodeList

-
-java.lang.Object
-  extended byorg.dom4j.dom.DOMNodeHelper.EmptyNodeList
-
-
-
All Implemented Interfaces:
NodeList
-
-
-
Enclosing class:
DOMNodeHelper
-
-
-
-
public static class DOMNodeHelper.EmptyNodeList
extends Object
implements NodeList
- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DOMNodeHelper.EmptyNodeList() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- intgetLength() - -
-           
- Nodeitem(int index) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMNodeHelper.EmptyNodeList

-
-public DOMNodeHelper.EmptyNodeList()
-
-
- - - - - - - - -
-Method Detail
- -

-item

-
-public Node item(int index)
-
-
-
Specified by:
item in interface NodeList
-
-
-
-
-
-
- -

-getLength

-
-public int getLength()
-
-
-
Specified by:
getLength in interface NodeList
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMNodeHelper.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMNodeHelper.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMNodeHelper.html 2005-05-16 13:26:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMNodeHelper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1197 +0,0 @@ - - - - - - - -DOMNodeHelper (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMNodeHelper

-
-java.lang.Object
-  extended byorg.dom4j.dom.DOMNodeHelper
-
-
-
-
public class DOMNodeHelper
extends Object
- -

-

- DOMNodeHelper contains a collection of utility methods for use - across Node implementations. -

-

- -

-

-
Version:
-
$Revision: 1.20 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classDOMNodeHelper.EmptyNodeList - -
-           
-  - - - - - - - - - - - -
-Field Summary
-static NodeListEMPTY_NODE_LIST - -
-           
-  - - - - - - - - - - - -
-Constructor Summary
-protected DOMNodeHelper() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static NodeappendChild(Node node, - Node newChild) - -
-           
-static voidappendData(CharacterData charData, - String arg) - -
-           
-static voidappendElementsByTagName(List list, - Branch parent, - String name) - -
-           
-static voidappendElementsByTagNameNS(List list, - Branch parent, - String namespace, - String localName) - -
-           
-static AttrasDOMAttr(Node attribute) - -
-           
-static DocumentasDOMDocument(Document document) - -
-           
-static DocumentTypeasDOMDocumentType(DocumentType dt) - -
-           
-static ElementasDOMElement(Node element) - -
-           
-static NodeasDOMNode(Node node) - -
-           
-static TextasDOMText(CharacterData text) - -
-           
-static NodecloneNode(Node node, - boolean deep) - -
-           
-static NodeListcreateNodeList(List list) - -
-           
-static voiddeleteData(CharacterData charData, - int offset, - int count) - -
-           
-static NamedNodeMapgetAttributes(Node node) - -
-           
-static NodeListgetChildNodes(Node node) - -
-           
-static StringgetData(CharacterData charData) - -
-           
-static NodegetFirstChild(Node node) - -
-           
-static NodegetLastChild(Node node) - -
-           
-static intgetLength(CharacterData charData) - -
-           
-static StringgetLocalName(Node node) - -
-           
-static StringgetNamespaceURI(Node node) - -
-           
-static NodegetNextSibling(Node node) - -
-           
-static StringgetNodeValue(Node node) - -
-           
-static DocumentgetOwnerDocument(Node node) - -
-           
-static NodegetParentNode(Node node) - -
-           
-static StringgetPrefix(Node node) - -
-           
-static NodegetPreviousSibling(Node node) - -
-           
-static booleanhasAttributes(Node node) - -
-           
-static booleanhasChildNodes(Node node) - -
-           
-static NodeinsertBefore(Node node, - Node newChild, - Node refChild) - -
-           
-static voidinsertData(CharacterData data, - int offset, - String arg) - -
-           
-static booleanisSupported(Node n, - String feature, - String version) - -
-           
-static voidnormalize(Node node) - -
-           
-static voidnotSupported() - -
-          Called when a method has not been implemented yet
-static NoderemoveChild(Node node, - Node oldChild) - -
-           
-static NodereplaceChild(Node node, - Node newChild, - Node oldChild) - -
-           
-static voidreplaceData(CharacterData charData, - int offset, - int count, - String arg) - -
-           
-static voidsetData(CharacterData charData, - String data) - -
-           
-static voidsetNodeValue(Node node, - String nodeValue) - -
-           
-static voidsetPrefix(Node node, - String prefix) - -
-           
-static StringsubstringData(CharacterData charData, - int offset, - int count) - -
-           
-static booleansupports(Node node, - String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY_NODE_LIST

-
-public static final NodeList EMPTY_NODE_LIST
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-DOMNodeHelper

-
-protected DOMNodeHelper()
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public static boolean supports(Node node,
-                               String feature,
-                               String version)
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public static String getNamespaceURI(Node node)
-
-
-
-
-
-
- -

-getPrefix

-
-public static String getPrefix(Node node)
-
-
-
-
-
-
- -

-getLocalName

-
-public static String getLocalName(Node node)
-
-
-
-
-
-
- -

-setPrefix

-
-public static void setPrefix(Node node,
-                             String prefix)
-                      throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getNodeValue

-
-public static String getNodeValue(Node node)
-                           throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public static void setNodeValue(Node node,
-                                String nodeValue)
-                         throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public static Node getParentNode(Node node)
-
-
-
-
-
-
- -

-getChildNodes

-
-public static NodeList getChildNodes(Node node)
-
-
-
-
-
-
- -

-getFirstChild

-
-public static Node getFirstChild(Node node)
-
-
-
-
-
-
- -

-getLastChild

-
-public static Node getLastChild(Node node)
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public static Node getPreviousSibling(Node node)
-
-
-
-
-
-
- -

-getNextSibling

-
-public static Node getNextSibling(Node node)
-
-
-
-
-
-
- -

-getAttributes

-
-public static NamedNodeMap getAttributes(Node node)
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public static Document getOwnerDocument(Node node)
-
-
-
-
-
-
- -

-insertBefore

-
-public static Node insertBefore(Node node,
-                                Node newChild,
-                                Node refChild)
-                         throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public static Node replaceChild(Node node,
-                                Node newChild,
-                                Node oldChild)
-                         throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public static Node removeChild(Node node,
-                               Node oldChild)
-                        throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public static Node appendChild(Node node,
-                               Node newChild)
-                        throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public static boolean hasChildNodes(Node node)
-
-
-
-
-
-
- -

-cloneNode

-
-public static Node cloneNode(Node node,
-                             boolean deep)
-
-
-
-
-
-
- -

-normalize

-
-public static void normalize(Node node)
-
-
-
-
-
-
- -

-isSupported

-
-public static boolean isSupported(Node n,
-                                  String feature,
-                                  String version)
-
-
-
-
-
-
- -

-hasAttributes

-
-public static boolean hasAttributes(Node node)
-
-
-
-
-
-
- -

-getData

-
-public static String getData(CharacterData charData)
-                      throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setData

-
-public static void setData(CharacterData charData,
-                           String data)
-                    throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLength

-
-public static int getLength(CharacterData charData)
-
-
-
-
-
-
- -

-substringData

-
-public static String substringData(CharacterData charData,
-                                   int offset,
-                                   int count)
-                            throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendData

-
-public static void appendData(CharacterData charData,
-                              String arg)
-                       throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-insertData

-
-public static void insertData(CharacterData data,
-                              int offset,
-                              String arg)
-                       throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-deleteData

-
-public static void deleteData(CharacterData charData,
-                              int offset,
-                              int count)
-                       throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceData

-
-public static void replaceData(CharacterData charData,
-                               int offset,
-                               int count,
-                               String arg)
-                        throws DOMException
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendElementsByTagName

-
-public static void appendElementsByTagName(List list,
-                                           Branch parent,
-                                           String name)
-
-
-
-
-
-
- -

-appendElementsByTagNameNS

-
-public static void appendElementsByTagNameNS(List list,
-                                             Branch parent,
-                                             String namespace,
-                                             String localName)
-
-
-
-
-
-
- -

-createNodeList

-
-public static NodeList createNodeList(List list)
-
-
-
-
-
-
- -

-asDOMNode

-
-public static Node asDOMNode(Node node)
-
-
-
-
-
-
- -

-asDOMDocument

-
-public static Document asDOMDocument(Document document)
-
-
-
-
-
-
- -

-asDOMDocumentType

-
-public static DocumentType asDOMDocumentType(DocumentType dt)
-
-
-
-
-
-
- -

-asDOMText

-
-public static Text asDOMText(CharacterData text)
-
-
-
-
-
-
- -

-asDOMElement

-
-public static Element asDOMElement(Node element)
-
-
-
-
-
-
- -

-asDOMAttr

-
-public static Attr asDOMAttr(Node attribute)
-
-
-
-
-
-
- -

-notSupported

-
-public static void notSupported()
-
-
Called when a method has not been implemented yet -

-

- -
Throws: -
DOMException - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMProcessingInstruction.html 2005-05-16 13:27:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1022 +0,0 @@ - - - - - - - -DOMProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMProcessingInstruction

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractProcessingInstruction
-          extended byorg.dom4j.tree.FlyweightProcessingInstruction
-              extended byorg.dom4j.tree.DefaultProcessingInstruction
-                  extended byorg.dom4j.dom.DOMProcessingInstruction
-
-
-
All Implemented Interfaces:
Cloneable, Node, Node, ProcessingInstruction, ProcessingInstruction, Serializable
-
-
-
-
public class DOMProcessingInstruction
extends DefaultProcessingInstruction
implements ProcessingInstruction
- -

-

- DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightProcessingInstruction
target, text, values
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMProcessingInstruction(Element parent, - String target, - String val) - -
-           
DOMProcessingInstruction(String target, - Map values) - -
-           
DOMProcessingInstruction(String target, - String values) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- NodecloneNode(boolean deep) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- StringgetData() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidsetData(String data) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultProcessingInstruction
getParent, isReadOnly, setParent, setTarget, setText, setValue, setValues, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightProcessingInstruction
createXPathResult, getTarget, getText, getValue, getValues
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractProcessingInstruction
accept, asXML, getName, getNodeType, getPath, getUniquePath, parseValues, removeValue, setName, toString, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.ProcessingInstruction
getTarget
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMProcessingInstruction

-
-public DOMProcessingInstruction(String target,
-                                Map values)
-
-
-
- -

-DOMProcessingInstruction

-
-public DOMProcessingInstruction(String target,
-                                String values)
-
-
-
- -

-DOMProcessingInstruction

-
-public DOMProcessingInstruction(Element parent,
-                                String target,
-                                String val)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getData

-
-public String getData()
-
-
-
Specified by:
getData in interface ProcessingInstruction
-
-
-
-
-
-
- -

-setData

-
-public void setData(String data)
-             throws DOMException
-
-
-
Specified by:
setData in interface ProcessingInstruction
-
-
- -
Throws: -
DOMException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/DOMText.html 2005-05-16 13:26:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/DOMText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1218 +0,0 @@ - - - - - - - -DOMText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dom -
-Class DOMText

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractText
-              extended byorg.dom4j.tree.FlyweightText
-                  extended byorg.dom4j.tree.DefaultText
-                      extended byorg.dom4j.dom.DOMText
-
-
-
All Implemented Interfaces:
CharacterData, CharacterData, Cloneable, Node, Node, Serializable, Text, Text
-
-
-
-
public class DOMText
extends DefaultText
implements Text
- -

-

- DOMText implements a Text node which supports the W3C DOM API. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightText
text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DOMText(Element parent, - String text) - -
-           
DOMText(String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeappendChild(Node newChild) - -
-           
- voidappendData(String arg) - -
-           
- NodecloneNode(boolean deep) - -
-           
-protected  TextcreateText(String text) - -
-           
- voiddeleteData(int offset, - int count) - -
-           
- NamedNodeMapgetAttributes() - -
-           
- NodeListgetChildNodes() - -
-           
- StringgetData() - -
-           
- NodegetFirstChild() - -
-           
- NodegetLastChild() - -
-           
- intgetLength() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceURI() - -
-           
- NodegetNextSibling() - -
-           
- StringgetNodeName() - -
-           
- StringgetNodeValue() - -
-           
- DocumentgetOwnerDocument() - -
-           
- NodegetParentNode() - -
-           
- StringgetPrefix() - -
-           
- NodegetPreviousSibling() - -
-           
- booleanhasAttributes() - -
-           
- booleanhasChildNodes() - -
-           
- NodeinsertBefore(Node newChild, - Node refChild) - -
-           
- voidinsertData(int offset, - String arg) - -
-           
- booleanisSupported(String feature, - String version) - -
-           
- voidnormalize() - -
-           
- NoderemoveChild(Node oldChild) - -
-           
- NodereplaceChild(Node newChild, - Node oldChild) - -
-           
- voidreplaceData(int offset, - int count, - String arg) - -
-           
- voidsetData(String data) - -
-           
- voidsetNodeValue(String nodeValue) - -
-           
- voidsetPrefix(String prefix) - -
-           
- TextsplitText(int offset) - -
-           
- StringsubstringData(int offset, - int count) - -
-           
- booleansupports(String feature, - String version) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultText
getParent, isReadOnly, setParent, setText, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightText
createXPathResult, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractText
accept, asXML, getNodeType, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.w3c.dom.Node
getNodeType
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMText

-
-public DOMText(String text)
-
-
-
- -

-DOMText

-
-public DOMText(Element parent,
-               String text)
-
-
- - - - - - - - -
-Method Detail
- -

-supports

-
-public boolean supports(String feature,
-                        String version)
-
-
-
-
-
-
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
-
Specified by:
getNamespaceURI in interface Node
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface Node
-
-
-
-
-
-
- -

-setPrefix

-
-public void setPrefix(String prefix)
-               throws DOMException
-
-
-
Specified by:
setPrefix in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface Node
-
-
-
-
-
-
- -

-getNodeName

-
-public String getNodeName()
-
-
-
Specified by:
getNodeName in interface Node
-
-
-
-
-
-
- -

-getNodeValue

-
-public String getNodeValue()
-                    throws DOMException
-
-
-
Specified by:
getNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setNodeValue

-
-public void setNodeValue(String nodeValue)
-                  throws DOMException
-
-
-
Specified by:
setNodeValue in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getParentNode

-
-public Node getParentNode()
-
-
-
Specified by:
getParentNode in interface Node
-
-
-
-
-
-
- -

-getChildNodes

-
-public NodeList getChildNodes()
-
-
-
Specified by:
getChildNodes in interface Node
-
-
-
-
-
-
- -

-getFirstChild

-
-public Node getFirstChild()
-
-
-
Specified by:
getFirstChild in interface Node
-
-
-
-
-
-
- -

-getLastChild

-
-public Node getLastChild()
-
-
-
Specified by:
getLastChild in interface Node
-
-
-
-
-
-
- -

-getPreviousSibling

-
-public Node getPreviousSibling()
-
-
-
Specified by:
getPreviousSibling in interface Node
-
-
-
-
-
-
- -

-getNextSibling

-
-public Node getNextSibling()
-
-
-
Specified by:
getNextSibling in interface Node
-
-
-
-
-
-
- -

-getAttributes

-
-public NamedNodeMap getAttributes()
-
-
-
Specified by:
getAttributes in interface Node
-
-
-
-
-
-
- -

-getOwnerDocument

-
-public Document getOwnerDocument()
-
-
-
Specified by:
getOwnerDocument in interface Node
-
-
-
-
-
-
- -

-insertBefore

-
-public Node insertBefore(Node newChild,
-                         Node refChild)
-                  throws DOMException
-
-
-
Specified by:
insertBefore in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceChild

-
-public Node replaceChild(Node newChild,
-                         Node oldChild)
-                  throws DOMException
-
-
-
Specified by:
replaceChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-removeChild

-
-public Node removeChild(Node oldChild)
-                 throws DOMException
-
-
-
Specified by:
removeChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendChild

-
-public Node appendChild(Node newChild)
-                 throws DOMException
-
-
-
Specified by:
appendChild in interface Node
-
-
- -
Throws: -
DOMException
-
-
-
- -

-hasChildNodes

-
-public boolean hasChildNodes()
-
-
-
Specified by:
hasChildNodes in interface Node
-
-
-
-
-
-
- -

-cloneNode

-
-public Node cloneNode(boolean deep)
-
-
-
Specified by:
cloneNode in interface Node
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
-
Specified by:
normalize in interface Node
-
-
-
-
-
-
- -

-isSupported

-
-public boolean isSupported(String feature,
-                           String version)
-
-
-
Specified by:
isSupported in interface Node
-
-
-
-
-
-
- -

-hasAttributes

-
-public boolean hasAttributes()
-
-
-
Specified by:
hasAttributes in interface Node
-
-
-
-
-
-
- -

-getData

-
-public String getData()
-               throws DOMException
-
-
-
Specified by:
getData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-setData

-
-public void setData(String data)
-             throws DOMException
-
-
-
Specified by:
setData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-getLength

-
-public int getLength()
-
-
-
Specified by:
getLength in interface CharacterData
-
-
-
-
-
-
- -

-substringData

-
-public String substringData(int offset,
-                            int count)
-                     throws DOMException
-
-
-
Specified by:
substringData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-appendData

-
-public void appendData(String arg)
-                throws DOMException
-
-
-
Specified by:
appendData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-insertData

-
-public void insertData(int offset,
-                       String arg)
-                throws DOMException
-
-
-
Specified by:
insertData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-deleteData

-
-public void deleteData(int offset,
-                       int count)
-                throws DOMException
-
-
-
Specified by:
deleteData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-replaceData

-
-public void replaceData(int offset,
-                        int count,
-                        String arg)
-                 throws DOMException
-
-
-
Specified by:
replaceData in interface CharacterData
-
-
- -
Throws: -
DOMException
-
-
-
- -

-splitText

-
-public Text splitText(int offset)
-               throws DOMException
-
-
-
Specified by:
splitText in interface Text
-
-
- -
Throws: -
DOMException
-
-
-
- -

-createText

-
-protected Text createText(String text)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMAttribute.html 2005-05-16 13:28:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMAttribute

-
-No usage of org.dom4j.dom.DOMAttribute -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMAttributeNodeMap.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMAttributeNodeMap.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMAttributeNodeMap.html 2005-05-16 13:27:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMAttributeNodeMap.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMAttributeNodeMap (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMAttributeNodeMap

-
-No usage of org.dom4j.dom.DOMAttributeNodeMap -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMCDATA.html 2005-05-16 13:27:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMCDATA

-
-No usage of org.dom4j.dom.DOMCDATA -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMComment.html 2005-05-16 13:27:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMComment

-
-No usage of org.dom4j.dom.DOMComment -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMDocument.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMDocument.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMDocument.html 2005-05-16 13:26:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMDocument.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMDocument (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMDocument

-
-No usage of org.dom4j.dom.DOMDocument -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentFactory.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMDocumentFactory

-
-No usage of org.dom4j.dom.DOMDocumentFactory -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentType.html 2005-05-16 13:27:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMDocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,203 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMDocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMDocumentType

-
- - - - - - - - - -
-Packages that use DOMDocumentType
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DOMDocumentType in org.dom4j.dom
-  -

- - - - - - - - - -
Methods in org.dom4j.dom that return DOMDocumentType
-protected  DOMDocumentTypeDOMDocumentFactory.asDocumentType(DocumentType docType) - -
-           
-  -

- - - - - - - - - - - - - - -
Constructors in org.dom4j.dom with parameters of type DOMDocumentType
DOMDocument(DOMDocumentType docType) - -
-           
DOMDocument(DOMElement rootElement, - DOMDocumentType docType) - -
-           
DOMDocument(String name, - DOMElement rootElement, - DOMDocumentType docType) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMElement.html 2005-05-16 13:27:32.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,193 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMElement

-
- - - - - - - - - -
-Packages that use DOMElement
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DOMElement in org.dom4j.dom
-  -

- - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.dom with parameters of type DOMElement
DOMDocument(DOMElement rootElement) - -
-           
DOMDocument(DOMElement rootElement, - DOMDocumentType docType) - -
-           
DOMDocument(String name, - DOMElement rootElement, - DOMDocumentType docType) - -
-           
DOMAttributeNodeMap(DOMElement element) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMEntityReference.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMEntityReference.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMEntityReference.html 2005-05-16 13:27:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMEntityReference.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMEntityReference (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMEntityReference

-
-No usage of org.dom4j.dom.DOMEntityReference -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMNamespace.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMNamespace.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMNamespace.html 2005-05-16 13:26:53.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMNamespace.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMNamespace (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMNamespace

-
-No usage of org.dom4j.dom.DOMNamespace -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.EmptyNodeList.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.EmptyNodeList.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.EmptyNodeList.html 2005-05-16 13:26:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.EmptyNodeList.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMNodeHelper.EmptyNodeList (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMNodeHelper.EmptyNodeList

-
-No usage of org.dom4j.dom.DOMNodeHelper.EmptyNodeList -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.html 2005-05-16 13:27:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMNodeHelper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMNodeHelper (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMNodeHelper

-
-No usage of org.dom4j.dom.DOMNodeHelper -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMProcessingInstruction.html 2005-05-16 13:27:50.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMProcessingInstruction

-
-No usage of org.dom4j.dom.DOMProcessingInstruction -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/class-use/DOMText.html 2005-05-16 13:26:20.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/class-use/DOMText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dom.DOMText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dom.DOMText

-
-No usage of org.dom4j.dom.DOMText -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-frame.html 2005-05-16 13:26:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -org.dom4j.dom (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.dom - - - - -
-Classes  - -
-DOMAttribute -
-DOMAttributeNodeMap -
-DOMCDATA -
-DOMComment -
-DOMDocument -
-DOMDocumentFactory -
-DOMDocumentType -
-DOMElement -
-DOMEntityReference -
-DOMNamespace -
-DOMNodeHelper -
-DOMNodeHelper.EmptyNodeList -
-DOMProcessingInstruction -
-DOMText
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-summary.html 2005-05-16 13:27:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,255 +0,0 @@ - - - - - - - -org.dom4j.dom (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.dom -

-An implementation of the dom4j API which also supports the - W3C object model. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DOMAttribute - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
DOMAttributeNodeMap - DOMAttributeNodeMap implements a W3C NameNodeMap for the - attributes of an element. -
DOMCDATA - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
DOMComment - DOMText implements a Text node which supports the W3C DOM API. -
DOMDocument - DOMDocument implements an XML document which supports the W3C - DOM API. -
DOMDocumentFactory - DOMDocumentFactory is a factory of DOM4J objects which - implement the W3C DOM API. -
DOMDocumentType - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
DOMElement - DOMElement implements an XML element which supports the W3C - DOM API. -
DOMEntityReference - DOMEntity implements a Entity node which supports the W3C DOM - API. -
DOMNamespace - DOMNamespace implements a Namespace that is compatable with - the DOM API. -
DOMNodeHelper - DOMNodeHelper contains a collection of utility methods for use - across Node implementations. -
DOMNodeHelper.EmptyNodeList 
DOMProcessingInstruction - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
DOMText - DOMText implements a Text node which supports the W3C DOM API. -
-  - -

-

-Package org.dom4j.dom Description -

- -

-

An implementation of the dom4j API which also supports the - W3C object model.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-tree.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,235 +0,0 @@ - - - - - - - -org.dom4j.dom Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.dom -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dom/package-use.html 2005-05-16 13:26:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dom/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.dom (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.dom

-
- - - - - - - - - -
-Packages that use org.dom4j.dom
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - - - - - - - -
-Classes in org.dom4j.dom used by org.dom4j.dom
DOMDocumentType - -
-           - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
DOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/AttributeDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/AttributeDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/AttributeDecl.html 2005-05-16 13:26:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/AttributeDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,502 +0,0 @@ - - - - - - - -AttributeDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dtd -
-Class AttributeDecl

-
-java.lang.Object
-  extended byorg.dom4j.dtd.AttributeDecl
-
-
-
-
public class AttributeDecl
extends Object
- -

-

- AttributeDecl represents an attribute declaration in a DTD. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
AttributeDecl() - -
-           
AttributeDecl(String elementName, - String attributeName, - String type, - String valueDefault, - String value) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetAttributeName() - -
-          Getter for property attributeName.
- StringgetElementName() - -
-          Getter for property elementName.
- StringgetType() - -
-          Getter for property type.
- StringgetValue() - -
-          Getter for property value.
- StringgetValueDefault() - -
-          Getter for property valueDefault.
- voidsetAttributeName(String attributeName) - -
-          Setter for property attributeName.
- voidsetElementName(String elementName) - -
-          Setter for property elementName.
- voidsetType(String type) - -
-          Setter for property type.
- voidsetValue(String value) - -
-          Setter for property value.
- voidsetValueDefault(String valueDefault) - -
-          Setter for property valueDefault.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AttributeDecl

-
-public AttributeDecl()
-
-
-
- -

-AttributeDecl

-
-public AttributeDecl(String elementName,
-                     String attributeName,
-                     String type,
-                     String valueDefault,
-                     String value)
-
-
- - - - - - - - -
-Method Detail
- -

-getElementName

-
-public String getElementName()
-
-
Getter for property elementName. -

-

- -
Returns:
Value of property elementName.
-
-
-
- -

-setElementName

-
-public void setElementName(String elementName)
-
-
Setter for property elementName. -

-

-
Parameters:
elementName - New value of property elementName.
-
-
-
- -

-getAttributeName

-
-public String getAttributeName()
-
-
Getter for property attributeName. -

-

- -
Returns:
Value of property attributeName.
-
-
-
- -

-setAttributeName

-
-public void setAttributeName(String attributeName)
-
-
Setter for property attributeName. -

-

-
Parameters:
attributeName - New value of property attributeName.
-
-
-
- -

-getType

-
-public String getType()
-
-
Getter for property type. -

-

- -
Returns:
Value of property type.
-
-
-
- -

-setType

-
-public void setType(String type)
-
-
Setter for property type. -

-

-
Parameters:
type - New value of property type.
-
-
-
- -

-getValue

-
-public String getValue()
-
-
Getter for property value. -

-

- -
Returns:
Value of property value.
-
-
-
- -

-setValue

-
-public void setValue(String value)
-
-
Setter for property value. -

-

-
Parameters:
value - New value of property value.
-
-
-
- -

-getValueDefault

-
-public String getValueDefault()
-
-
Getter for property valueDefault. -

-

- -
Returns:
Value of property valueDefault.
-
-
-
- -

-setValueDefault

-
-public void setValueDefault(String valueDefault)
-
-
Setter for property valueDefault. -

-

-
Parameters:
valueDefault - New value of property valueDefault.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/ElementDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/ElementDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/ElementDecl.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/ElementDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,367 +0,0 @@ - - - - - - - -ElementDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dtd -
-Class ElementDecl

-
-java.lang.Object
-  extended byorg.dom4j.dtd.ElementDecl
-
-
-
-
public class ElementDecl
extends Object
- -

-

- AttributeDecl represents an element declaration in a DTD. -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ElementDecl() - -
-           
ElementDecl(String name, - String model) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetModel() - -
-          Getter for property model.
- StringgetName() - -
-          Getter for property name.
- voidsetModel(String model) - -
-          Setter for property model.
- voidsetName(String name) - -
-          Setter for property name.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ElementDecl

-
-public ElementDecl()
-
-
-
- -

-ElementDecl

-
-public ElementDecl(String name,
-                   String model)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public String getName()
-
-
Getter for property name. -

-

- -
Returns:
Value of property name.
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Setter for property name. -

-

-
Parameters:
name - New value of property name.
-
-
-
- -

-getModel

-
-public String getModel()
-
-
Getter for property model. -

-

- -
Returns:
Value of property model.
-
-
-
- -

-setModel

-
-public void setModel(String model)
-
-
Setter for property model. -

-

-
Parameters:
model - New value of property model.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/ExternalEntityDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/ExternalEntityDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/ExternalEntityDecl.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/ExternalEntityDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,413 +0,0 @@ - - - - - - - -ExternalEntityDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dtd -
-Class ExternalEntityDecl

-
-java.lang.Object
-  extended byorg.dom4j.dtd.ExternalEntityDecl
-
-
-
-
public class ExternalEntityDecl
extends Object
- -

-

- ExternalEntityDecl represents an external entity declaration - in a DTD. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ExternalEntityDecl() - -
-           
ExternalEntityDecl(String name, - String publicID, - String systemID) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetName() - -
-          Getter for property name.
- StringgetPublicID() - -
-          Getter for property publicID.
- StringgetSystemID() - -
-          Getter for property systemID.
- voidsetName(String name) - -
-          Setter for property name.
- voidsetPublicID(String publicID) - -
-          Setter for property publicID.
- voidsetSystemID(String systemID) - -
-          Setter for property systemID.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ExternalEntityDecl

-
-public ExternalEntityDecl()
-
-
-
- -

-ExternalEntityDecl

-
-public ExternalEntityDecl(String name,
-                          String publicID,
-                          String systemID)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public String getName()
-
-
Getter for property name. -

-

- -
Returns:
Value of property name.
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Setter for property name. -

-

-
Parameters:
name - New value of property name.
-
-
-
- -

-getPublicID

-
-public String getPublicID()
-
-
Getter for property publicID. -

-

- -
Returns:
Value of property publicID.
-
-
-
- -

-setPublicID

-
-public void setPublicID(String publicID)
-
-
Setter for property publicID. -

-

-
Parameters:
publicID - New value of property publicID.
-
-
-
- -

-getSystemID

-
-public String getSystemID()
-
-
Getter for property systemID. -

-

- -
Returns:
Value of property systemID.
-
-
-
- -

-setSystemID

-
-public void setSystemID(String systemID)
-
-
Setter for property systemID. -

-

-
Parameters:
systemID - New value of property systemID.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/InternalEntityDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/InternalEntityDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/InternalEntityDecl.html 2005-05-16 13:28:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/InternalEntityDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,368 +0,0 @@ - - - - - - - -InternalEntityDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.dtd -
-Class InternalEntityDecl

-
-java.lang.Object
-  extended byorg.dom4j.dtd.InternalEntityDecl
-
-
-
-
public class InternalEntityDecl
extends Object
- -

-

- InternalEntityDecl represents an internal entity declaration - in a DTD. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InternalEntityDecl() - -
-           
InternalEntityDecl(String name, - String value) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetName() - -
-          Getter for property name.
- StringgetValue() - -
-          Getter for property value.
- voidsetName(String name) - -
-          Setter for property name.
- voidsetValue(String value) - -
-          Setter for property value.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-InternalEntityDecl

-
-public InternalEntityDecl()
-
-
-
- -

-InternalEntityDecl

-
-public InternalEntityDecl(String name,
-                          String value)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public String getName()
-
-
Getter for property name. -

-

- -
Returns:
Value of property name.
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Setter for property name. -

-

-
Parameters:
name - New value of property name.
-
-
-
- -

-getValue

-
-public String getValue()
-
-
Getter for property value. -

-

- -
Returns:
Value of property value.
-
-
-
- -

-setValue

-
-public void setValue(String value)
-
-
Setter for property value. -

-

-
Parameters:
value - New value of property value.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/AttributeDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/AttributeDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/AttributeDecl.html 2005-05-16 13:27:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/AttributeDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dtd.AttributeDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dtd.AttributeDecl

-
-No usage of org.dom4j.dtd.AttributeDecl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/ElementDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/ElementDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/ElementDecl.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/ElementDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dtd.ElementDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dtd.ElementDecl

-
-No usage of org.dom4j.dtd.ElementDecl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/ExternalEntityDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/ExternalEntityDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/ExternalEntityDecl.html 2005-05-16 13:27:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/ExternalEntityDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dtd.ExternalEntityDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dtd.ExternalEntityDecl

-
-No usage of org.dom4j.dtd.ExternalEntityDecl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/InternalEntityDecl.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/InternalEntityDecl.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/class-use/InternalEntityDecl.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/class-use/InternalEntityDecl.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.dtd.InternalEntityDecl (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.dtd.InternalEntityDecl

-
-No usage of org.dom4j.dtd.InternalEntityDecl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-frame.html 2005-05-16 13:26:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,39 +0,0 @@ - - - - - - - -org.dom4j.dtd (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.dtd - - - - -
-Classes  - -
-AttributeDecl -
-ElementDecl -
-ExternalEntityDecl -
-InternalEntityDecl
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-summary.html 2005-05-16 13:26:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,186 +0,0 @@ - - - - - - - -org.dom4j.dtd (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.dtd -

-Classes to represent the DTD declarations. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AttributeDecl - AttributeDecl represents an attribute declaration in a DTD. -
ElementDecl - AttributeDecl represents an element declaration in a DTD. -
ExternalEntityDecl - ExternalEntityDecl represents an external entity declaration - in a DTD. -
InternalEntityDecl - InternalEntityDecl represents an internal entity declaration - in a DTD. -
-  - -

-

-Package org.dom4j.dtd Description -

- -

-

Classes to represent the DTD declarations. They are used inside the DocumentType interface.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-tree.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,146 +0,0 @@ - - - - - - - -org.dom4j.dtd Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.dtd -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/dtd/package-use.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/dtd/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.dtd (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.dtd

-
-No usage of org.dom4j.dtd -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DOMReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DOMReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DOMReader.html 2005-05-16 13:26:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DOMReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,432 +0,0 @@ - - - - - - - -DOMReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class DOMReader

-
-java.lang.Object
-  extended byorg.dom4j.io.DOMReader
-
-
-
-
public class DOMReader
extends Object
- -

-

- DOMReader navigates a W3C DOM tree and creates a DOM4J tree - from it. -

-

- -

-

-
Version:
-
$Revision: 1.17 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMReader() - -
-           
DOMReader(DocumentFactory factory) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidclearNamespaceStack() - -
-           
-protected  DocumentcreateDocument() - -
-           
- DocumentFactorygetDocumentFactory() - -
-          DOCUMENT ME!
-protected  NamespacegetNamespace(String prefix, - String uri) - -
-           
- Documentread(Document domDocument) - -
-           
-protected  voidreadElement(Node node, - Branch current) - -
-           
-protected  voidreadTree(Node node, - Branch current) - -
-           
- voidsetDocumentFactory(DocumentFactory docFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMReader

-
-public DOMReader()
-
-
-
- -

-DOMReader

-
-public DOMReader(DocumentFactory factory)
-
-
- - - - - - - - -
-Method Detail
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
DOCUMENT ME! -

-

- -
Returns:
the DocumentFactory used to create document - objects
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory docFactory)
-
-

- This sets the DocumentFactory used to create new - documents. This method allows the building of custom DOM4J tree objects - to be implemented easily using a custom derivation of - DocumentFactory -

-

-

-
Parameters:
docFactory - DocumentFactory used to create DOM4J objects
-
-
-
- -

-read

-
-public Document read(Document domDocument)
-
-
-
-
-
-
- -

-readTree

-
-protected void readTree(Node node,
-                        Branch current)
-
-
-
-
-
-
- -

-readElement

-
-protected void readElement(Node node,
-                           Branch current)
-
-
-
-
-
-
- -

-getNamespace

-
-protected Namespace getNamespace(String prefix,
-                                 String uri)
-
-
-
-
-
-
- -

-createDocument

-
-protected Document createDocument()
-
-
-
-
-
-
- -

-clearNamespaceStack

-
-protected void clearNamespaceStack()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DOMWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DOMWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DOMWriter.html 2005-05-16 13:27:50.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DOMWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,686 +0,0 @@ - - - - - - - -DOMWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class DOMWriter

-
-java.lang.Object
-  extended byorg.dom4j.io.DOMWriter
-
-
-
-
public class DOMWriter
extends Object
- -

-

- DOMWriter takes a DOM4J tree and outputs it as a W3C DOM - object -

-

- -

-

-
Version:
-
$Revision: 1.17 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DOMWriter() - -
-           
DOMWriter(Class domDocumentClass) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidappendDOMTree(Document domDocument, - Node domCurrent, - CDATA cdata) - -
-           
-protected  voidappendDOMTree(Document domDocument, - Node domCurrent, - Comment comment) - -
-           
-protected  voidappendDOMTree(Document domDocument, - Node domCurrent, - Element element) - -
-           
-protected  voidappendDOMTree(Document domDocument, - Node domCurrent, - Entity entity) - -
-           
-protected  voidappendDOMTree(Document domDocument, - Node domCurrent, - List content) - -
-           
-protected  voidappendDOMTree(Document domDoc, - Node domCurrent, - ProcessingInstruction pi) - -
-           
-protected  voidappendDOMTree(Document domDocument, - Node domCurrent, - String text) - -
-           
-protected  StringattributeNameForNamespace(Namespace namespace) - -
-           
-protected  DocumentcreateDomDocument(Document document) - -
-           
-protected  DocumentcreateDomDocument(Document document, - DOMImplementation domImpl) - -
-           
-protected  DocumentcreateDomDocumentViaJAXP() - -
-           
- ClassgetDomDocumentClass() - -
-           
-protected  booleanisNamespaceDeclaration(Namespace ns) - -
-           
-protected  voidresetNamespaceStack() - -
-           
- voidsetDomDocumentClass(Class domDocumentClass) - -
-          Sets the DOM Documentimplementation class used by - the writer when creating DOM documents.
- voidsetDomDocumentClassName(String name) - -
-          Sets the DOM Documentimplementation class name used - by the writer when creating DOM documents.
- Documentwrite(Document document) - -
-           
- Documentwrite(Document document, - DOMImplementation domImpl) - -
-           
-protected  voidwriteNamespace(Element domElement, - Namespace namespace) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DOMWriter

-
-public DOMWriter()
-
-
-
- -

-DOMWriter

-
-public DOMWriter(Class domDocumentClass)
-
-
- - - - - - - - -
-Method Detail
- -

-getDomDocumentClass

-
-public Class getDomDocumentClass()
-                          throws DocumentException
-
-
- -
Throws: -
DocumentException
-
-
-
- -

-setDomDocumentClass

-
-public void setDomDocumentClass(Class domDocumentClass)
-
-
Sets the DOM Documentimplementation class used by - the writer when creating DOM documents. -

-

-
Parameters:
domDocumentClass - is the Class implementing the - interface
-
-
-
- -

-setDomDocumentClassName

-
-public void setDomDocumentClassName(String name)
-                             throws DocumentException
-
-
Sets the DOM Documentimplementation class name used - by the writer when creating DOM documents. -

-

-
Parameters:
name - is the name of the Class implementing the Document interface -
Throws: -
DocumentException - if the class could not be loaded
-
-
-
- -

-write

-
-public Document write(Document document)
-               throws DocumentException
-
-
- -
Throws: -
DocumentException
-
-
-
- -

-write

-
-public Document write(Document document,
-                      DOMImplementation domImpl)
-               throws DocumentException
-
-
- -
Throws: -
DocumentException
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDocument,
-                             Node domCurrent,
-                             List content)
-
-
-
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDocument,
-                             Node domCurrent,
-                             Element element)
-
-
-
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDocument,
-                             Node domCurrent,
-                             CDATA cdata)
-
-
-
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDocument,
-                             Node domCurrent,
-                             Comment comment)
-
-
-
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDocument,
-                             Node domCurrent,
-                             String text)
-
-
-
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDocument,
-                             Node domCurrent,
-                             Entity entity)
-
-
-
-
-
-
- -

-appendDOMTree

-
-protected void appendDOMTree(Document domDoc,
-                             Node domCurrent,
-                             ProcessingInstruction pi)
-
-
-
-
-
-
- -

-writeNamespace

-
-protected void writeNamespace(Element domElement,
-                              Namespace namespace)
-
-
-
-
-
-
- -

-attributeNameForNamespace

-
-protected String attributeNameForNamespace(Namespace namespace)
-
-
-
-
-
-
- -

-createDomDocument

-
-protected Document createDomDocument(Document document)
-                              throws DocumentException
-
-
- -
Throws: -
DocumentException
-
-
-
- -

-createDomDocumentViaJAXP

-
-protected Document createDomDocumentViaJAXP()
-                                     throws DocumentException
-
-
- -
Throws: -
DocumentException
-
-
-
- -

-createDomDocument

-
-protected Document createDomDocument(Document document,
-                                     DOMImplementation domImpl)
-                              throws DocumentException
-
-
- -
Throws: -
DocumentException
-
-
-
- -

-isNamespaceDeclaration

-
-protected boolean isNamespaceDeclaration(Namespace ns)
-
-
-
-
-
-
- -

-resetNamespaceStack

-
-protected void resetNamespaceStack()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DocumentResult.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DocumentResult.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DocumentResult.html 2005-05-16 13:27:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DocumentResult.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,359 +0,0 @@ - - - - - - - -DocumentResult (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class DocumentResult

-
-java.lang.Object
-  extended byjavax.xml.transform.sax.SAXResult
-      extended byorg.dom4j.io.DocumentResult
-
-
-
All Implemented Interfaces:
Result
-
-
-
-
public class DocumentResult
extends SAXResult
- -

-

- DocumentResult implements a JAXP SAXResultfor a - Document. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class javax.xml.transform.sax.SAXResult
FEATURE
- - - - - - - -
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-  - - - - - - - - - - - - - -
-Constructor Summary
DocumentResult() - -
-           
DocumentResult(SAXContentHandler contentHandler) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- DocumentgetDocument() - -
-          DOCUMENT ME!
- voidsetHandler(ContentHandler handler) - -
-           
- voidsetLexicalHandler(LexicalHandler handler) - -
-           
- - - - - - - -
Methods inherited from class javax.xml.transform.sax.SAXResult
getHandler, getLexicalHandler, getSystemId, setSystemId
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DocumentResult

-
-public DocumentResult()
-
-
-
- -

-DocumentResult

-
-public DocumentResult(SAXContentHandler contentHandler)
-
-
- - - - - - - - -
-Method Detail
- -

-getDocument

-
-public Document getDocument()
-
-
DOCUMENT ME! -

-

- -
Returns:
the Document created by the transformation
-
-
-
- -

-setHandler

-
-public void setHandler(ContentHandler handler)
-
-
-
-
-
-
- -

-setLexicalHandler

-
-public void setLexicalHandler(LexicalHandler handler)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DocumentSource.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DocumentSource.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/DocumentSource.html 2005-05-16 13:27:32.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/DocumentSource.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,439 +0,0 @@ - - - - - - - -DocumentSource (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class DocumentSource

-
-java.lang.Object
-  extended byjavax.xml.transform.sax.SAXSource
-      extended byorg.dom4j.io.DocumentSource
-
-
-
All Implemented Interfaces:
Source
-
-
-
-
public class DocumentSource
extends SAXSource
- -

-

- DocumentSource implements a JAXP SAXSourcefor a - . -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-static StringDOM4J_FEATURE - -
-          If TransformerFactory.getFeature(java.lang.String)returns - true when passed this value as an argument then the - Transformer natively supports dom4j .
- - - - - - - -
Fields inherited from class javax.xml.transform.sax.SAXSource
FEATURE
-  - - - - - - - - - - - - - -
-Constructor Summary
DocumentSource(Document document) - -
-          Creates a JAXP SAXSourcefor the given Document.
DocumentSource(Node node) - -
-          Creates a JAXP SAXSourcefor the given Node.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- DocumentgetDocument() - -
-          DOCUMENT ME!
- XMLReadergetXMLReader() - -
-          DOCUMENT ME!
- voidsetDocument(Document document) - -
-          Sets the document used as the JAXP SAXSource
- voidsetInputSource(InputSource inputSource) - -
-          This method is not supported as this source is always a - instance.
- voidsetXMLReader(XMLReader reader) - -
-          Sets the XMLReader used for the JAXP SAXSource.
- - - - - - - -
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, setSystemId, sourceToInputSource
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-DOM4J_FEATURE

-
-public static final String DOM4J_FEATURE
-
-
If TransformerFactory.getFeature(java.lang.String)returns - true when passed this value as an argument then the - Transformer natively supports dom4j . -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-DocumentSource

-
-public DocumentSource(Node node)
-
-
Creates a JAXP SAXSourcefor the given Node. -

-

Parameters:
node - DOCUMENT ME!
-
- -

-DocumentSource

-
-public DocumentSource(Document document)
-
-
Creates a JAXP SAXSourcefor the given Document. -

-

Parameters:
document - DOCUMENT ME!
- - - - - - - - -
-Method Detail
- -

-getDocument

-
-public Document getDocument()
-
-
DOCUMENT ME! -

-

- -
Returns:
the document which is being used as the JAXP SAXSource
-
-
-
- -

-setDocument

-
-public void setDocument(Document document)
-
-
Sets the document used as the JAXP SAXSource -

-

-
Parameters:
document - DOCUMENT ME!
-
-
-
- -

-getXMLReader

-
-public XMLReader getXMLReader()
-
-
DOCUMENT ME! -

-

- -
Returns:
the XMLReader to be used for the JAXP SAXSource.
-
-
-
- -

-setInputSource

-
-public void setInputSource(InputSource inputSource)
-                    throws UnsupportedOperationException
-
-
This method is not supported as this source is always a - instance. -

-

-
Parameters:
inputSource - DOCUMENT ME! -
Throws: -
UnsupportedOperationException - as this method is unsupported
-
-
-
- -

-setXMLReader

-
-public void setXMLReader(XMLReader reader)
-                  throws UnsupportedOperationException
-
-
Sets the XMLReader used for the JAXP SAXSource. -

-

-
Parameters:
reader - DOCUMENT ME! -
Throws: -
UnsupportedOperationException - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/ElementModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/ElementModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/ElementModifier.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/ElementModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,237 +0,0 @@ - - - - - - - -ElementModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Interface ElementModifier

-
-
-
public interface ElementModifier
- -

-ElementModifier defines a modifier of Elementobjects.
- It can be used in the event based SAXModifier, in order - to modify elements on the fly, rather than waiting until the complete - document is parsed. -

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementmodifyElement(Element element) - -
-          Called by an event based processor when an elements closing tag is - encountered.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-modifyElement

-
-public Element modifyElement(Element element)
-                      throws Exception
-
-
Called by an event based processor when an elements closing tag is - encountered. This method must return the modified version of the provided - Elementor null if it has to be removed from the - document.
- The incoming Elementis disconnected from the DOM4J - tree. This means that navigation to the elements parent Element and Documentare not available. Only - the element itself can be modified! -

-

-
Parameters:
element - Elementto be parsed -
Returns:
the modified Element -
Throws: -
Exception - of any kind
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/HTMLWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/HTMLWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/HTMLWriter.html 2005-05-16 13:25:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/HTMLWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1153 +0,0 @@ - - - - - - - -HTMLWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class HTMLWriter

-
-java.lang.Object
-  extended byorg.xml.sax.helpers.XMLFilterImpl
-      extended byorg.dom4j.io.XMLWriter
-          extended byorg.dom4j.io.HTMLWriter
-
-
-
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader
-
-
-
-
public class HTMLWriter
extends XMLWriter
- -

-

- HTMLWriter takes a DOM4J tree and formats it to a stream as - HTML. This formatter is similar to XMLWriter but it outputs the text of CDATA - and Entity sections rather than the serialised format as in XML, it has an - XHTML mode, it retains whitespace in certain elements such as <PRE>, - and it supports certain elements which have no corresponding close tag such - as for <BR> and <P>. -

- -

- The OutputFormat passed in to the constructor is checked for isXHTML() and - isExpandEmptyElements(). See OutputFormatfor details. - Here are the rules for this class based on an OutputFormat, "format", - passed in to the constructor:

- -

    -
  • If an element is in getOmitElementCloseSet, then it is treated specially: - -
      -
    • It never expands, since some browsers treat this as two separate - Horizontal Rules: <HR></HR>
    • -
    • If format.isXHTML(), then - it has a space before the closing single-tag slash, since Netscape 4.x- - treats this: <HR /> as an element named "HR" with an attribute named - "/", but that's better than when it refuses to recognize this: <hr/> - which it thinks is an element named "HR/".
    • -
    - -
  • -
  • If format.isXHTML(), all - elements must have either a close element, or be a closed single tag.
  • -
  • If format.isExpandEmptyElements()() is true, all elements are expanded except - as above.
  • -
- - Examples -

- -

-

- -

- If isXHTML == true, CDATA sections look like this: - -

- 
- <myelement><![CDATA[My data]]></myelement> 
- 
- 
- - Otherwise, they look like this: - -
- 
- <myelement>My data</myelement> 
- 
- 
- -

- -

- Basically, OutputFormat.isXHTML() == - true will produce valid XML, while format.isExpandEmptyElements() determines whether empty elements are - expanded if isXHTML is true, excepting the special HTML single tags. -

- -

- Also, HTMLWriter handles tags whose contents should be preformatted, that is, - whitespace-preserved. By default, this set includes the tags <PRE>, - <SCRIPT>, <STYLE>, and <TEXTAREA>, case insensitively. It - does not include <IFRAME>. Other tags, such as <CODE>, - <KBD>, <TT>, <VAR>, are usually rendered in a different - font in most browsers, but don't preserve whitespace, so they also don't - appear in the default list. HTML Comments are always whitespace-preserved. - However, the parser you use may store comments with linefeed-only text nodes - (\n) even if your platform uses another line.separator character, and - HTMLWriter outputs Comment nodes exactly as the DOM is set up by the parser. - See examples and discussion here: -

- -

- Examples -

-
-

- Pretty Printing -

- -

- This example shows how to pretty print a string containing a valid HTML - document to a string. You can also just call the static methods of this - class:
- prettyPrintHTML(String)or
- prettyPrintHTML(String,boolean,boolean,boolean,boolean) or,
- prettyPrintXHTML(String)for XHTML (note - the X) -

- -
- String testPrettyPrint(String html) {
-     StringWriter sw = new StringWriter();
-     OutputFormat format = OutputFormat.createPrettyPrint();
-     // These are the default values for createPrettyPrint,
-     // so you needn't set them:
-     // format.setNewlines(true);
-     // format.setTrimText(true);</font>
-     format.setXHTML(true);
-     HTMLWriter writer = new HTMLWriter(sw, format);
-     Document document = DocumentHelper.parseText(html);
-     writer.write(document);
-     writer.flush();
-     return sw.toString();
- }
- 
- -

- This example shows how to create a "squeezed" document, but one that will - work in browsers even if the browser line length is limited. No newlines are - included, no extra whitespace at all, except where it it required by - setPreformattedTags. -

- -
- String testCrunch(String html) {
-     StringWriter sw = new StringWriter();
-     OutputFormat format = OutputFormat.createPrettyPrint();
-     format.setNewlines(false);
-     format.setTrimText(true);
-     format.setIndent("");
-     format.setXHTML(true);
-     format.setExpandEmptyElements(false);
-     format.setNewLineAfterNTags(20);
-     org.dom4j.io.HTMLWriter writer = new HTMLWriter(sw, format);
-     org.dom4j.Document document = DocumentHelper.parseText(html);
-     writer.write(document);
-     writer.flush();
-     return sw.toString();
- }
- 
- -
-

- -

-

-
Version:
-
$Revision: 1.21 $
-
Author:
-
James Strachan , Laramie Crocker
-
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static OutputFormatDEFAULT_HTML_FORMAT - -
-           
-protected static HashSetDEFAULT_PREFORMATTED_TAGS - -
-           
- - - - - - - -
Fields inherited from class org.dom4j.io.XMLWriter
DEFAULT_FORMAT, lastOutputNodeType, LEXICAL_HANDLER_NAMES, preserve, writer
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
HTMLWriter() - -
-           
HTMLWriter(OutputFormat format) - -
-           
HTMLWriter(OutputStream out) - -
-           
HTMLWriter(OutputStream out, - OutputFormat format) - -
-           
HTMLWriter(Writer writer) - -
-           
HTMLWriter(Writer writer, - OutputFormat format) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidendCDATA() - -
-           
- SetgetOmitElementCloseSet() - -
-          A clone of the Set of elements that can have their close-tags omitted.
- SetgetPreformattedTags() - -
-           
- booleanisPreformattedTag(String qualifiedName) - -
-          DOCUMENT ME!
-protected  voidloadOmitElementCloseSet(Set set) - -
-           
-protected  booleanomitElementClose(String qualifiedName) - -
-           
-static StringprettyPrintHTML(String html) - -
-          Convenience method to just get a String result.
-static StringprettyPrintHTML(String html, - boolean newlines, - boolean trim, - boolean isXHTML, - boolean expandEmpty) - -
-          DOCUMENT ME!
-static StringprettyPrintXHTML(String html) - -
-          Convenience method to just get a String result, but As XHTML .
- voidsetOmitElementCloseSet(Set newSet) - -
-          To use the empty set, pass an empty Set, or null: - - - - - setOmitElementCloseSet(new HashSet()); - or - setOmitElementCloseSet(null); - - -
- voidsetPreformattedTags(Set newSet) - -
-           - Override the default set, which includes PRE, SCRIPT, STYLE, and - TEXTAREA, case insensitively. -
- voidstartCDATA() - -
-           
-protected  voidwriteCDATA(String text) - -
-           
-protected  voidwriteClose(String qualifiedName) - -
-          Overriden method to not close certain element names to avoid wierd - behaviour from browsers for versions up to 5.x
-protected  voidwriteDeclaration() - -
-           - This will write the declaration to the given Writer.
-protected  voidwriteElement(Element element) - -
-          This override handles any elements that should not remove whitespace, - such as <PRE>, <SCRIPT>, <STYLE>, and <TEXTAREA>. -
-protected  voidwriteEmptyElementClose(String qualifiedName) - -
-           
-protected  voidwriteEntity(Entity entity) - -
-           
-protected  voidwriteString(String text) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.io.XMLWriter
characters, close, comment, createWriter, defaultMaximumAllowedCharacter, endDocument, endDTD, endElement, endEntity, endPrefixMapping, escapeAttributeEntities, escapeElementEntities, flush, getLexicalHandler, getMaximumAllowedCharacter, getOutputFormat, getProperty, handleException, ignorableWhitespace, indent, installLexicalHandler, isElementSpacePreserved, isEscapeText, isExpandEmptyElements, isNamespaceDeclaration, notationDecl, parse, println, processingInstruction, resolveEntityRefs, setDocumentLocator, setEscapeText, setIndentLevel, setLexicalHandler, setMaximumAllowedCharacter, setOutputStream, setProperty, setResolveEntityRefs, setWriter, shouldEncodeChar, startDocument, startDTD, startElement, startEntity, startPrefixMapping, unparsedEntityDecl, write, write, write, write, write, write, write, write, write, write, write, write, write, writeAttribute, writeAttribute, writeAttributes, writeAttributes, writeClose, writeComment, writeDocType, writeDocType, writeElementContent, writeEntityRef, writeEscapeAttributeEntities, writeNamespace, writeNamespace, writeNamespaces, writeNode, writeNodeText, writeOpen, writePrintln, writeProcessingInstruction
- - - - - - - -
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, parse, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, warning
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-DEFAULT_PREFORMATTED_TAGS

-
-protected static final HashSet DEFAULT_PREFORMATTED_TAGS
-
-
-
-
-
- -

-DEFAULT_HTML_FORMAT

-
-protected static final OutputFormat DEFAULT_HTML_FORMAT
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-HTMLWriter

-
-public HTMLWriter(Writer writer)
-
-
-
- -

-HTMLWriter

-
-public HTMLWriter(Writer writer,
-                  OutputFormat format)
-
-
-
- -

-HTMLWriter

-
-public HTMLWriter()
-           throws UnsupportedEncodingException
-
-
-
- -

-HTMLWriter

-
-public HTMLWriter(OutputFormat format)
-           throws UnsupportedEncodingException
-
-
-
- -

-HTMLWriter

-
-public HTMLWriter(OutputStream out)
-           throws UnsupportedEncodingException
-
-
-
- -

-HTMLWriter

-
-public HTMLWriter(OutputStream out,
-                  OutputFormat format)
-           throws UnsupportedEncodingException
-
-
- - - - - - - - -
-Method Detail
- -

-startCDATA

-
-public void startCDATA()
-                throws SAXException
-
-
-
Specified by:
startCDATA in interface LexicalHandler
Overrides:
startCDATA in class XMLWriter
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endCDATA

-
-public void endCDATA()
-              throws SAXException
-
-
-
Specified by:
endCDATA in interface LexicalHandler
Overrides:
endCDATA in class XMLWriter
-
-
- -
Throws: -
SAXException
-
-
-
- -

-writeCDATA

-
-protected void writeCDATA(String text)
-                   throws IOException
-
-
-
Overrides:
writeCDATA in class XMLWriter
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeEntity

-
-protected void writeEntity(Entity entity)
-                    throws IOException
-
-
-
Overrides:
writeEntity in class XMLWriter
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeDeclaration

-
-protected void writeDeclaration()
-                         throws IOException
-
-
Description copied from class: XMLWriter
-

- This will write the declaration to the given Writer. Assumes XML version - 1.0 since we don't directly know. -

-

-

-
Overrides:
writeDeclaration in class XMLWriter
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeString

-
-protected void writeString(String text)
-                    throws IOException
-
-
-
Overrides:
writeString in class XMLWriter
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeClose

-
-protected void writeClose(String qualifiedName)
-                   throws IOException
-
-
Overriden method to not close certain element names to avoid wierd - behaviour from browsers for versions up to 5.x -

-

-
Overrides:
writeClose in class XMLWriter
-
-
-
Parameters:
qualifiedName - DOCUMENT ME! -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeEmptyElementClose

-
-protected void writeEmptyElementClose(String qualifiedName)
-                               throws IOException
-
-
-
Overrides:
writeEmptyElementClose in class XMLWriter
-
-
- -
Throws: -
IOException
-
-
-
- -

-omitElementClose

-
-protected boolean omitElementClose(String qualifiedName)
-
-
-
-
-
-
- -

-loadOmitElementCloseSet

-
-protected void loadOmitElementCloseSet(Set set)
-
-
-
-
-
-
- -

-getOmitElementCloseSet

-
-public Set getOmitElementCloseSet()
-
-
A clone of the Set of elements that can have their close-tags omitted. By - default it should be "AREA", "BASE", "BR", "COL", "HR", "IMG", "INPUT", - "LINK", "META", "P", "PARAM" -

-

- -
Returns:
A clone of the Set.
-
-
-
- -

-setOmitElementCloseSet

-
-public void setOmitElementCloseSet(Set newSet)
-
-
To use the empty set, pass an empty Set, or null: - -
- 
- 
-       setOmitElementCloseSet(new HashSet());
-     or
-       setOmitElementCloseSet(null);
- 
-  
- 
-

-

-
Parameters:
newSet - DOCUMENT ME!
-
-
-
- -

-getPreformattedTags

-
-public Set getPreformattedTags()
-
-
-
See Also:
setPreformattedTags
-
-
-
- -

-setPreformattedTags

-
-public void setPreformattedTags(Set newSet)
-
-

- Override the default set, which includes PRE, SCRIPT, STYLE, and - TEXTAREA, case insensitively. -

- -

- Setting Preformatted Tags -

- -

- Pass in a Set of Strings, one for each tag name that should be treated - like a PRE tag. You may pass in null or an empty Set to assign the empty - set, in which case no tags will be treated as preformatted, except that - HTML Comments will continue to be preformatted. If a tag is included in - the set of preformatted tags, all whitespace within the tag will be - preserved, including whitespace on the same line preceding the close tag. - This will generally make the close tag not line up with the start tag, - but it preserves the intention of the whitespace within the tag. -

- -

- The browser considers leading whitespace before the close tag to be - significant, but leading whitespace before the open tag to be - insignificant. For example, if the HTML author doesn't put the close - TEXTAREA tag flush to the left margin, then the TEXTAREA control in the - browser will have spaces on the last line inside the control. This may be - the HTML author's intent. Similarly, in a PRE, the browser treats a - flushed left close PRE tag as different from a close tag with leading - whitespace. Again, this must be left up to the HTML author. -

- -

- Examples -

-
-

- Here is an example of how you can set the PreformattedTags list using - setPreformattedTags to include IFRAME, as well as the default set, if you - have an instance of this class named myHTMLWriter: - -

- Set current = myHTMLWriter.getPreformattedTags();
- current.add("IFRAME");
- myHTMLWriter.setPreformattedTags(current);
- 
- //The set is now <b>PRE, SCRIPT, STYLE, TEXTAREA, IFRAME</b>
- 
- 
- 
- - Similarly, you can simply replace it with your own: - -
- 
- 
-       HashSet newset = new HashSet();
-       newset.add("PRE");
-       newset.add("TEXTAREA");
-       myHTMLWriter.setPreformattedTags(newset);
- 
-       //The set is now <b>{PRE, TEXTAREA}</b>
- 
-  
- 
- - You can remove all tags from the preformatted tags list, with an empty - set, like this: - -
- 
- 
-       myHTMLWriter.setPreformattedTags(new HashSet());
- 
-       //The set is now <b>{}</b>
- 
-  
- 
- - or with null, like this: - -
- 
- 
-       myHTMLWriter.setPreformattedTags(null);
- 
-       //The set is now <b>{}</b>
- 
-  
- 
- -

-
-

-

-
Parameters:
newSet - DOCUMENT ME!
-
-
-
- -

-isPreformattedTag

-
-public boolean isPreformattedTag(String qualifiedName)
-
-
DOCUMENT ME! -

-

-
Parameters:
qualifiedName - DOCUMENT ME! -
Returns:
true if the qualifiedName passed in matched (case-insensitively) - a tag in the preformattedTags set, or false if not found or if - the set is empty or null.
See Also:
setPreformattedTags
-
-
-
- -

-writeElement

-
-protected void writeElement(Element element)
-                     throws IOException
-
-
This override handles any elements that should not remove whitespace, - such as <PRE>, <SCRIPT>, <STYLE>, and <TEXTAREA>. - Note: the close tags won't line up with the open tag, but we can't alter - that. See javadoc note at setPreformattedTags. -

-

-
Overrides:
writeElement in class XMLWriter
-
-
-
Parameters:
element - DOCUMENT ME! -
Throws: -
IOException - When the stream could not be written to.
See Also:
setPreformattedTags
-
-
-
- -

-prettyPrintHTML

-
-public static String prettyPrintHTML(String html)
-                              throws IOException,
-                                     UnsupportedEncodingException,
-                                     DocumentException
-
-
Convenience method to just get a String result. -

-

-
Parameters:
html - DOCUMENT ME! -
Returns:
a pretty printed String from the source string, preserving - whitespace in the defaultPreformattedTags set, and leaving the - close tags off of the default omitElementCloseSet set. Use one of - the write methods if you want stream output. -
Throws: -
IOException -
UnsupportedEncodingException -
DocumentException
-
-
-
- -

-prettyPrintXHTML

-
-public static String prettyPrintXHTML(String html)
-                               throws IOException,
-                                      UnsupportedEncodingException,
-                                      DocumentException
-
-
Convenience method to just get a String result, but As XHTML . -

-

-
Parameters:
html - DOCUMENT ME! -
Returns:
a pretty printed String from the source string, preserving - whitespace in the defaultPreformattedTags set, but conforming to - XHTML: no close tags are omitted (though if empty, they will be - converted to XHTML empty tags: <HR/> Use one of the write - methods if you want stream output. -
Throws: -
IOException -
UnsupportedEncodingException -
DocumentException
-
-
-
- -

-prettyPrintHTML

-
-public static String prettyPrintHTML(String html,
-                                     boolean newlines,
-                                     boolean trim,
-                                     boolean isXHTML,
-                                     boolean expandEmpty)
-                              throws IOException,
-                                     UnsupportedEncodingException,
-                                     DocumentException
-
-
DOCUMENT ME! -

-

-
Parameters:
html - DOCUMENT ME!
newlines - DOCUMENT ME!
trim - DOCUMENT ME!
isXHTML - DOCUMENT ME!
expandEmpty - DOCUMENT ME! -
Returns:
a pretty printed String from the source string, preserving - whitespace in the defaultPreformattedTags set, and leaving the - close tags off of the default omitElementCloseSet set. This - override allows you to specify various formatter options. Use one - of the write methods if you want stream output. -
Throws: -
IOException -
UnsupportedEncodingException -
DocumentException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/OutputFormat.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/OutputFormat.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/OutputFormat.html 2005-05-16 13:28:16.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/OutputFormat.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1216 +0,0 @@ - - - - - - - -OutputFormat (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class OutputFormat

-
-java.lang.Object
-  extended byorg.dom4j.io.OutputFormat
-
-
-
All Implemented Interfaces:
Cloneable
-
-
-
-
public class OutputFormat
extends Object
implements Cloneable
- -

-

- OutputFormat represents the format configuration used by - and its base classes to format the XML output -

-

- -

-

-
Version:
-
$Revision: 1.17 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static StringSTANDARD_INDENT - -
-          standard value to indent by, if we are indenting
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
OutputFormat() - -
-          Creates an OutputFormat with no additional whitespace - (indent or new lines) added.
OutputFormat(String indent) - -
-          Creates an OutputFormat with the given indent added but no - new lines added.
OutputFormat(String indent, - boolean newlines) - -
-          Creates an OutputFormat with the given indent added with - optional newlines between the Elements.
OutputFormat(String indent, - boolean newlines, - String encoding) - -
-          Creates an OutputFormat with the given indent added with - optional newlines between the Elements and the given encoding format.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static OutputFormatcreateCompactFormat() - -
-          A static helper method to create the default compact format.
-static OutputFormatcreatePrettyPrint() - -
-          A static helper method to create the default pretty printing format.
- chargetAttributeQuoteCharacter() - -
-           
- StringgetEncoding() - -
-           
- StringgetIndent() - -
-           
- StringgetLineSeparator() - -
-           
- intgetNewLineAfterNTags() - -
-           
- booleanisExpandEmptyElements() - -
-           
- booleanisNewLineAfterDeclaration() - -
-          DOCUMENT ME!
- booleanisNewlines() - -
-           
- booleanisOmitEncoding() - -
-           
- booleanisPadText() - -
-           
- booleanisSuppressDeclaration() - -
-          DOCUMENT ME!
- booleanisTrimText() - -
-           
- booleanisXHTML() - -
-           - Whether or not to use the XHTML standard: like HTML but passes an XML - parser with real, closed tags.
- intparseOptions(String[] args, - int i) - -
-          Parses command line arguments of the form -omitEncoding - -indentSize 3 -newlines -trimText
- voidsetAttributeQuoteCharacter(char quoteChar) - -
-          Sets the character used to quote attribute values.
- voidsetEncoding(String encoding) - -
-          DOCUMENT ME!
- voidsetExpandEmptyElements(boolean expandEmptyElements) - -
-           - This will set whether empty elements are expanded from - <tagName> to - <tagName></tagName>. -
- voidsetIndent(boolean doIndent) - -
-          Set the indent on or off.
- voidsetIndent(String indent) - -
-           - This will set the indent String to use; this is usually a - String of empty spaces.
- voidsetIndentSize(int indentSize) - -
-           - This will set the indent String's size; an indentSize of - 4 would result in the indention being equivalent to the - String "    " (four space characters). -
- voidsetLineSeparator(String separator) - -
-           - This will set the new-line separator.
- voidsetNewLineAfterDeclaration(boolean newLineAfterDeclaration) - -
-           - This will set whether a new line is printed after the XML declaration - (assuming it is not supressed.) -
- voidsetNewLineAfterNTags(int tagCount) - -
-          Controls output of a line.separator every tagCount tags when isNewlines - is false.
- voidsetNewlines(boolean newlines) - -
-          DOCUMENT ME!
- voidsetOmitEncoding(boolean omitEncoding) - -
-           - This will set whether the XML declaration (<?
- voidsetPadText(boolean padText) - -
-           - Ensure that text immediately preceded by or followed by an element will - be "padded" with a single space.
- voidsetSuppressDeclaration(boolean suppressDeclaration) - -
-           - This will set whether the XML declaration (<?
- voidsetTrimText(boolean trimText) - -
-           - This will set whether the text is output verbatim (false) or with - whitespace stripped as per Element.getTextTrim(). -
- voidsetXHTML(boolean xhtml) - -
-           - This will set whether or not to use the XHTML standard: like HTML but - passes an XML parser with real, closed tags.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-STANDARD_INDENT

-
-protected static final String STANDARD_INDENT
-
-
standard value to indent by, if we are indenting -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-OutputFormat

-
-public OutputFormat()
-
-
Creates an OutputFormat with no additional whitespace - (indent or new lines) added. The whitespace from the element text content - is fully preserved. -

-

-
- -

-OutputFormat

-
-public OutputFormat(String indent)
-
-
Creates an OutputFormat with the given indent added but no - new lines added. All whitespace from element text will be included. -

-

Parameters:
indent - is the indent string to be used for indentation (usually a - number of spaces).
-
- -

-OutputFormat

-
-public OutputFormat(String indent,
-                    boolean newlines)
-
-
Creates an OutputFormat with the given indent added with - optional newlines between the Elements. All whitespace from element text - will be included. -

-

Parameters:
indent - is the indent string to be used for indentation (usually a - number of spaces).
newlines - whether new lines are added to layout the
-
- -

-OutputFormat

-
-public OutputFormat(String indent,
-                    boolean newlines,
-                    String encoding)
-
-
Creates an OutputFormat with the given indent added with - optional newlines between the Elements and the given encoding format. -

-

Parameters:
indent - is the indent string to be used for indentation (usually a - number of spaces).
newlines - whether new lines are added to layout the
encoding - is the text encoding to use for writing the XML
- - - - - - - - -
-Method Detail
- -

-getLineSeparator

-
-public String getLineSeparator()
-
-
-
-
-
-
-
-
-
- -

-setLineSeparator

-
-public void setLineSeparator(String separator)
-
-

- This will set the new-line separator. The default is \n. - Note that if the "newlines" property is false, this value is irrelevant. - To make it output the system default line ending string, call - setLineSeparator(System.getProperty("line.separator")) -

-

-

-
-
-
-
Parameters:
separator - String line separator to use.
See Also:
setNewlines(boolean)
-
-
-
- -

-isNewlines

-
-public boolean isNewlines()
-
-
-
-
-
-
-
-
-
- -

-setNewlines

-
-public void setNewlines(boolean newlines)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
newlines - true indicates new lines should be printed, - else new lines are ignored (compacted).
See Also:
setLineSeparator(String)
-
-
-
- -

-getEncoding

-
-public String getEncoding()
-
-
-
-
-
-
-
-
-
- -

-setEncoding

-
-public void setEncoding(String encoding)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
encoding - encoding format
-
-
-
- -

-isOmitEncoding

-
-public boolean isOmitEncoding()
-
-
-
-
-
-
-
-
-
- -

-setOmitEncoding

-
-public void setOmitEncoding(boolean omitEncoding)
-
-

- This will set whether the XML declaration (<?xml version="1.0" - encoding="UTF-8"?>) - includes the encoding of the document. It is common to suppress this in - protocols such as WML and SOAP. -

-

-

-
-
-
-
Parameters:
omitEncoding - boolean indicating whether or not the XML - declaration should indicate the document encoding.
-
-
-
- -

-setSuppressDeclaration

-
-public void setSuppressDeclaration(boolean suppressDeclaration)
-
-

- This will set whether the XML declaration (<?xml version="1.0" - encoding="UTF-8"?>) - is included or not. It is common to suppress this in protocols such as - WML and SOAP. -

-

-

-
-
-
-
Parameters:
suppressDeclaration - boolean indicating whether or not the XML - declaration should be suppressed.
-
-
-
- -

-isSuppressDeclaration

-
-public boolean isSuppressDeclaration()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
true if the output of the XML declaration (<?xml - version="1.0"?>) - should be suppressed else false.
-
-
-
- -

-setNewLineAfterDeclaration

-
-public void setNewLineAfterDeclaration(boolean newLineAfterDeclaration)
-
-

- This will set whether a new line is printed after the XML declaration - (assuming it is not supressed.) -

-

-

-
-
-
-
Parameters:
newLineAfterDeclaration - boolean indicating whether or not to print new - line following the XML declaration. The default is true.
-
-
-
- -

-isNewLineAfterDeclaration

-
-public boolean isNewLineAfterDeclaration()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
true if a new line should be printed following XML declaration
-
-
-
- -

-isExpandEmptyElements

-
-public boolean isExpandEmptyElements()
-
-
-
-
-
-
-
-
-
- -

-setExpandEmptyElements

-
-public void setExpandEmptyElements(boolean expandEmptyElements)
-
-

- This will set whether empty elements are expanded from - <tagName> to - <tagName></tagName>. -

-

-

-
-
-
-
Parameters:
expandEmptyElements - boolean indicating whether or not empty - elements should be expanded.
-
-
-
- -

-isTrimText

-
-public boolean isTrimText()
-
-
-
-
-
-
-
-
-
- -

-setTrimText

-
-public void setTrimText(boolean trimText)
-
-

- This will set whether the text is output verbatim (false) or with - whitespace stripped as per Element.getTextTrim(). -

- -

-

- -

- Default: false -

-

-

-
-
-
-
Parameters:
trimText - boolean true=>trim the whitespace, false=>use - text verbatim
-
-
-
- -

-isPadText

-
-public boolean isPadText()
-
-
-
-
-
-
-
-
-
- -

-setPadText

-
-public void setPadText(boolean padText)
-
-

- Ensure that text immediately preceded by or followed by an element will - be "padded" with a single space. This is used to allow make - browser-friendly HTML, avoiding trimText's transformation of, e.g., - The quick <b>brown</b> fox into The - quick<b>brown</b>fox - (the latter will run the three separate words together into a single - word). This setting is not too useful if you haven't also called - setTrimText(boolean). -

- -

- The padding string will only be added if the text itself starts or ends - with some whitespace characters. -

- -

- Default: false -

-

-

-
-
-
-
Parameters:
padText - boolean if true, pad string-element boundaries
-
-
-
- -

-getIndent

-
-public String getIndent()
-
-
-
-
-
-
-
-
-
- -

-setIndent

-
-public void setIndent(String indent)
-
-

- This will set the indent String to use; this is usually a - String of empty spaces. If you pass null, or the empty - string (""), then no indentation will happen. -

- Default: none (null) -

-

-
-
-
-
Parameters:
indent - String to use for indentation.
-
-
-
- -

-setIndent

-
-public void setIndent(boolean doIndent)
-
-
Set the indent on or off. If setting on, will use the value of - STANDARD_INDENT, which is usually two spaces. -

-

-
-
-
-
Parameters:
doIndent - if true, set indenting on; if false, set indenting off
-
-
-
- -

-setIndentSize

-
-public void setIndentSize(int indentSize)
-
-

- This will set the indent String's size; an indentSize of - 4 would result in the indention being equivalent to the - String "    " (four space characters). -

-

-

-
-
-
-
Parameters:
indentSize - int number of spaces in indentation.
-
-
-
- -

-isXHTML

-
-public boolean isXHTML()
-
-

- Whether or not to use the XHTML standard: like HTML but passes an XML - parser with real, closed tags. Also, XHTML CDATA sections will be output - with the CDATA delimiters: ( " <![CDATA[ " and " - ]]> " ) otherwise, the class HTMLWriter will output the - CDATA text, but not the delimiters. -

- -

- Default is false -

-

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setXHTML

-
-public void setXHTML(boolean xhtml)
-
-

- This will set whether or not to use the XHTML standard: like HTML but - passes an XML parser with real, closed tags. Also, XHTML CDATA sections - will be output with the CDATA delimiters: ( " <[CDATA[ - " and " ]]< ) otherwise, the class HTMLWriter - will output the CDATA text, but not the delimiters. -

- -

- Default: false -

-

-

-
-
-
-
Parameters:
xhtml - boolean true=>conform to XHTML, false=>conform - to HTML, can have unclosed tags, etc.
-
-
-
- -

-getNewLineAfterNTags

-
-public int getNewLineAfterNTags()
-
-
-
-
-
-
-
-
-
- -

-setNewLineAfterNTags

-
-public void setNewLineAfterNTags(int tagCount)
-
-
Controls output of a line.separator every tagCount tags when isNewlines - is false. If tagCount equals zero, it means don't do anything special. If - greater than zero, then a line.separator will be output after tagCount - tags have been output. Used when you would like to squeeze the html as - much as possible, but some browsers don't like really long lines. A tag - count of 10 would produce a line.separator in the output after 10 close - tags (including single tags). -

-

-
-
-
-
Parameters:
tagCount - DOCUMENT ME!
-
-
-
- -

-getAttributeQuoteCharacter

-
-public char getAttributeQuoteCharacter()
-
-
-
-
-
-
-
-
-
- -

-setAttributeQuoteCharacter

-
-public void setAttributeQuoteCharacter(char quoteChar)
-
-
Sets the character used to quote attribute values. The specified - character must be a valid XML attribute quote character, otherwise an - IllegalArgumentException will be thrown. -

-

-
-
-
-
Parameters:
quoteChar - The character to use when quoting attribute values. -
Throws: -
IllegalArgumentException - If the specified character is not a valid XML attribute quote - character.
-
-
-
- -

-parseOptions

-
-public int parseOptions(String[] args,
-                        int i)
-
-
Parses command line arguments of the form -omitEncoding - -indentSize 3 -newlines -trimText -

-

-
-
-
-
Parameters:
args - is the array of command line arguments
i - is the index in args to start parsing options -
Returns:
the index of first parameter that we didn't understand
-
-
-
- -

-createPrettyPrint

-
-public static OutputFormat createPrettyPrint()
-
-
A static helper method to create the default pretty printing format. This - format consists of an indent of 2 spaces, newlines after each element and - all other whitespace trimmed, and XMTML is false. -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createCompactFormat

-
-public static OutputFormat createCompactFormat()
-
-
A static helper method to create the default compact format. This format - does not have any indentation or newlines after an alement and all other - whitespace trimmed -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXContentHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXContentHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXContentHandler.html 2005-05-16 13:27:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXContentHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1701 +0,0 @@ - - - - - - - -SAXContentHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXContentHandler

-
-java.lang.Object
-  extended byorg.xml.sax.helpers.DefaultHandler
-      extended byorg.dom4j.io.SAXContentHandler
-
-
-
All Implemented Interfaces:
ContentHandler, DeclHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler
-
-
-
-
public class SAXContentHandler
extends DefaultHandler
implements LexicalHandler, DeclHandler, DTDHandler
- -

-

- SAXContentHandler builds a dom4j tree via SAX events. -

-

- -

-

-
Version:
-
$Revision: 1.61 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SAXContentHandler() - -
-           
SAXContentHandler(DocumentFactory documentFactory) - -
-           
SAXContentHandler(DocumentFactory documentFactory, - ElementHandler elementHandler) - -
-           
SAXContentHandler(DocumentFactory documentFactory, - ElementHandler elementHandler, - org.dom4j.io.ElementStack elementStack) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidaddAttributes(Element element, - Attributes attributes) - -
-          Add all the attributes to the given elements
-protected  voidaddDeclaredNamespaces(Element element) - -
-          Add all namespaces declared before the startElement() SAX event to the - current element so that they are available to child elements and - attributes
-protected  voidaddDTDDeclaration(Object declaration) - -
-          Adds an internal DTD declaration to the list of declarations
-protected  voidaddExternalDTDDeclaration(Object declaration) - -
-          Adds an external DTD declaration to the list of declarations
- voidattributeDecl(String eName, - String aName, - String type, - String valueDefault, - String val) - -
-          Report an attribute type declaration. - -
- voidcharacters(char[] ch, - int start, - int end) - -
-           
- voidcomment(char[] ch, - int start, - int end) - -
-           
-protected  voidcompleteCurrentTextNode() - -
-          If the current text buffer contains any text then create a new text node - with it and add it to the current element
-protected  DocumentcreateDocument() - -
-          DOCUMENT ME!
-protected  org.dom4j.io.ElementStackcreateElementStack() - -
-           
- voidelementDecl(String name, - String model) - -
-          Report an element type declaration. - -
- voidendCDATA() - -
-           
- voidendDocument() - -
-           
- voidendDTD() - -
-           
- voidendElement(String namespaceURI, - String localName, - String qName) - -
-           
- voidendEntity(String name) - -
-           
- voidendPrefixMapping(String prefix) - -
-           
- voiderror(SAXParseException exception) - -
-          This method is called when an error is detected during parsing such as a - validation error.
- voidexternalEntityDecl(String name, - String publicId, - String sysId) - -
-          Report a parsed external entity declaration. - -
- voidfatalError(SAXParseException exception) - -
-          This method is called when a fatal error occurs during parsing.
- DocumentgetDocument() - -
-          DOCUMENT ME!
- org.dom4j.io.ElementStackgetElementStack() - -
-           
- EntityResolvergetEntityResolver() - -
-           
- InputSourcegetInputSource() - -
-           
- voidinternalEntityDecl(String name, - String value) - -
-          Report an internal entity declaration. - -
-protected  booleanisIgnorableEntity(String name) - -
-          a Strategy Method to determine if a given entity name is ignorable
- booleanisIgnoreComments() - -
-          Returns whether we should ignore comments or not.
- booleanisIncludeExternalDTDDeclarations() - -
-          DOCUMENT ME!
- booleanisIncludeInternalDTDDeclarations() - -
-          DOCUMENT ME!
- booleanisMergeAdjacentText() - -
-          Returns whether adjacent text nodes should be merged together.
- booleanisStripWhitespaceText() - -
-          Sets whether whitespace between element start and end tags should be - ignored
- voidnotationDecl(String name, - String publicId, - String systemId) - -
-          Receive notification of a notation declaration event. - -
- voidprocessingInstruction(String target, - String data) - -
-           
- voidsetDocumentLocator(Locator documentLocator) - -
-           
- voidsetElementStack(org.dom4j.io.ElementStack elementStack) - -
-           
- voidsetEntityResolver(EntityResolver entityResolver) - -
-           
- voidsetIgnoreComments(boolean ignoreComments) - -
-          Sets whether we should ignore comments or not.
- voidsetIncludeExternalDTDDeclarations(boolean include) - -
-          Sets whether DTD external declarations should be expanded into the - DocumentType object or not.
- voidsetIncludeInternalDTDDeclarations(boolean include) - -
-          Sets whether internal DTD declarations should be expanded into the - DocumentType object or not.
- voidsetInputSource(InputSource inputSource) - -
-           
- voidsetMergeAdjacentText(boolean mergeAdjacentText) - -
-          Sets whether or not adjacent text nodes should be merged together when - parsing.
- voidsetStripWhitespaceText(boolean stripWhitespaceText) - -
-          Sets whether whitespace between element start and end tags should be - ignored.
- voidstartCDATA() - -
-           
- voidstartDocument() - -
-           
- voidstartDTD(String name, - String publicId, - String systemId) - -
-           
- voidstartElement(String namespaceURI, - String localName, - String qualifiedName, - Attributes attributes) - -
-           
- voidstartEntity(String name) - -
-           
- voidstartPrefixMapping(String prefix, - String uri) - -
-           
- voidunparsedEntityDecl(String name, - String publicId, - String systemId, - String notationName) - -
-          Receive notification of an unparsed entity declaration event. - -
- voidwarning(SAXParseException exception) - -
-          This method is called when a warning occurs during the parsing of the - document.
- - - - - - - -
Methods inherited from class org.xml.sax.helpers.DefaultHandler
ignorableWhitespace, resolveEntity, skippedEntity
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SAXContentHandler

-
-public SAXContentHandler()
-
-
-
- -

-SAXContentHandler

-
-public SAXContentHandler(DocumentFactory documentFactory)
-
-
-
- -

-SAXContentHandler

-
-public SAXContentHandler(DocumentFactory documentFactory,
-                         ElementHandler elementHandler)
-
-
-
- -

-SAXContentHandler

-
-public SAXContentHandler(DocumentFactory documentFactory,
-                         ElementHandler elementHandler,
-                         org.dom4j.io.ElementStack elementStack)
-
-
- - - - - - - - -
-Method Detail
- -

-getDocument

-
-public Document getDocument()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the document that has been or is being built
-
-
-
- -

-setDocumentLocator

-
-public void setDocumentLocator(Locator documentLocator)
-
-
-
Specified by:
setDocumentLocator in interface ContentHandler
-
-
-
-
-
-
- -

-processingInstruction

-
-public void processingInstruction(String target,
-                                  String data)
-                           throws SAXException
-
-
-
Specified by:
processingInstruction in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startPrefixMapping

-
-public void startPrefixMapping(String prefix,
-                               String uri)
-                        throws SAXException
-
-
-
Specified by:
startPrefixMapping in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endPrefixMapping

-
-public void endPrefixMapping(String prefix)
-                      throws SAXException
-
-
-
Specified by:
endPrefixMapping in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startDocument

-
-public void startDocument()
-                   throws SAXException
-
-
-
Specified by:
startDocument in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDocument

-
-public void endDocument()
-                 throws SAXException
-
-
-
Specified by:
endDocument in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startElement

-
-public void startElement(String namespaceURI,
-                         String localName,
-                         String qualifiedName,
-                         Attributes attributes)
-                  throws SAXException
-
-
-
Specified by:
startElement in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endElement

-
-public void endElement(String namespaceURI,
-                       String localName,
-                       String qName)
-                throws SAXException
-
-
-
Specified by:
endElement in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-characters

-
-public void characters(char[] ch,
-                       int start,
-                       int end)
-                throws SAXException
-
-
-
Specified by:
characters in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-warning

-
-public void warning(SAXParseException exception)
-             throws SAXException
-
-
This method is called when a warning occurs during the parsing of the - document. This method does nothing. -

-

-
Specified by:
warning in interface ErrorHandler
-
-
-
Parameters:
exception - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-error

-
-public void error(SAXParseException exception)
-           throws SAXException
-
-
This method is called when an error is detected during parsing such as a - validation error. This method rethrows the exception -

-

-
Specified by:
error in interface ErrorHandler
-
-
-
Parameters:
exception - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-fatalError

-
-public void fatalError(SAXParseException exception)
-                throws SAXException
-
-
This method is called when a fatal error occurs during parsing. This - method rethrows the exception -

-

-
Specified by:
fatalError in interface ErrorHandler
-
-
-
Parameters:
exception - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-startDTD

-
-public void startDTD(String name,
-                     String publicId,
-                     String systemId)
-              throws SAXException
-
-
-
Specified by:
startDTD in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDTD

-
-public void endDTD()
-            throws SAXException
-
-
-
Specified by:
endDTD in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startEntity

-
-public void startEntity(String name)
-                 throws SAXException
-
-
-
Specified by:
startEntity in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endEntity

-
-public void endEntity(String name)
-               throws SAXException
-
-
-
Specified by:
endEntity in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startCDATA

-
-public void startCDATA()
-                throws SAXException
-
-
-
Specified by:
startCDATA in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endCDATA

-
-public void endCDATA()
-              throws SAXException
-
-
-
Specified by:
endCDATA in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-comment

-
-public void comment(char[] ch,
-                    int start,
-                    int end)
-             throws SAXException
-
-
-
Specified by:
comment in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-elementDecl

-
-public void elementDecl(String name,
-                        String model)
-                 throws SAXException
-
-
Report an element type declaration. - -

- The content model will consist of the string "EMPTY", the string "ANY", - or a parenthesised group, optionally followed by an occurrence indicator. - The model will be normalized so that all parameter entities are fully - resolved and all whitespace is removed,and will include the enclosing - parentheses. Other normalization (such as removing redundant parentheses - or simplifying occurrence indicators) is at the discretion of the parser. -

-

-

-
Specified by:
elementDecl in interface DeclHandler
-
-
-
Parameters:
name - The element type name.
model - The content model as a normalized string. -
Throws: -
SAXException - The application may raise an exception.
-
-
-
- -

-attributeDecl

-
-public void attributeDecl(String eName,
-                          String aName,
-                          String type,
-                          String valueDefault,
-                          String val)
-                   throws SAXException
-
-
Report an attribute type declaration. - -

- Only the effective (first) declaration for an attribute will be reported. - The type will be one of the strings "CDATA", "ID", "IDREF", "IDREFS", - "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES", a parenthesized token group - with the separator "|" and all whitespace removed, or the word "NOTATION" - followed by a space followed by a parenthesized token group with all - whitespace removed. -

- -

- Any parameter entities in the attribute value will be expanded, but - general entities will not. -

-

-

-
Specified by:
attributeDecl in interface DeclHandler
-
-
-
Parameters:
eName - The name of the associated element.
aName - The name of the attribute.
type - A string representing the attribute type.
valueDefault - A string representing the attribute default ("#IMPLIED", - "#REQUIRED", or "#FIXED") or null if none of these applies.
val - A string representing the attribute's default value, or null - if there is none. -
Throws: -
SAXException - The application may raise an exception.
-
-
-
- -

-internalEntityDecl

-
-public void internalEntityDecl(String name,
-                               String value)
-                        throws SAXException
-
-
Report an internal entity declaration. - -

- Only the effective (first) declaration for each entity will be reported. - All parameter entities in the value will be expanded, but general - entities will not. -

-

-

-
Specified by:
internalEntityDecl in interface DeclHandler
-
-
-
Parameters:
name - The name of the entity. If it is a parameter entity, the name - will begin with '%'.
value - The replacement text of the entity. -
Throws: -
SAXException - The application may raise an exception.
See Also:
externalEntityDecl(java.lang.String, java.lang.String, java.lang.String), -DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
-
-
- -

-externalEntityDecl

-
-public void externalEntityDecl(String name,
-                               String publicId,
-                               String sysId)
-                        throws SAXException
-
-
Report a parsed external entity declaration. - -

- Only the effective (first) declaration for each entity will be reported. -

-

-

-
Specified by:
externalEntityDecl in interface DeclHandler
-
-
-
Parameters:
name - The name of the entity. If it is a parameter entity, the name - will begin with '%'.
publicId - The declared public identifier of the entity, or null if none - was declared.
sysId - The declared system identifier of the entity. -
Throws: -
SAXException - The application may raise an exception.
See Also:
internalEntityDecl(java.lang.String, java.lang.String), -DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
-
-
- -

-notationDecl

-
-public void notationDecl(String name,
-                         String publicId,
-                         String systemId)
-                  throws SAXException
-
-
Receive notification of a notation declaration event. - -

- It is up to the application to record the notation for later reference, - if necessary. -

- -

- At least one of publicId and systemId must be non-null. If a system - identifier is present, and it is a URL, the SAX parser must resolve it - fully before passing it to the application through this event. -

- -

- There is no guarantee that the notation declaration will be reported - before any unparsed entities that use it. -

-

-

-
Specified by:
notationDecl in interface DTDHandler
-
-
-
Parameters:
name - The notation name.
publicId - The notation's public identifier, or null if none was given.
systemId - The notation's system identifier, or null if none was given. -
Throws: -
SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String), -AttributeList
-
-
-
- -

-unparsedEntityDecl

-
-public void unparsedEntityDecl(String name,
-                               String publicId,
-                               String systemId,
-                               String notationName)
-                        throws SAXException
-
-
Receive notification of an unparsed entity declaration event. - -

- Note that the notation name corresponds to a notation reported by the - notationDeclevent. It is up to the application to - record the entity for later reference, if necessary. -

- -

- If the system identifier is a URL, the parser must resolve it fully - before passing it to the application. -

-

-

-
Specified by:
unparsedEntityDecl in interface DTDHandler
-
-
-
Parameters:
name - The unparsed entity's name.
publicId - The entity's public identifier, or null if none was given.
systemId - The entity's system identifier.
notationName - The name of the associated notation. -
Throws: -
SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
notationDecl(java.lang.String, java.lang.String, java.lang.String), -AttributeList
-
-
-
- -

-getElementStack

-
-public org.dom4j.io.ElementStack getElementStack()
-
-
-
-
-
-
-
-
-
- -

-setElementStack

-
-public void setElementStack(org.dom4j.io.ElementStack elementStack)
-
-
-
-
-
-
-
-
-
- -

-getEntityResolver

-
-public EntityResolver getEntityResolver()
-
-
-
-
-
-
-
-
-
- -

-setEntityResolver

-
-public void setEntityResolver(EntityResolver entityResolver)
-
-
-
-
-
-
-
-
-
- -

-getInputSource

-
-public InputSource getInputSource()
-
-
-
-
-
-
-
-
-
- -

-setInputSource

-
-public void setInputSource(InputSource inputSource)
-
-
-
-
-
-
-
-
-
- -

-isIncludeInternalDTDDeclarations

-
-public boolean isIncludeInternalDTDDeclarations()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
whether internal DTD declarations should be expanded into the - DocumentType object or not.
-
-
-
- -

-setIncludeInternalDTDDeclarations

-
-public void setIncludeInternalDTDDeclarations(boolean include)
-
-
Sets whether internal DTD declarations should be expanded into the - DocumentType object or not. -

-

-
-
-
-
Parameters:
include - whether or not DTD declarations should be expanded and - included into the DocumentType object.
-
-
-
- -

-isIncludeExternalDTDDeclarations

-
-public boolean isIncludeExternalDTDDeclarations()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
whether external DTD declarations should be expanded into the - DocumentType object or not.
-
-
-
- -

-setIncludeExternalDTDDeclarations

-
-public void setIncludeExternalDTDDeclarations(boolean include)
-
-
Sets whether DTD external declarations should be expanded into the - DocumentType object or not. -

-

-
-
-
-
Parameters:
include - whether or not DTD declarations should be expanded and - included into the DocumentType object.
-
-
-
- -

-isMergeAdjacentText

-
-public boolean isMergeAdjacentText()
-
-
Returns whether adjacent text nodes should be merged together. -

-

-
-
-
- -
Returns:
Value of property mergeAdjacentText.
-
-
-
- -

-setMergeAdjacentText

-
-public void setMergeAdjacentText(boolean mergeAdjacentText)
-
-
Sets whether or not adjacent text nodes should be merged together when - parsing. -

-

-
-
-
-
Parameters:
mergeAdjacentText - New value of property mergeAdjacentText.
-
-
-
- -

-isStripWhitespaceText

-
-public boolean isStripWhitespaceText()
-
-
Sets whether whitespace between element start and end tags should be - ignored -

-

-
-
-
- -
Returns:
Value of property stripWhitespaceText.
-
-
-
- -

-setStripWhitespaceText

-
-public void setStripWhitespaceText(boolean stripWhitespaceText)
-
-
Sets whether whitespace between element start and end tags should be - ignored. -

-

-
-
-
-
Parameters:
stripWhitespaceText - New value of property stripWhitespaceText.
-
-
-
- -

-isIgnoreComments

-
-public boolean isIgnoreComments()
-
-
Returns whether we should ignore comments or not. -

-

-
-
-
- -
Returns:
boolean
-
-
-
- -

-setIgnoreComments

-
-public void setIgnoreComments(boolean ignoreComments)
-
-
Sets whether we should ignore comments or not. -

-

-
-
-
-
Parameters:
ignoreComments - whether we should ignore comments or not.
-
-
-
- -

-completeCurrentTextNode

-
-protected void completeCurrentTextNode()
-
-
If the current text buffer contains any text then create a new text node - with it and add it to the current element -

-

-
-
-
-
-
-
-
- -

-createDocument

-
-protected Document createDocument()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the current document
-
-
-
- -

-isIgnorableEntity

-
-protected boolean isIgnorableEntity(String name)
-
-
a Strategy Method to determine if a given entity name is ignorable -

-

-
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-addDeclaredNamespaces

-
-protected void addDeclaredNamespaces(Element element)
-
-
Add all namespaces declared before the startElement() SAX event to the - current element so that they are available to child elements and - attributes -

-

-
-
-
-
Parameters:
element - DOCUMENT ME!
-
-
-
- -

-addAttributes

-
-protected void addAttributes(Element element,
-                             Attributes attributes)
-
-
Add all the attributes to the given elements -

-

-
-
-
-
Parameters:
element - DOCUMENT ME!
attributes - DOCUMENT ME!
-
-
-
- -

-addDTDDeclaration

-
-protected void addDTDDeclaration(Object declaration)
-
-
Adds an internal DTD declaration to the list of declarations -

-

-
-
-
-
Parameters:
declaration - DOCUMENT ME!
-
-
-
- -

-addExternalDTDDeclaration

-
-protected void addExternalDTDDeclaration(Object declaration)
-
-
Adds an external DTD declaration to the list of declarations -

-

-
-
-
-
Parameters:
declaration - DOCUMENT ME!
-
-
-
- -

-createElementStack

-
-protected org.dom4j.io.ElementStack createElementStack()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXEventRecorder.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXEventRecorder.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXEventRecorder.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXEventRecorder.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,913 +0,0 @@ - - - - - - - -SAXEventRecorder (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXEventRecorder

-
-java.lang.Object
-  extended byorg.xml.sax.helpers.DefaultHandler
-      extended byorg.dom4j.io.SAXEventRecorder
-
-
-
All Implemented Interfaces:
ContentHandler, DeclHandler, DTDHandler, EntityResolver, ErrorHandler, Externalizable, LexicalHandler, Serializable
-
-
-
-
public class SAXEventRecorder
extends DefaultHandler
implements LexicalHandler, DeclHandler, DTDHandler, Externalizable
- -

-

- Records SAX events such that they may be "replayed" at a later time. Provides - an alternative serialization approach when externalizing a DOM4J document. - Rather than serializing a document as text and re-parsing, the sax events may - be serialized instead. -

- Example usage: - -
- 
-  
-  
-         SAXEventRecorder recorder = new SAXEventRecorder();
-         SAXWriter saxWriter = new SAXWriter(recorder, recorder);
-         saxWriter.write(document);
-         out.writeObject(recorder);
-         ...
-         SAXEventRecorder recorder = (SAXEventRecorder)in.readObject();
-         SAXContentHandler saxContentHandler = new SAXContentHandler();
-         recorder.replay(saxContentHandler);
-         Document document = saxContentHandler.getDocument();
-  
-   
-  
- 
-

- -

-

-
Author:
-
Todd Wolff (Bluestem Software)
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-static longserialVersionUID - -
-           
-  - - - - - - - - - - -
-Constructor Summary
SAXEventRecorder() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidattributeDecl(String eName, - String aName, - String type, - String valueDefault, - String value) - -
-           
- voidcharacters(char[] ch, - int start, - int end) - -
-           
- voidcomment(char[] ch, - int start, - int end) - -
-           
- voidelementDecl(String name, - String model) - -
-           
- voidendCDATA() - -
-           
- voidendDocument() - -
-           
- voidendDTD() - -
-           
- voidendElement(String namespaceURI, - String localName, - String qName) - -
-           
- voidendEntity(String name) - -
-           
- voidendPrefixMapping(String prefix) - -
-           
- voidexternalEntityDecl(String name, - String publicId, - String sysId) - -
-           
- voidinternalEntityDecl(String name, - String value) - -
-           
- voidprocessingInstruction(String target, - String data) - -
-           
- voidreadExternal(ObjectInput in) - -
-           
- voidreplay(ContentHandler handler) - -
-           
- voidstartCDATA() - -
-           
- voidstartDocument() - -
-           
- voidstartDTD(String name, - String publicId, - String systemId) - -
-           
- voidstartElement(String namespaceURI, - String localName, - String qualifiedName, - Attributes attributes) - -
-           
- voidstartEntity(String name) - -
-           
- voidstartPrefixMapping(String prefix, - String uri) - -
-           
- voidwriteExternal(ObjectOutput out) - -
-           
- - - - - - - -
Methods inherited from class org.xml.sax.helpers.DefaultHandler
error, fatalError, ignorableWhitespace, notationDecl, resolveEntity, setDocumentLocator, skippedEntity, unparsedEntityDecl, warning
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.xml.sax.DTDHandler
notationDecl, unparsedEntityDecl
-  -

- - - - - - - - -
-Field Detail
- -

-serialVersionUID

-
-public static final long serialVersionUID
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-SAXEventRecorder

-
-public SAXEventRecorder()
-
-
- - - - - - - - -
-Method Detail
- -

-replay

-
-public void replay(ContentHandler handler)
-            throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-processingInstruction

-
-public void processingInstruction(String target,
-                                  String data)
-                           throws SAXException
-
-
-
Specified by:
processingInstruction in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startPrefixMapping

-
-public void startPrefixMapping(String prefix,
-                               String uri)
-                        throws SAXException
-
-
-
Specified by:
startPrefixMapping in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endPrefixMapping

-
-public void endPrefixMapping(String prefix)
-                      throws SAXException
-
-
-
Specified by:
endPrefixMapping in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startDocument

-
-public void startDocument()
-                   throws SAXException
-
-
-
Specified by:
startDocument in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDocument

-
-public void endDocument()
-                 throws SAXException
-
-
-
Specified by:
endDocument in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startElement

-
-public void startElement(String namespaceURI,
-                         String localName,
-                         String qualifiedName,
-                         Attributes attributes)
-                  throws SAXException
-
-
-
Specified by:
startElement in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endElement

-
-public void endElement(String namespaceURI,
-                       String localName,
-                       String qName)
-                throws SAXException
-
-
-
Specified by:
endElement in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-characters

-
-public void characters(char[] ch,
-                       int start,
-                       int end)
-                throws SAXException
-
-
-
Specified by:
characters in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startDTD

-
-public void startDTD(String name,
-                     String publicId,
-                     String systemId)
-              throws SAXException
-
-
-
Specified by:
startDTD in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDTD

-
-public void endDTD()
-            throws SAXException
-
-
-
Specified by:
endDTD in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startEntity

-
-public void startEntity(String name)
-                 throws SAXException
-
-
-
Specified by:
startEntity in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endEntity

-
-public void endEntity(String name)
-               throws SAXException
-
-
-
Specified by:
endEntity in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startCDATA

-
-public void startCDATA()
-                throws SAXException
-
-
-
Specified by:
startCDATA in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endCDATA

-
-public void endCDATA()
-              throws SAXException
-
-
-
Specified by:
endCDATA in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-comment

-
-public void comment(char[] ch,
-                    int start,
-                    int end)
-             throws SAXException
-
-
-
Specified by:
comment in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-elementDecl

-
-public void elementDecl(String name,
-                        String model)
-                 throws SAXException
-
-
-
Specified by:
elementDecl in interface DeclHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-attributeDecl

-
-public void attributeDecl(String eName,
-                          String aName,
-                          String type,
-                          String valueDefault,
-                          String value)
-                   throws SAXException
-
-
-
Specified by:
attributeDecl in interface DeclHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-internalEntityDecl

-
-public void internalEntityDecl(String name,
-                               String value)
-                        throws SAXException
-
-
-
Specified by:
internalEntityDecl in interface DeclHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-externalEntityDecl

-
-public void externalEntityDecl(String name,
-                               String publicId,
-                               String sysId)
-                        throws SAXException
-
-
-
Specified by:
externalEntityDecl in interface DeclHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-writeExternal

-
-public void writeExternal(ObjectOutput out)
-                   throws IOException
-
-
-
Specified by:
writeExternal in interface Externalizable
-
-
- -
Throws: -
IOException
-
-
-
- -

-readExternal

-
-public void readExternal(ObjectInput in)
-                  throws ClassNotFoundException,
-                         IOException
-
-
-
Specified by:
readExternal in interface Externalizable
-
-
- -
Throws: -
ClassNotFoundException -
IOException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXModifier.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,730 +0,0 @@ - - - - - - - -SAXModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXModifier

-
-java.lang.Object
-  extended byorg.dom4j.io.SAXModifier
-
-
-
-
public class SAXModifier
extends Object
- -

-The SAXModifier reads, modifies and writes XML documents using SAX. - -

- Registered ElementModifierobjects can provide modifications to (part - of) the xml tree, while the document is still being processed. This makes it - possible to change large xml documents without having them in memory. -

- -

- The modified document is written when the XMLWriteris specified. -

-

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
See Also:
SAXReader, -XMLWriter
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SAXModifier() - -
-          Creates a new modifier.
SAXModifier(boolean pruneElements) - -
-          Creates a new modifier.
SAXModifier(XMLReader xmlReader) - -
-          Creates a new modifier that will the specified XMLReader to parse the source.
SAXModifier(XMLReader xmlReader, - boolean pruneElements) - -
-          Creates a new modifier that will the specified XMLReader to parse the source.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddModifier(String path, - ElementModifier modifier) - -
-          Adds the ElementModifierto be called when the specified element - path is encounted while parsing the source.
- DocumentFactorygetDocumentFactory() - -
-          Get the DocumentFactoryused to create the DOM4J - document structure
- XMLWritergetXMLWriter() - -
-          Returns the current XMLWriter.
- booleanisPruneElements() - -
-          Returns true when xml elements are not kept in memory while parsing.
- Documentmodify(File source) - -
-          Reads a Document from the given Fileand writes it to the - specified XMLWriterusing SAX.
- Documentmodify(InputSource source) - -
-          Reads a Document from the given InputSourceand - writes it to the specified XMLWriterusing SAX.
- Documentmodify(InputStream source) - -
-          Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX.
- Documentmodify(InputStream source, - String systemId) - -
-          Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX.
- Documentmodify(Reader source) - -
-          Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX.
- Documentmodify(Reader source, - String systemId) - -
-          Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX.
- Documentmodify(String source) - -
-          Reads a Document from the given URL or filename and writes it to the - specified XMLWriterusing SAX.
- Documentmodify(URL source) - -
-          Reads a Document from the given URLand writes it to the - specified XMLWriterusing SAX.
- voidremoveModifier(String path) - -
-          Removes the ElementModifierfrom the event based processor, for - the specified element path.
- voidresetModifiers() - -
-          Removes all registered ElementModifierinstances from the event - based processor.
- voidsetDocumentFactory(DocumentFactory factory) - -
-          Sets the DocumentFactoryused to create the DOM4J - document tree.
- voidsetXMLWriter(XMLWriter writer) - -
-          Sets the XMLWriterused to write the modified document.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SAXModifier

-
-public SAXModifier()
-
-
Creates a new modifier.
- The XMLReader to parse the source will be created via the - org.xml.sax.driver system property or JAXP if the system property is not - set. -

-

-
- -

-SAXModifier

-
-public SAXModifier(boolean pruneElements)
-
-
Creates a new modifier.
- The XMLReader to parse the source will be created via the - org.xml.sax.driver system property or JAXP if the system property is not - set. -

-

Parameters:
pruneElements - Set to true when the modified document must NOT be kept in - memory.
-
- -

-SAXModifier

-
-public SAXModifier(XMLReader xmlReader)
-
-
Creates a new modifier that will the specified XMLReader to parse the source. -

-

Parameters:
xmlReader - The XMLReader to use
-
- -

-SAXModifier

-
-public SAXModifier(XMLReader xmlReader,
-                   boolean pruneElements)
-
-
Creates a new modifier that will the specified XMLReader to parse the source. -

-

Parameters:
xmlReader - The XMLReader to use
pruneElements - Set to true when the modified document must NOT be kept in - memory.
- - - - - - - - -
-Method Detail
- -

-modify

-
-public Document modify(File source)
-                throws DocumentException
-
-
Reads a Document from the given Fileand writes it to the - specified XMLWriterusing SAX. Registered - objects are invoked on the fly. -

-

-
Parameters:
source - is the File to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(InputSource source)
-                throws DocumentException
-
-
Reads a Document from the given InputSourceand - writes it to the specified XMLWriterusing SAX. Registered - ElementModifierobjects are invoked on the fly. -

-

-
Parameters:
source - is the org.xml.sax.InputSource to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(InputStream source)
-                throws DocumentException
-
-
Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX. Registered ElementModifier objects are invoked on the fly. -

-

-
Parameters:
source - is the java.io.InputStream to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(InputStream source,
-                       String systemId)
-                throws DocumentException
-
-
Reads a Document from the given InputStreamand writes it - to the specified XMLWriterusing SAX. Registered ElementModifier objects are invoked on the fly. -

-

-
Parameters:
source - is the java.io.InputStream to read from.
systemId - DOCUMENT ME! -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(Reader source)
-                throws DocumentException
-
-
Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX. Registered ElementModifier objects are invoked on the fly. -

-

-
Parameters:
source - is the java.io.Reader to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(Reader source,
-                       String systemId)
-                throws DocumentException
-
-
Reads a Document from the given Readerand writes it to - the specified XMLWriterusing SAX. Registered ElementModifier objects are invoked on the fly. -

-

-
Parameters:
source - is the java.io.Reader to read from.
systemId - DOCUMENT ME! -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(URL source)
-                throws DocumentException
-
-
Reads a Document from the given URLand writes it to the - specified XMLWriterusing SAX. Registered - objects are invoked on the fly. -

-

-
Parameters:
source - is the java.net.URL to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-modify

-
-public Document modify(String source)
-                throws DocumentException
-
-
Reads a Document from the given URL or filename and writes it to the - specified XMLWriterusing SAX. Registered - objects are invoked on the fly. -

-

-
Parameters:
source - is the URL or filename to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - DocumentException org.dom4j.DocumentException} if an error - occurs during parsing.
-
-
-
- -

-addModifier

-
-public void addModifier(String path,
-                        ElementModifier modifier)
-
-
Adds the ElementModifierto be called when the specified element - path is encounted while parsing the source. -

-

-
Parameters:
path - The element path to be handled
modifier - The ElementModifierto be called by the event based - processor.
-
-
-
- -

-resetModifiers

-
-public void resetModifiers()
-
-
Removes all registered ElementModifierinstances from the event - based processor. -

-

-
-
-
-
- -

-removeModifier

-
-public void removeModifier(String path)
-
-
Removes the ElementModifierfrom the event based processor, for - the specified element path. -

-

-
Parameters:
path - The path to remove the ElementModifierfor.
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
Get the DocumentFactoryused to create the DOM4J - document structure -

-

- -
Returns:
DocumentFactory that will be used
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory factory)
-
-
Sets the DocumentFactoryused to create the DOM4J - document tree. -

-

-
Parameters:
factory - DocumentFactory to be used
-
-
-
- -

-getXMLWriter

-
-public XMLWriter getXMLWriter()
-
-
Returns the current XMLWriter. -

-

- -
Returns:
XMLWriter
-
-
-
- -

-setXMLWriter

-
-public void setXMLWriter(XMLWriter writer)
-
-
Sets the XMLWriterused to write the modified document. -

-

-
Parameters:
writer - The writer to use.
-
-
-
- -

-isPruneElements

-
-public boolean isPruneElements()
-
-
Returns true when xml elements are not kept in memory while parsing. The - Documentreturned by the modify methods will be null. -

-

- -
Returns:
Returns the pruneElements.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXReader.SAXEntityResolver.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXReader.SAXEntityResolver.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXReader.SAXEntityResolver.html 2005-05-16 13:28:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXReader.SAXEntityResolver.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,297 +0,0 @@ - - - - - - - -SAXReader.SAXEntityResolver (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXReader.SAXEntityResolver

-
-java.lang.Object
-  extended byorg.dom4j.io.SAXReader.SAXEntityResolver
-
-
-
All Implemented Interfaces:
EntityResolver, Serializable
-
-
-
Enclosing class:
SAXReader
-
-
-
-
protected static class SAXReader.SAXEntityResolver
extends Object
implements EntityResolver, Serializable
- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  StringuriPrefix - -
-           
-  - - - - - - - - - - -
-Constructor Summary
SAXReader.SAXEntityResolver(String uriPrefix) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- InputSourceresolveEntity(String publicId, - String systemId) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-uriPrefix

-
-protected String uriPrefix
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-SAXReader.SAXEntityResolver

-
-public SAXReader.SAXEntityResolver(String uriPrefix)
-
-
- - - - - - - - -
-Method Detail
- -

-resolveEntity

-
-public InputSource resolveEntity(String publicId,
-                                 String systemId)
-
-
-
Specified by:
resolveEntity in interface EntityResolver
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXReader.html 2005-05-16 13:26:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1586 +0,0 @@ - - - - - - - -SAXReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXReader

-
-java.lang.Object
-  extended byorg.dom4j.io.SAXReader
-
-
-
-
public class SAXReader
extends Object
- -

-

- SAXReader creates a DOM4J tree from SAX parsing events. -

- -

- The actual SAX parser that is used by this class is configurable so you can - use your favourite SAX parser if you wish. DOM4J comes configured with its - own SAX parser so you do not need to worry about configuring the SAX parser. -

- -

- To explicitly configure the SAX parser that is used via Java code you can use - a constructor or use the setXMLReader(XMLReader)or setXMLReaderClassName(String) methods. -

- -

- If the parser is not specified explicitly then the standard SAX policy of - using the org.xml.sax.driver system property is used to - determine the implementation class of XMLReader. -

- -

- If the org.xml.sax.driver system property is not defined then - JAXP is used via reflection (so that DOM4J is not explicitly dependent on the - JAXP classes) to load the JAXP configured SAXParser. If there is any error - creating a JAXP SAXParser an informational message is output and then the - default (Aelfred) SAX parser is used instead. -

- -

- If you are trying to use JAXP to explicitly set your SAX parser and are - experiencing problems, you can turn on verbose error reporting by defining - the system property org.dom4j.verbose to be "true" which will - output a more detailed description of why JAXP could not find a SAX parser -

- -

- For more information on JAXP please go to Sun's Java & XML site -

-

- -

-

-
Version:
-
$Revision: 1.58 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-protected static classSAXReader.SAXEntityResolver - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SAXReader() - -
-           
SAXReader(boolean validating) - -
-           
SAXReader(DocumentFactory factory) - -
-           
SAXReader(DocumentFactory factory, - boolean validating) - -
-           
SAXReader(String xmlReaderClassName) - -
-           
SAXReader(String xmlReaderClassName, - boolean validating) - -
-           
SAXReader(XMLReader xmlReader) - -
-           
SAXReader(XMLReader xmlReader, - boolean validating) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
-protected  voidconfigureReader(XMLReader reader, - DefaultHandler handler) - -
-          Configures the XMLReader before use
-protected  SAXContentHandlercreateContentHandler(XMLReader reader) - -
-          Factory Method to allow user derived SAXContentHandler objects to be used
-protected  EntityResolvercreateDefaultEntityResolver(String systemId) - -
-           
-protected  XMLReadercreateXMLReader() - -
-          Factory Method to allow alternate methods of creating and configuring - XMLReader objects
-protected  org.dom4j.io.DispatchHandlergetDispatchHandler() - -
-           
- DocumentFactorygetDocumentFactory() - -
-          DOCUMENT ME!
- StringgetEncoding() - -
-          Returns encoding used for InputSource (null means system default - encoding)
- EntityResolvergetEntityResolver() - -
-          Returns the current entity resolver used to resolve entities
- ErrorHandlergetErrorHandler() - -
-          DOCUMENT ME!
- XMLFiltergetXMLFilter() - -
-          Returns the SAX filter being used to filter SAX events.
- XMLReadergetXMLReader() - -
-          DOCUMENT ME!
-protected  XMLReaderinstallXMLFilter(XMLReader reader) - -
-          Installs any XMLFilter objects required to allow the SAX event stream to - be filtered and preprocessed before it gets to dom4j.
- booleanisIgnoreComments() - -
-          Returns whether we should ignore comments or not.
- booleanisIncludeExternalDTDDeclarations() - -
-          DOCUMENT ME!
- booleanisIncludeInternalDTDDeclarations() - -
-          DOCUMENT ME!
- booleanisMergeAdjacentText() - -
-          Returns whether adjacent text nodes should be merged together.
- booleanisStringInternEnabled() - -
-          Sets whether String interning is enabled or disabled for element & - attribute names and namespace URIs.
- booleanisStripWhitespaceText() - -
-          Sets whether whitespace between element start and end tags should be - ignored
- booleanisValidating() - -
-          DOCUMENT ME!
- Documentread(File file) - -
-           - Reads a Document from the given File -
- Documentread(InputSource in) - -
-           - Reads a Document from the given InputSource using SAX -
- Documentread(InputStream in) - -
-           - Reads a Document from the given stream using SAX -
- Documentread(InputStream in, - String systemId) - -
-           - Reads a Document from the given stream using SAX -
- Documentread(Reader reader) - -
-           - Reads a Document from the given Reader using SAX -
- Documentread(Reader reader, - String systemId) - -
-           - Reads a Document from the given Reader using SAX -
- Documentread(String systemId) - -
-           - Reads a Document from the given URL or filename using SAX. -
- Documentread(URL url) - -
-           - Reads a Document from the given URL using SAX -
- voidremoveHandler(String path) - -
-          Removes the ElementHandler from the event based processor, - for the specified path.
- voidresetHandlers() - -
-          This method clears out all the existing handlers and default handler - setting things back as if no handler existed.
- voidsetDefaultHandler(ElementHandler handler) - -
-          When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered.
-protected  voidsetDispatchHandler(org.dom4j.io.DispatchHandler dispatchHandler) - -
-           
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- voidsetEncoding(String encoding) - -
-          Sets encoding used for InputSource (null means system default encoding)
- voidsetEntityResolver(EntityResolver entityResolver) - -
-          Sets the entity resolver used to resolve entities.
- voidsetErrorHandler(ErrorHandler errorHandler) - -
-          Sets the ErrorHandler used by the SAX - XMLReader.
- voidsetFeature(String name, - boolean value) - -
-          Sets a SAX feature on the underlying SAX parser.
- voidsetIgnoreComments(boolean ignoreComments) - -
-          Sets whether we should ignore comments or not.
- voidsetIncludeExternalDTDDeclarations(boolean include) - -
-          Sets whether DTD external declarations should be expanded into the - DocumentType object or not.
- voidsetIncludeInternalDTDDeclarations(boolean include) - -
-          Sets whether internal DTD declarations should be expanded into the - DocumentType object or not.
- voidsetMergeAdjacentText(boolean mergeAdjacentText) - -
-          Sets whether or not adjacent text nodes should be merged together when - parsing.
- voidsetProperty(String name, - Object value) - -
-          Allows a SAX property to be set on the underlying SAX parser.
- voidsetStringInternEnabled(boolean stringInternEnabled) - -
-          Sets whether String interning is enabled or disabled for element & - attribute names and namespace URIs
- voidsetStripWhitespaceText(boolean stripWhitespaceText) - -
-          Sets whether whitespace between element start and end tags should be - ignored.
- voidsetValidation(boolean validation) - -
-          Sets the validation mode.
- voidsetXMLFilter(XMLFilter filter) - -
-          Sets the SAX filter to be used when filtering SAX events
- voidsetXMLReader(XMLReader reader) - -
-          Sets the XMLReader used to parse SAX events
- voidsetXMLReaderClassName(String xmlReaderClassName) - -
-          Sets the class name of the XMLReader to be used to parse - SAX events.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SAXReader

-
-public SAXReader()
-
-
-
- -

-SAXReader

-
-public SAXReader(boolean validating)
-
-
-
- -

-SAXReader

-
-public SAXReader(DocumentFactory factory)
-
-
-
- -

-SAXReader

-
-public SAXReader(DocumentFactory factory,
-                 boolean validating)
-
-
-
- -

-SAXReader

-
-public SAXReader(XMLReader xmlReader)
-
-
-
- -

-SAXReader

-
-public SAXReader(XMLReader xmlReader,
-                 boolean validating)
-
-
-
- -

-SAXReader

-
-public SAXReader(String xmlReaderClassName)
-          throws SAXException
-
-
-
- -

-SAXReader

-
-public SAXReader(String xmlReaderClassName,
-                 boolean validating)
-          throws SAXException
-
-
- - - - - - - - -
-Method Detail
- -

-setProperty

-
-public void setProperty(String name,
-                        Object value)
-                 throws SAXException
-
-
Allows a SAX property to be set on the underlying SAX parser. This can be - useful to set parser-specific properties such as the location of schema - or DTD resources. Though use this method with caution as it has the - possibility of breaking the standard behaviour. An alternative to calling - this method is to correctly configure an XMLReader object instance and - call the setXMLReader(XMLReader)method -

-

-
Parameters:
name - is the SAX property name
value - is the value of the SAX property -
Throws: -
SAXException - if the XMLReader could not be created or the property could - not be changed.
-
-
-
- -

-setFeature

-
-public void setFeature(String name,
-                       boolean value)
-                throws SAXException
-
-
Sets a SAX feature on the underlying SAX parser. This can be useful to - set parser-specific features. Though use this method with caution as it - has the possibility of breaking the standard behaviour. An alternative to - calling this method is to correctly configure an XMLReader object - instance and call the setXMLReader(XMLReader)method -

-

-
Parameters:
name - is the SAX feature name
value - is the value of the SAX feature -
Throws: -
SAXException - if the XMLReader could not be created or the feature could - not be changed.
-
-
-
- -

-read

-
-public Document read(File file)
-              throws DocumentException
-
-

- Reads a Document from the given File -

-

-

-
Parameters:
file - is the File to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(URL url)
-              throws DocumentException
-
-

- Reads a Document from the given URL using SAX -

-

-

-
Parameters:
url - URL to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(String systemId)
-              throws DocumentException
-
-

- Reads a Document from the given URL or filename using SAX. -

- -

- If the systemId contains a ':' character then it is - assumed to be a URL otherwise its assumed to be a file name. If you want - finer grained control over this mechansim then please explicitly pass in - either a URLor a Fileinstance instead of a String to denote the source of the document. -

-

-

-
Parameters:
systemId - is a URL for a document or a file name. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(InputStream in)
-              throws DocumentException
-
-

- Reads a Document from the given stream using SAX -

-

-

-
Parameters:
in - InputStream to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(Reader reader)
-              throws DocumentException
-
-

- Reads a Document from the given Reader using SAX -

-

-

-
Parameters:
reader - is the reader for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(InputStream in,
-                     String systemId)
-              throws DocumentException
-
-

- Reads a Document from the given stream using SAX -

-

-

-
Parameters:
in - InputStream to read from.
systemId - is the URI for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(Reader reader,
-                     String systemId)
-              throws DocumentException
-
-

- Reads a Document from the given Reader using SAX -

-

-

-
Parameters:
reader - is the reader for the input
systemId - is the URI for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-read

-
-public Document read(InputSource in)
-              throws DocumentException
-
-

- Reads a Document from the given InputSource using SAX -

-

-

-
Parameters:
in - InputSource to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing.
-
-
-
- -

-isValidating

-
-public boolean isValidating()
-
-
DOCUMENT ME! -

-

- -
Returns:
the validation mode, true if validating will be done otherwise - false.
-
-
-
- -

-setValidation

-
-public void setValidation(boolean validation)
-
-
Sets the validation mode. -

-

-
Parameters:
validation - indicates whether or not validation should occur.
-
-
-
- -

-isIncludeInternalDTDDeclarations

-
-public boolean isIncludeInternalDTDDeclarations()
-
-
DOCUMENT ME! -

-

- -
Returns:
whether internal DTD declarations should be expanded into the - DocumentType object or not.
-
-
-
- -

-setIncludeInternalDTDDeclarations

-
-public void setIncludeInternalDTDDeclarations(boolean include)
-
-
Sets whether internal DTD declarations should be expanded into the - DocumentType object or not. -

-

-
Parameters:
include - whether or not DTD declarations should be expanded and - included into the DocumentType object.
-
-
-
- -

-isIncludeExternalDTDDeclarations

-
-public boolean isIncludeExternalDTDDeclarations()
-
-
DOCUMENT ME! -

-

- -
Returns:
whether external DTD declarations should be expanded into the - DocumentType object or not.
-
-
-
- -

-setIncludeExternalDTDDeclarations

-
-public void setIncludeExternalDTDDeclarations(boolean include)
-
-
Sets whether DTD external declarations should be expanded into the - DocumentType object or not. -

-

-
Parameters:
include - whether or not DTD declarations should be expanded and - included into the DocumentType object.
-
-
-
- -

-isStringInternEnabled

-
-public boolean isStringInternEnabled()
-
-
Sets whether String interning is enabled or disabled for element & - attribute names and namespace URIs. This proprety is enabled by default. -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setStringInternEnabled

-
-public void setStringInternEnabled(boolean stringInternEnabled)
-
-
Sets whether String interning is enabled or disabled for element & - attribute names and namespace URIs -

-

-
Parameters:
stringInternEnabled - DOCUMENT ME!
-
-
-
- -

-isMergeAdjacentText

-
-public boolean isMergeAdjacentText()
-
-
Returns whether adjacent text nodes should be merged together. -

-

- -
Returns:
Value of property mergeAdjacentText.
-
-
-
- -

-setMergeAdjacentText

-
-public void setMergeAdjacentText(boolean mergeAdjacentText)
-
-
Sets whether or not adjacent text nodes should be merged together when - parsing. -

-

-
Parameters:
mergeAdjacentText - New value of property mergeAdjacentText.
-
-
-
- -

-isStripWhitespaceText

-
-public boolean isStripWhitespaceText()
-
-
Sets whether whitespace between element start and end tags should be - ignored -

-

- -
Returns:
Value of property stripWhitespaceText.
-
-
-
- -

-setStripWhitespaceText

-
-public void setStripWhitespaceText(boolean stripWhitespaceText)
-
-
Sets whether whitespace between element start and end tags should be - ignored. -

-

-
Parameters:
stripWhitespaceText - New value of property stripWhitespaceText.
-
-
-
- -

-isIgnoreComments

-
-public boolean isIgnoreComments()
-
-
Returns whether we should ignore comments or not. -

-

- -
Returns:
boolean
-
-
-
- -

-setIgnoreComments

-
-public void setIgnoreComments(boolean ignoreComments)
-
-
Sets whether we should ignore comments or not. -

-

-
Parameters:
ignoreComments - whether we should ignore comments or not.
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
DOCUMENT ME! -

-

- -
Returns:
the DocumentFactory used to create document - objects
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-

- This sets the DocumentFactory used to create new - documents. This method allows the building of custom DOM4J tree objects - to be implemented easily using a custom derivation of - DocumentFactory -

-

-

-
Parameters:
documentFactory - DocumentFactory used to create DOM4J objects
-
-
-
- -

-getErrorHandler

-
-public ErrorHandler getErrorHandler()
-
-
DOCUMENT ME! -

-

- -
Returns:
the ErrorHandler used by SAX
-
-
-
- -

-setErrorHandler

-
-public void setErrorHandler(ErrorHandler errorHandler)
-
-
Sets the ErrorHandler used by the SAX - XMLReader. -

-

-
Parameters:
errorHandler - is the ErrorHandler used by SAX
-
-
-
- -

-getEntityResolver

-
-public EntityResolver getEntityResolver()
-
-
Returns the current entity resolver used to resolve entities -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setEntityResolver

-
-public void setEntityResolver(EntityResolver entityResolver)
-
-
Sets the entity resolver used to resolve entities. -

-

-
Parameters:
entityResolver - DOCUMENT ME!
-
-
-
- -

-getXMLReader

-
-public XMLReader getXMLReader()
-                       throws SAXException
-
-
DOCUMENT ME! -

-

- -
Returns:
the XMLReader used to parse SAX events -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-setXMLReader

-
-public void setXMLReader(XMLReader reader)
-
-
Sets the XMLReader used to parse SAX events -

-

-
Parameters:
reader - is the XMLReader to parse SAX events
-
-
-
- -

-getEncoding

-
-public String getEncoding()
-
-
Returns encoding used for InputSource (null means system default - encoding) -

-

- -
Returns:
encoding used for InputSource
-
-
-
- -

-setEncoding

-
-public void setEncoding(String encoding)
-
-
Sets encoding used for InputSource (null means system default encoding) -

-

-
Parameters:
encoding - is encoding used for InputSource
-
-
-
- -

-setXMLReaderClassName

-
-public void setXMLReaderClassName(String xmlReaderClassName)
-                           throws SAXException
-
-
Sets the class name of the XMLReader to be used to parse - SAX events. -

-

-
Parameters:
xmlReaderClassName - is the class name of the XMLReader to parse SAX - events -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-addHandler

-
-public void addHandler(String path,
-                       ElementHandler handler)
-
-
Adds the ElementHandler to be called when the specified - path is encounted. -

-

-
Parameters:
path - is the path to be handled
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-removeHandler

-
-public void removeHandler(String path)
-
-
Removes the ElementHandler from the event based processor, - for the specified path. -

-

-
Parameters:
path - is the path to remove the ElementHandler for.
-
-
-
- -

-setDefaultHandler

-
-public void setDefaultHandler(ElementHandler handler)
-
-
When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered. -

-

-
Parameters:
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-resetHandlers

-
-public void resetHandlers()
-
-
This method clears out all the existing handlers and default handler - setting things back as if no handler existed. Useful when reusing an - object instance. -

-

-
-
-
-
- -

-getXMLFilter

-
-public XMLFilter getXMLFilter()
-
-
Returns the SAX filter being used to filter SAX events. -

-

- -
Returns:
the SAX filter being used or null if no SAX filter is installed
-
-
-
- -

-setXMLFilter

-
-public void setXMLFilter(XMLFilter filter)
-
-
Sets the SAX filter to be used when filtering SAX events -

-

-
Parameters:
filter - is the SAX filter to use or null to disable filtering
-
-
-
- -

-installXMLFilter

-
-protected XMLReader installXMLFilter(XMLReader reader)
-
-
Installs any XMLFilter objects required to allow the SAX event stream to - be filtered and preprocessed before it gets to dom4j. -

-

-
Parameters:
reader - DOCUMENT ME! -
Returns:
the new XMLFilter if applicable or the original XMLReader if no - filter is being used.
-
-
-
- -

-getDispatchHandler

-
-protected org.dom4j.io.DispatchHandler getDispatchHandler()
-
-
-
-
-
-
- -

-setDispatchHandler

-
-protected void setDispatchHandler(org.dom4j.io.DispatchHandler dispatchHandler)
-
-
-
-
-
-
- -

-createXMLReader

-
-protected XMLReader createXMLReader()
-                             throws SAXException
-
-
Factory Method to allow alternate methods of creating and configuring - XMLReader objects -

-

- -
Returns:
DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-configureReader

-
-protected void configureReader(XMLReader reader,
-                               DefaultHandler handler)
-                        throws DocumentException
-
-
Configures the XMLReader before use -

-

-
Parameters:
reader - DOCUMENT ME!
handler - DOCUMENT ME! -
Throws: -
DocumentException - DOCUMENT ME!
-
-
-
- -

-createContentHandler

-
-protected SAXContentHandler createContentHandler(XMLReader reader)
-
-
Factory Method to allow user derived SAXContentHandler objects to be used -

-

-
Parameters:
reader - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createDefaultEntityResolver

-
-protected EntityResolver createDefaultEntityResolver(String systemId)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXValidator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXValidator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXValidator.html 2005-05-16 13:27:53.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXValidator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,436 +0,0 @@ - - - - - - - -SAXValidator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXValidator

-
-java.lang.Object
-  extended byorg.dom4j.io.SAXValidator
-
-
-
-
public class SAXValidator
extends Object
- -

-

- SAXValidator validates an XML document by writing the document - to a text buffer and parsing it with a validating SAX parser. This could be - implemented much more efficiently by validating against the dom4j object - model directly but at least allows the reuse of existing SAX based validating - parsers. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SAXValidator() - -
-           
SAXValidator(XMLReader xmlReader) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidconfigureReader() - -
-          Configures the XMLReader before use
-protected  XMLReadercreateXMLReader() - -
-          Factory Method to allow alternate methods of creating and configuring - XMLReader objects
- ErrorHandlergetErrorHandler() - -
-          DOCUMENT ME!
- XMLReadergetXMLReader() - -
-          DOCUMENT ME!
- voidsetErrorHandler(ErrorHandler errorHandler) - -
-          Sets the ErrorHandler used by the SAX - XMLReader.
- voidsetXMLReader(XMLReader reader) - -
-          Sets the XMLReader used to parse SAX events
- voidvalidate(Document document) - -
-          Validates the given Document by writing it to a validating - SAX Parser.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SAXValidator

-
-public SAXValidator()
-
-
-
- -

-SAXValidator

-
-public SAXValidator(XMLReader xmlReader)
-
-
- - - - - - - - -
-Method Detail
- -

-validate

-
-public void validate(Document document)
-              throws SAXException
-
-
Validates the given Document by writing it to a validating - SAX Parser. -

-

-
Parameters:
document - is the Document to validate -
Throws: -
SAXException - if a validation error occurs -
RuntimeException - DOCUMENT ME!
-
-
-
- -

-getXMLReader

-
-public XMLReader getXMLReader()
-                       throws SAXException
-
-
DOCUMENT ME! -

-

- -
Returns:
the XMLReader used to parse SAX events -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-setXMLReader

-
-public void setXMLReader(XMLReader reader)
-                  throws SAXException
-
-
Sets the XMLReader used to parse SAX events -

-

-
Parameters:
reader - is the XMLReader to parse SAX events -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-getErrorHandler

-
-public ErrorHandler getErrorHandler()
-
-
DOCUMENT ME! -

-

- -
Returns:
the ErrorHandler used by SAX
-
-
-
- -

-setErrorHandler

-
-public void setErrorHandler(ErrorHandler errorHandler)
-
-
Sets the ErrorHandler used by the SAX - XMLReader. -

-

-
Parameters:
errorHandler - is the ErrorHandler used by SAX
-
-
-
- -

-createXMLReader

-
-protected XMLReader createXMLReader()
-                             throws SAXException
-
-
Factory Method to allow alternate methods of creating and configuring - XMLReader objects -

-

- -
Returns:
DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-configureReader

-
-protected void configureReader()
-                        throws SAXException
-
-
Configures the XMLReader before use -

-

- -
Throws: -
SAXException - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/SAXWriter.html 2005-05-16 13:27:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/SAXWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1562 +0,0 @@ - - - - - - - -SAXWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class SAXWriter

-
-java.lang.Object
-  extended byorg.dom4j.io.SAXWriter
-
-
-
All Implemented Interfaces:
XMLReader
-
-
-
-
public class SAXWriter
extends Object
implements XMLReader
- -

-

- SAXWriter writes a DOM4J tree to a SAX ContentHandler. -

-

- -

-

-
Version:
-
$Revision: 1.24 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static StringFEATURE_NAMESPACE_PREFIXES - -
-           
-protected static StringFEATURE_NAMESPACES - -
-           
-protected static String[]LEXICAL_HANDLER_NAMES - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SAXWriter() - -
-           
SAXWriter(ContentHandler contentHandler) - -
-           
SAXWriter(ContentHandler contentHandler, - LexicalHandler lexicalHandler) - -
-           
SAXWriter(ContentHandler contentHandler, - LexicalHandler lexicalHandler, - EntityResolver entityResolver) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  AttributesImpladdNamespaceAttribute(AttributesImpl attrs, - Namespace namespace) - -
-          If isDelcareNamespaceAttributes() is enabled then this method will add - the given namespace declaration to the supplied attributes object, - creating one if it does not exist.
-protected  voidcheckForNullHandlers() - -
-          Ensures non-null content handlers?
-protected  AttributescreateAttributes(Element element, - Attributes namespaceAttributes) - -
-           
-protected  voiddocumentLocator(Document document) - -
-          The Locatoris only really useful when parsing a - textual document as its main purpose is to identify the line and column - number.
-protected  voiddtdHandler(Document document) - -
-          We do not yet support DTD or XML Schemas so this method does nothing - right now.
-protected  voidendDocument() - -
-           
-protected  voidendElement(Element element) - -
-           
-protected  voidendPrefixMapping(NamespaceStack stack, - int stackSize) - -
-          Fires a SAX endPrefixMapping event for all the namespaceStack which have - gone out of scope
-protected  voidentityResolver(Document document) - -
-           
- ContentHandlergetContentHandler() - -
-          DOCUMENT ME!
- DTDHandlergetDTDHandler() - -
-          DOCUMENT ME!
- EntityResolvergetEntityResolver() - -
-          DOCUMENT ME!
- ErrorHandlergetErrorHandler() - -
-          DOCUMENT ME!
- booleangetFeature(String name) - -
-          Looks up the value of a feature.
- LexicalHandlergetLexicalHandler() - -
-          DOCUMENT ME!
- ObjectgetProperty(String name) - -
-          Gets the given SAX property
- booleanisDeclareNamespaceAttributes() - -
-          Should namespace declarations be converted to "xmlns" attributes.
-protected  booleanisIgnoreableNamespace(Namespace namespace, - NamespaceStack namespaceStack) - -
-          DOCUMENT ME!
- voidparse(InputSource input) - -
-          Parses an XML document.
- voidparse(String systemId) - -
-          This method is not supported.
- voidsetContentHandler(ContentHandler contentHandler) - -
-          Sets the ContentHandler called when SAX events are raised
- voidsetDeclareNamespaceAttributes(boolean declareNamespaceAttrs) - -
-          Sets whether namespace declarations should be exported as "xmlns" - attributes or not.
- voidsetDTDHandler(DTDHandler handler) - -
-          Sets the DTDHandler.
- voidsetEntityResolver(EntityResolver entityResolver) - -
-          Sets the EntityResolver.
- voidsetErrorHandler(ErrorHandler errorHandler) - -
-          Sets the ErrorHandler.
- voidsetFeature(String name, - boolean value) - -
-          This implementation does actually use any features but just stores them - for later retrieval
- voidsetLexicalHandler(LexicalHandler lexicalHandler) - -
-          Sets the LexicalHandler.
- voidsetProperty(String name, - Object value) - -
-          Sets the given SAX property
- voidsetXMLReader(XMLReader xmlReader) - -
-          Sets the XMLReader used to write SAX events to
-protected  voidstartDocument() - -
-           
-protected  voidstartElement(Element element, - AttributesImpl namespaceAttributes) - -
-           
-protected  AttributesImplstartPrefixMapping(Element element, - NamespaceStack namespaceStack) - -
-          Fires a SAX startPrefixMapping event for all the namespaceStack which - have just come into scope
- voidwrite(CDATA cdata) - -
-          Generates SAX events for the given CDATA
- voidwrite(Comment comment) - -
-          Generates SAX events for the given Comment
- voidwrite(Document document) - -
-          Generates SAX events for the given Document and all its content
- voidwrite(Element element) - -
-          Generates SAX events for the given Element and all its content
-protected  voidwrite(Element element, - NamespaceStack namespaceStack) - -
-           
- voidwrite(Entity entity) - -
-          Generates SAX events for the given Entity
- voidwrite(Node node) - -
-          A polymorphic method to write any Node to this SAX stream
- voidwrite(ProcessingInstruction pi) - -
-          Generates SAX events for the given ProcessingInstruction
- voidwrite(String text) - -
-          Generates SAX events for the given text
- voidwriteClose(Element element) - -
-           - Writes the closing tag of an Element -
-protected  voidwriteContent(Branch branch, - NamespaceStack namespaceStack) - -
-           
- voidwriteOpen(Element element) - -
-           - Writes the opening tag of an Element, including its Attributes but without its content. -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-LEXICAL_HANDLER_NAMES

-
-protected static final String[] LEXICAL_HANDLER_NAMES
-
-
-
-
-
- -

-FEATURE_NAMESPACE_PREFIXES

-
-protected static final String FEATURE_NAMESPACE_PREFIXES
-
-
-
See Also:
Constant Field Values
-
-
- -

-FEATURE_NAMESPACES

-
-protected static final String FEATURE_NAMESPACES
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-SAXWriter

-
-public SAXWriter()
-
-
-
- -

-SAXWriter

-
-public SAXWriter(ContentHandler contentHandler)
-
-
-
- -

-SAXWriter

-
-public SAXWriter(ContentHandler contentHandler,
-                 LexicalHandler lexicalHandler)
-
-
-
- -

-SAXWriter

-
-public SAXWriter(ContentHandler contentHandler,
-                 LexicalHandler lexicalHandler,
-                 EntityResolver entityResolver)
-
-
- - - - - - - - -
-Method Detail
- -

-write

-
-public void write(Node node)
-           throws SAXException
-
-
A polymorphic method to write any Node to this SAX stream -

-

-
-
-
-
Parameters:
node - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Document document)
-           throws SAXException
-
-
Generates SAX events for the given Document and all its content -

-

-
-
-
-
Parameters:
document - is the Document to parse -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-write

-
-public void write(Element element)
-           throws SAXException
-
-
Generates SAX events for the given Element and all its content -

-

-
-
-
-
Parameters:
element - is the Element to parse -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-writeOpen

-
-public void writeOpen(Element element)
-               throws SAXException
-
-

- Writes the opening tag of an Element, including its Attributes but without its content. -

-

-

-
-
-
-
Parameters:
element - Element to output. -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-writeClose

-
-public void writeClose(Element element)
-                throws SAXException
-
-

- Writes the closing tag of an Element -

-

-

-
-
-
-
Parameters:
element - Element to output. -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(String text)
-           throws SAXException
-
-
Generates SAX events for the given text -

-

-
-
-
-
Parameters:
text - is the text to send to the SAX ContentHandler -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-write

-
-public void write(CDATA cdata)
-           throws SAXException
-
-
Generates SAX events for the given CDATA -

-

-
-
-
-
Parameters:
cdata - is the CDATA to parse -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-write

-
-public void write(Comment comment)
-           throws SAXException
-
-
Generates SAX events for the given Comment -

-

-
-
-
-
Parameters:
comment - is the Comment to parse -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-write

-
-public void write(Entity entity)
-           throws SAXException
-
-
Generates SAX events for the given Entity -

-

-
-
-
-
Parameters:
entity - is the Entity to parse -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-write

-
-public void write(ProcessingInstruction pi)
-           throws SAXException
-
-
Generates SAX events for the given ProcessingInstruction -

-

-
-
-
-
Parameters:
pi - is the ProcessingInstruction to parse -
Throws: -
SAXException - if there is a SAX error processing the events
-
-
-
- -

-isDeclareNamespaceAttributes

-
-public boolean isDeclareNamespaceAttributes()
-
-
Should namespace declarations be converted to "xmlns" attributes. This - property defaults to false as per the SAX specification. - This property is set via the SAX feature - "http://xml.org/sax/features/namespace-prefixes" -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setDeclareNamespaceAttributes

-
-public void setDeclareNamespaceAttributes(boolean declareNamespaceAttrs)
-
-
Sets whether namespace declarations should be exported as "xmlns" - attributes or not. This property is set from the SAX feature - "http://xml.org/sax/features/namespace-prefixes" -

-

-
-
-
-
Parameters:
declareNamespaceAttrs - DOCUMENT ME!
-
-
-
- -

-getContentHandler

-
-public ContentHandler getContentHandler()
-
-
DOCUMENT ME! -

-

-
Specified by:
getContentHandler in interface XMLReader
-
-
- -
Returns:
the ContentHandler called when SAX events are - raised
-
-
-
- -

-setContentHandler

-
-public void setContentHandler(ContentHandler contentHandler)
-
-
Sets the ContentHandler called when SAX events are raised -

-

-
Specified by:
setContentHandler in interface XMLReader
-
-
-
Parameters:
contentHandler - is the ContentHandler called when SAX events - are raised
-
-
-
- -

-getDTDHandler

-
-public DTDHandler getDTDHandler()
-
-
DOCUMENT ME! -

-

-
Specified by:
getDTDHandler in interface XMLReader
-
-
- -
Returns:
the DTDHandler
-
-
-
- -

-setDTDHandler

-
-public void setDTDHandler(DTDHandler handler)
-
-
Sets the DTDHandler. -

-

-
Specified by:
setDTDHandler in interface XMLReader
-
-
-
Parameters:
handler - DOCUMENT ME!
-
-
-
- -

-getErrorHandler

-
-public ErrorHandler getErrorHandler()
-
-
DOCUMENT ME! -

-

-
Specified by:
getErrorHandler in interface XMLReader
-
-
- -
Returns:
the ErrorHandler
-
-
-
- -

-setErrorHandler

-
-public void setErrorHandler(ErrorHandler errorHandler)
-
-
Sets the ErrorHandler. -

-

-
Specified by:
setErrorHandler in interface XMLReader
-
-
-
Parameters:
errorHandler - DOCUMENT ME!
-
-
-
- -

-getEntityResolver

-
-public EntityResolver getEntityResolver()
-
-
DOCUMENT ME! -

-

-
Specified by:
getEntityResolver in interface XMLReader
-
-
- -
Returns:
the EntityResolver used when a Document contains a - DTD
-
-
-
- -

-setEntityResolver

-
-public void setEntityResolver(EntityResolver entityResolver)
-
-
Sets the EntityResolver. -

-

-
Specified by:
setEntityResolver in interface XMLReader
-
-
-
Parameters:
entityResolver - is the EntityResolver
-
-
-
- -

-getLexicalHandler

-
-public LexicalHandler getLexicalHandler()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the LexicalHandler used when a Document contains a - DTD
-
-
-
- -

-setLexicalHandler

-
-public void setLexicalHandler(LexicalHandler lexicalHandler)
-
-
Sets the LexicalHandler. -

-

-
-
-
-
Parameters:
lexicalHandler - is the LexicalHandler
-
-
-
- -

-setXMLReader

-
-public void setXMLReader(XMLReader xmlReader)
-
-
Sets the XMLReader used to write SAX events to -

-

-
-
-
-
Parameters:
xmlReader - is the XMLReader
-
-
-
- -

-getFeature

-
-public boolean getFeature(String name)
-                   throws SAXNotRecognizedException,
-                          SAXNotSupportedException
-
-
Looks up the value of a feature. -

-

-
Specified by:
getFeature in interface XMLReader
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
DOCUMENT ME! -
Throws: -
SAXNotRecognizedException - DOCUMENT ME! -
SAXNotSupportedException - DOCUMENT ME!
-
-
-
- -

-setFeature

-
-public void setFeature(String name,
-                       boolean value)
-                throws SAXNotRecognizedException,
-                       SAXNotSupportedException
-
-
This implementation does actually use any features but just stores them - for later retrieval -

-

-
Specified by:
setFeature in interface XMLReader
-
-
-
Parameters:
name - DOCUMENT ME!
value - DOCUMENT ME! -
Throws: -
SAXNotRecognizedException - DOCUMENT ME! -
SAXNotSupportedException - DOCUMENT ME!
-
-
-
- -

-setProperty

-
-public void setProperty(String name,
-                        Object value)
-
-
Sets the given SAX property -

-

-
Specified by:
setProperty in interface XMLReader
-
-
-
Parameters:
name - DOCUMENT ME!
value - DOCUMENT ME!
-
-
-
- -

-getProperty

-
-public Object getProperty(String name)
-                   throws SAXNotRecognizedException,
-                          SAXNotSupportedException
-
-
Gets the given SAX property -

-

-
Specified by:
getProperty in interface XMLReader
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
DOCUMENT ME! -
Throws: -
SAXNotRecognizedException - DOCUMENT ME! -
SAXNotSupportedException - DOCUMENT ME!
-
-
-
- -

-parse

-
-public void parse(String systemId)
-           throws SAXNotSupportedException
-
-
This method is not supported. -

-

-
Specified by:
parse in interface XMLReader
-
-
-
Parameters:
systemId - DOCUMENT ME! -
Throws: -
SAXNotSupportedException - DOCUMENT ME!
-
-
-
- -

-parse

-
-public void parse(InputSource input)
-           throws SAXException
-
-
Parses an XML document. This method can only accept DocumentInputSource - inputs otherwise a SAXNotSupportedExceptionexception is thrown. -

-

-
Specified by:
parse in interface XMLReader
-
-
-
Parameters:
input - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME! -
SAXNotSupportedException - if the input source is not wrapping a dom4j document
-
-
-
- -

-writeContent

-
-protected void writeContent(Branch branch,
-                            NamespaceStack namespaceStack)
-                     throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-documentLocator

-
-protected void documentLocator(Document document)
-                        throws SAXException
-
-
The Locatoris only really useful when parsing a - textual document as its main purpose is to identify the line and column - number. Since we are processing an in memory tree which will probably - have its line number information removed, we'll just use -1 for the line - and column numbers. -

-

-
-
-
-
Parameters:
document - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-entityResolver

-
-protected void entityResolver(Document document)
-                       throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-dtdHandler

-
-protected void dtdHandler(Document document)
-                   throws SAXException
-
-
We do not yet support DTD or XML Schemas so this method does nothing - right now. -

-

-
-
-
-
Parameters:
document - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-startDocument

-
-protected void startDocument()
-                      throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDocument

-
-protected void endDocument()
-                    throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-write

-
-protected void write(Element element,
-                     NamespaceStack namespaceStack)
-              throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startPrefixMapping

-
-protected AttributesImpl startPrefixMapping(Element element,
-                                            NamespaceStack namespaceStack)
-                                     throws SAXException
-
-
Fires a SAX startPrefixMapping event for all the namespaceStack which - have just come into scope -

-

-
-
-
-
Parameters:
element - DOCUMENT ME!
namespaceStack - DOCUMENT ME! -
Returns:
DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-endPrefixMapping

-
-protected void endPrefixMapping(NamespaceStack stack,
-                                int stackSize)
-                         throws SAXException
-
-
Fires a SAX endPrefixMapping event for all the namespaceStack which have - gone out of scope -

-

-
-
-
-
Parameters:
stack - DOCUMENT ME!
stackSize - DOCUMENT ME! -
Throws: -
SAXException - DOCUMENT ME!
-
-
-
- -

-startElement

-
-protected void startElement(Element element,
-                            AttributesImpl namespaceAttributes)
-                     throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endElement

-
-protected void endElement(Element element)
-                   throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-createAttributes

-
-protected Attributes createAttributes(Element element,
-                                      Attributes namespaceAttributes)
-                               throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-addNamespaceAttribute

-
-protected AttributesImpl addNamespaceAttribute(AttributesImpl attrs,
-                                               Namespace namespace)
-
-
If isDelcareNamespaceAttributes() is enabled then this method will add - the given namespace declaration to the supplied attributes object, - creating one if it does not exist. -

-

-
-
-
-
Parameters:
attrs - DOCUMENT ME!
namespace - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-isIgnoreableNamespace

-
-protected boolean isIgnoreableNamespace(Namespace namespace,
-                                        NamespaceStack namespaceStack)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
namespace - DOCUMENT ME!
namespaceStack - DOCUMENT ME! -
Returns:
true if the given namespace is an ignorable namespace (such as - Namespace.NO_NAMESPACE or Namespace.XML_NAMESPACE) or if the - namespace has already been declared in the current scope
-
-
-
- -

-checkForNullHandlers

-
-protected void checkForNullHandlers()
-
-
Ensures non-null content handlers? -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/STAXEventReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/STAXEventReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/STAXEventReader.html 2005-05-16 13:27:26.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/STAXEventReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,849 +0,0 @@ - - - - - - - -STAXEventReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class STAXEventReader

-
-java.lang.Object
-  extended byorg.dom4j.io.STAXEventReader
-
-
-
-
public class STAXEventReader
extends Object
- -

-Reads a DOM4J Document, as well as other Nodes, from a StAX - XMLEventReader. -

- -

-

-
Author:
-
Christian Niles
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
STAXEventReader() - -
-          Constructs a default STAXEventReader instance with a - default DocumentFactory.
STAXEventReader(DocumentFactory factory) - -
-          Constructs a STAXEventReader instance that uses the - specified DocumentFactoryto construct DOM4J Nodes.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element elem, - javax.xml.stream.events.Attribute attr) - -
-          Constructs a new DOM4J Attribute from the provided StAX Attribute event.
- CharacterDatacreateCharacterData(javax.xml.stream.events.Characters characters) - -
-          Constructs a new DOM4J Text or CDATA object from the provided Characters - event.
- CommentcreateComment(javax.xml.stream.events.Comment comment) - -
-          Constructs a new DOM4J Comment from the provided StAX Comment event.
- ElementcreateElement(javax.xml.stream.events.StartElement startEvent) - -
-          Constructs a new DOM4J Element from the provided StartElement event.
- EntitycreateEntity(javax.xml.stream.events.EntityReference entityRef) - -
-          Constructs a new DOM4J Entity from the provided StAX EntityReference - event.
- NamespacecreateNamespace(javax.xml.stream.events.Namespace ns) - -
-          Constructs a new DOM4J Namespace from the provided StAX Namespace event.
- ProcessingInstructioncreateProcessingInstruction(javax.xml.stream.events.ProcessingInstruction pi) - -
-          Constructs a new DOM4J ProcessingInstruction from the provided StAX - ProcessingInstruction event.
- QNamecreateQName(javax.xml.namespace.QName qname) - -
-          Constructs a new DOM4J QName from the provided JAXP QName.
- AttributereadAttribute(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Attribute from the provided event stream.
- CharacterDatareadCharacters(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Text or CDATA section from the provided event stream. -
- CommentreadComment(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Comment from the provided event stream.
- DocumentreadDocument(InputStream is) - -
-          Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it.
- DocumentreadDocument(InputStream is, - String systemId) - -
-          Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it.
- DocumentreadDocument(Reader reader) - -
-          Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it.
- DocumentreadDocument(Reader reader, - String systemId) - -
-          Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it.
- DocumentreadDocument(javax.xml.stream.XMLEventReader reader) - -
-          Reads a DOM4J Documentfrom the provided stream.
- ElementreadElement(javax.xml.stream.XMLEventReader eventReader) - -
-          Reads a DOM4J Element from the provided event stream.
- EntityreadEntityReference(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Entity from the provided event stream.
- NamespacereadNamespace(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J Namespace from the provided event stream.
- NodereadNode(javax.xml.stream.XMLEventReader reader) - -
-          Reads a Nodefrom the event stream.
- ProcessingInstructionreadProcessingInstruction(javax.xml.stream.XMLEventReader reader) - -
-          Constructs a DOM4J ProcessingInstruction from the provided event stream. -
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-          Sets the DocumentFactory to be used when constructing DOM4J nodes.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-STAXEventReader

-
-public STAXEventReader()
-
-
Constructs a default STAXEventReader instance with a - default DocumentFactory. -

-

-
- -

-STAXEventReader

-
-public STAXEventReader(DocumentFactory factory)
-
-
Constructs a STAXEventReader instance that uses the - specified DocumentFactoryto construct DOM4J Nodes. -

-

Parameters:
factory - The DocumentFactory to use when constructing DOM4J nodes, or - null if a default should be used.
- - - - - - - - -
-Method Detail
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-
Sets the DocumentFactory to be used when constructing DOM4J nodes. -

-

-
Parameters:
documentFactory - The DocumentFactory to use when constructing DOM4J nodes, or - null if a default should be used.
-
-
-
- -

-readDocument

-
-public Document readDocument(InputStream is)
-                      throws javax.xml.stream.XMLStreamException
-
-
Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it. -

-

-
Parameters:
is - The I/O stream from which the Document will be read. -
Returns:
The Document that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs reading content from the stream.
-
-
-
- -

-readDocument

-
-public Document readDocument(Reader reader)
-                      throws javax.xml.stream.XMLStreamException
-
-
Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it. -

-

-
Parameters:
reader - The character stream from which the Document will be read. -
Returns:
The Document that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs reading content from the stream.
-
-
-
- -

-readDocument

-
-public Document readDocument(InputStream is,
-                             String systemId)
-                      throws javax.xml.stream.XMLStreamException
-
-
Constructs a StAX event stream from the provided I/O stream and reads a - DOM4J document from it. -

-

-
Parameters:
is - The I/O stream from which the Document will be read.
systemId - A system id used to resolve entities. -
Returns:
The Document that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs reading content from the stream.
-
-
-
- -

-readDocument

-
-public Document readDocument(Reader reader,
-                             String systemId)
-                      throws javax.xml.stream.XMLStreamException
-
-
Constructs a StAX event stream from the provided I/O character stream and - reads a DOM4J document from it. -

-

-
Parameters:
reader - The character stream from which the Document will be read.
systemId - A system id used to resolve entities. -
Returns:
The Document that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs reading content from the stream.
-
-
-
- -

-readNode

-
-public Node readNode(javax.xml.stream.XMLEventReader reader)
-              throws javax.xml.stream.XMLStreamException
-
-
Reads a Nodefrom the event stream. If the next event is a - StartElement, all events until the closing EndElement - will be read, and the resulting nodes will be added to the returned - Element. - -

- Pre-Conditions : The stream must be positioned before an - event other than an EndElement,EndDocument, - or any DTD-related events, which are not currently supported. -

-

-

-
Parameters:
reader - The reader from which events will be read. -
Returns:
A DOM4J Nodeconstructed from the read events. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs reading from the stream, or the stream was - positioned before an unsupported event.
-
-
-
- -

-readDocument

-
-public Document readDocument(javax.xml.stream.XMLEventReader reader)
-                      throws javax.xml.stream.XMLStreamException
-
-
Reads a DOM4J Documentfrom the provided stream. The stream - should be positioned at the start of a document, or before a StartElement event. -

-

-
Parameters:
reader - The event stream from which to read the Document. -
Returns:
The Documentthat was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs reading events from the stream.
-
-
-
- -

-readElement

-
-public Element readElement(javax.xml.stream.XMLEventReader eventReader)
-                    throws javax.xml.stream.XMLStreamException
-
-
Reads a DOM4J Element from the provided event stream. The stream must be - positioned before an StartElementevent. In addition to the - initial start event, all events up to and including the closing EndElement will be read, and included with the returned element. -

-

-
Parameters:
eventReader - The event stream from which to read the Element. -
Returns:
The Element that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before a event.
-
-
-
- -

-readAttribute

-
-public Attribute readAttribute(javax.xml.stream.XMLEventReader reader)
-                        throws javax.xml.stream.XMLStreamException
-
-
Constructs a DOM4J Attribute from the provided event stream. The stream - must be positioned before an Attributeevent. -

-

-
Parameters:
reader - The event stream from which to read the Attribute. -
Returns:
The Attribute that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before an event.
-
-
-
- -

-readNamespace

-
-public Namespace readNamespace(javax.xml.stream.XMLEventReader reader)
-                        throws javax.xml.stream.XMLStreamException
-
-
Constructs a DOM4J Namespace from the provided event stream. The stream - must be positioned before a Namespaceevent. -

-

-
Parameters:
reader - The event stream from which to read the Namespace. -
Returns:
The Namespace that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before a event.
-
-
-
- -

-readCharacters

-
-public CharacterData readCharacters(javax.xml.stream.XMLEventReader reader)
-                             throws javax.xml.stream.XMLStreamException
-
-
Constructs a DOM4J Text or CDATA section from the provided event stream. - The stream must be positioned before a Charactersevent. -

-

-
Parameters:
reader - The event stream from which to read the Text or CDATA. -
Returns:
The Text or CDATA that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before a event.
-
-
-
- -

-readComment

-
-public Comment readComment(javax.xml.stream.XMLEventReader reader)
-                    throws javax.xml.stream.XMLStreamException
-
-
Constructs a DOM4J Comment from the provided event stream. The stream - must be positioned before a Commentevent. -

-

-
Parameters:
reader - The event stream from which to read the Comment. -
Returns:
The Comment that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before a event.
-
-
-
- -

-readEntityReference

-
-public Entity readEntityReference(javax.xml.stream.XMLEventReader reader)
-                           throws javax.xml.stream.XMLStreamException
-
-
Constructs a DOM4J Entity from the provided event stream. The stream must - be positioned before an EntityReferenceevent. -

-

-
Parameters:
reader - The event stream from which to read the EntityReference. -
Returns:
The Entitythat was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before an - event.
-
-
-
- -

-readProcessingInstruction

-
-public ProcessingInstruction readProcessingInstruction(javax.xml.stream.XMLEventReader reader)
-                                                throws javax.xml.stream.XMLStreamException
-
-
Constructs a DOM4J ProcessingInstruction from the provided event stream. - The stream must be positioned before a ProcessingInstruction - event. -

-

-
Parameters:
reader - The event stream from which to read the ProcessingInstruction. -
Returns:
The ProcessingInstruction that was read from the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occured reading events from the stream, or the - stream was not positioned before a ProcessingInstruction event.
-
-
-
- -

-createElement

-
-public Element createElement(javax.xml.stream.events.StartElement startEvent)
-
-
Constructs a new DOM4J Element from the provided StartElement event. All - attributes and namespaces will be added to the returned element. -

-

-
Parameters:
startEvent - The StartElement event from which to construct the new DOM4J - Element. -
Returns:
The Element constructed from the provided StartElement event.
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element elem,
-                                 javax.xml.stream.events.Attribute attr)
-
-
Constructs a new DOM4J Attribute from the provided StAX Attribute event. -

-

-
Parameters:
elem - DOCUMENT ME!
attr - The Attribute event from which to construct the new DOM4J - Attribute. -
Returns:
The Attribute constructed from the provided Attribute event.
-
-
-
- -

-createNamespace

-
-public Namespace createNamespace(javax.xml.stream.events.Namespace ns)
-
-
Constructs a new DOM4J Namespace from the provided StAX Namespace event. -

-

-
Parameters:
ns - The Namespace event from which to construct the new DOM4J - Namespace. -
Returns:
The Namespace constructed from the provided Namespace event.
-
-
-
- -

-createCharacterData

-
-public CharacterData createCharacterData(javax.xml.stream.events.Characters characters)
-
-
Constructs a new DOM4J Text or CDATA object from the provided Characters - event. -

-

-
Parameters:
characters - The Characters event from which to construct the new DOM4J - Text or CDATA object. -
Returns:
The Text or CDATA object constructed from the provided Characters - event.
-
-
-
- -

-createComment

-
-public Comment createComment(javax.xml.stream.events.Comment comment)
-
-
Constructs a new DOM4J Comment from the provided StAX Comment event. -

-

-
Parameters:
comment - The Comment event from which to construct the new DOM4J - Comment. -
Returns:
The Comment constructed from the provided Comment event.
-
-
-
- -

-createEntity

-
-public Entity createEntity(javax.xml.stream.events.EntityReference entityRef)
-
-
Constructs a new DOM4J Entity from the provided StAX EntityReference - event. -

-

-
Parameters:
entityRef - The EntityReference event from which to construct the new - DOM4J Entity. -
Returns:
The Entity constructed from the provided EntityReference event.
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(javax.xml.stream.events.ProcessingInstruction pi)
-
-
Constructs a new DOM4J ProcessingInstruction from the provided StAX - ProcessingInstruction event. -

-

-
Parameters:
pi - The ProcessingInstruction event from which to construct the - new DOM4J ProcessingInstruction. -
Returns:
The ProcessingInstruction constructed from the provided - ProcessingInstruction event.
-
-
-
- -

-createQName

-
-public QName createQName(javax.xml.namespace.QName qname)
-
-
Constructs a new DOM4J QName from the provided JAXP QName. -

-

-
Parameters:
qname - The JAXP QName from which to create a DOM4J QName. -
Returns:
The newly constructed DOM4J QName.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/STAXEventWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/STAXEventWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/STAXEventWriter.html 2005-05-16 13:28:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/STAXEventWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,987 +0,0 @@ - - - - - - - -STAXEventWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class STAXEventWriter

-
-java.lang.Object
-  extended byorg.dom4j.io.STAXEventWriter
-
-
-
-
public class STAXEventWriter
extends Object
- -

-Writes DOM4J Nodes to a StAX event stream. In addition the - createXXX methods are provided to directly create STAX events - from DOM4J nodes. -

- -

-

-
Author:
-
Christian Niles
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
STAXEventWriter() - -
-           
STAXEventWriter(File file) - -
-          Constructs a STAXEventWriter that writes events to the - provided file.
STAXEventWriter(OutputStream stream) - -
-          Constructs a STAXEventWriter that writes events to the - provided stream.
STAXEventWriter(Writer writer) - -
-          Constructs a STAXEventWriter that writes events to the - provided character stream.
STAXEventWriter(javax.xml.stream.util.XMLEventConsumer consumer) - -
-          Constructs a STAXEventWriter that writes events to the - provided event stream.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- javax.xml.stream.events.AttributecreateAttribute(Attribute attr) - -
-          Constructs a STAX Attributeevent from a - DOM4J Attribute.
- javax.xml.stream.events.CharacterscreateCharacters(CDATA cdata) - -
-          Constructs a STAX Charactersevent from a DOM4J CDATA.
- javax.xml.stream.events.CharacterscreateCharacters(Text text) - -
-          Constructs a STAX Charactersevent from a DOM4J Text.
- javax.xml.stream.events.CommentcreateComment(Comment comment) - -
-          Constructs a STAX Commentevent from a - DOM4J Comment.
- javax.xml.stream.events.DTDcreateDTD(DocumentType docType) - -
-          Constructs a STAX DTDevent from a DOM4J DocumentType.
- javax.xml.stream.events.EndDocumentcreateEndDocument(Document doc) - -
-          Constructs a STAX EndDocumentevent from a DOM4J Document.
- javax.xml.stream.events.EndElementcreateEndElement(Element elem) - -
-          Constructs a STAX EndElementevent from a DOM4J Element.
- javax.xml.stream.events.NamespacecreateNamespace(Namespace ns) - -
-          Constructs a STAX Namespaceevent from a - DOM4J Namespace.
- javax.xml.stream.events.ProcessingInstructioncreateProcessingInstruction(ProcessingInstruction pi) - -
-          Constructs a STAX ProcessingInstruction - event from a DOM4J ProcessingInstruction.
- javax.xml.namespace.QNamecreateQName(QName qname) - -
-          Constructs a STAX QNamefrom a DOM4J QName.
- javax.xml.stream.events.StartDocumentcreateStartDocument(Document doc) - -
-          Constructs a STAX StartDocumentevent from a DOM4J Document.
- javax.xml.stream.events.StartElementcreateStartElement(Element elem) - -
-          Constructs a STAX StartElementevent from a DOM4J Element.
- javax.xml.stream.util.XMLEventConsumergetConsumer() - -
-          Returns a reference to the underlying event consumer to which events are - written.
- javax.xml.stream.XMLEventFactorygetEventFactory() - -
-          Returns a reference to the event factory used to construct STAX events.
- voidsetConsumer(javax.xml.stream.util.XMLEventConsumer consumer) - -
-          Sets the underlying event consumer to which events are written.
- voidsetEventFactory(javax.xml.stream.XMLEventFactory eventFactory) - -
-          Sets the event factory used to construct STAX events.
- voidwriteAttribute(Attribute attr) - -
-          Writes a DOM4J Attributeto the stream.
- voidwriteCDATA(CDATA cdata) - -
-          Writes a DOM4J CDATAto the event stream.
- voidwriteChildNodes(Branch branch) - -
-          Writes each child node within the provided Branchinstance.
- voidwriteComment(Comment comment) - -
-          Writes a DOM4J Commentto the stream.
- voidwriteDocument(Document doc) - -
-          Writes a DOM4J Documentnode, and all its contents, to the - stream.
- voidwriteDocumentType(DocumentType docType) - -
-          Writes a DOM4J DocumentTypeto the stream.
- voidwriteElement(Element elem) - -
-          Writes a DOM4J Elementnode and its children to the stream.
- voidwriteEntity(Entity entity) - -
-          Writes a DOM4J Entityto the stream.
- voidwriteNamespace(Namespace ns) - -
-          Writes a DOM4J Namespaceto the stream.
- voidwriteNode(Node n) - -
-          Writes a DOM4J Nodeto the stream.
- voidwriteProcessingInstruction(ProcessingInstruction pi) - -
-          Writes a DOM4J ProcessingInstructionto the stream.
- voidwriteText(Text text) - -
-          Writes a DOM4J Textto the stream.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-STAXEventWriter

-
-public STAXEventWriter()
-
-
-
- -

-STAXEventWriter

-
-public STAXEventWriter(File file)
-                throws javax.xml.stream.XMLStreamException,
-                       IOException
-
-
Constructs a STAXEventWriter that writes events to the - provided file. -

-

Parameters:
file - The file to which events will be written. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs creating an event writer from the file. -
IOException - If an error occurs openin the file for writing.
-
- -

-STAXEventWriter

-
-public STAXEventWriter(Writer writer)
-                throws javax.xml.stream.XMLStreamException
-
-
Constructs a STAXEventWriter that writes events to the - provided character stream. -

-

Parameters:
writer - The character stream to which events will be written. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs constructing an event writer from the - character stream.
-
- -

-STAXEventWriter

-
-public STAXEventWriter(OutputStream stream)
-                throws javax.xml.stream.XMLStreamException
-
-
Constructs a STAXEventWriter that writes events to the - provided stream. -

-

Parameters:
stream - The output stream to which events will be written. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs constructing an event writer from the - stream.
-
- -

-STAXEventWriter

-
-public STAXEventWriter(javax.xml.stream.util.XMLEventConsumer consumer)
-
-
Constructs a STAXEventWriter that writes events to the - provided event stream. -

-

Parameters:
consumer - The event stream to which events will be written.
- - - - - - - - -
-Method Detail
- -

-getConsumer

-
-public javax.xml.stream.util.XMLEventConsumer getConsumer()
-
-
Returns a reference to the underlying event consumer to which events are - written. -

-

- -
Returns:
The underlying event consumer to which events are written.
-
-
-
- -

-setConsumer

-
-public void setConsumer(javax.xml.stream.util.XMLEventConsumer consumer)
-
-
Sets the underlying event consumer to which events are written. -

-

-
Parameters:
consumer - The event consumer to which events should be written.
-
-
-
- -

-getEventFactory

-
-public javax.xml.stream.XMLEventFactory getEventFactory()
-
-
Returns a reference to the event factory used to construct STAX events. -

-

- -
Returns:
The event factory used to construct STAX events.
-
-
-
- -

-setEventFactory

-
-public void setEventFactory(javax.xml.stream.XMLEventFactory eventFactory)
-
-
Sets the event factory used to construct STAX events. -

-

-
Parameters:
eventFactory - The new event factory.
-
-
-
- -

-writeNode

-
-public void writeNode(Node n)
-               throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Nodeto the stream. This method is simply a - gateway to the overloaded methods such as . -

-

-
Parameters:
n - The DOM4J Nodeto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-writeChildNodes

-
-public void writeChildNodes(Branch branch)
-                     throws javax.xml.stream.XMLStreamException
-
-
Writes each child node within the provided Branchinstance. This - method simply iterates through the Branch's nodes and calls - writeNode(Node). -

-

-
Parameters:
branch - The node whose children will be written to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-writeElement

-
-public void writeElement(Element elem)
-                  throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Elementnode and its children to the stream. -

-

-
Parameters:
elem - The Elementnode to write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createStartElement

-
-public javax.xml.stream.events.StartElement createStartElement(Element elem)
-
-
Constructs a STAX StartElementevent from a DOM4J Element. -

-

-
Parameters:
elem - The Elementfrom which to construct the event. -
Returns:
The newly constructed StartElementevent.
-
-
-
- -

-createEndElement

-
-public javax.xml.stream.events.EndElement createEndElement(Element elem)
-
-
Constructs a STAX EndElementevent from a DOM4J Element. -

-

-
Parameters:
elem - The Elementfrom which to construct the event. -
Returns:
The newly constructed EndElementevent.
-
-
-
- -

-writeAttribute

-
-public void writeAttribute(Attribute attr)
-                    throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Attributeto the stream. -

-

-
Parameters:
attr - The Attributeto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createAttribute

-
-public javax.xml.stream.events.Attribute createAttribute(Attribute attr)
-
-
Constructs a STAX Attributeevent from a - DOM4J Attribute. -

-

-
Parameters:
attr - The Attributefrom which to construct the event. -
Returns:
The newly constructed Attribute - event.
-
-
-
- -

-writeNamespace

-
-public void writeNamespace(Namespace ns)
-                    throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Namespaceto the stream. -

-

-
Parameters:
ns - The Namespaceto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createNamespace

-
-public javax.xml.stream.events.Namespace createNamespace(Namespace ns)
-
-
Constructs a STAX Namespaceevent from a - DOM4J Namespace. -

-

-
Parameters:
ns - The Namespacefrom which to construct the event. -
Returns:
The constructed Namespaceevent.
-
-
-
- -

-writeText

-
-public void writeText(Text text)
-               throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Textto the stream. -

-

-
Parameters:
text - The Textto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createCharacters

-
-public javax.xml.stream.events.Characters createCharacters(Text text)
-
-
Constructs a STAX Charactersevent from a DOM4J Text. -

-

-
Parameters:
text - The Textfrom which to construct the event. -
Returns:
The constructed Charactersevent.
-
-
-
- -

-writeCDATA

-
-public void writeCDATA(CDATA cdata)
-                throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J CDATAto the event stream. -

-

-
Parameters:
cdata - The CDATAto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createCharacters

-
-public javax.xml.stream.events.Characters createCharacters(CDATA cdata)
-
-
Constructs a STAX Charactersevent from a DOM4J CDATA. -

-

-
Parameters:
cdata - The CDATAfrom which to construct the event. -
Returns:
The newly constructed Charactersevent.
-
-
-
- -

-writeComment

-
-public void writeComment(Comment comment)
-                  throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Commentto the stream. -

-

-
Parameters:
comment - The Commentto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createComment

-
-public javax.xml.stream.events.Comment createComment(Comment comment)
-
-
Constructs a STAX Commentevent from a - DOM4J Comment. -

-

-
Parameters:
comment - The Commentfrom which to construct the event. -
Returns:
The constructed Commentevent.
-
-
-
- -

-writeProcessingInstruction

-
-public void writeProcessingInstruction(ProcessingInstruction pi)
-                                throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J ProcessingInstructionto the stream. -

-

-
Parameters:
pi - The ProcessingInstructionto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createProcessingInstruction

-
-public javax.xml.stream.events.ProcessingInstruction createProcessingInstruction(ProcessingInstruction pi)
-
-
Constructs a STAX ProcessingInstruction - event from a DOM4J ProcessingInstruction. -

-

-
Parameters:
pi - The ProcessingInstructionfrom which to construct the - event. -
Returns:
The constructed ProcessingInstruction event.
-
-
-
- -

-writeEntity

-
-public void writeEntity(Entity entity)
-                 throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Entityto the stream. -

-

-
Parameters:
entity - The Entityto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-writeDocumentType

-
-public void writeDocumentType(DocumentType docType)
-                       throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J DocumentTypeto the stream. -

-

-
Parameters:
docType - The DocumentTypeto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createDTD

-
-public javax.xml.stream.events.DTD createDTD(DocumentType docType)
-
-
Constructs a STAX DTDevent from a DOM4J DocumentType. -

-

-
Parameters:
docType - The DocumentTypefrom which to construct the event. -
Returns:
The constructed DTDevent. -
Throws: -
RuntimeException - DOCUMENT ME!
-
-
-
- -

-writeDocument

-
-public void writeDocument(Document doc)
-                   throws javax.xml.stream.XMLStreamException
-
-
Writes a DOM4J Documentnode, and all its contents, to the - stream. -

-

-
Parameters:
doc - The Documentto write to the stream. -
Throws: -
javax.xml.stream.XMLStreamException - If an error occurs writing to the stream.
-
-
-
- -

-createStartDocument

-
-public javax.xml.stream.events.StartDocument createStartDocument(Document doc)
-
-
Constructs a STAX StartDocumentevent from a DOM4J Document. -

-

-
Parameters:
doc - The Documentfrom which to construct the event. -
Returns:
The constructed StartDocumentevent.
-
-
-
- -

-createEndDocument

-
-public javax.xml.stream.events.EndDocument createEndDocument(Document doc)
-
-
Constructs a STAX EndDocumentevent from a DOM4J Document. -

-

-
Parameters:
doc - The Documentfrom which to construct the event. -
Returns:
The constructed EndDocumentevent.
-
-
-
- -

-createQName

-
-public javax.xml.namespace.QName createQName(QName qname)
-
-
Constructs a STAX QNamefrom a DOM4J QName. -

-

-
Parameters:
qname - The QNamefrom which to construct the STAX - QName. -
Returns:
The constructed QName.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XMLResult.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XMLResult.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XMLResult.html 2005-05-16 13:28:16.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XMLResult.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,438 +0,0 @@ - - - - - - - -XMLResult (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class XMLResult

-
-java.lang.Object
-  extended byjavax.xml.transform.sax.SAXResult
-      extended byorg.dom4j.io.XMLResult
-
-
-
All Implemented Interfaces:
Result
-
-
-
-
public class XMLResult
extends SAXResult
- -

-

- XMLResult implements a JAXP SAXResultfor an output - stream with support for pretty printing and control over how the XML is - formatted. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class javax.xml.transform.sax.SAXResult
FEATURE
- - - - - - - -
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
XMLResult() - -
-           
XMLResult(OutputStream out) - -
-           
XMLResult(OutputStream out, - OutputFormat format) - -
-           
XMLResult(Writer writer) - -
-           
XMLResult(Writer writer, - OutputFormat format) - -
-           
XMLResult(XMLWriter xmlWriter) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ContentHandlergetHandler() - -
-           
- LexicalHandlergetLexicalHandler() - -
-           
- XMLWritergetXMLWriter() - -
-           
- voidsetXMLWriter(XMLWriter writer) - -
-           
- - - - - - - -
Methods inherited from class javax.xml.transform.sax.SAXResult
getSystemId, setHandler, setLexicalHandler, setSystemId
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XMLResult

-
-public XMLResult()
-
-
-
- -

-XMLResult

-
-public XMLResult(Writer writer)
-
-
-
- -

-XMLResult

-
-public XMLResult(Writer writer,
-                 OutputFormat format)
-
-
-
- -

-XMLResult

-
-public XMLResult(OutputStream out)
-          throws UnsupportedEncodingException
-
-
-
- -

-XMLResult

-
-public XMLResult(OutputStream out,
-                 OutputFormat format)
-          throws UnsupportedEncodingException
-
-
-
- -

-XMLResult

-
-public XMLResult(XMLWriter xmlWriter)
-
-
- - - - - - - - -
-Method Detail
- -

-getXMLWriter

-
-public XMLWriter getXMLWriter()
-
-
-
-
-
-
- -

-setXMLWriter

-
-public void setXMLWriter(XMLWriter writer)
-
-
-
-
-
-
- -

-getHandler

-
-public ContentHandler getHandler()
-
-
-
-
-
-
- -

-getLexicalHandler

-
-public LexicalHandler getLexicalHandler()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XMLWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XMLWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XMLWriter.html 2005-05-16 13:26:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XMLWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2812 +0,0 @@ - - - - - - - -XMLWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class XMLWriter

-
-java.lang.Object
-  extended byorg.xml.sax.helpers.XMLFilterImpl
-      extended byorg.dom4j.io.XMLWriter
-
-
-
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader
-
-
-
Direct Known Subclasses:
HTMLWriter
-
-
-
-
public class XMLWriter
extends XMLFilterImpl
implements LexicalHandler
- -

-

- XMLWriter takes a DOM4J tree and formats it to a stream as - XML. It can also take SAX events too so can be used by SAX clients as this - object implements the ContentHandlerand LexicalHandler interfaces. as well. This formatter performs typical document - formatting. The XML declaration and processing instructions are always on - their own lines. An OutputFormatobject can be used to define how - whitespace is handled when printing and allows various configuration options, - such as to allow suppression of the XML declaration, the encoding declaration - or whether empty documents are collapsed. -

- -

- There are write(...) methods to print any of the standard - DOM4J classes, including Document and Element, - to either a Writer or an OutputStream. - Warning: using your own Writer may cause the writer's - preferred character encoding to be ignored. If you use encodings other than - UTF8, we recommend using the method that takes an OutputStream instead. -

-

- -

-

-
Version:
-
$Revision: 1.83.2.2 $
-
Author:
-
James Strachan , Joseph Bowbeer
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static OutputFormatDEFAULT_FORMAT - -
-           
-protected  intlastOutputNodeType - -
-          Stores the last type of node written so algorithms can refer to the - previous node type
-protected static String[]LEXICAL_HANDLER_NAMES - -
-           
-protected  booleanpreserve - -
-          Stores the xml:space attribute value of preserve for whitespace flag
-protected  Writerwriter - -
-          The Writer used to output to
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
XMLWriter() - -
-           
XMLWriter(OutputFormat format) - -
-           
XMLWriter(OutputStream out) - -
-           
XMLWriter(OutputStream out, - OutputFormat format) - -
-           
XMLWriter(Writer writer) - -
-           
XMLWriter(Writer writer, - OutputFormat format) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcharacters(char[] ch, - int start, - int length) - -
-           
- voidclose() - -
-          Closes the underlying Writer
- voidcomment(char[] ch, - int start, - int length) - -
-           
-protected  WritercreateWriter(OutputStream outStream, - String encoding) - -
-          Get an OutputStreamWriter, use preferred encoding.
-protected  intdefaultMaximumAllowedCharacter() - -
-          Returns the maximum allowed character code that should be allowed - unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 - bit).
- voidendCDATA() - -
-           
- voidendDocument() - -
-           
- voidendDTD() - -
-           
- voidendElement(String namespaceURI, - String localName, - String qName) - -
-           
- voidendEntity(String name) - -
-           
- voidendPrefixMapping(String prefix) - -
-           
-protected  StringescapeAttributeEntities(String text) - -
-          This will take the pre-defined entities in XML 1.0 and convert their - character representation to the appropriate entity reference, suitable - for XML attributes.
-protected  StringescapeElementEntities(String text) - -
-          This will take the pre-defined entities in XML 1.0 and convert their - character representation to the appropriate entity reference, suitable - for XML attributes.
- voidflush() - -
-          Flushes the underlying Writer
- LexicalHandlergetLexicalHandler() - -
-           
- intgetMaximumAllowedCharacter() - -
-          Returns the maximum allowed character code that should be allowed - unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 - bit).
-protected  OutputFormatgetOutputFormat() - -
-          Lets subclasses get at the current format object, so they can call - setTrimText, setNewLines, etc.
- ObjectgetProperty(String name) - -
-           
-protected  voidhandleException(IOException e) - -
-           
- voidignorableWhitespace(char[] ch, - int start, - int length) - -
-           
-protected  voidindent() - -
-           
-protected  voidinstallLexicalHandler() - -
-           
-protected  booleanisElementSpacePreserved(Element element) - -
-          Determines if element is a special case of XML elements where it contains - an xml:space attribute of "preserve".
- booleanisEscapeText() - -
-          DOCUMENT ME!
-protected  booleanisExpandEmptyElements() - -
-           
-protected  booleanisNamespaceDeclaration(Namespace ns) - -
-           
- voidnotationDecl(String name, - String publicID, - String systemID) - -
-           
- voidparse(InputSource source) - -
-           
- voidprintln() - -
-          Writes the new line text to the underlying Writer
- voidprocessingInstruction(String target, - String data) - -
-           
- booleanresolveEntityRefs() - -
-           
- voidsetDocumentLocator(Locator locator) - -
-           
- voidsetEscapeText(boolean escapeText) - -
-          Sets whether text output should be escaped or not.
- voidsetIndentLevel(int indentLevel) - -
-          Set the initial indentation level.
- voidsetLexicalHandler(LexicalHandler handler) - -
-           
- voidsetMaximumAllowedCharacter(int maximumAllowedCharacter) - -
-          Sets the maximum allowed character code that should be allowed unescaped - such as 127 in US-ASCII (7 bit) or 255 in ISO- (8 bit) or -1 to not - escape any characters (other than the special XML characters like < - > &) If this is not explicitly set then it is defaulted from the - encoding.
- voidsetOutputStream(OutputStream out) - -
-           
- voidsetProperty(String name, - Object value) - -
-           
- voidsetResolveEntityRefs(boolean resolve) - -
-           
- voidsetWriter(Writer writer) - -
-           
-protected  booleanshouldEncodeChar(char c) - -
-          Should the given character be escaped.
- voidstartCDATA() - -
-           
- voidstartDocument() - -
-           
- voidstartDTD(String name, - String publicID, - String systemID) - -
-           
- voidstartElement(String namespaceURI, - String localName, - String qName, - Attributes attributes) - -
-           
- voidstartEntity(String name) - -
-           
- voidstartPrefixMapping(String prefix, - String uri) - -
-           
- voidunparsedEntityDecl(String name, - String publicID, - String systemID, - String notationName) - -
-           
- voidwrite(Attribute attribute) - -
-          Writes the given Attribute.
- voidwrite(CDATA cdata) - -
-          Writes the given CDATA.
- voidwrite(Comment comment) - -
-          Writes the given Comment.
- voidwrite(Document doc) - -
-           - This will print the Document to the current Writer. -
- voidwrite(DocumentType docType) - -
-          Writes the given DocumentType.
- voidwrite(Element element) - -
-           - Writes the Element, including its Attribute - s, and its value, and all its content (child nodes) to the current - Writer. -
- voidwrite(Entity entity) - -
-          Writes the given Entity.
- voidwrite(Namespace namespace) - -
-          Writes the given Namespace.
- voidwrite(Node node) - -
-          Writes the given Node.
- voidwrite(Object object) - -
-          Writes the given object which should be a String, a Node or a List of - Nodes.
- voidwrite(ProcessingInstruction processingInstruction) - -
-          Writes the given ProcessingInstruction.
- voidwrite(String text) - -
-           - Print out a String, Perfoms the necessary entity escaping and - whitespace stripping. -
- voidwrite(Text text) - -
-          Writes the given Text.
-protected  voidwriteAttribute(Attribute attribute) - -
-           
-protected  voidwriteAttribute(Attributes attributes, - int index) - -
-           
-protected  voidwriteAttributes(Attributes attributes) - -
-           
-protected  voidwriteAttributes(Element element) - -
-          Writes the attributes of the given element
-protected  voidwriteCDATA(String text) - -
-           
- voidwriteClose(Element element) - -
-           - Writes the closing tag of an Element -
-protected  voidwriteClose(String qualifiedName) - -
-           
-protected  voidwriteComment(String text) - -
-           
-protected  voidwriteDeclaration() - -
-           - This will write the declaration to the given Writer.
-protected  voidwriteDocType(DocumentType docType) - -
-           
-protected  voidwriteDocType(String name, - String publicID, - String systemID) - -
-           
-protected  voidwriteElement(Element element) - -
-           
-protected  voidwriteElementContent(Element element) - -
-          Outputs the content of the given element.
-protected  voidwriteEmptyElementClose(String qualifiedName) - -
-           
-protected  voidwriteEntity(Entity entity) - -
-           
-protected  voidwriteEntityRef(String name) - -
-           
-protected  voidwriteEscapeAttributeEntities(String txt) - -
-           
-protected  voidwriteNamespace(Namespace namespace) - -
-           
-protected  voidwriteNamespace(String prefix, - String uri) - -
-          Writes the SAX namepsaces
-protected  voidwriteNamespaces() - -
-          Writes the SAX namepsaces
-protected  voidwriteNode(Node node) - -
-           
-protected  voidwriteNodeText(Node node) - -
-          This method is used to write out Nodes that contain text and still allow - for xml:space to be handled properly.
- voidwriteOpen(Element element) - -
-           - Writes the opening tag of an Element, including its Attributes but without its content. -
-protected  voidwritePrintln() - -
-           - This will print a new line only if the newlines flag was set to true -
-protected  voidwriteProcessingInstruction(ProcessingInstruction pi) - -
-           
-protected  voidwriteString(String text) - -
-           
- - - - - - - -
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, parse, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, warning
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-LEXICAL_HANDLER_NAMES

-
-protected static final String[] LEXICAL_HANDLER_NAMES
-
-
-
-
-
- -

-DEFAULT_FORMAT

-
-protected static final OutputFormat DEFAULT_FORMAT
-
-
-
-
-
- -

-lastOutputNodeType

-
-protected int lastOutputNodeType
-
-
Stores the last type of node written so algorithms can refer to the - previous node type -

-

-
-
-
- -

-preserve

-
-protected boolean preserve
-
-
Stores the xml:space attribute value of preserve for whitespace flag -

-

-
-
-
- -

-writer

-
-protected Writer writer
-
-
The Writer used to output to -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-XMLWriter

-
-public XMLWriter(Writer writer)
-
-
-
- -

-XMLWriter

-
-public XMLWriter(Writer writer,
-                 OutputFormat format)
-
-
-
- -

-XMLWriter

-
-public XMLWriter()
-
-
-
- -

-XMLWriter

-
-public XMLWriter(OutputStream out)
-          throws UnsupportedEncodingException
-
-
-
- -

-XMLWriter

-
-public XMLWriter(OutputStream out,
-                 OutputFormat format)
-          throws UnsupportedEncodingException
-
-
-
- -

-XMLWriter

-
-public XMLWriter(OutputFormat format)
-          throws UnsupportedEncodingException
-
-
- - - - - - - - -
-Method Detail
- -

-setWriter

-
-public void setWriter(Writer writer)
-
-
-
-
-
-
-
-
-
- -

-setOutputStream

-
-public void setOutputStream(OutputStream out)
-                     throws UnsupportedEncodingException
-
-
-
-
-
- -
Throws: -
UnsupportedEncodingException
-
-
-
- -

-isEscapeText

-
-public boolean isEscapeText()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
true if text thats output should be escaped. This is enabled by - default. It could be disabled if the output format is textual, - like in XSLT where we can have xml, html or text output.
-
-
-
- -

-setEscapeText

-
-public void setEscapeText(boolean escapeText)
-
-
Sets whether text output should be escaped or not. This is enabled by - default. It could be disabled if the output format is textual, like in - XSLT where we can have xml, html or text output. -

-

-
-
-
-
Parameters:
escapeText - DOCUMENT ME!
-
-
-
- -

-setIndentLevel

-
-public void setIndentLevel(int indentLevel)
-
-
Set the initial indentation level. This can be used to output a document - (or, more likely, an element) starting at a given indent level, so it's - not always flush against the left margin. Default: 0 -

-

-
-
-
-
Parameters:
indentLevel - the number of indents to start with
-
-
-
- -

-getMaximumAllowedCharacter

-
-public int getMaximumAllowedCharacter()
-
-
Returns the maximum allowed character code that should be allowed - unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 - bit). -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setMaximumAllowedCharacter

-
-public void setMaximumAllowedCharacter(int maximumAllowedCharacter)
-
-
Sets the maximum allowed character code that should be allowed unescaped - such as 127 in US-ASCII (7 bit) or 255 in ISO- (8 bit) or -1 to not - escape any characters (other than the special XML characters like < - > &) If this is not explicitly set then it is defaulted from the - encoding. -

-

-
-
-
-
Parameters:
maximumAllowedCharacter - The maximumAllowedCharacter to set
-
-
-
- -

-flush

-
-public void flush()
-           throws IOException
-
-
Flushes the underlying Writer -

-

-
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-close

-
-public void close()
-           throws IOException
-
-
Closes the underlying Writer -

-

-
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-println

-
-public void println()
-             throws IOException
-
-
Writes the new line text to the underlying Writer -

-

-
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Attribute attribute)
-           throws IOException
-
-
Writes the given Attribute. -

-

-
-
-
-
Parameters:
attribute - Attribute to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Document doc)
-           throws IOException
-
-

- This will print the Document to the current Writer. -

- -

- Warning: using your own Writer may cause the writer's preferred character - encoding to be ignored. If you use encodings other than UTF8, we - recommend using the method that takes an OutputStream instead. -

- -

- Note: as with all Writers, you may need to flush() yours after this - method returns. -

-

-

-
-
-
-
Parameters:
doc - Document to format. -
Throws: -
IOException - if there's any problem writing.
-
-
-
- -

-write

-
-public void write(Element element)
-           throws IOException
-
-

- Writes the Element, including its Attribute - s, and its value, and all its content (child nodes) to the current - Writer. -

-

-

-
-
-
-
Parameters:
element - Element to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(CDATA cdata)
-           throws IOException
-
-
Writes the given CDATA. -

-

-
-
-
-
Parameters:
cdata - CDATA to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Comment comment)
-           throws IOException
-
-
Writes the given Comment. -

-

-
-
-
-
Parameters:
comment - Comment to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(DocumentType docType)
-           throws IOException
-
-
Writes the given DocumentType. -

-

-
-
-
-
Parameters:
docType - DocumentType to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Entity entity)
-           throws IOException
-
-
Writes the given Entity. -

-

-
-
-
-
Parameters:
entity - Entity to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Namespace namespace)
-           throws IOException
-
-
Writes the given Namespace. -

-

-
-
-
-
Parameters:
namespace - Namespace to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(ProcessingInstruction processingInstruction)
-           throws IOException
-
-
Writes the given ProcessingInstruction. -

-

-
-
-
-
Parameters:
processingInstruction - ProcessingInstruction to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(String text)
-           throws IOException
-
-

- Print out a String, Perfoms the necessary entity escaping and - whitespace stripping. -

-

-

-
-
-
-
Parameters:
text - is the text to output -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Text text)
-           throws IOException
-
-
Writes the given Text. -

-

-
-
-
-
Parameters:
text - Text to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Node node)
-           throws IOException
-
-
Writes the given Node. -

-

-
-
-
-
Parameters:
node - Node to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-write

-
-public void write(Object object)
-           throws IOException
-
-
Writes the given object which should be a String, a Node or a List of - Nodes. -

-

-
-
-
-
Parameters:
object - is the object to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeOpen

-
-public void writeOpen(Element element)
-               throws IOException
-
-

- Writes the opening tag of an Element, including its Attributes but without its content. -

-

-

-
-
-
-
Parameters:
element - Element to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeClose

-
-public void writeClose(Element element)
-                throws IOException
-
-

- Writes the closing tag of an Element -

-

-

-
-
-
-
Parameters:
element - Element to output. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-parse

-
-public void parse(InputSource source)
-           throws IOException,
-                  SAXException
-
-
-
Specified by:
parse in interface XMLReader
-
-
- -
Throws: -
IOException -
SAXException
-
-
-
- -

-setProperty

-
-public void setProperty(String name,
-                        Object value)
-                 throws SAXNotRecognizedException,
-                        SAXNotSupportedException
-
-
-
Specified by:
setProperty in interface XMLReader
-
-
- -
Throws: -
SAXNotRecognizedException -
SAXNotSupportedException
-
-
-
- -

-getProperty

-
-public Object getProperty(String name)
-                   throws SAXNotRecognizedException,
-                          SAXNotSupportedException
-
-
-
Specified by:
getProperty in interface XMLReader
-
-
- -
Throws: -
SAXNotRecognizedException -
SAXNotSupportedException
-
-
-
- -

-setLexicalHandler

-
-public void setLexicalHandler(LexicalHandler handler)
-
-
-
-
-
-
-
-
-
- -

-getLexicalHandler

-
-public LexicalHandler getLexicalHandler()
-
-
-
-
-
-
-
-
-
- -

-setDocumentLocator

-
-public void setDocumentLocator(Locator locator)
-
-
-
Specified by:
setDocumentLocator in interface ContentHandler
-
-
-
-
-
-
- -

-startDocument

-
-public void startDocument()
-                   throws SAXException
-
-
-
Specified by:
startDocument in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDocument

-
-public void endDocument()
-                 throws SAXException
-
-
-
Specified by:
endDocument in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startPrefixMapping

-
-public void startPrefixMapping(String prefix,
-                               String uri)
-                        throws SAXException
-
-
-
Specified by:
startPrefixMapping in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endPrefixMapping

-
-public void endPrefixMapping(String prefix)
-                      throws SAXException
-
-
-
Specified by:
endPrefixMapping in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startElement

-
-public void startElement(String namespaceURI,
-                         String localName,
-                         String qName,
-                         Attributes attributes)
-                  throws SAXException
-
-
-
Specified by:
startElement in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endElement

-
-public void endElement(String namespaceURI,
-                       String localName,
-                       String qName)
-                throws SAXException
-
-
-
Specified by:
endElement in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-characters

-
-public void characters(char[] ch,
-                       int start,
-                       int length)
-                throws SAXException
-
-
-
Specified by:
characters in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-ignorableWhitespace

-
-public void ignorableWhitespace(char[] ch,
-                                int start,
-                                int length)
-                         throws SAXException
-
-
-
Specified by:
ignorableWhitespace in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-processingInstruction

-
-public void processingInstruction(String target,
-                                  String data)
-                           throws SAXException
-
-
-
Specified by:
processingInstruction in interface ContentHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-notationDecl

-
-public void notationDecl(String name,
-                         String publicID,
-                         String systemID)
-                  throws SAXException
-
-
-
Specified by:
notationDecl in interface DTDHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-unparsedEntityDecl

-
-public void unparsedEntityDecl(String name,
-                               String publicID,
-                               String systemID,
-                               String notationName)
-                        throws SAXException
-
-
-
Specified by:
unparsedEntityDecl in interface DTDHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startDTD

-
-public void startDTD(String name,
-                     String publicID,
-                     String systemID)
-              throws SAXException
-
-
-
Specified by:
startDTD in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endDTD

-
-public void endDTD()
-            throws SAXException
-
-
-
Specified by:
endDTD in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startCDATA

-
-public void startCDATA()
-                throws SAXException
-
-
-
Specified by:
startCDATA in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endCDATA

-
-public void endCDATA()
-              throws SAXException
-
-
-
Specified by:
endCDATA in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-startEntity

-
-public void startEntity(String name)
-                 throws SAXException
-
-
-
Specified by:
startEntity in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-endEntity

-
-public void endEntity(String name)
-               throws SAXException
-
-
-
Specified by:
endEntity in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-comment

-
-public void comment(char[] ch,
-                    int start,
-                    int length)
-             throws SAXException
-
-
-
Specified by:
comment in interface LexicalHandler
-
-
- -
Throws: -
SAXException
-
-
-
- -

-writeElement

-
-protected void writeElement(Element element)
-                     throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-isElementSpacePreserved

-
-protected final boolean isElementSpacePreserved(Element element)
-
-
Determines if element is a special case of XML elements where it contains - an xml:space attribute of "preserve". If it does, then retain whitespace. -

-

-
-
-
-
Parameters:
element - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-writeElementContent

-
-protected void writeElementContent(Element element)
-                            throws IOException
-
-
Outputs the content of the given element. If whitespace trimming is - enabled then all adjacent text nodes are appended together before the - whitespace trimming occurs to avoid problems with multiple text nodes - being created due to text content that spans parser buffers in a SAX - parser. -

-

-
-
-
-
Parameters:
element - DOCUMENT ME! -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeCDATA

-
-protected void writeCDATA(String text)
-                   throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeDocType

-
-protected void writeDocType(DocumentType docType)
-                     throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeNamespace

-
-protected void writeNamespace(Namespace namespace)
-                       throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeNamespaces

-
-protected void writeNamespaces()
-                        throws IOException
-
-
Writes the SAX namepsaces -

-

-
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeNamespace

-
-protected void writeNamespace(String prefix,
-                              String uri)
-                       throws IOException
-
-
Writes the SAX namepsaces -

-

-
-
-
-
Parameters:
prefix - the prefix
uri - the namespace uri -
Throws: -
IOException
-
-
-
- -

-writeProcessingInstruction

-
-protected void writeProcessingInstruction(ProcessingInstruction pi)
-                                   throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeString

-
-protected void writeString(String text)
-                    throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeNodeText

-
-protected void writeNodeText(Node node)
-                      throws IOException
-
-
This method is used to write out Nodes that contain text and still allow - for xml:space to be handled properly. -

-

-
-
-
-
Parameters:
node - DOCUMENT ME! -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeNode

-
-protected void writeNode(Node node)
-                  throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-installLexicalHandler

-
-protected void installLexicalHandler()
-
-
-
-
-
-
-
-
-
- -

-writeDocType

-
-protected void writeDocType(String name,
-                            String publicID,
-                            String systemID)
-                     throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeEntity

-
-protected void writeEntity(Entity entity)
-                    throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeEntityRef

-
-protected void writeEntityRef(String name)
-                       throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeComment

-
-protected void writeComment(String text)
-                     throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeAttributes

-
-protected void writeAttributes(Element element)
-                        throws IOException
-
-
Writes the attributes of the given element -

-

-
-
-
-
Parameters:
element - DOCUMENT ME! -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeAttribute

-
-protected void writeAttribute(Attribute attribute)
-                       throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeAttributes

-
-protected void writeAttributes(Attributes attributes)
-                        throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeAttribute

-
-protected void writeAttribute(Attributes attributes,
-                              int index)
-                       throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-indent

-
-protected void indent()
-               throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writePrintln

-
-protected void writePrintln()
-                     throws IOException
-
-

- This will print a new line only if the newlines flag was set to true -

-

-

-
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-createWriter

-
-protected Writer createWriter(OutputStream outStream,
-                              String encoding)
-                       throws UnsupportedEncodingException
-
-
Get an OutputStreamWriter, use preferred encoding. -

-

-
-
-
-
Parameters:
outStream - DOCUMENT ME!
encoding - DOCUMENT ME! -
Returns:
DOCUMENT ME! -
Throws: -
UnsupportedEncodingException - DOCUMENT ME!
-
-
-
- -

-writeDeclaration

-
-protected void writeDeclaration()
-                         throws IOException
-
-

- This will write the declaration to the given Writer. Assumes XML version - 1.0 since we don't directly know. -

-

-

-
-
-
- -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-writeClose

-
-protected void writeClose(String qualifiedName)
-                   throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-writeEmptyElementClose

-
-protected void writeEmptyElementClose(String qualifiedName)
-                               throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-isExpandEmptyElements

-
-protected boolean isExpandEmptyElements()
-
-
-
-
-
-
-
-
-
- -

-escapeElementEntities

-
-protected String escapeElementEntities(String text)
-
-
This will take the pre-defined entities in XML 1.0 and convert their - character representation to the appropriate entity reference, suitable - for XML attributes. -

-

-
-
-
-
Parameters:
text - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-writeEscapeAttributeEntities

-
-protected void writeEscapeAttributeEntities(String txt)
-                                     throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-escapeAttributeEntities

-
-protected String escapeAttributeEntities(String text)
-
-
This will take the pre-defined entities in XML 1.0 and convert their - character representation to the appropriate entity reference, suitable - for XML attributes. -

-

-
-
-
-
Parameters:
text - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-shouldEncodeChar

-
-protected boolean shouldEncodeChar(char c)
-
-
Should the given character be escaped. This depends on the encoding of - the document. -

-

-
-
-
-
Parameters:
c - DOCUMENT ME! -
Returns:
boolean
-
-
-
- -

-defaultMaximumAllowedCharacter

-
-protected int defaultMaximumAllowedCharacter()
-
-
Returns the maximum allowed character code that should be allowed - unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 - bit). -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-isNamespaceDeclaration

-
-protected boolean isNamespaceDeclaration(Namespace ns)
-
-
-
-
-
-
-
-
-
- -

-handleException

-
-protected void handleException(IOException e)
-                        throws SAXException
-
-
-
-
-
- -
Throws: -
SAXException
-
-
-
- -

-getOutputFormat

-
-protected OutputFormat getOutputFormat()
-
-
Lets subclasses get at the current format object, so they can call - setTrimText, setNewLines, etc. Put in to support the HTMLWriter, in the - way that it pushes the current newline/trim state onto a stack and - overrides the state within preformatted tags. -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-resolveEntityRefs

-
-public boolean resolveEntityRefs()
-
-
-
-
-
-
-
-
-
- -

-setResolveEntityRefs

-
-public void setResolveEntityRefs(boolean resolve)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XPP3Reader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XPP3Reader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XPP3Reader.html 2005-05-16 13:27:59.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XPP3Reader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,815 +0,0 @@ - - - - - - - -XPP3Reader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class XPP3Reader

-
-java.lang.Object
-  extended byorg.dom4j.io.XPP3Reader
-
-
-
-
public class XPP3Reader
extends Object
- -

-

- XPP3Reader is a Reader of DOM4J documents that uses the fast - XML Pull Parser 3.x . - It is very fast for use in SOAP style environments. -

-

- -

-

-
Version:
-
$Revision: 1.3 $
-
Author:
-
Pelle Braendgaard , James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
XPP3Reader() - -
-           
XPP3Reader(DocumentFactory factory) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
-protected  ReadercreateReader(InputStream in) - -
-          Factory method to create a Reader from the given InputStream.
-protected  org.dom4j.io.DispatchHandlergetDispatchHandler() - -
-           
- DocumentFactorygetDocumentFactory() - -
-          DOCUMENT ME!
- org.xmlpull.v1.XmlPullParserFactorygetXPPFactory() - -
-           
- org.xmlpull.v1.XmlPullParsergetXPPParser() - -
-           
-protected  DocumentparseDocument() - -
-           
- Documentread(char[] text) - -
-           - Reads a Document from the given array of characters -
- Documentread(File file) - -
-           - Reads a Document from the given File -
- Documentread(InputStream in) - -
-           - Reads a Document from the given stream -
- Documentread(InputStream in, - String systemID) - -
-           - Reads a Document from the given stream -
- Documentread(Reader reader) - -
-           - Reads a Document from the given Reader -
- Documentread(Reader reader, - String systemID) - -
-           - Reads a Document from the given Reader -
- Documentread(String systemID) - -
-           - Reads a Document from the given URL or filename. -
- Documentread(URL url) - -
-           - Reads a Document from the given URL -
- voidremoveHandler(String path) - -
-          Removes the ElementHandler from the event based processor, - for the specified path.
- voidsetDefaultHandler(ElementHandler handler) - -
-          When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered.
-protected  voidsetDispatchHandler(org.dom4j.io.DispatchHandler dispatchHandler) - -
-           
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- voidsetXPPFactory(org.xmlpull.v1.XmlPullParserFactory xPPfactory) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XPP3Reader

-
-public XPP3Reader()
-
-
-
- -

-XPP3Reader

-
-public XPP3Reader(DocumentFactory factory)
-
-
- - - - - - - - -
-Method Detail
- -

-read

-
-public Document read(File file)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given File -

-

-

-
Parameters:
file - is the File to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - if a URL could not be made for the given File -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(URL url)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given URL -

-

-

-
Parameters:
url - URL to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(String systemID)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given URL or filename. -

- -

- If the systemID contains a ':' character then it is - assumed to be a URL otherwise its assumed to be a file name. If you want - finer grained control over this mechansim then please explicitly pass in - either a URLor a Fileinstance instead of a String to denote the source of the document. -

-

-

-
Parameters:
systemID - is a URL for a document or a file name. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - if a URL could not be made for the given File -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(InputStream in)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given stream -

-

-

-
Parameters:
in - InputStream to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(Reader reader)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given Reader -

-

-

-
Parameters:
reader - is the reader for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(char[] text)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given array of characters -

-

-

-
Parameters:
text - is the text to parse -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(InputStream in,
-                     String systemID)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given stream -

-

-

-
Parameters:
in - InputStream to read from.
systemID - is the URI for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(Reader reader,
-                     String systemID)
-              throws DocumentException,
-                     IOException,
-                     org.xmlpull.v1.XmlPullParserException
-
-

- Reads a Document from the given Reader -

-

-

-
Parameters:
reader - is the reader for the input
systemID - is the URI for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.xmlpull.v1.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-getXPPParser

-
-public org.xmlpull.v1.XmlPullParser getXPPParser()
-                                          throws org.xmlpull.v1.XmlPullParserException
-
-
- -
Throws: -
org.xmlpull.v1.XmlPullParserException
-
-
-
- -

-getXPPFactory

-
-public org.xmlpull.v1.XmlPullParserFactory getXPPFactory()
-                                                  throws org.xmlpull.v1.XmlPullParserException
-
-
- -
Throws: -
org.xmlpull.v1.XmlPullParserException
-
-
-
- -

-setXPPFactory

-
-public void setXPPFactory(org.xmlpull.v1.XmlPullParserFactory xPPfactory)
-
-
-
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
DOCUMENT ME! -

-

- -
Returns:
the DocumentFactory used to create document - objects
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-

- This sets the DocumentFactory used to create new - documents. This method allows the building of custom DOM4J tree objects - to be implemented easily using a custom derivation of - DocumentFactory -

-

-

-
Parameters:
documentFactory - DocumentFactory used to create DOM4J objects
-
-
-
- -

-addHandler

-
-public void addHandler(String path,
-                       ElementHandler handler)
-
-
Adds the ElementHandler to be called when the specified - path is encounted. -

-

-
Parameters:
path - is the path to be handled
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-removeHandler

-
-public void removeHandler(String path)
-
-
Removes the ElementHandler from the event based processor, - for the specified path. -

-

-
Parameters:
path - is the path to remove the ElementHandler for.
-
-
-
- -

-setDefaultHandler

-
-public void setDefaultHandler(ElementHandler handler)
-
-
When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered. -

-

-
Parameters:
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-parseDocument

-
-protected Document parseDocument()
-                          throws DocumentException,
-                                 IOException,
-                                 org.xmlpull.v1.XmlPullParserException
-
-
- -
Throws: -
DocumentException -
IOException -
org.xmlpull.v1.XmlPullParserException
-
-
-
- -

-getDispatchHandler

-
-protected org.dom4j.io.DispatchHandler getDispatchHandler()
-
-
-
-
-
-
- -

-setDispatchHandler

-
-protected void setDispatchHandler(org.dom4j.io.DispatchHandler dispatchHandler)
-
-
-
-
-
-
- -

-createReader

-
-protected Reader createReader(InputStream in)
-                       throws IOException
-
-
Factory method to create a Reader from the given InputStream. -

-

-
Parameters:
in - DOCUMENT ME! -
Returns:
DOCUMENT ME! -
Throws: -
IOException - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XPPReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XPPReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/XPPReader.html 2005-05-16 13:27:50.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/XPPReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,816 +0,0 @@ - - - - - - - -XPPReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.io -
-Class XPPReader

-
-java.lang.Object
-  extended byorg.dom4j.io.XPPReader
-
-
-
-
public class XPPReader
extends Object
- -

-

- XPPReader is a Reader of DOM4J documents that uses the fast XML Pull Parser 2.x . It - does not currently support comments, CDATA or ProcessingInstructions or - validation but it is very fast for use in SOAP style environments. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
XPPReader() - -
-           
XPPReader(DocumentFactory factory) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
-protected  ReadercreateReader(InputStream in) - -
-          Factory method to create a Reader from the given InputStream.
-protected  org.dom4j.io.DispatchHandlergetDispatchHandler() - -
-           
- DocumentFactorygetDocumentFactory() - -
-          DOCUMENT ME!
- org.gjt.xpp.XmlPullParserFactorygetXPPFactory() - -
-           
- org.gjt.xpp.XmlPullParsergetXPPParser() - -
-           
-protected  DocumentparseDocument() - -
-           
- Documentread(char[] text) - -
-           - Reads a Document from the given array of characters -
- Documentread(File file) - -
-           - Reads a Document from the given File -
- Documentread(InputStream in) - -
-           - Reads a Document from the given stream -
- Documentread(InputStream in, - String systemID) - -
-           - Reads a Document from the given stream -
- Documentread(Reader reader) - -
-           - Reads a Document from the given Reader -
- Documentread(Reader reader, - String systemID) - -
-           - Reads a Document from the given Reader -
- Documentread(String systemID) - -
-           - Reads a Document from the given URL or filename. -
- Documentread(URL url) - -
-           - Reads a Document from the given URL -
- voidremoveHandler(String path) - -
-          Removes the ElementHandler from the event based processor, - for the specified path.
- voidsetDefaultHandler(ElementHandler handler) - -
-          When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered.
-protected  voidsetDispatchHandler(org.dom4j.io.DispatchHandler dispatchHandler) - -
-           
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           - This sets the DocumentFactory used to create new - documents.
- voidsetXPPFactory(org.gjt.xpp.XmlPullParserFactory xPPFactory) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XPPReader

-
-public XPPReader()
-
-
-
- -

-XPPReader

-
-public XPPReader(DocumentFactory factory)
-
-
- - - - - - - - -
-Method Detail
- -

-read

-
-public Document read(File file)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given File -

-

-

-
Parameters:
file - is the File to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - if a URL could not be made for the given File -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(URL url)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given URL -

-

-

-
Parameters:
url - URL to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(String systemID)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given URL or filename. -

- -

- If the systemID contains a ':' character then it is - assumed to be a URL otherwise its assumed to be a file name. If you want - finer grained control over this mechansim then please explicitly pass in - either a URLor a Fileinstance instead of a String to denote the source of the document. -

-

-

-
Parameters:
systemID - is a URL for a document or a file name. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - if a URL could not be made for the given File -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(InputStream in)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given stream -

-

-

-
Parameters:
in - InputStream to read from. -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(Reader reader)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given Reader -

-

-

-
Parameters:
reader - is the reader for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(char[] text)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given array of characters -

-

-

-
Parameters:
text - is the text to parse -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(InputStream in,
-                     String systemID)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given stream -

-

-

-
Parameters:
in - InputStream to read from.
systemID - is the URI for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-read

-
-public Document read(Reader reader,
-                     String systemID)
-              throws DocumentException,
-                     IOException,
-                     org.gjt.xpp.XmlPullParserException
-
-

- Reads a Document from the given Reader -

-

-

-
Parameters:
reader - is the reader for the input
systemID - is the URI for the input -
Returns:
the newly created Document instance -
Throws: -
DocumentException - if an error occurs during parsing. -
IOException - DOCUMENT ME! -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-getXPPParser

-
-public org.gjt.xpp.XmlPullParser getXPPParser()
-                                       throws org.gjt.xpp.XmlPullParserException
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-getXPPFactory

-
-public org.gjt.xpp.XmlPullParserFactory getXPPFactory()
-                                               throws org.gjt.xpp.XmlPullParserException
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-setXPPFactory

-
-public void setXPPFactory(org.gjt.xpp.XmlPullParserFactory xPPFactory)
-
-
-
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
DOCUMENT ME! -

-

- -
Returns:
the DocumentFactory used to create document - objects
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-

- This sets the DocumentFactory used to create new - documents. This method allows the building of custom DOM4J tree objects - to be implemented easily using a custom derivation of - DocumentFactory -

-

-

-
Parameters:
documentFactory - DocumentFactory used to create DOM4J objects
-
-
-
- -

-addHandler

-
-public void addHandler(String path,
-                       ElementHandler handler)
-
-
Adds the ElementHandler to be called when the specified - path is encounted. -

-

-
Parameters:
path - is the path to be handled
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-removeHandler

-
-public void removeHandler(String path)
-
-
Removes the ElementHandler from the event based processor, - for the specified path. -

-

-
Parameters:
path - is the path to remove the ElementHandler for.
-
-
-
- -

-setDefaultHandler

-
-public void setDefaultHandler(ElementHandler handler)
-
-
When multiple ElementHandler instances have been - registered, this will set a default ElementHandler to be - called for any path which does NOT have a handler registered. -

-

-
Parameters:
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-parseDocument

-
-protected Document parseDocument()
-                          throws DocumentException,
-                                 IOException,
-                                 org.gjt.xpp.XmlPullParserException
-
-
- -
Throws: -
DocumentException -
IOException -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-getDispatchHandler

-
-protected org.dom4j.io.DispatchHandler getDispatchHandler()
-
-
-
-
-
-
- -

-setDispatchHandler

-
-protected void setDispatchHandler(org.dom4j.io.DispatchHandler dispatchHandler)
-
-
-
-
-
-
- -

-createReader

-
-protected Reader createReader(InputStream in)
-                       throws IOException
-
-
Factory method to create a Reader from the given InputStream. -

-

-
Parameters:
in - DOCUMENT ME! -
Returns:
DOCUMENT ME! -
Throws: -
IOException - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DOMReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DOMReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DOMReader.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DOMReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.DOMReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.DOMReader

-
-No usage of org.dom4j.io.DOMReader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DOMWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DOMWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DOMWriter.html 2005-05-16 13:26:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DOMWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.DOMWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.DOMWriter

-
-No usage of org.dom4j.io.DOMWriter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DocumentResult.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DocumentResult.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DocumentResult.html 2005-05-16 13:27:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DocumentResult.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.DocumentResult (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.DocumentResult

-
-No usage of org.dom4j.io.DocumentResult -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DocumentSource.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DocumentSource.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/DocumentSource.html 2005-05-16 13:27:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/DocumentSource.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.DocumentSource (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.DocumentSource

-
-No usage of org.dom4j.io.DocumentSource -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/ElementModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/ElementModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/ElementModifier.html 2005-05-16 13:26:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/ElementModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.io.ElementModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.io.ElementModifier

-
- - - - - - - - - -
-Packages that use ElementModifier
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
-  -

- - - - - -
-Uses of ElementModifier in org.dom4j.io
-  -

- - - - - - - - - -
Methods in org.dom4j.io with parameters of type ElementModifier
- voidSAXModifier.addModifier(String path, - ElementModifier modifier) - -
-          Adds the ElementModifierto be called when the specified element - path is encounted while parsing the source.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/HTMLWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/HTMLWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/HTMLWriter.html 2005-05-16 13:27:38.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/HTMLWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.HTMLWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.HTMLWriter

-
-No usage of org.dom4j.io.HTMLWriter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/OutputFormat.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/OutputFormat.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/OutputFormat.html 2005-05-16 13:28:16.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/OutputFormat.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,346 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.OutputFormat (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.OutputFormat

-
- - - - - - - - - - - - - -
-Packages that use OutputFormat
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
-  -

- - - - - -
-Uses of OutputFormat in org.dom4j.io
-  -

- - - - - - - - - - - - - -
Fields in org.dom4j.io declared as OutputFormat
-protected static OutputFormatXMLWriter.DEFAULT_FORMAT - -
-           
-protected static OutputFormatHTMLWriter.DEFAULT_HTML_FORMAT - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io that return OutputFormat
-protected  OutputFormatXMLWriter.getOutputFormat() - -
-          Lets subclasses get at the current format object, so they can call - setTrimText, setNewLines, etc.
-static OutputFormatOutputFormat.createPrettyPrint() - -
-          A static helper method to create the default pretty printing format.
-static OutputFormatOutputFormat.createCompactFormat() - -
-          A static helper method to create the default compact format.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.io with parameters of type OutputFormat
XMLWriter(Writer writer, - OutputFormat format) - -
-           
XMLWriter(OutputStream out, - OutputFormat format) - -
-           
XMLWriter(OutputFormat format) - -
-           
XMLResult(Writer writer, - OutputFormat format) - -
-           
XMLResult(OutputStream out, - OutputFormat format) - -
-           
HTMLWriter(Writer writer, - OutputFormat format) - -
-           
HTMLWriter(OutputFormat format) - -
-           
HTMLWriter(OutputStream out, - OutputFormat format) - -
-           
-  -

- - - - - -
-Uses of OutputFormat in org.dom4j.jaxb
-  -

- - - - - - - - - -
Methods in org.dom4j.jaxb that return OutputFormat
- OutputFormatJAXBWriter.getOutputFormat() - -
-          Returns the OutputFormat that will be used when writing the XML stream.
-  -

- - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.jaxb with parameters of type OutputFormat
JAXBWriter(String contextPath, - OutputFormat outputFormat) - -
-          Creates a new JAXBWriter for the given JAXB context path.
JAXBWriter(String contextPath, - ClassLoader classloader, - OutputFormat outputFormat) - -
-          Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader.
JAXBModifier(String contextPath, - OutputFormat outputFormat) - -
-          Creates a new JAXBModifier for the given JAXB context path.
JAXBModifier(String contextPath, - ClassLoader classloader, - OutputFormat outputFormat) - -
-          Creates a new JAXBModifier for the given JAXB context path, using the - specified Classloader.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXContentHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXContentHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXContentHandler.html 2005-05-16 13:27:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXContentHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,188 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXContentHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXContentHandler

-
- - - - - - - - - -
-Packages that use SAXContentHandler
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
-  -

- - - - - -
-Uses of SAXContentHandler in org.dom4j.io
-  -

- - - - - - - - - -
Methods in org.dom4j.io that return SAXContentHandler
-protected  SAXContentHandlerSAXReader.createContentHandler(XMLReader reader) - -
-          Factory Method to allow user derived SAXContentHandler objects to be used
-  -

- - - - - - - - -
Constructors in org.dom4j.io with parameters of type SAXContentHandler
DocumentResult(SAXContentHandler contentHandler) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXEventRecorder.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXEventRecorder.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXEventRecorder.html 2005-05-16 13:27:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXEventRecorder.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXEventRecorder (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXEventRecorder

-
-No usage of org.dom4j.io.SAXEventRecorder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXModifier.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXModifier

-
-No usage of org.dom4j.io.SAXModifier -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXReader.SAXEntityResolver.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXReader.SAXEntityResolver.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXReader.SAXEntityResolver.html 2005-05-16 13:27:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXReader.SAXEntityResolver.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXReader.SAXEntityResolver (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXReader.SAXEntityResolver

-
-No usage of org.dom4j.io.SAXReader.SAXEntityResolver -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXReader.html 2005-05-16 13:27:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXReader

-
-No usage of org.dom4j.io.SAXReader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXValidator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXValidator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXValidator.html 2005-05-16 13:27:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXValidator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXValidator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXValidator

-
-No usage of org.dom4j.io.SAXValidator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/SAXWriter.html 2005-05-16 13:26:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/SAXWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.SAXWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.SAXWriter

-
-No usage of org.dom4j.io.SAXWriter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/STAXEventReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/STAXEventReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/STAXEventReader.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/STAXEventReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.STAXEventReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.STAXEventReader

-
-No usage of org.dom4j.io.STAXEventReader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/STAXEventWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/STAXEventWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/STAXEventWriter.html 2005-05-16 13:26:10.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/STAXEventWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.STAXEventWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.STAXEventWriter

-
-No usage of org.dom4j.io.STAXEventWriter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XMLResult.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XMLResult.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XMLResult.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XMLResult.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.XMLResult (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.XMLResult

-
-No usage of org.dom4j.io.XMLResult -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XMLWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XMLWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XMLWriter.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XMLWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,238 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.XMLWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.XMLWriter

-
- - - - - - - - - -
-Packages that use XMLWriter
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
-  -

- - - - - -
-Uses of XMLWriter in org.dom4j.io
-  -

- - - - - - - - - -
Subclasses of XMLWriter in org.dom4j.io
- classHTMLWriter - -
-           - HTMLWriter takes a DOM4J tree and formats it to a stream as - HTML.
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io that return XMLWriter
- XMLWriterXMLResult.getXMLWriter() - -
-           
- XMLWriterSAXModifier.getXMLWriter() - -
-          Returns the current XMLWriter.
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type XMLWriter
- voidXMLResult.setXMLWriter(XMLWriter writer) - -
-           
- voidSAXModifier.setXMLWriter(XMLWriter writer) - -
-          Sets the XMLWriterused to write the modified document.
-  -

- - - - - - - - -
Constructors in org.dom4j.io with parameters of type XMLWriter
XMLResult(XMLWriter xmlWriter) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XPP3Reader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XPP3Reader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XPP3Reader.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XPP3Reader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.XPP3Reader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.XPP3Reader

-
-No usage of org.dom4j.io.XPP3Reader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XPPReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XPPReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/class-use/XPPReader.html 2005-05-16 13:28:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/class-use/XPPReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.io.XPPReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.io.XPPReader

-
-No usage of org.dom4j.io.XPPReader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-frame.html 2005-05-16 13:26:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,80 +0,0 @@ - - - - - - - -org.dom4j.io (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.io - - - - -
-Interfaces  - -
-ElementModifier
- - - - - - -
-Classes  - -
-DocumentResult -
-DocumentSource -
-DOMReader -
-DOMWriter -
-HTMLWriter -
-OutputFormat -
-SAXContentHandler -
-SAXEventRecorder -
-SAXModifier -
-SAXReader -
-SAXReader.SAXEntityResolver -
-SAXValidator -
-SAXWriter -
-STAXEventReader -
-STAXEventWriter -
-XMLResult -
-XMLWriter -
-XPP3Reader -
-XPPReader
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-summary.html 2005-05-16 13:27:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,292 +0,0 @@ - - - - - - - -org.dom4j.io (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.io -

-Provides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
ElementModifierElementModifier defines a modifier of Elementobjects.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DocumentResult - DocumentResult implements a JAXP SAXResultfor a - Document. -
DocumentSource - DocumentSource implements a JAXP SAXSourcefor a - . -
DOMReader - DOMReader navigates a W3C DOM tree and creates a DOM4J tree - from it. -
DOMWriter - DOMWriter takes a DOM4J tree and outputs it as a W3C DOM - object -
HTMLWriter - HTMLWriter takes a DOM4J tree and formats it to a stream as - HTML.
OutputFormat - OutputFormat represents the format configuration used by - and its base classes to format the XML output -
SAXContentHandler - SAXContentHandler builds a dom4j tree via SAX events. -
SAXEventRecorder - Records SAX events such that they may be "replayed" at a later time.
SAXModifierThe SAXModifier reads, modifies and writes XML documents using SAX. - -
SAXReader - SAXReader creates a DOM4J tree from SAX parsing events. -
SAXReader.SAXEntityResolver 
SAXValidator - SAXValidator validates an XML document by writing the document - to a text buffer and parsing it with a validating SAX parser.
SAXWriter - SAXWriter writes a DOM4J tree to a SAX ContentHandler. -
STAXEventReaderReads a DOM4J Document, as well as other Nodes, from a StAX - XMLEventReader.
STAXEventWriterWrites DOM4J Nodes to a StAX event stream.
XMLResult - XMLResult implements a JAXP SAXResultfor an output - stream with support for pretty printing and control over how the XML is - formatted. -
XMLWriter - XMLWriter takes a DOM4J tree and formats it to a stream as - XML.
XPP3Reader - XPP3Reader is a Reader of DOM4J documents that uses the fast - XML Pull Parser 3.x . -
XPPReader - XPPReader is a Reader of DOM4J documents that uses the fast XML Pull Parser 2.x .
-  - -

-

-Package org.dom4j.io Description -

- -

-

Provides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-tree.html 2005-05-16 13:26:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,171 +0,0 @@ - - - - - - - -org.dom4j.io Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.io -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/io/package-use.html 2005-05-16 13:28:11.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/io/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,211 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.io (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.io

-
- - - - - - - - - - - - - -
-Packages that use org.dom4j.io
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.io used by org.dom4j.io
ElementModifier - -
-          ElementModifier defines a modifier of Elementobjects.
OutputFormat - -
-           - OutputFormat represents the format configuration used by - and its base classes to format the XML output -
SAXContentHandler - -
-           - SAXContentHandler builds a dom4j tree via SAX events. -
XMLWriter - -
-           - XMLWriter takes a DOM4J tree and formats it to a stream as - XML.
-  -

- - - - - - - - -
-Classes in org.dom4j.io used by org.dom4j.jaxb
OutputFormat - -
-           - OutputFormat represents the format configuration used by - and its base classes to format the XML output -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBModifier.html 2005-05-16 13:26:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,806 +0,0 @@ - - - - - - - -JAXBModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.jaxb -
-Class JAXBModifier

-
-java.lang.Object
-  extended byorg.dom4j.jaxb.JAXBSupport
-      extended byorg.dom4j.jaxb.JAXBModifier
-
-
-
-
public class JAXBModifier
extends org.dom4j.jaxb.JAXBSupport
- -

-Reads an XML document using SAX and writes its content to the provided - XMLWriter. Modifications must be provided by JAXBObjectModifier objects, which are called prior to writing - the XML fragment they are registered for. -

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
See Also:
SAXModifier
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
JAXBModifier(String contextPath) - -
-          Creates a new JAXBModifier for the given JAXB context path.
JAXBModifier(String contextPath, - ClassLoader classloader) - -
-          Creates a new JAXBModifier for the given JAXB context path, using the - given ClassLoader.
JAXBModifier(String contextPath, - ClassLoader classloader, - OutputFormat outputFormat) - -
-          Creates a new JAXBModifier for the given JAXB context path, using the - specified Classloader.
JAXBModifier(String contextPath, - OutputFormat outputFormat) - -
-          Creates a new JAXBModifier for the given JAXB context path.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddObjectModifier(String path, - JAXBObjectModifier mod) - -
-          Adds the JAXBObjectModifierto be called when the specified xml - path is encounted while parsing the source.
- booleanisPruneElements() - -
-          Returns true when the modified Documentis not kept in - memory.
-protected  Elementmarshal(javax.xml.bind.Element element) - -
-          Marshals the given Elementin to its DOM4J - counterpart.
- Documentmodify(File source) - -
-          Parses the specified Filewith SAX
- Documentmodify(File source, - java.nio.charset.Charset charset) - -
-          Parses the specified Filewith SAX, using the given - Charset.
- Documentmodify(InputSource source) - -
-          Parses the specified InputSourcewith SAX.
- Documentmodify(InputStream source) - -
-          Parses the specified InputStreamwith SAX.
- Documentmodify(InputStream source, - String systemId) - -
-          Parses the specified InputStreamwith SAX.
- Documentmodify(Reader r) - -
-          Parses the specified Readerwith SAX.
- Documentmodify(Reader source, - String systemId) - -
-          Parses the specified Readerwith SAX.
- Documentmodify(String url) - -
-          Parses the the given URL or filename.
- Documentmodify(URL source) - -
-          Parses the the given URL.
- voidremoveObjectModifier(String path) - -
-          Removes the JAXBObjectModifierfrom the event based processor, - for the specified element path.
- voidresetObjectModifiers() - -
-          Removes all registered JAXBObjectModifierinstances from the - event based processor.
- voidsetOutput(File file) - -
-          Sets the Output to write the (modified) xml document to.
- voidsetOutput(OutputStream outputStream) - -
-          Sets the Output to write the (modified) xml document to.
- voidsetOutput(Writer writer) - -
-          Sets the Output to write the (modified) xml document to.
- voidsetPruneElements(boolean pruneElements) - -
-          Define whether the modified Documentmust only be - written to the output and pruned from the DOM4J tree.
-protected  javax.xml.bind.Elementunmarshal(Element element) - -
-          Unmarshalls the specified DOM4J Elementinto a Element
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JAXBModifier

-
-public JAXBModifier(String contextPath)
-
-
Creates a new JAXBModifier for the given JAXB context path. This is the - Java package where JAXB can find the generated XML classes. This package - MUST contain jaxb.properties! -

-

Parameters:
contextPath - JAXB context path to be used
See Also:
JAXBContext
-
- -

-JAXBModifier

-
-public JAXBModifier(String contextPath,
-                    ClassLoader classloader)
-
-
Creates a new JAXBModifier for the given JAXB context path, using the - given ClassLoader. This is the Java package where JAXB - can find the generated XML classes. This package MUST contain - jaxb.properties! -

-

Parameters:
contextPath - JAXB context path to be used
classloader - the classloader to use
See Also:
JAXBContext
-
- -

-JAXBModifier

-
-public JAXBModifier(String contextPath,
-                    OutputFormat outputFormat)
-
-
Creates a new JAXBModifier for the given JAXB context path. The specified - OutputFormatwill be used while writing the XML - stream. -

-

Parameters:
contextPath - JAXB context path to be used
outputFormat - the DOM4J OutputFormatto be used
See Also:
JAXBContext
-
- -

-JAXBModifier

-
-public JAXBModifier(String contextPath,
-                    ClassLoader classloader,
-                    OutputFormat outputFormat)
-
-
Creates a new JAXBModifier for the given JAXB context path, using the - specified Classloader. The specified OutputFormat will be used while writing the XML stream. -

-

Parameters:
contextPath - JAXB context path to be used
classloader - the class loader to be used to load JAXB
outputFormat - the DOM4J OutputFormatto be used
See Also:
JAXBContext
- - - - - - - - -
-Method Detail
- -

-modify

-
-public Document modify(File source)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified Filewith SAX -

-

-
Parameters:
source - the file to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(File source,
-                       java.nio.charset.Charset charset)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified Filewith SAX, using the given - Charset. -

-

-
Parameters:
source - the file to parse
charset - the character set to use -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(InputSource source)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified InputSourcewith SAX. -

-

-
Parameters:
source - the input source to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(InputStream source)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified InputStreamwith SAX. -

-

-
Parameters:
source - the inputstream to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(InputStream source,
-                       String systemId)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified InputStreamwith SAX. -

-

-
Parameters:
source - the inputstream to parse
systemId - the URI of the given inputstream -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(Reader r)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified Readerwith SAX. -

-

-
Parameters:
r - the reader to use for parsing -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(Reader source,
-                       String systemId)
-                throws DocumentException,
-                       IOException
-
-
Parses the specified Readerwith SAX. -

-

-
Parameters:
source - the reader to parse
systemId - the URI of the given reader -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(String url)
-                throws DocumentException,
-                       IOException
-
-
Parses the the given URL or filename. -

-

-
Parameters:
url - the URL or filename to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-modify

-
-public Document modify(URL source)
-                throws DocumentException,
-                       IOException
-
-
Parses the the given URL. -

-

-
Parameters:
source - the URL to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing -
IOException - when an error occurs while writing to the XMLWriter
-
-
-
- -

-setOutput

-
-public void setOutput(File file)
-               throws IOException
-
-
Sets the Output to write the (modified) xml document to. -

-

-
Parameters:
file - the Fileto write to -
Throws: -
IOException - when the file cannot be found or when the outputformat
-
-
-
- -

-setOutput

-
-public void setOutput(OutputStream outputStream)
-               throws IOException
-
-
Sets the Output to write the (modified) xml document to. -

-

-
Parameters:
outputStream - the OutputStreamto write to -
Throws: -
IOException - when an error occurs
-
-
-
- -

-setOutput

-
-public void setOutput(Writer writer)
-               throws IOException
-
-
Sets the Output to write the (modified) xml document to. -

-

-
Parameters:
writer - the Writerto write to -
Throws: -
IOException - when an error occurs
-
-
-
- -

-addObjectModifier

-
-public void addObjectModifier(String path,
-                              JAXBObjectModifier mod)
-
-
Adds the JAXBObjectModifierto be called when the specified xml - path is encounted while parsing the source. -

-

-
Parameters:
path - the element path to listen for
mod - the modifier to register
-
-
-
- -

-removeObjectModifier

-
-public void removeObjectModifier(String path)
-
-
Removes the JAXBObjectModifierfrom the event based processor, - for the specified element path. -

-

-
Parameters:
path - the xml path to remove the modifier for
-
-
-
- -

-resetObjectModifiers

-
-public void resetObjectModifiers()
-
-
Removes all registered JAXBObjectModifierinstances from the - event based processor. -

-

-
-
-
-
- -

-isPruneElements

-
-public boolean isPruneElements()
-
-
Returns true when the modified Documentis not kept in - memory. -

-

- -
Returns:
Returns true if elements are pruned.
-
-
-
- -

-setPruneElements

-
-public void setPruneElements(boolean pruneElements)
-
-
Define whether the modified Documentmust only be - written to the output and pruned from the DOM4J tree. -

-

-
Parameters:
pruneElements - When true, elements will not be kept in memory
-
-
-
- -

-marshal

-
-protected Element marshal(javax.xml.bind.Element element)
-                   throws javax.xml.bind.JAXBException
-
-
Marshals the given Elementin to its DOM4J - counterpart. -

-

-
Parameters:
element - JAXB Element to be marshalled -
Returns:
the marshalled DOM4J Element -
Throws: -
javax.xml.bind.JAXBException - when an error occurs
-
-
-
- -

-unmarshal

-
-protected javax.xml.bind.Element unmarshal(Element element)
-                                    throws javax.xml.bind.JAXBException
-
-
Unmarshalls the specified DOM4J Elementinto a Element -

-

-
Parameters:
element - the DOM4J element to unmarshall -
Returns:
the unmarshalled JAXB object -
Throws: -
javax.xml.bind.JAXBException - when an error occurs
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBObjectHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBObjectHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBObjectHandler.html 2005-05-16 13:27:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBObjectHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,231 +0,0 @@ - - - - - - - -JAXBObjectHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.jaxb -
-Interface JAXBObjectHandler

-
-
-
public interface JAXBObjectHandler
- -

-JAXBObjectHandler implementations can be registered with the JAXB Reader in - order to receive unmarshalled XML fragments. -

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidhandleObject(javax.xml.bind.Element jaxbElement) - -
-          Called when the JAXBReaderhas finished parsing the xml path the - handler was registered for.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-handleObject

-
-public void handleObject(javax.xml.bind.Element jaxbElement)
-                  throws Exception
-
-
Called when the JAXBReaderhas finished parsing the xml path the - handler was registered for. The provided object is the unmarshalled - representation of the XML path. It can be casted to the appropriate - implementation class that is generated by the JAXB compiler. -

-

-
Parameters:
jaxbElement - the unmarshalled JAXB object to handle -
Throws: -
Exception - of any kind, thrown by the implementation
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBObjectModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBObjectModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBObjectModifier.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBObjectModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,233 +0,0 @@ - - - - - - - -JAXBObjectModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.jaxb -
-Interface JAXBObjectModifier

-
-
-
public interface JAXBObjectModifier
- -

-JAXBObjectHandler implementations can be registered with the JAXBModifier in order to change unmarshalled XML fragments. -

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- javax.xml.bind.ElementmodifyObject(javax.xml.bind.Element jaxbElement) - -
-          Called when the JAXBModifierhas finished parsing the xml path - the handler was registered for.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-modifyObject

-
-public javax.xml.bind.Element modifyObject(javax.xml.bind.Element jaxbElement)
-                                    throws Exception
-
-
Called when the JAXBModifierhas finished parsing the xml path - the handler was registered for. The provided object is the unmarshalled - representation of the XML fragment. It can be casted to the appropriate - implementation class that is generated by the JAXB compiler.
- The modified JAXB element that returns from this method will be - marshalled by the JAXBModifierand put in the DOM4J tree. -

-

-
Parameters:
jaxbElement - the JAXB object to be modified -
Returns:
the modified JAXB object, or null when it must be removed. -
Throws: -
Exception - possibly thrown by the implementation.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBReader.html 2005-05-16 13:27:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,721 +0,0 @@ - - - - - - - -JAXBReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.jaxb -
-Class JAXBReader

-
-java.lang.Object
-  extended byorg.dom4j.jaxb.JAXBSupport
-      extended byorg.dom4j.jaxb.JAXBReader
-
-
-
-
public class JAXBReader
extends org.dom4j.jaxb.JAXBSupport
- -

-Reads an XML document and creates a DOM4J tree from SAX parsing events. - JAXBObjectHandlerobjects can be registered to automatically receive - unmarshalled XML fragments. Registered - implementations are notified when a certain element path is encountered -

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
See Also:
SAXReader, -JAXBContext
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
JAXBReader(String contextPath) - -
-          Creates a new JAXBReader for the given JAXB context path.
JAXBReader(String contextPath, - ClassLoader classloader) - -
-          Creates a new JAXBReader for the given JAXB context path, using the - specified Classloader.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddHandler(String path, - ElementHandler handler) - -
-          Adds the ElementHandler to be called when the specified - path is encounted.
- voidaddObjectHandler(String path, - JAXBObjectHandler handler) - -
-          Registers a JAXBObjectHandlerthat will be supplied with the - unmarshalled representation of the xml fragment whenever the specified - path is encounted.
- booleanisPruneElements() - -
-          When 'true', the DOM4J document will not be kept in memory while parsing.
-protected  Elementmarshal(javax.xml.bind.Element element) - -
-          Marshals the given Elementin to its DOM4J - counterpart.
- Documentread(File source) - -
-          Parses the specified File
- Documentread(File file, - java.nio.charset.Charset charset) - -
-          Parses the specified File, using the given Charset.
- Documentread(InputSource source) - -
-          Parses the specified InputSource
- Documentread(InputStream source) - -
-          Parses the specified InputStream
- Documentread(InputStream source, - String systemId) - -
-          Parses the specified InputStream
- Documentread(Reader source) - -
-          Parses the specified Reader
- Documentread(Reader source, - String systemId) - -
-          Parses the specified Reader
- Documentread(String source) - -
-          Parses the the given URL or filename.
- Documentread(URL source) - -
-          Parses the the given URL.
- voidremoveHandler(String path) - -
-          Removes the ElementHandler from the event based processor, - for the specified path.
- voidremoveObjectHandler(String path) - -
-          Removes the JAXBObjectHandlerfrom the event based processor, for - the specified element path.
- voidresetHandlers() - -
-          Removes all registered JAXBObjectHandlerand ElementHandler instances from the event based processor.
- voidsetPruneElements(boolean pruneElements) - -
-          Set to true when DOM4J elements must immediately be pruned from the tree. -
-protected  javax.xml.bind.Elementunmarshal(Element element) - -
-          Unmarshalls the specified DOM4J Elementinto a Element
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JAXBReader

-
-public JAXBReader(String contextPath)
-
-
Creates a new JAXBReader for the given JAXB context path. This is the - Java package where JAXB can find the generated XML classes. This package - MUST contain jaxb.properties! -

-

Parameters:
contextPath - context path to be used
See Also:
JAXBContext
-
- -

-JAXBReader

-
-public JAXBReader(String contextPath,
-                  ClassLoader classloader)
-
-
Creates a new JAXBReader for the given JAXB context path, using the - specified Classloader. This is the Java package where - JAXB can find the generated XML classes. This package MUST contain - jaxb.properties! -

-

Parameters:
contextPath - to be used
classloader - to be used
See Also:
JAXBContext
- - - - - - - - -
-Method Detail
- -

-read

-
-public Document read(File source)
-              throws DocumentException
-
-
Parses the specified File -

-

-
Parameters:
source - the file to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(File file,
-                     java.nio.charset.Charset charset)
-              throws DocumentException
-
-
Parses the specified File, using the given Charset. -

-

-
Parameters:
file - the file to parse
charset - the charset to be used -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(InputSource source)
-              throws DocumentException
-
-
Parses the specified InputSource -

-

-
Parameters:
source - the source to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(InputStream source)
-              throws DocumentException
-
-
Parses the specified InputStream -

-

-
Parameters:
source - the input stream to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(InputStream source,
-                     String systemId)
-              throws DocumentException
-
-
Parses the specified InputStream -

-

-
Parameters:
source - the input stream to parse
systemId - is the URI for the input -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(Reader source)
-              throws DocumentException
-
-
Parses the specified Reader -

-

-
Parameters:
source - the input reader to use -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(Reader source,
-                     String systemId)
-              throws DocumentException
-
-
Parses the specified Reader -

-

-
Parameters:
source - the input reader to parse
systemId - is the URI for the input -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(String source)
-              throws DocumentException
-
-
Parses the the given URL or filename. -

-

-
Parameters:
source - the location to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-read

-
-public Document read(URL source)
-              throws DocumentException
-
-
Parses the the given URL. -

-

-
Parameters:
source - the URL to parse -
Returns:
the resulting DOM4J document -
Throws: -
DocumentException - when an error occurs while parsing
-
-
-
- -

-addObjectHandler

-
-public void addObjectHandler(String path,
-                             JAXBObjectHandler handler)
-
-
Registers a JAXBObjectHandlerthat will be supplied with the - unmarshalled representation of the xml fragment whenever the specified - path is encounted. -

-

-
Parameters:
path - the path to listen for
handler - the handler to be notified
-
-
-
- -

-removeObjectHandler

-
-public void removeObjectHandler(String path)
-
-
Removes the JAXBObjectHandlerfrom the event based processor, for - the specified element path. -

-

-
Parameters:
path - The path to remove the JAXBObjectHandlerfor
-
-
-
- -

-addHandler

-
-public void addHandler(String path,
-                       ElementHandler handler)
-
-
Adds the ElementHandler to be called when the specified - path is encounted. -

-

-
Parameters:
path - is the path to be handled
handler - is the ElementHandler to be called by the event - based processor.
-
-
-
- -

-removeHandler

-
-public void removeHandler(String path)
-
-
Removes the ElementHandler from the event based processor, - for the specified path. -

-

-
Parameters:
path - is the path to remove the ElementHandler for.
-
-
-
- -

-resetHandlers

-
-public void resetHandlers()
-
-
Removes all registered JAXBObjectHandlerand ElementHandler instances from the event based processor. -

-

-
-
-
-
- -

-isPruneElements

-
-public boolean isPruneElements()
-
-
When 'true', the DOM4J document will not be kept in memory while parsing. -

-

- -
Returns:
Returns the pruneElements.
-
-
-
- -

-setPruneElements

-
-public void setPruneElements(boolean pruneElements)
-
-
Set to true when DOM4J elements must immediately be pruned from the tree. - The Documentwill not be available afterwards! -

-

-
Parameters:
pruneElements -
-
-
-
- -

-marshal

-
-protected Element marshal(javax.xml.bind.Element element)
-                   throws javax.xml.bind.JAXBException
-
-
Marshals the given Elementin to its DOM4J - counterpart. -

-

-
Parameters:
element - JAXB Element to be marshalled -
Returns:
the marshalled DOM4J Element -
Throws: -
javax.xml.bind.JAXBException - when an error occurs
-
-
-
- -

-unmarshal

-
-protected javax.xml.bind.Element unmarshal(Element element)
-                                    throws javax.xml.bind.JAXBException
-
-
Unmarshalls the specified DOM4J Elementinto a Element -

-

-
Parameters:
element - the DOM4J element to unmarshall -
Returns:
the unmarshalled JAXB object -
Throws: -
javax.xml.bind.JAXBException - when an error occurs
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/JAXBWriter.html 2005-05-16 13:27:20.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/JAXBWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,677 +0,0 @@ - - - - - - - -JAXBWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.jaxb -
-Class JAXBWriter

-
-java.lang.Object
-  extended byorg.dom4j.jaxb.JAXBSupport
-      extended byorg.dom4j.jaxb.JAXBWriter
-
-
-
-
public class JAXBWriter
extends org.dom4j.jaxb.JAXBSupport
- -

-Writes Elementobjects to an XML stream. Element instances can be created using the ObjectFactory that - is generated by the JAXB compiler. -

- -

-

-
Author:
-
Wonne Keysers (Realsoftware.be)
-
See Also:
XMLWriter, -JAXBContext
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
JAXBWriter(String contextPath) - -
-          Creates a new JAXBWriter for the given JAXB context path.
JAXBWriter(String contextPath, - ClassLoader classloader) - -
-          Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader.
JAXBWriter(String contextPath, - ClassLoader classloader, - OutputFormat outputFormat) - -
-          Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader.
JAXBWriter(String contextPath, - OutputFormat outputFormat) - -
-          Creates a new JAXBWriter for the given JAXB context path.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidendDocument() - -
-          Stop writing the document to the output.
- OutputFormatgetOutputFormat() - -
-          Returns the OutputFormat that will be used when writing the XML stream.
-protected  Elementmarshal(javax.xml.bind.Element element) - -
-          Marshals the given Elementin to its DOM4J - counterpart.
- voidsetOutput(File file) - -
-          Defines to write the resulting output to the specified File.
- voidsetOutput(OutputStream outputStream) - -
-          Defines to write the resulting output to the specified OutputStream
- voidsetOutput(Writer writer) - -
-          Defines to write the resulting output to the specified Writer.
- voidstartDocument() - -
-          Start a document by writing the initial XML declaration to the output. -
-protected  javax.xml.bind.Elementunmarshal(Element element) - -
-          Unmarshalls the specified DOM4J Elementinto a Element
- voidwrite(javax.xml.bind.Element jaxbObject) - -
-          Writes the specified Elementto the document. -
- voidwriteClose(javax.xml.bind.Element jaxbObject) - -
-          Writes the closing tag of the specified Elementto - the document.
- voidwriteCloseElement(Element element) - -
-          Writes the closing tag of the specified Elementto the - document.
- voidwriteElement(Element element) - -
-          Writes the specified Elementto the document.
- voidwriteOpen(javax.xml.bind.Element jaxbObject) - -
-          Writes the opening tag of the specified Elementto - the document.
- voidwriteOpenElement(Element element) - -
-          Writes the opening tag of the specified Elementto the - document.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JAXBWriter

-
-public JAXBWriter(String contextPath)
-
-
Creates a new JAXBWriter for the given JAXB context path. This is the - Java package where JAXB can find the generated XML classes. This package - MUST contain jaxb.properties! -

-

Parameters:
contextPath - JAXB context path to be used
See Also:
JAXBContext
-
- -

-JAXBWriter

-
-public JAXBWriter(String contextPath,
-                  OutputFormat outputFormat)
-
-
Creates a new JAXBWriter for the given JAXB context path. The specied - OutputFormatwill be used for writing the XML - stream. -

-

Parameters:
contextPath - JAXB context path to be used
outputFormat - the DOM4J OutputFormatto be used
See Also:
JAXBContext
-
- -

-JAXBWriter

-
-public JAXBWriter(String contextPath,
-                  ClassLoader classloader)
-
-
Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader. (This is the Java package where - JAXB can find the generated XML classes. This package MUST contain - jaxb.properties!) -

-

Parameters:
contextPath - JAXB context path to be used
classloader - the classloader to be used for loading JAXB
See Also:
JAXBContext
-
- -

-JAXBWriter

-
-public JAXBWriter(String contextPath,
-                  ClassLoader classloader,
-                  OutputFormat outputFormat)
-
-
Creates a new JAXBWriter for the given JAXB context path, using the - specified Classloader. The specied OutputFormat will be used while writing the XML stream. -

-

Parameters:
contextPath - JAXB context path to be used
classloader - the class loader to be used to load JAXB
outputFormat - the DOM4J OutputFormatto be used
See Also:
JAXBContext
- - - - - - - - -
-Method Detail
- -

-getOutputFormat

-
-public OutputFormat getOutputFormat()
-
-
Returns the OutputFormat that will be used when writing the XML stream. -

-

- -
Returns:
Returns the output format.
-
-
-
- -

-setOutput

-
-public void setOutput(File file)
-               throws IOException
-
-
Defines to write the resulting output to the specified File. -

-

-
Parameters:
file - file to write to -
Throws: -
IOException - when the file cannot be found
-
-
-
- -

-setOutput

-
-public void setOutput(OutputStream outputStream)
-               throws IOException
-
-
Defines to write the resulting output to the specified OutputStream -

-

-
Parameters:
outputStream - outputStream to write to. -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-setOutput

-
-public void setOutput(Writer writer)
-               throws IOException
-
-
Defines to write the resulting output to the specified Writer. -

-

-
Parameters:
writer - writer to write to -
Throws: -
IOException
-
-
-
- -

-startDocument

-
-public void startDocument()
-                   throws IOException,
-                          SAXException
-
-
Start a document by writing the initial XML declaration to the output. - This must be done prior to writing any other elements. -

-

- -
Throws: -
IOException - if an error occured while writing the output -
SAXException - thrown by the underlying SAX driver
-
-
-
- -

-endDocument

-
-public void endDocument()
-                 throws IOException,
-                        SAXException
-
-
Stop writing the document to the output. This must be done when all other - elements are finished. -

-

- -
Throws: -
IOException - if an error occured while writing the output -
SAXException - thrown by the underlying SAX driver
-
-
-
- -

-write

-
-public void write(javax.xml.bind.Element jaxbObject)
-           throws IOException,
-                  javax.xml.bind.JAXBException
-
-
Writes the specified Elementto the document. - Elementinstances can be created using the - ObjectFactory that is generated by the JAXB compiler. -

-

-
Parameters:
jaxbObject - -
Throws: -
IOException - if an error occured while writing the output -
javax.xml.bind.JAXBException - when an error occured while marshalling the jaxbObject
-
-
-
- -

-writeClose

-
-public void writeClose(javax.xml.bind.Element jaxbObject)
-                throws IOException,
-                       javax.xml.bind.JAXBException
-
-
Writes the closing tag of the specified Elementto - the document. This method can be used for writing Element instances can be created using the ObjectFactory - that is generated by the JAXB compiler. -

-

-
Parameters:
jaxbObject - the JAXB element to write -
Throws: -
IOException - if an error occured while writing the output -
javax.xml.bind.JAXBException - when an error occured while marshalling the jaxbObject
-
-
-
- -

-writeOpen

-
-public void writeOpen(javax.xml.bind.Element jaxbObject)
-               throws IOException,
-                      javax.xml.bind.JAXBException
-
-
Writes the opening tag of the specified Elementto - the document. Elementinstances can be created - using the ObjectFactory that is generated by the JAXB compiler. -

-

-
Parameters:
jaxbObject - the JAXB element to write -
Throws: -
IOException - if an error occured while writing the output -
javax.xml.bind.JAXBException - when an error occured while marshalling the jaxbObject
-
-
-
- -

-writeElement

-
-public void writeElement(Element element)
-                  throws IOException
-
-
Writes the specified Elementto the document. -

-

-
Parameters:
element - the Elementto write -
Throws: -
IOException - if an error occured while writing the output
-
-
-
- -

-writeCloseElement

-
-public void writeCloseElement(Element element)
-                       throws IOException
-
-
Writes the closing tag of the specified Elementto the - document. -

-

-
Parameters:
element - the Elementto write -
Throws: -
IOException - if an error occured while writing the output
-
-
-
- -

-writeOpenElement

-
-public void writeOpenElement(Element element)
-                      throws IOException
-
-
Writes the opening tag of the specified Elementto the - document. -

-

-
Parameters:
element - the Elementto write -
Throws: -
IOException - if an error occured while writing the output
-
-
-
- -

-marshal

-
-protected Element marshal(javax.xml.bind.Element element)
-                   throws javax.xml.bind.JAXBException
-
-
Marshals the given Elementin to its DOM4J - counterpart. -

-

-
Parameters:
element - JAXB Element to be marshalled -
Returns:
the marshalled DOM4J Element -
Throws: -
javax.xml.bind.JAXBException - when an error occurs
-
-
-
- -

-unmarshal

-
-protected javax.xml.bind.Element unmarshal(Element element)
-                                    throws javax.xml.bind.JAXBException
-
-
Unmarshalls the specified DOM4J Elementinto a Element -

-

-
Parameters:
element - the DOM4J element to unmarshall -
Returns:
the unmarshalled JAXB object -
Throws: -
javax.xml.bind.JAXBException - when an error occurs
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBModifier.html 2005-05-16 13:28:20.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.jaxb.JAXBModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.jaxb.JAXBModifier

-
-No usage of org.dom4j.jaxb.JAXBModifier -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectHandler.html 2005-05-16 13:26:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.jaxb.JAXBObjectHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.jaxb.JAXBObjectHandler

-
- - - - - - - - - -
-Packages that use JAXBObjectHandler
org.dom4j.jaxb  
-  -

- - - - - -
-Uses of JAXBObjectHandler in org.dom4j.jaxb
-  -

- - - - - - - - - -
Methods in org.dom4j.jaxb with parameters of type JAXBObjectHandler
- voidJAXBReader.addObjectHandler(String path, - JAXBObjectHandler handler) - -
-          Registers a JAXBObjectHandlerthat will be supplied with the - unmarshalled representation of the xml fragment whenever the specified - path is encounted.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectModifier.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectModifier.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectModifier.html 2005-05-16 13:25:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBObjectModifier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,175 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.jaxb.JAXBObjectModifier (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.jaxb.JAXBObjectModifier

-
- - - - - - - - - -
-Packages that use JAXBObjectModifier
org.dom4j.jaxb  
-  -

- - - - - -
-Uses of JAXBObjectModifier in org.dom4j.jaxb
-  -

- - - - - - - - - -
Methods in org.dom4j.jaxb with parameters of type JAXBObjectModifier
- voidJAXBModifier.addObjectModifier(String path, - JAXBObjectModifier mod) - -
-          Adds the JAXBObjectModifierto be called when the specified xml - path is encounted while parsing the source.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBReader.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBReader.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBReader.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBReader.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.jaxb.JAXBReader (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.jaxb.JAXBReader

-
-No usage of org.dom4j.jaxb.JAXBReader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBWriter.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBWriter.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/class-use/JAXBWriter.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/class-use/JAXBWriter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.jaxb.JAXBWriter (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.jaxb.JAXBWriter

-
-No usage of org.dom4j.jaxb.JAXBWriter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-frame.html 2005-05-16 13:27:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,50 +0,0 @@ - - - - - - - -org.dom4j.jaxb (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.jaxb - - - - -
-Interfaces  - -
-JAXBObjectHandler -
-JAXBObjectModifier
- - - - - - -
-Classes  - -
-JAXBModifier -
-JAXBReader -
-JAXBWriter
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-summary.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,178 +0,0 @@ - - - - - - - -org.dom4j.jaxb (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.jaxb -

- - - - - - - - - - - - - -
-Interface Summary
JAXBObjectHandlerJAXBObjectHandler implementations can be registered with the JAXB Reader in - order to receive unmarshalled XML fragments.
JAXBObjectModifierJAXBObjectHandler implementations can be registered with the JAXBModifier in order to change unmarshalled XML fragments.
-  - -

- - - - - - - - - - - - - - - - - -
-Class Summary
JAXBModifierReads an XML document using SAX and writes its content to the provided - XMLWriter.
JAXBReaderReads an XML document and creates a DOM4J tree from SAX parsing events. -
JAXBWriterWrites Elementobjects to an XML stream.
-  - -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-tree.html 2005-05-16 13:26:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,153 +0,0 @@ - - - - - - - -org.dom4j.jaxb Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.jaxb -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/jaxb/package-use.html 2005-05-16 13:26:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/jaxb/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,170 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.jaxb (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.jaxb

-
- - - - - - - - - -
-Packages that use org.dom4j.jaxb
org.dom4j.jaxb  
-  -

- - - - - - - - - - - -
-Classes in org.dom4j.jaxb used by org.dom4j.jaxb
JAXBObjectHandler - -
-          JAXBObjectHandler implementations can be registered with the JAXB Reader in - order to receive unmarshalled XML fragments.
JAXBObjectModifier - -
-          JAXBObjectHandler implementations can be registered with the JAXBModifier in order to change unmarshalled XML fragments.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-frame.html 2005-05-16 13:27:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,101 +0,0 @@ - - - - - - - -org.dom4j (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j - - - - -
-Interfaces  - -
-Attribute -
-Branch -
-CDATA -
-CharacterData -
-Comment -
-Document -
-DocumentType -
-Element -
-ElementHandler -
-ElementPath -
-Entity -
-Node -
-NodeFilter -
-ProcessingInstruction -
-Text -
-Visitor -
-XPath
- - - - - - -
-Classes  - -
-DocumentFactory -
-DocumentHelper -
-Namespace -
-QName -
-VisitorSupport
- - - - - - -
-Exceptions  - -
-DocumentException -
-IllegalAddException -
-InvalidXPathException -
-XPathException
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-summary.html 2005-05-16 13:27:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,348 +0,0 @@ - - - - - - - -org.dom4j (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j -

-Defines the XML Document Object Model in Java interfaces together - with some helper classes. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
Attribute - Attribute defines an XML attribute.
Branch - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
CDATA - CDATA defines an XML CDATA section. -
CharacterData - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - Comment defines the behavior of an XML comment. -
Document - Document defines an XML Document. -
DocumentType - DocumentType defines an XML DOCTYPE declaration. -
Element - Element interface defines an XML element.
ElementHandler - ElementHandler interface defines a handler of - Element objects.
ElementPathThis interface is used by ElementHandlerinstances to retrieve - information about the current path hierarchy they are to process.
Entity - Entity defines an XML entity. -
Node - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
ProcessingInstruction - ProcessingInstruction defines an XML processing instruction. -
Text - Text defines an XML Text node. -
Visitor - Visitor is used to implement the Visitor - pattern in DOM4J.
XPath - XPath represents an XPath expression after it has been parsed - from a String. -
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DocumentFactory - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentHelper - DocumentHelper is a collection of helper methods for using - DOM4J. -
Namespace - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
QName - QName represents a qualified name value of an XML element or - attribute.
VisitorSupport - VisitorSupport is an abstract base class which is useful for - implementation inheritence or when using anonymous inner classes to create - simple Visitor implementations. -
-  - -

- - - - - - - - - - - - - - - - - - - - - -
-Exception Summary
DocumentException - DocumentException is a nested Exception which may be thrown - during the processing of a DOM4J document. -
IllegalAddException - IllegalAddException is thrown when a node is added incorrectly - to an Element -
InvalidXPathException - InvalidXPathException is thrown when an invalid XPath - expression is used to traverse an XML document -
XPathException - XPathException is thrown when an exception occurs while - evaluating an XPath expression, usually due to some function throwing an - exception. -
-  - -

-

-Package org.dom4j Description -

- -

-

Defines the XML Document Object Model in Java interfaces together - with some helper classes.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-tree.html 2005-05-16 13:27:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -org.dom4j Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/package-use.html 2005-05-16 13:27:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1373 +0,0 @@ - - - - - - - -Uses of Package org.dom4j (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.dom4j
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.jaxb  
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.rule.pattern  
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
org.dom4j.xppProvides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
CDATA - -
-           - CDATA defines an XML CDATA section. -
CharacterData - -
-           - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - -
-           - Comment defines the behavior of an XML comment. -
Document - -
-           - Document defines an XML Document. -
DocumentException - -
-           - DocumentException is a nested Exception which may be thrown - during the processing of a DOM4J document. -
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentType - -
-           - DocumentType defines an XML DOCTYPE declaration. -
Element - -
-           - Element interface defines an XML element.
ElementHandler - -
-           - ElementHandler interface defines a handler of - Element objects.
ElementPath - -
-          This interface is used by ElementHandlerinstances to retrieve - information about the current path hierarchy they are to process.
Entity - -
-           - Entity defines an XML entity. -
InvalidXPathException - -
-           - InvalidXPathException is thrown when an invalid XPath - expression is used to traverse an XML document -
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - -
-           - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
ProcessingInstruction - -
-           - ProcessingInstruction defines an XML processing instruction. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
Text - -
-           - Text defines an XML Text node. -
Visitor - -
-           - Visitor is used to implement the Visitor - pattern in DOM4J.
XPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.bean
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
Element - -
-           - Element interface defines an XML element.
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.datatype
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
Document - -
-           - Document defines an XML Document. -
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
Element - -
-           - Element interface defines an XML element.
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.dom
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
CDATA - -
-           - CDATA defines an XML CDATA section. -
CharacterData - -
-           - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - -
-           - Comment defines the behavior of an XML comment. -
Document - -
-           - Document defines an XML Document. -
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentType - -
-           - DocumentType defines an XML DOCTYPE declaration. -
Element - -
-           - Element interface defines an XML element.
Entity - -
-           - Entity defines an XML entity. -
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
ProcessingInstruction - -
-           - ProcessingInstruction defines an XML processing instruction. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
Text - -
-           - Text defines an XML Text node. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.io
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
CDATA - -
-           - CDATA defines an XML CDATA section. -
CharacterData - -
-           - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - -
-           - Comment defines the behavior of an XML comment. -
Document - -
-           - Document defines an XML Document. -
DocumentException - -
-           - DocumentException is a nested Exception which may be thrown - during the processing of a DOM4J document. -
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentType - -
-           - DocumentType defines an XML DOCTYPE declaration. -
Element - -
-           - Element interface defines an XML element.
ElementHandler - -
-           - ElementHandler interface defines a handler of - Element objects.
Entity - -
-           - Entity defines an XML entity. -
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
ProcessingInstruction - -
-           - ProcessingInstruction defines an XML processing instruction. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
Text - -
-           - Text defines an XML Text node. -
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.jaxb
Document - -
-           - Document defines an XML Document. -
DocumentException - -
-           - DocumentException is a nested Exception which may be thrown - during the processing of a DOM4J document. -
Element - -
-           - Element interface defines an XML element.
ElementHandler - -
-           - ElementHandler interface defines a handler of - Element objects.
-  -

- - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.rule
Document - -
-           - Document defines an XML Document. -
Element - -
-           - Element interface defines an XML element.
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - -
-           - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
XPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
-  -

- - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.rule.pattern
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - -
-           - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
-  -

- - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.swing
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
Document - -
-           - Document defines an XML Document. -
Element - -
-           - Element interface defines an XML element.
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
XPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.tree
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
CDATA - -
-           - CDATA defines an XML CDATA section. -
CharacterData - -
-           - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - -
-           - Comment defines the behavior of an XML comment. -
Document - -
-           - Document defines an XML Document. -
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentType - -
-           - DocumentType defines an XML DOCTYPE declaration. -
Element - -
-           - Element interface defines an XML element.
Entity - -
-           - Entity defines an XML entity. -
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - -
-           - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
ProcessingInstruction - -
-           - ProcessingInstruction defines an XML processing instruction. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
Text - -
-           - Text defines an XML Text node. -
Visitor - -
-           - Visitor is used to implement the Visitor - pattern in DOM4J.
XPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.util
Attribute - -
-           - Attribute defines an XML attribute.
Branch - -
-           - Branch interface defines the common behaviour for Nodes which - can contain child nodes (content) such as XML elements and documents.
CDATA - -
-           - CDATA defines an XML CDATA section. -
CharacterData - -
-           - CharacterData is a marker interface for character based nodes - such as the CDATA,Comment and - Text nodes. -
Comment - -
-           - Comment defines the behavior of an XML comment. -
Document - -
-           - Document defines an XML Document. -
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
DocumentType - -
-           - DocumentType defines an XML DOCTYPE declaration. -
Element - -
-           - Element interface defines an XML element.
Entity - -
-           - Entity defines an XML entity. -
Namespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - -
-           - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
ProcessingInstruction - -
-           - ProcessingInstruction defines an XML processing instruction. -
QName - -
-           - QName represents a qualified name value of an XML element or - attribute.
Text - -
-           - Text defines an XML Text node. -
XPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.xpath
Element - -
-           - Element interface defines an XML element.
InvalidXPathException - -
-           - InvalidXPathException is thrown when an invalid XPath - expression is used to traverse an XML document -
Node - -
-           - Node defines the polymorphic behavior for all XML nodes in a - dom4j tree. -
NodeFilter - -
-           - NodeFilter defines the behavior for a filter or predicate - which acts on a DOM4J Node.
XPath - -
-           - XPath represents an XPath expression after it has been parsed - from a String. -
XPathException - -
-           - XPathException is thrown when an exception occurs while - evaluating an XPath expression, usually due to some function throwing an - exception. -
-  -

- - - - - - - - - - - -
-Classes in org.dom4j used by org.dom4j.xpp
DocumentFactory - -
-           - DocumentFactory is a collection of factory methods to allow - easy custom building of DOM4J trees.
Element - -
-           - Element interface defines an XML element.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Action.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Action.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Action.html 2005-05-16 13:26:22.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Action.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,232 +0,0 @@ - - - - - - - -Action (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Interface Action

-
-
All Known Implementing Classes:
NullAction
-
-
-
-
public interface Action
- -

-

- Action represents some default action which should occur when - a rule matches a node in the XSLT processing model. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidrun(Node node) - -
-           
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-run

-
-public void run(Node node)
-         throws Exception
-
-
- -
Throws: -
Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Mode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Mode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Mode.html 2005-05-16 13:27:06.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Mode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,451 +0,0 @@ - - - - - - - -Mode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Class Mode

-
-java.lang.Object
-  extended byorg.dom4j.rule.Mode
-
-
-
-
public class Mode
extends Object
- -

-

- Mode manages a number of RuleSet instances for the mode in a - stylesheet. It is responsible for finding the correct rule for a given DOM4J - Node using the XSLT processing model uses the smallest possible RuleSet to - reduce the number of Rule evaluations. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Mode() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddRule(Rule rule) - -
-           
-protected  MapaddToNameMap(Map map, - String name, - Rule rule) - -
-          Adds the Rule to a RuleSet for the given name.
- voidapplyTemplates(Document document) - -
-           
- voidapplyTemplates(Element element) - -
-           
- voidfireRule(Node node) - -
-          Runs the actions associated with the given node
- RulegetMatchingRule(Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
-protected  RuleSetgetRuleSet(int matchType) - -
-          DOCUMENT ME!
-protected  voidremoveFromNameMap(Map map, - String name, - Rule rule) - -
-           
- voidremoveRule(Rule rule) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Mode

-
-public Mode()
-
-
- - - - - - - - -
-Method Detail
- -

-fireRule

-
-public void fireRule(Node node)
-              throws Exception
-
-
Runs the actions associated with the given node -

-

-
Parameters:
node - DOCUMENT ME! -
Throws: -
Exception - DOCUMENT ME!
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Element element)
-                    throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Document document)
-                    throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-addRule

-
-public void addRule(Rule rule)
-
-
-
-
-
-
- -

-removeRule

-
-public void removeRule(Rule rule)
-
-
-
-
-
-
- -

-getMatchingRule

-
-public Rule getMatchingRule(Node node)
-
-
Performs an XSLT processing model match for the rule which matches the - given Node the best. -

-

-
Parameters:
node - is the DOM4J Node to match against -
Returns:
the matching Rule or no rule if none matched
-
-
-
- -

-getRuleSet

-
-protected RuleSet getRuleSet(int matchType)
-
-
DOCUMENT ME! -

-

-
Parameters:
matchType - DOCUMENT ME! -
Returns:
the RuleSet for the given matching type. This method will never - return null, a new instance will be created.
-
-
-
- -

-addToNameMap

-
-protected Map addToNameMap(Map map,
-                           String name,
-                           Rule rule)
-
-
Adds the Rule to a RuleSet for the given name. -

-

-
Parameters:
map - DOCUMENT ME!
name - DOCUMENT ME!
rule - DOCUMENT ME! -
Returns:
the Map (which will be created if the given map was null
-
-
-
- -

-removeFromNameMap

-
-protected void removeFromNameMap(Map map,
-                                 String name,
-                                 Rule rule)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/NullAction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/NullAction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/NullAction.html 2005-05-16 13:26:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/NullAction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,307 +0,0 @@ - - - - - - - -NullAction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Class NullAction

-
-java.lang.Object
-  extended byorg.dom4j.rule.NullAction
-
-
-
All Implemented Interfaces:
Action
-
-
-
-
public class NullAction
extends Object
implements Action
- -

-

- NullAction represents an empty action that does nothing. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-static NullActionSINGLETON - -
-          Singleton instance
-  - - - - - - - - - - -
-Constructor Summary
NullAction() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidrun(Node node) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-SINGLETON

-
-public static final NullAction SINGLETON
-
-
Singleton instance -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-NullAction

-
-public NullAction()
-
-
- - - - - - - - -
-Method Detail
- -

-run

-
-public void run(Node node)
-         throws Exception
-
-
-
Specified by:
run in interface Action
-
-
- -
Throws: -
Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Pattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Pattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Pattern.html 2005-05-16 13:26:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Pattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,450 +0,0 @@ - - - - - - - -Pattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Interface Pattern

-
-
All Superinterfaces:
NodeFilter
-
-
-
All Known Implementing Classes:
DefaultPattern, NodeTypePattern, XPathPattern
-
-
-
-
public interface Pattern
extends NodeFilter
- -

-

- Pattern defines the behaviour for pattern in the XSLT - processing model. -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static shortANY_NODE - -
-          Matches any node
-static doubleDEFAULT_PRIORITY - -
-          According to the spec - we should return 0.5 if we cannot determine the priority
-static shortNONE - -
-          Matches no nodes
-static shortNUMBER_OF_TYPES - -
-          Count of the number of node types
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetMatchesNodeName() - -
-          For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. -
- shortgetMatchType() - -
-          DOCUMENT ME!
- doublegetPriority() - -
-          Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec .
- Pattern[]getUnionPatterns() - -
-          If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern.
- booleanmatches(Node node) - -
-          DOCUMENT ME!
-  -

- - - - - - - - -
-Field Detail
- -

-ANY_NODE

-
-public static final short ANY_NODE
-
-
Matches any node -

-

-
See Also:
Constant Field Values
-
-
- -

-NONE

-
-public static final short NONE
-
-
Matches no nodes -

-

-
See Also:
Constant Field Values
-
-
- -

-NUMBER_OF_TYPES

-
-public static final short NUMBER_OF_TYPES
-
-
Count of the number of node types -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_PRIORITY

-
-public static final double DEFAULT_PRIORITY
-
-
According to the spec - we should return 0.5 if we cannot determine the priority -

-

-
See Also:
Constant Field Values
-
- - - - - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(Node node)
-
-
DOCUMENT ME! -

-

-
Specified by:
matches in interface NodeFilter
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the pattern matches the given DOM4J node.
-
-
-
- -

-getPriority

-
-public double getPriority()
-
-
Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec . -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getUnionPatterns

-
-public Pattern[] getUnionPatterns()
-
-
If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern. Otherwise this method should return null. -

-

-
-
-
- -
Returns:
an array of the patterns which make up this union pattern or null - if this pattern is not a union pattern
-
-
-
- -

-getMatchType

-
-public short getMatchType()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the type of node the pattern matches which by default should - return ANY_NODE if it can match any kind of node.
-
-
-
- -

-getMatchesNodeName

-
-public String getMatchesNodeName()
-
-
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - This allows a more efficient rule matching algorithm to be performed, - rather than a brute force approach of evaluating every pattern for a - given Node. -

-

-
-
-
- -
Returns:
the name of the element or attribute this pattern matches or null - if this pattern matches any or more than one name.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Rule.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Rule.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Rule.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Rule.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,822 +0,0 @@ - - - - - - - -Rule (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Class Rule

-
-java.lang.Object
-  extended byorg.dom4j.rule.Rule
-
-
-
All Implemented Interfaces:
Comparable
-
-
-
-
public class Rule
extends Object
implements Comparable
- -

-

- Rule matches against DOM4J Node so that some action can be - performed such as in the XSLT processing model. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
Rule() - -
-           
Rule(Pattern pattern) - -
-           
Rule(Pattern pattern, - Action action) - -
-           
Rule(Rule that, - Pattern pattern) - -
-          Constructs a new Rule with the same instance data as the given rule but a - different pattern.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(Object that) - -
-           
- intcompareTo(Rule that) - -
-          Compares two rules in XSLT processing model order assuming that the modes - are equal.
- booleanequals(Object that) - -
-           
- ActiongetAction() - -
-          Getter for property action.
- intgetAppearenceCount() - -
-          Getter for property appearenceCount.
- intgetImportPrecedence() - -
-          Getter for property importPrecedence.
- StringgetMatchesNodeName() - -
-          For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. -
- shortgetMatchType() - -
-          DOCUMENT ME!
- StringgetMode() - -
-          Getter for property mode.
- PatterngetPattern() - -
-          Getter for property pattern.
- doublegetPriority() - -
-          Getter for property priority.
- Rule[]getUnionRules() - -
-          If this rule contains a union pattern then this method should return an - array of Rules which describe the union rule, which should contain more - than one rule.
- inthashCode() - -
-           
- booleanmatches(Node node) - -
-          DOCUMENT ME!
- voidsetAction(Action action) - -
-          Setter for property action.
- voidsetAppearenceCount(int appearenceCount) - -
-          Setter for property appearenceCount.
- voidsetImportPrecedence(int importPrecedence) - -
-          Setter for property importPrecedence.
- voidsetMode(String mode) - -
-          Setter for property mode.
- voidsetPattern(Pattern pattern) - -
-          Setter for property pattern.
- voidsetPriority(double priority) - -
-          Setter for property priority.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Rule

-
-public Rule()
-
-
-
- -

-Rule

-
-public Rule(Pattern pattern)
-
-
-
- -

-Rule

-
-public Rule(Pattern pattern,
-            Action action)
-
-
-
- -

-Rule

-
-public Rule(Rule that,
-            Pattern pattern)
-
-
Constructs a new Rule with the same instance data as the given rule but a - different pattern. -

-

Parameters:
that - DOCUMENT ME!
pattern - DOCUMENT ME!
- - - - - - - - -
-Method Detail
- -

-equals

-
-public boolean equals(Object that)
-
-
-
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
-
-
-
-
-
-
- -

-compareTo

-
-public int compareTo(Object that)
-
-
-
Specified by:
compareTo in interface Comparable
-
-
-
-
-
-
- -

-compareTo

-
-public int compareTo(Rule that)
-
-
Compares two rules in XSLT processing model order assuming that the modes - are equal. -

-

-
-
-
-
Parameters:
that - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-matches

-
-public final boolean matches(Node node)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the pattern matches the given DOM4J node.
-
-
-
- -

-getUnionRules

-
-public Rule[] getUnionRules()
-
-
If this rule contains a union pattern then this method should return an - array of Rules which describe the union rule, which should contain more - than one rule. Otherwise this method should return null. -

-

-
-
-
- -
Returns:
an array of the rules which make up this union rule or null if - this rule is not a union rule
-
-
-
- -

-getMatchType

-
-public final short getMatchType()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the type of node the pattern matches which by default should - return ANY_NODE if it can match any kind of node.
-
-
-
- -

-getMatchesNodeName

-
-public final String getMatchesNodeName()
-
-
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - This allows a more efficient rule matching algorithm to be performed, - rather than a brute force approach of evaluating every pattern for a - given Node. -

-

-
-
-
- -
Returns:
the name of the element or attribute this pattern matches or null - if this pattern matches any or more than one name.
-
-
-
- -

-getMode

-
-public String getMode()
-
-
Getter for property mode. -

-

-
-
-
- -
Returns:
Value of property mode.
-
-
-
- -

-setMode

-
-public void setMode(String mode)
-
-
Setter for property mode. -

-

-
-
-
-
Parameters:
mode - New value of property mode.
-
-
-
- -

-getImportPrecedence

-
-public int getImportPrecedence()
-
-
Getter for property importPrecedence. -

-

-
-
-
- -
Returns:
Value of property importPrecedence.
-
-
-
- -

-setImportPrecedence

-
-public void setImportPrecedence(int importPrecedence)
-
-
Setter for property importPrecedence. -

-

-
-
-
-
Parameters:
importPrecedence - New value of property importPrecedence.
-
-
-
- -

-getPriority

-
-public double getPriority()
-
-
Getter for property priority. -

-

-
-
-
- -
Returns:
Value of property priority.
-
-
-
- -

-setPriority

-
-public void setPriority(double priority)
-
-
Setter for property priority. -

-

-
-
-
-
Parameters:
priority - New value of property priority.
-
-
-
- -

-getAppearenceCount

-
-public int getAppearenceCount()
-
-
Getter for property appearenceCount. -

-

-
-
-
- -
Returns:
Value of property appearenceCount.
-
-
-
- -

-setAppearenceCount

-
-public void setAppearenceCount(int appearenceCount)
-
-
Setter for property appearenceCount. -

-

-
-
-
-
Parameters:
appearenceCount - New value of property appearenceCount.
-
-
-
- -

-getPattern

-
-public Pattern getPattern()
-
-
Getter for property pattern. -

-

-
-
-
- -
Returns:
Value of property pattern.
-
-
-
- -

-setPattern

-
-public void setPattern(Pattern pattern)
-
-
Setter for property pattern. -

-

-
-
-
-
Parameters:
pattern - New value of property pattern.
-
-
-
- -

-getAction

-
-public Action getAction()
-
-
Getter for property action. -

-

-
-
-
- -
Returns:
Value of property action.
-
-
-
- -

-setAction

-
-public void setAction(Action action)
-
-
Setter for property action. -

-

-
-
-
-
Parameters:
action - New value of property action.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/RuleManager.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/RuleManager.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/RuleManager.html 2005-05-16 13:27:53.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/RuleManager.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,488 +0,0 @@ - - - - - - - -RuleManager (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Class RuleManager

-
-java.lang.Object
-  extended byorg.dom4j.rule.RuleManager
-
-
-
-
public class RuleManager
extends Object
- -

-

- RuleManager manages a set of rules such that a rule can be - found for a given DOM4J Node using the XSLT processing model. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
RuleManager() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidaddDefaultRule(Mode mode, - Pattern pattern, - Action action) - -
-           
-protected  voidaddDefaultRules(Mode mode) - -
-          Adds the default stylesheet rules to the given Modeinstance
- voidaddRule(Rule rule) - -
-           
- voidclear() - -
-           
-protected  RulecreateDefaultRule(Pattern pattern, - Action action) - -
-           
-protected  ModecreateMode() - -
-          A factory method to return a new Modeinstance which should add - the necessary default rules
- RulegetMatchingRule(String modeName, - Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
- ModegetMode(String modeName) - -
-          DOCUMENT ME!
- ActiongetValueOfAction() - -
-          DOCUMENT ME!
- voidremoveRule(Rule rule) - -
-           
- voidsetValueOfAction(Action valueOfAction) - -
-          Sets the default value-of action which is used in the default rules for - the pattern "text()|@"
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-RuleManager

-
-public RuleManager()
-
-
- - - - - - - - -
-Method Detail
- -

-getMode

-
-public Mode getMode(String modeName)
-
-
DOCUMENT ME! -

-

-
Parameters:
modeName - DOCUMENT ME! -
Returns:
the Mode instance for the given mode name. If one does not exist - then it will be created.
-
-
-
- -

-addRule

-
-public void addRule(Rule rule)
-
-
-
-
-
-
- -

-removeRule

-
-public void removeRule(Rule rule)
-
-
-
-
-
-
- -

-getMatchingRule

-
-public Rule getMatchingRule(String modeName,
-                            Node node)
-
-
Performs an XSLT processing model match for the rule which matches the - given Node the best. -

-

-
Parameters:
modeName - is the name of the mode associated with the rule if any
node - is the DOM4J Node to match against -
Returns:
the matching Rule or no rule if none matched
-
-
-
- -

-clear

-
-public void clear()
-
-
-
-
-
-
- -

-getValueOfAction

-
-public Action getValueOfAction()
-
-
DOCUMENT ME! -

-

- -
Returns:
the default value-of action which is used in the default rules - for the pattern "text()|@"
-
-
-
- -

-setValueOfAction

-
-public void setValueOfAction(Action valueOfAction)
-
-
Sets the default value-of action which is used in the default rules for - the pattern "text()|@" -

-

-
Parameters:
valueOfAction - DOCUMENT ME!
-
-
-
- -

-createMode

-
-protected Mode createMode()
-
-
A factory method to return a new Modeinstance which should add - the necessary default rules -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-addDefaultRules

-
-protected void addDefaultRules(Mode mode)
-
-
Adds the default stylesheet rules to the given Modeinstance -

-

-
Parameters:
mode - DOCUMENT ME!
-
-
-
- -

-addDefaultRule

-
-protected void addDefaultRule(Mode mode,
-                              Pattern pattern,
-                              Action action)
-
-
-
-
-
-
- -

-createDefaultRule

-
-protected Rule createDefaultRule(Pattern pattern,
-                                 Action action)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/RuleSet.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/RuleSet.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/RuleSet.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/RuleSet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,374 +0,0 @@ - - - - - - - -RuleSet (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Class RuleSet

-
-java.lang.Object
-  extended byorg.dom4j.rule.RuleSet
-
-
-
-
public class RuleSet
extends Object
- -

-

- RuleSet manages a set of rules which are sorted in order of - relevance according to the XSLT defined conflict resolution policy. This - makes finding the correct rule for a DOM4J Node using the XSLT processing - model efficient as the rules can be evaluated in order of priority. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
RuleSet() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAll(RuleSet that) - -
-          Adds all the rules to this RuleSet from the given other rule set.
- voidaddRule(Rule rule) - -
-           
- RulegetMatchingRule(Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
-protected  Rule[]getRuleArray() - -
-          Returns an array of sorted rules.
- voidremoveRule(Rule rule) - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-RuleSet

-
-public RuleSet()
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public String toString()
-
-
-
-
-
-
- -

-getMatchingRule

-
-public Rule getMatchingRule(Node node)
-
-
Performs an XSLT processing model match for the rule which matches the - given Node the best. -

-

-
Parameters:
node - is the DOM4J Node to match against -
Returns:
the matching Rule or no rule if none matched
-
-
-
- -

-addRule

-
-public void addRule(Rule rule)
-
-
-
-
-
-
- -

-removeRule

-
-public void removeRule(Rule rule)
-
-
-
-
-
-
- -

-addAll

-
-public void addAll(RuleSet that)
-
-
Adds all the rules to this RuleSet from the given other rule set. -

-

-
Parameters:
that - DOCUMENT ME!
-
-
-
- -

-getRuleArray

-
-protected Rule[] getRuleArray()
-
-
Returns an array of sorted rules. -

-

- -
Returns:
the rules as a sorted array in ascending precendence so that the - rules at the end of the array should be used first
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Stylesheet.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Stylesheet.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/Stylesheet.html 2005-05-16 13:27:38.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/Stylesheet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,719 +0,0 @@ - - - - - - - -Stylesheet (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule -
-Class Stylesheet

-
-java.lang.Object
-  extended byorg.dom4j.rule.Stylesheet
-
-
-
-
public class Stylesheet
extends Object
- -

-

- Stylesheet implements an XSLT stylesheet such that rules can - be added to the stylesheet and the stylesheet can be applied to a source - document or node. -

-

- -

-

-
Version:
-
$Revision: 1.14 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Stylesheet() - -
-          Creates a new empty stylesheet.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddRule(Rule rule) - -
-          Add a rule to this stylesheet.
- voidapplyTemplates(Object input) - -
-          If input is a Node, this will processes all of the - children of that node.
- voidapplyTemplates(Object input, - String mode) - -
-          Processes the input object in the given mode.
- voidapplyTemplates(Object input, - XPath xpath) - -
-          Processes the result of the xpath expression.
- voidapplyTemplates(Object input, - org.jaxen.XPath xpath) - -
-          Deprecated. Use applyTemplates(Object, XPath)instead.
- voidapplyTemplates(Object input, - XPath xpath, - String mode) - -
-          Processes the result of the xpath expression in the given mode.
- voidapplyTemplates(Object input, - org.jaxen.XPath xpath, - String mode) - -
-          Deprecated. Use applyTemplates(Object, XPath, String) - instead.
- voidclear() - -
-           
- StringgetModeName() - -
-          DOCUMENT ME!
- ActiongetValueOfAction() - -
-          DOCUMENT ME!
- voidremoveRule(Rule rule) - -
-          Removes the specified rule from this stylesheet.
- voidrun(List list) - -
-           
- voidrun(List list, - String mode) - -
-           
- voidrun(Node node) - -
-           
- voidrun(Node node, - String mode) - -
-           
- voidrun(Object input) - -
-          Runs this stylesheet on the given input which should be either a Node or - a List of Node objects.
- voidrun(Object input, - String mode) - -
-           
- voidsetModeName(String modeName) - -
-          Sets the name of the mode that the stylesheet uses by default.
- voidsetValueOfAction(Action valueOfAction) - -
-          Sets the default value-of action which is used in the default rules for - the pattern "text()|@"
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Stylesheet

-
-public Stylesheet()
-
-
Creates a new empty stylesheet. -

-

- - - - - - - - -
-Method Detail
- -

-addRule

-
-public void addRule(Rule rule)
-
-
Add a rule to this stylesheet. -

-

-
Parameters:
rule - the rule to add
-
-
-
- -

-removeRule

-
-public void removeRule(Rule rule)
-
-
Removes the specified rule from this stylesheet. -

-

-
Parameters:
rule - the rule to remove
-
-
-
- -

-run

-
-public void run(Object input)
-         throws Exception
-
-
Runs this stylesheet on the given input which should be either a Node or - a List of Node objects. -

-

-
Parameters:
input - the input to run this stylesheet on -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-run

-
-public void run(Object input,
-                String mode)
-         throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-run

-
-public void run(List list)
-         throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-run

-
-public void run(List list,
-                String mode)
-         throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-run

-
-public void run(Node node)
-         throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-run

-
-public void run(Node node,
-                String mode)
-         throws Exception
-
-
- -
Throws: -
Exception
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Object input,
-                           XPath xpath)
-                    throws Exception
-
-
Processes the result of the xpath expression. The xpath expression is - evaluated against the provided input object. -

-

-
Parameters:
input - the input object
xpath - the xpath expression -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Object input,
-                           XPath xpath,
-                           String mode)
-                    throws Exception
-
-
Processes the result of the xpath expression in the given mode. The xpath - expression is evaluated against the provided input object. -

-

-
Parameters:
input - the input object
xpath - the xpath expression
mode - the mode -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Object input,
-                           org.jaxen.XPath xpath)
-                    throws Exception
-
-
Deprecated. Use applyTemplates(Object, XPath)instead. -

-

Processes the result of the xpath expression. The xpath expression is - evaluated against the provided input object. -

-

-
Parameters:
input - the input object
xpath - the xpath expression -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Object input,
-                           org.jaxen.XPath xpath,
-                           String mode)
-                    throws Exception
-
-
Deprecated. Use applyTemplates(Object, XPath, String) - instead. -

-

Processes the result of the xpath expression in the given mode. The xpath - expression is evaluated against the provided input object. -

-

-
Parameters:
input - the input object
xpath - the xpath expression
mode - the mode -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Object input)
-                    throws Exception
-
-
If input is a Node, this will processes all of the - children of that node. If input is a List of - Nodess, these nodes will be iterated and all children of - each node will be processed. -

-

-
Parameters:
input - the input object, this can either be a Node or - a List -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-applyTemplates

-
-public void applyTemplates(Object input,
-                           String mode)
-                    throws Exception
-
-
Processes the input object in the given mode. If input is a - Node, this will processes all of the children of that - node. If input is a List of Nodess, these - nodes will be iterated and all children of each node will be processed. -

-

-
Parameters:
input - the input object, this can either be a Node or - a List
mode - the mode -
Throws: -
Exception - if something goes wrong
-
-
-
- -

-clear

-
-public void clear()
-
-
-
-
-
-
- -

-getModeName

-
-public String getModeName()
-
-
DOCUMENT ME! -

-

- -
Returns:
the name of the mode the stylesheet uses by default
-
-
-
- -

-setModeName

-
-public void setModeName(String modeName)
-
-
Sets the name of the mode that the stylesheet uses by default. -

-

-
Parameters:
modeName - DOCUMENT ME!
-
-
-
- -

-getValueOfAction

-
-public Action getValueOfAction()
-
-
DOCUMENT ME! -

-

- -
Returns:
the default value-of action which is used in the default rules - for the pattern "text()|@"
-
-
-
- -

-setValueOfAction

-
-public void setValueOfAction(Action valueOfAction)
-
-
Sets the default value-of action which is used in the default rules for - the pattern "text()|@" -

-

-
Parameters:
valueOfAction - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Action.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Action.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Action.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Action.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,278 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.rule.Action (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.rule.Action

-
- - - - - - - - - -
-Packages that use Action
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
-  -

- - - - - -
-Uses of Action in org.dom4j.rule
-  -

- - - - - - - - - -
Classes in org.dom4j.rule that implement Action
- classNullAction - -
-           - NullAction represents an empty action that does nothing. -
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.rule that return Action
- ActionStylesheet.getValueOfAction() - -
-          DOCUMENT ME!
- ActionRuleManager.getValueOfAction() - -
-          DOCUMENT ME!
- ActionRule.getAction() - -
-          Getter for property action.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Action
- voidStylesheet.setValueOfAction(Action valueOfAction) - -
-          Sets the default value-of action which is used in the default rules for - the pattern "text()|@"
- voidRuleManager.setValueOfAction(Action valueOfAction) - -
-          Sets the default value-of action which is used in the default rules for - the pattern "text()|@"
-protected  voidRuleManager.addDefaultRule(Mode mode, - Pattern pattern, - Action action) - -
-           
-protected  RuleRuleManager.createDefaultRule(Pattern pattern, - Action action) - -
-           
- voidRule.setAction(Action action) - -
-          Setter for property action.
-  -

- - - - - - - - -
Constructors in org.dom4j.rule with parameters of type Action
Rule(Pattern pattern, - Action action) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Mode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Mode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Mode.html 2005-05-16 13:26:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Mode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,211 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.Mode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.Mode

-
- - - - - - - - - -
-Packages that use Mode
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
-  -

- - - - - -
-Uses of Mode in org.dom4j.rule
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.rule that return Mode
- ModeRuleManager.getMode(String modeName) - -
-          DOCUMENT ME!
-protected  ModeRuleManager.createMode() - -
-          A factory method to return a new Modeinstance which should add - the necessary default rules
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Mode
-protected  voidRuleManager.addDefaultRules(Mode mode) - -
-          Adds the default stylesheet rules to the given Modeinstance
-protected  voidRuleManager.addDefaultRule(Mode mode, - Pattern pattern, - Action action) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/NullAction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/NullAction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/NullAction.html 2005-05-16 13:26:18.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/NullAction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.NullAction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.NullAction

-
- - - - - - - - - -
-Packages that use NullAction
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
-  -

- - - - - -
-Uses of NullAction in org.dom4j.rule
-  -

- - - - - - - - - -
Fields in org.dom4j.rule declared as NullAction
-static NullActionNullAction.SINGLETON - -
-          Singleton instance
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Pattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Pattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Pattern.html 2005-05-16 13:26:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Pattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,473 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.rule.Pattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.rule.Pattern

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Pattern
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.rule.pattern  
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of Pattern in org.dom4j
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j that return Pattern
-static PatternDocumentHelper.createPattern(String xpathPattern) - -
-           - createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. -
- PatternDocumentFactory.createPattern(String xpathPattern) - -
-           - createPattern parses the given XPath expression to create - an XSLT style Patterninstance which can then be used in an XSLT - processing model. -
-  -

- - - - - -
-Uses of Pattern in org.dom4j.rule
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.rule that return Pattern
- PatternRule.getPattern() - -
-          Getter for property pattern.
- Pattern[]Pattern.getUnionPatterns() - -
-          If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern.
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Pattern
-protected  voidRuleManager.addDefaultRule(Mode mode, - Pattern pattern, - Action action) - -
-           
-protected  RuleRuleManager.createDefaultRule(Pattern pattern, - Action action) - -
-           
- voidRule.setPattern(Pattern pattern) - -
-          Setter for property pattern.
-  -

- - - - - - - - - - - - - - -
Constructors in org.dom4j.rule with parameters of type Pattern
Rule(Pattern pattern) - -
-           
Rule(Pattern pattern, - Action action) - -
-           
Rule(Rule that, - Pattern pattern) - -
-          Constructs a new Rule with the same instance data as the given rule but a - different pattern.
-  -

- - - - - -
-Uses of Pattern in org.dom4j.rule.pattern
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.rule.pattern that implement Pattern
- classDefaultPattern - -
-           - DefaultPattern a default implementation of Pattern which can - take any XPath implementation or NodeFilter for defining the pattern. -
- classNodeTypePattern - -
-           - NodeTypePattern implements a Pattern which matches any node of - the given node type. -
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.rule.pattern that return Pattern
- Pattern[]NodeTypePattern.getUnionPatterns() - -
-           
- Pattern[]DefaultPattern.getUnionPatterns() - -
-           
-  -

- - - - - -
-Uses of Pattern in org.dom4j.tree
-  -

- - - - - - - - - -
Methods in org.dom4j.tree that return Pattern
- PatternAbstractNode.createPattern(String patternText) - -
-           
-  -

- - - - - -
-Uses of Pattern in org.dom4j.util
-  -

- - - - - - - - - -
Methods in org.dom4j.util that return Pattern
- PatternProxyDocumentFactory.createPattern(String xpathPattern) - -
-           
-  -

- - - - - -
-Uses of Pattern in org.dom4j.xpath
-  -

- - - - - - - - - -
Classes in org.dom4j.xpath that implement Pattern
- classXPathPattern - -
-           - XPathPattern is an implementation of Pattern which uses an - XPath xpath. -
-  -

- - - - - - - - - -
Methods in org.dom4j.xpath that return Pattern
- Pattern[]XPathPattern.getUnionPatterns() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Rule.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Rule.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Rule.html 2005-05-16 13:26:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Rule.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,340 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.Rule (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.Rule

-
- - - - - - - - - -
-Packages that use Rule
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
-  -

- - - - - -
-Uses of Rule in org.dom4j.rule
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.rule that return Rule
- RuleRuleSet.getMatchingRule(Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
-protected  Rule[]RuleSet.getRuleArray() - -
-          Returns an array of sorted rules.
- RuleRuleManager.getMatchingRule(String modeName, - Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
-protected  RuleRuleManager.createDefaultRule(Pattern pattern, - Action action) - -
-           
- Rule[]Rule.getUnionRules() - -
-          If this rule contains a union pattern then this method should return an - array of Rules which describe the union rule, which should contain more - than one rule.
- RuleMode.getMatchingRule(Node node) - -
-          Performs an XSLT processing model match for the rule which matches the - given Node the best.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.rule with parameters of type Rule
- voidStylesheet.addRule(Rule rule) - -
-          Add a rule to this stylesheet.
- voidStylesheet.removeRule(Rule rule) - -
-          Removes the specified rule from this stylesheet.
- voidRuleSet.addRule(Rule rule) - -
-           
- voidRuleSet.removeRule(Rule rule) - -
-           
- voidRuleManager.addRule(Rule rule) - -
-           
- voidRuleManager.removeRule(Rule rule) - -
-           
- intRule.compareTo(Rule that) - -
-          Compares two rules in XSLT processing model order assuming that the modes - are equal.
- voidMode.addRule(Rule rule) - -
-           
- voidMode.removeRule(Rule rule) - -
-           
-protected  MapMode.addToNameMap(Map map, - String name, - Rule rule) - -
-          Adds the Rule to a RuleSet for the given name.
-protected  voidMode.removeFromNameMap(Map map, - String name, - Rule rule) - -
-           
-  -

- - - - - - - - -
Constructors in org.dom4j.rule with parameters of type Rule
Rule(Rule that, - Pattern pattern) - -
-          Constructs a new Rule with the same instance data as the given rule but a - different pattern.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/RuleManager.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/RuleManager.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/RuleManager.html 2005-05-16 13:28:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/RuleManager.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.RuleManager (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.RuleManager

-
-No usage of org.dom4j.rule.RuleManager -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/RuleSet.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/RuleSet.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/RuleSet.html 2005-05-16 13:28:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/RuleSet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.RuleSet (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.RuleSet

-
- - - - - - - - - -
-Packages that use RuleSet
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
-  -

- - - - - -
-Uses of RuleSet in org.dom4j.rule
-  -

- - - - - - - - - -
Methods in org.dom4j.rule that return RuleSet
-protected  RuleSetMode.getRuleSet(int matchType) - -
-          DOCUMENT ME!
-  -

- - - - - - - - - -
Methods in org.dom4j.rule with parameters of type RuleSet
- voidRuleSet.addAll(RuleSet that) - -
-          Adds all the rules to this RuleSet from the given other rule set.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Stylesheet.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Stylesheet.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/class-use/Stylesheet.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/class-use/Stylesheet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.Stylesheet (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.Stylesheet

-
-No usage of org.dom4j.rule.Stylesheet -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-frame.html 2005-05-16 13:26:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,56 +0,0 @@ - - - - - - - -org.dom4j.rule (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.rule - - - - -
-Interfaces  - -
-Action -
-Pattern
- - - - - - -
-Classes  - -
-Mode -
-NullAction -
-Rule -
-RuleManager -
-RuleSet -
-Stylesheet
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-summary.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,232 +0,0 @@ - - - - - - - -org.dom4j.rule (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.rule -

-A Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
Action - Action represents some default action which should occur when - a rule matches a node in the XSLT processing model. -
Pattern - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
Mode - Mode manages a number of RuleSet instances for the mode in a - stylesheet.
NullAction - NullAction represents an empty action that does nothing. -
Rule - Rule matches against DOM4J Node so that some action can be - performed such as in the XSLT processing model. -
RuleManager - RuleManager manages a set of rules such that a rule can be - found for a given DOM4J Node using the XSLT processing model. -
RuleSet - RuleSet manages a set of rules which are sorted in order of - relevance according to the XSLT defined conflict resolution policy.
Stylesheet - Stylesheet implements an XSLT stylesheet such that rules can - be added to the stylesheet and the stylesheet can be applied to a source - document or node. -
-  - -

-

-Package org.dom4j.rule Description -

- -

-

A Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. -This package can be used as a the base for a full XSLT implementation -or alternatives, such as a JSP custom tag implementation of XSLT. -

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-tree.html 2005-05-16 13:26:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,155 +0,0 @@ - - - - - - - -org.dom4j.rule Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.rule -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/package-use.html 2005-05-16 13:26:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,326 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.rule (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.rule

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.dom4j.rule
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. - 
org.dom4j.rule.pattern  
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - - - - -
-Classes in org.dom4j.rule used by org.dom4j
Pattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.rule used by org.dom4j.rule
Action - -
-           - Action represents some default action which should occur when - a rule matches a node in the XSLT processing model. -
Mode - -
-           - Mode manages a number of RuleSet instances for the mode in a - stylesheet.
NullAction - -
-           - NullAction represents an empty action that does nothing. -
Pattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
Rule - -
-           - Rule matches against DOM4J Node so that some action can be - performed such as in the XSLT processing model. -
RuleSet - -
-           - RuleSet manages a set of rules which are sorted in order of - relevance according to the XSLT defined conflict resolution policy.
-  -

- - - - - - - - -
-Classes in org.dom4j.rule used by org.dom4j.rule.pattern
Pattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  -

- - - - - - - - -
-Classes in org.dom4j.rule used by org.dom4j.tree
Pattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  -

- - - - - - - - -
-Classes in org.dom4j.rule used by org.dom4j.util
Pattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  -

- - - - - - - - -
-Classes in org.dom4j.rule used by org.dom4j.xpath
Pattern - -
-           - Pattern defines the behaviour for pattern in the XSLT - processing model. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/DefaultPattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/DefaultPattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/DefaultPattern.html 2005-05-16 13:27:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/DefaultPattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,416 +0,0 @@ - - - - - - - -DefaultPattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule.pattern -
-Class DefaultPattern

-
-java.lang.Object
-  extended byorg.dom4j.rule.pattern.DefaultPattern
-
-
-
All Implemented Interfaces:
NodeFilter, Pattern
-
-
-
-
public class DefaultPattern
extends Object
implements Pattern
- -

-

- DefaultPattern a default implementation of Pattern which can - take any XPath implementation or NodeFilter for defining the pattern. - WARNING this implementation causes a worst case, brute force XSLT - rule evaluation to be performed. Wherever possible the methods getPriority(), getMatchType()and getMatchesNodeName()should - be overloaded to allow more rule filtering to occur. -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.rule.Pattern
ANY_NODE, DEFAULT_PRIORITY, NONE, NUMBER_OF_TYPES
-  - - - - - - - - - - -
-Constructor Summary
DefaultPattern(NodeFilter filter) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetMatchesNodeName() - -
-          For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. -
- shortgetMatchType() - -
-          DOCUMENT ME!
- doublegetPriority() - -
-          Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec .
- Pattern[]getUnionPatterns() - -
-          If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern.
- booleanmatches(Node node) - -
-          DOCUMENT ME!
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultPattern

-
-public DefaultPattern(NodeFilter filter)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(Node node)
-
-
Description copied from interface: Pattern
-
DOCUMENT ME! -

-

-
Specified by:
matches in interface Pattern
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the pattern matches the given DOM4J node.
-
-
-
- -

-getPriority

-
-public double getPriority()
-
-
Description copied from interface: Pattern
-
Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec . -

-

-
Specified by:
getPriority in interface Pattern
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getUnionPatterns

-
-public Pattern[] getUnionPatterns()
-
-
Description copied from interface: Pattern
-
If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern. Otherwise this method should return null. -

-

-
Specified by:
getUnionPatterns in interface Pattern
-
-
- -
Returns:
an array of the patterns which make up this union pattern or null - if this pattern is not a union pattern
-
-
-
- -

-getMatchType

-
-public short getMatchType()
-
-
Description copied from interface: Pattern
-
DOCUMENT ME! -

-

-
Specified by:
getMatchType in interface Pattern
-
-
- -
Returns:
the type of node the pattern matches which by default should - return ANY_NODE if it can match any kind of node.
-
-
-
- -

-getMatchesNodeName

-
-public String getMatchesNodeName()
-
-
Description copied from interface: Pattern
-
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - This allows a more efficient rule matching algorithm to be performed, - rather than a brute force approach of evaluating every pattern for a - given Node. -

-

-
Specified by:
getMatchesNodeName in interface Pattern
-
-
- -
Returns:
the name of the element or attribute this pattern matches or null - if this pattern matches any or more than one name.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/NodeTypePattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/NodeTypePattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/NodeTypePattern.html 2005-05-16 13:27:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/NodeTypePattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,539 +0,0 @@ - - - - - - - -NodeTypePattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.rule.pattern -
-Class NodeTypePattern

-
-java.lang.Object
-  extended byorg.dom4j.rule.pattern.NodeTypePattern
-
-
-
All Implemented Interfaces:
NodeFilter, Pattern
-
-
-
-
public class NodeTypePattern
extends Object
implements Pattern
- -

-

- NodeTypePattern implements a Pattern which matches any node of - the given node type. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static NodeTypePatternANY_ATTRIBUTE - -
-          A pattern which matches any Attribute node
-static NodeTypePatternANY_COMMENT - -
-          A pattern which matches any Comment node
-static NodeTypePatternANY_DOCUMENT - -
-          A pattern which matches any Document node
-static NodeTypePatternANY_ELEMENT - -
-          A pattern which matches any Element node
-static NodeTypePatternANY_PROCESSING_INSTRUCTION - -
-          A pattern which matches any ProcessingInstruction node
-static NodeTypePatternANY_TEXT - -
-          A pattern which matches any Text node
- - - - - - - -
Fields inherited from interface org.dom4j.rule.Pattern
ANY_NODE, DEFAULT_PRIORITY, NONE, NUMBER_OF_TYPES
-  - - - - - - - - - - -
-Constructor Summary
NodeTypePattern(short nodeType) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetMatchesNodeName() - -
-          For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. -
- shortgetMatchType() - -
-          DOCUMENT ME!
- doublegetPriority() - -
-          Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec .
- Pattern[]getUnionPatterns() - -
-          If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern.
- booleanmatches(Node node) - -
-          DOCUMENT ME!
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ANY_ATTRIBUTE

-
-public static final NodeTypePattern ANY_ATTRIBUTE
-
-
A pattern which matches any Attribute node -

-

-
-
-
- -

-ANY_COMMENT

-
-public static final NodeTypePattern ANY_COMMENT
-
-
A pattern which matches any Comment node -

-

-
-
-
- -

-ANY_DOCUMENT

-
-public static final NodeTypePattern ANY_DOCUMENT
-
-
A pattern which matches any Document node -

-

-
-
-
- -

-ANY_ELEMENT

-
-public static final NodeTypePattern ANY_ELEMENT
-
-
A pattern which matches any Element node -

-

-
-
-
- -

-ANY_PROCESSING_INSTRUCTION

-
-public static final NodeTypePattern ANY_PROCESSING_INSTRUCTION
-
-
A pattern which matches any ProcessingInstruction node -

-

-
-
-
- -

-ANY_TEXT

-
-public static final NodeTypePattern ANY_TEXT
-
-
A pattern which matches any Text node -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-NodeTypePattern

-
-public NodeTypePattern(short nodeType)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(Node node)
-
-
Description copied from interface: Pattern
-
DOCUMENT ME! -

-

-
Specified by:
matches in interface Pattern
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the pattern matches the given DOM4J node.
-
-
-
- -

-getPriority

-
-public double getPriority()
-
-
Description copied from interface: Pattern
-
Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec . -

-

-
Specified by:
getPriority in interface Pattern
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getUnionPatterns

-
-public Pattern[] getUnionPatterns()
-
-
Description copied from interface: Pattern
-
If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern. Otherwise this method should return null. -

-

-
Specified by:
getUnionPatterns in interface Pattern
-
-
- -
Returns:
an array of the patterns which make up this union pattern or null - if this pattern is not a union pattern
-
-
-
- -

-getMatchType

-
-public short getMatchType()
-
-
Description copied from interface: Pattern
-
DOCUMENT ME! -

-

-
Specified by:
getMatchType in interface Pattern
-
-
- -
Returns:
the type of node the pattern matches which by default should - return ANY_NODE if it can match any kind of node.
-
-
-
- -

-getMatchesNodeName

-
-public String getMatchesNodeName()
-
-
Description copied from interface: Pattern
-
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - This allows a more efficient rule matching algorithm to be performed, - rather than a brute force approach of evaluating every pattern for a - given Node. -

-

-
Specified by:
getMatchesNodeName in interface Pattern
-
-
- -
Returns:
the name of the element or attribute this pattern matches or null - if this pattern matches any or more than one name.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/class-use/DefaultPattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/class-use/DefaultPattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/class-use/DefaultPattern.html 2005-05-16 13:28:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/class-use/DefaultPattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.pattern.DefaultPattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.pattern.DefaultPattern

-
-No usage of org.dom4j.rule.pattern.DefaultPattern -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/class-use/NodeTypePattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/class-use/NodeTypePattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/class-use/NodeTypePattern.html 2005-05-16 13:26:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/class-use/NodeTypePattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,213 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.rule.pattern.NodeTypePattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.rule.pattern.NodeTypePattern

-
- - - - - - - - - -
-Packages that use NodeTypePattern
org.dom4j.rule.pattern  
-  -

- - - - - -
-Uses of NodeTypePattern in org.dom4j.rule.pattern
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields in org.dom4j.rule.pattern declared as NodeTypePattern
-static NodeTypePatternNodeTypePattern.ANY_ATTRIBUTE - -
-          A pattern which matches any Attribute node
-static NodeTypePatternNodeTypePattern.ANY_COMMENT - -
-          A pattern which matches any Comment node
-static NodeTypePatternNodeTypePattern.ANY_DOCUMENT - -
-          A pattern which matches any Document node
-static NodeTypePatternNodeTypePattern.ANY_ELEMENT - -
-          A pattern which matches any Element node
-static NodeTypePatternNodeTypePattern.ANY_PROCESSING_INSTRUCTION - -
-          A pattern which matches any ProcessingInstruction node
-static NodeTypePatternNodeTypePattern.ANY_TEXT - -
-          A pattern which matches any Text node
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-frame.html 2005-05-16 13:26:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ - - - - - - - -org.dom4j.rule.pattern (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.rule.pattern - - - - -
-Classes  - -
-DefaultPattern -
-NodeTypePattern
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-summary.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,159 +0,0 @@ - - - - - - - -org.dom4j.rule.pattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.rule.pattern -

- - - - - - - - - - - - - -
-Class Summary
DefaultPattern - DefaultPattern a default implementation of Pattern which can - take any XPath implementation or NodeFilter for defining the pattern. -
NodeTypePattern - NodeTypePattern implements a Pattern which matches any node of - the given node type. -
-  - -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-tree.html 2005-05-16 13:27:06.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,148 +0,0 @@ - - - - - - - -org.dom4j.rule.pattern Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.rule.pattern -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/rule/pattern/package-use.html 2005-05-16 13:28:09.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/rule/pattern/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,166 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.rule.pattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.rule.pattern

-
- - - - - - - - - -
-Packages that use org.dom4j.rule.pattern
org.dom4j.rule.pattern  
-  -

- - - - - - - - -
-Classes in org.dom4j.rule.pattern used by org.dom4j.rule.pattern
NodeTypePattern - -
-           - NodeTypePattern implements a Pattern which matches any node of - the given node type. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/BranchTreeNode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/BranchTreeNode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/BranchTreeNode.html 2005-05-16 13:27:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/BranchTreeNode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,572 +0,0 @@ - - - - - - - -BranchTreeNode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.swing -
-Class BranchTreeNode

-
-java.lang.Object
-  extended byorg.dom4j.swing.LeafTreeNode
-      extended byorg.dom4j.swing.BranchTreeNode
-
-
-
All Implemented Interfaces:
TreeNode
-
-
-
-
public class BranchTreeNode
extends LeafTreeNode
- -

-

- BranchTreeNode implements the Swing TreeNode interface to bind - dom4j XML Branch nodes (i.e. Document and Element nodes) to a Swing - TreeModel. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan , Jakob Jenkov
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Listchildren - -
-          Stores the child tree nodes
- - - - - - - -
Fields inherited from class org.dom4j.swing.LeafTreeNode
EMPTY_ENUMERATION, xmlNode
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
BranchTreeNode() - -
-           
BranchTreeNode(Branch xmlNode) - -
-           
BranchTreeNode(TreeNode parent, - Branch xmlNode) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Enumerationchildren() - -
-           
-protected  ListcreateChildList() - -
-          Factory method to create List of children TreeNodes
-protected  TreeNodecreateChildTreeNode(Node xmlNode) - -
-          Factory method to create child tree nodes for a given XML node type
- booleangetAllowsChildren() - -
-           
- TreeNodegetChildAt(int childIndex) - -
-           
- intgetChildCount() - -
-           
-protected  ListgetChildList() - -
-          Uses Lazy Initialization pattern to create a List of children
- intgetIndex(TreeNode node) - -
-           
-protected  BranchgetXmlBranch() - -
-           
- booleanisLeaf() - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.swing.LeafTreeNode
getParent, getXmlNode, setParent
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-children

-
-protected List children
-
-
Stores the child tree nodes -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BranchTreeNode

-
-public BranchTreeNode()
-
-
-
- -

-BranchTreeNode

-
-public BranchTreeNode(Branch xmlNode)
-
-
-
- -

-BranchTreeNode

-
-public BranchTreeNode(TreeNode parent,
-                      Branch xmlNode)
-
-
- - - - - - - - -
-Method Detail
- -

-children

-
-public Enumeration children()
-
-
-
Specified by:
children in interface TreeNode
Overrides:
children in class LeafTreeNode
-
-
-
-
-
-
- -

-getAllowsChildren

-
-public boolean getAllowsChildren()
-
-
-
Specified by:
getAllowsChildren in interface TreeNode
Overrides:
getAllowsChildren in class LeafTreeNode
-
-
-
-
-
-
- -

-getChildAt

-
-public TreeNode getChildAt(int childIndex)
-
-
-
Specified by:
getChildAt in interface TreeNode
Overrides:
getChildAt in class LeafTreeNode
-
-
-
-
-
-
- -

-getChildCount

-
-public int getChildCount()
-
-
-
Specified by:
getChildCount in interface TreeNode
Overrides:
getChildCount in class LeafTreeNode
-
-
-
-
-
-
- -

-getIndex

-
-public int getIndex(TreeNode node)
-
-
-
Specified by:
getIndex in interface TreeNode
Overrides:
getIndex in class LeafTreeNode
-
-
-
-
-
-
- -

-isLeaf

-
-public boolean isLeaf()
-
-
-
Specified by:
isLeaf in interface TreeNode
Overrides:
isLeaf in class LeafTreeNode
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class LeafTreeNode
-
-
-
-
-
-
- -

-getChildList

-
-protected List getChildList()
-
-
Uses Lazy Initialization pattern to create a List of children -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createChildList

-
-protected List createChildList()
-
-
Factory method to create List of children TreeNodes -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createChildTreeNode

-
-protected TreeNode createChildTreeNode(Node xmlNode)
-
-
Factory method to create child tree nodes for a given XML node type -

-

-
Parameters:
xmlNode - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-getXmlBranch

-
-protected Branch getXmlBranch()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/DocumentTreeModel.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/DocumentTreeModel.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/DocumentTreeModel.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/DocumentTreeModel.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,348 +0,0 @@ - - - - - - - -DocumentTreeModel (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.swing -
-Class DocumentTreeModel

-
-java.lang.Object
-  extended byjavax.swing.tree.DefaultTreeModel
-      extended byorg.dom4j.swing.DocumentTreeModel
-
-
-
All Implemented Interfaces:
Serializable, TreeModel
-
-
-
-
public class DocumentTreeModel
extends DefaultTreeModel
- -

-

- DocumentTreeModel implements a Swing TreeModel for a dom4j XML - Document. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan , Jakob Jenkov
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Documentdocument - -
-          The document for this model
- - - - - - - -
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
-  - - - - - - - - - - -
-Constructor Summary
DocumentTreeModel(Document document) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- DocumentgetDocument() - -
-          DOCUMENT ME!
- voidsetDocument(Document document) - -
-          Sets the Document instance that this - TreeModel is based on
- - - - - - - -
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-document

-
-protected Document document
-
-
The document for this model -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-DocumentTreeModel

-
-public DocumentTreeModel(Document document)
-
-
- - - - - - - - -
-Method Detail
- -

-getDocument

-
-public Document getDocument()
-
-
DOCUMENT ME! -

-

- -
Returns:
the Document instance that this - TreeModel is based on
-
-
-
- -

-setDocument

-
-public void setDocument(Document document)
-
-
Sets the Document instance that this - TreeModel is based on -

-

-
Parameters:
document - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/LeafTreeNode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/LeafTreeNode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/LeafTreeNode.html 2005-05-16 13:28:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/LeafTreeNode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,556 +0,0 @@ - - - - - - - -LeafTreeNode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.swing -
-Class LeafTreeNode

-
-java.lang.Object
-  extended byorg.dom4j.swing.LeafTreeNode
-
-
-
All Implemented Interfaces:
TreeNode
-
-
-
Direct Known Subclasses:
BranchTreeNode
-
-
-
-
public class LeafTreeNode
extends Object
implements TreeNode
- -

-

- LeafTreeNode implements the Swing TreeNode interface to bind a - leaf XML nodes to a Swing TreeModel. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan , Jakob Jenkov
-
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static EnumerationEMPTY_ENUMERATION - -
-           
-protected  NodexmlNode - -
-          The dom4j Node which contains the
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
LeafTreeNode() - -
-           
LeafTreeNode(Node xmlNode) - -
-           
LeafTreeNode(TreeNode parent, - Node xmlNode) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Enumerationchildren() - -
-           
- booleangetAllowsChildren() - -
-           
- TreeNodegetChildAt(int childIndex) - -
-           
- intgetChildCount() - -
-           
- intgetIndex(TreeNode node) - -
-           
- TreeNodegetParent() - -
-           
- NodegetXmlNode() - -
-           
- booleanisLeaf() - -
-           
- voidsetParent(LeafTreeNode parent) - -
-          Sets the parent of this node but doesn't change the parents children
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY_ENUMERATION

-
-protected static final Enumeration EMPTY_ENUMERATION
-
-
-
-
-
- -

-xmlNode

-
-protected Node xmlNode
-
-
The dom4j Node which contains the -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-LeafTreeNode

-
-public LeafTreeNode()
-
-
-
- -

-LeafTreeNode

-
-public LeafTreeNode(Node xmlNode)
-
-
-
- -

-LeafTreeNode

-
-public LeafTreeNode(TreeNode parent,
-                    Node xmlNode)
-
-
- - - - - - - - -
-Method Detail
- -

-children

-
-public Enumeration children()
-
-
-
Specified by:
children in interface TreeNode
-
-
-
-
-
-
- -

-getAllowsChildren

-
-public boolean getAllowsChildren()
-
-
-
Specified by:
getAllowsChildren in interface TreeNode
-
-
-
-
-
-
- -

-getChildAt

-
-public TreeNode getChildAt(int childIndex)
-
-
-
Specified by:
getChildAt in interface TreeNode
-
-
-
-
-
-
- -

-getChildCount

-
-public int getChildCount()
-
-
-
Specified by:
getChildCount in interface TreeNode
-
-
-
-
-
-
- -

-getIndex

-
-public int getIndex(TreeNode node)
-
-
-
Specified by:
getIndex in interface TreeNode
-
-
-
-
-
-
- -

-getParent

-
-public TreeNode getParent()
-
-
-
Specified by:
getParent in interface TreeNode
-
-
-
-
-
-
- -

-isLeaf

-
-public boolean isLeaf()
-
-
-
Specified by:
isLeaf in interface TreeNode
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(LeafTreeNode parent)
-
-
Sets the parent of this node but doesn't change the parents children -

-

-
-
-
-
Parameters:
parent - DOCUMENT ME!
-
-
-
- -

-getXmlNode

-
-public Node getXmlNode()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/XMLTableColumnDefinition.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/XMLTableColumnDefinition.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/XMLTableColumnDefinition.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/XMLTableColumnDefinition.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,694 +0,0 @@ - - - - - - - -XMLTableColumnDefinition (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.swing -
-Class XMLTableColumnDefinition

-
-java.lang.Object
-  extended byorg.dom4j.swing.XMLTableColumnDefinition
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class XMLTableColumnDefinition
extends Object
implements Serializable
- -

-

- XMLTableColumnDefinition a column within a table definition. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intNODE_TYPE - -
-           
-static intNUMBER_TYPE - -
-           
-static intOBJECT_TYPE - -
-           
-static intSTRING_TYPE - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
XMLTableColumnDefinition() - -
-           
XMLTableColumnDefinition(String name, - String expression, - int type) - -
-           
XMLTableColumnDefinition(String name, - XPath xpath, - int type) - -
-           
XMLTableColumnDefinition(XPath columnXPath, - XPath xpath, - int type) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  XPathcreateXPath(String expression) - -
-           
- ClassgetColumnClass() - -
-           
- XPathgetColumnNameXPath() - -
-          DOCUMENT ME!
- StringgetName() - -
-          Getter for property name.
- intgetType() - -
-          Getter for property type.
- ObjectgetValue(Object row) - -
-           
- XPathgetXPath() - -
-          Getter for property xpath.
-protected  voidhandleException(Exception e) - -
-           
-static intparseType(String typeName) - -
-           
- voidsetColumnNameXPath(XPath columnNameXPath) - -
-          Setter for property columnNameXPath.
- voidsetName(String name) - -
-          Setter for property name.
- voidsetType(int type) - -
-          Setter for property type.
- voidsetXPath(XPath xPath) - -
-          Setter for property xpath.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-OBJECT_TYPE

-
-public static final int OBJECT_TYPE
-
-
-
See Also:
Constant Field Values
-
-
- -

-STRING_TYPE

-
-public static final int STRING_TYPE
-
-
-
See Also:
Constant Field Values
-
-
- -

-NUMBER_TYPE

-
-public static final int NUMBER_TYPE
-
-
-
See Also:
Constant Field Values
-
-
- -

-NODE_TYPE

-
-public static final int NODE_TYPE
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-XMLTableColumnDefinition

-
-public XMLTableColumnDefinition()
-
-
-
- -

-XMLTableColumnDefinition

-
-public XMLTableColumnDefinition(String name,
-                                String expression,
-                                int type)
-
-
-
- -

-XMLTableColumnDefinition

-
-public XMLTableColumnDefinition(String name,
-                                XPath xpath,
-                                int type)
-
-
-
- -

-XMLTableColumnDefinition

-
-public XMLTableColumnDefinition(XPath columnXPath,
-                                XPath xpath,
-                                int type)
-
-
- - - - - - - - -
-Method Detail
- -

-parseType

-
-public static int parseType(String typeName)
-
-
-
-
-
-
-
-
-
- -

-getColumnClass

-
-public Class getColumnClass()
-
-
-
-
-
-
-
-
-
- -

-getValue

-
-public Object getValue(Object row)
-
-
-
-
-
-
-
-
-
- -

-getType

-
-public int getType()
-
-
Getter for property type. -

-

-
-
-
- -
Returns:
Value of property type.
-
-
-
- -

-setType

-
-public void setType(int type)
-
-
Setter for property type. -

-

-
-
-
-
Parameters:
type - New value of property type.
-
-
-
- -

-getName

-
-public String getName()
-
-
Getter for property name. -

-

-
-
-
- -
Returns:
Value of property name.
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Setter for property name. -

-

-
-
-
-
Parameters:
name - New value of property name.
-
-
-
- -

-getXPath

-
-public XPath getXPath()
-
-
Getter for property xpath. -

-

-
-
-
- -
Returns:
Value of property xpath.
-
-
-
- -

-setXPath

-
-public void setXPath(XPath xPath)
-
-
Setter for property xpath. -

-

-
-
-
-
Parameters:
xPath - New value of property xpath.
-
-
-
- -

-getColumnNameXPath

-
-public XPath getColumnNameXPath()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the XPath used to create the column name
-
-
-
- -

-setColumnNameXPath

-
-public void setColumnNameXPath(XPath columnNameXPath)
-
-
Setter for property columnNameXPath. -

-

-
-
-
-
Parameters:
columnNameXPath - New value of property xpath.
-
-
-
- -

-createXPath

-
-protected XPath createXPath(String expression)
-
-
-
-
-
-
-
-
-
- -

-handleException

-
-protected void handleException(Exception e)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/XMLTableDefinition.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/XMLTableDefinition.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/XMLTableDefinition.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/XMLTableDefinition.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,865 +0,0 @@ - - - - - - - -XMLTableDefinition (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.swing -
-Class XMLTableDefinition

-
-java.lang.Object
-  extended byorg.dom4j.swing.XMLTableDefinition
-
-
-
All Implemented Interfaces:
Serializable, org.jaxen.VariableContext
-
-
-
-
public class XMLTableDefinition
extends Object
implements Serializable, org.jaxen.VariableContext
- -

-

- XMLTableDefinition represents a table definition based on - XPath expression evaluated on an XML document. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
XMLTableDefinition() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddColumn(String name, - String expression) - -
-           
- voidaddColumn(String name, - String expression, - int type) - -
-           
- voidaddColumn(XMLTableColumnDefinition column) - -
-           
- voidaddColumnWithXPathName(String columnNameXPathExpression, - String expression, - int type) - -
-           
- voidaddNumberColumn(String name, - String expression) - -
-           
- voidaddStringColumn(String name, - String expression) - -
-           
- voidclear() - -
-           
-protected  voidclearCaches() - -
-           
-protected  XPathcreateColumnXPath(String expression) - -
-           
-protected  XPathcreateXPath(String expression) - -
-           
- XMLTableColumnDefinitiongetColumn(int index) - -
-           
- XMLTableColumnDefinitiongetColumn(String columnName) - -
-           
- ClassgetColumnClass(int columnIndex) - -
-           
- intgetColumnCount() - -
-           
- StringgetColumnName(int columnIndex) - -
-          DOCUMENT ME!
- XPathgetColumnNameXPath(int columnIndex) - -
-          DOCUMENT ME!
- XPathgetColumnXPath(int columnIndex) - -
-          DOCUMENT ME!
- XPathgetRowXPath() - -
-          Getter for property rowXPath.
- ObjectgetValueAt(Object row, - int columnIndex) - -
-           
- ObjectgetVariableValue(String namespaceURI, - String prefix, - String localName) - -
-           
-protected  voidhandleException(Exception e) - -
-           
-static XMLTableDefinitionload(Document definition) - -
-          Loads an XML table definition from an XML definition document
-static XMLTableDefinitionload(Element definition) - -
-          Loads an XML table definition from an XML definition document
- voidremoveColumn(XMLTableColumnDefinition column) - -
-           
- voidsetRowExpression(String xpath) - -
-           
- voidsetRowXPath(XPath rowXPath) - -
-          Setter for property rowXPath.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XMLTableDefinition

-
-public XMLTableDefinition()
-
-
- - - - - - - - -
-Method Detail
- -

-load

-
-public static XMLTableDefinition load(Document definition)
-
-
Loads an XML table definition from an XML definition document -

-

-
-
-
-
Parameters:
definition - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-load

-
-public static XMLTableDefinition load(Element definition)
-
-
Loads an XML table definition from an XML definition document -

-

-
-
-
-
Parameters:
definition - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-getColumnClass

-
-public Class getColumnClass(int columnIndex)
-
-
-
-
-
-
-
-
-
- -

-getColumnCount

-
-public int getColumnCount()
-
-
-
-
-
-
-
-
-
- -

-getColumnName

-
-public String getColumnName(int columnIndex)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
columnIndex - DOCUMENT ME! -
Returns:
the static column name. This is used if there is no - columnNameXPath
-
-
-
- -

-getColumnXPath

-
-public XPath getColumnXPath(int columnIndex)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
columnIndex - DOCUMENT ME! -
Returns:
the XPath expression used to evaluate the value of cells in this - column
-
-
-
- -

-getColumnNameXPath

-
-public XPath getColumnNameXPath(int columnIndex)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
columnIndex - DOCUMENT ME! -
Returns:
the XPath expresssion used to create the column name, if there is - one or null if there is no XPath expression to name the column.
-
-
-
- -

-getValueAt

-
-public Object getValueAt(Object row,
-                         int columnIndex)
-
-
-
-
-
-
-
-
-
- -

-addColumn

-
-public void addColumn(String name,
-                      String expression)
-
-
-
-
-
-
-
-
-
- -

-addColumn

-
-public void addColumn(String name,
-                      String expression,
-                      int type)
-
-
-
-
-
-
-
-
-
- -

-addColumnWithXPathName

-
-public void addColumnWithXPathName(String columnNameXPathExpression,
-                                   String expression,
-                                   int type)
-
-
-
-
-
-
-
-
-
- -

-addStringColumn

-
-public void addStringColumn(String name,
-                            String expression)
-
-
-
-
-
-
-
-
-
- -

-addNumberColumn

-
-public void addNumberColumn(String name,
-                            String expression)
-
-
-
-
-
-
-
-
-
- -

-addColumn

-
-public void addColumn(XMLTableColumnDefinition column)
-
-
-
-
-
-
-
-
-
- -

-removeColumn

-
-public void removeColumn(XMLTableColumnDefinition column)
-
-
-
-
-
-
-
-
-
- -

-clear

-
-public void clear()
-
-
-
-
-
-
-
-
-
- -

-getColumn

-
-public XMLTableColumnDefinition getColumn(int index)
-
-
-
-
-
-
-
-
-
- -

-getColumn

-
-public XMLTableColumnDefinition getColumn(String columnName)
-
-
-
-
-
-
-
-
-
- -

-getRowXPath

-
-public XPath getRowXPath()
-
-
Getter for property rowXPath. -

-

-
-
-
- -
Returns:
Value of property rowXPath.
-
-
-
- -

-setRowXPath

-
-public void setRowXPath(XPath rowXPath)
-
-
Setter for property rowXPath. -

-

-
-
-
-
Parameters:
rowXPath - New value of property rowXPath.
-
-
-
- -

-setRowExpression

-
-public void setRowExpression(String xpath)
-
-
-
-
-
-
-
-
-
- -

-getVariableValue

-
-public Object getVariableValue(String namespaceURI,
-                               String prefix,
-                               String localName)
-
-
-
Specified by:
getVariableValue in interface org.jaxen.VariableContext
-
-
-
-
-
-
- -

-createXPath

-
-protected XPath createXPath(String expression)
-
-
-
-
-
-
-
-
-
- -

-createColumnXPath

-
-protected XPath createColumnXPath(String expression)
-
-
-
-
-
-
-
-
-
- -

-clearCaches

-
-protected void clearCaches()
-
-
-
-
-
-
-
-
-
- -

-handleException

-
-protected void handleException(Exception e)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/XMLTableModel.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/XMLTableModel.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/XMLTableModel.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/XMLTableModel.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,557 +0,0 @@ - - - - - - - -XMLTableModel (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.swing -
-Class XMLTableModel

-
-java.lang.Object
-  extended byjavax.swing.table.AbstractTableModel
-      extended byorg.dom4j.swing.XMLTableModel
-
-
-
All Implemented Interfaces:
Serializable, TableModel
-
-
-
-
public class XMLTableModel
extends AbstractTableModel
- -

-

- XMLTableDefinition repro. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
XMLTableModel(Document tableDefinition, - Object source) - -
-          Creates a TableModel from an XML table definition document and an XML - source
XMLTableModel(Element tableDefinition, - Object source) - -
-          Creates a TableModel from an XML table definition document and an XML - source
XMLTableModel(XMLTableDefinition definition, - Object source) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ClassgetColumnClass(int columnIndex) - -
-           
- intgetColumnCount() - -
-           
- StringgetColumnName(int columnIndex) - -
-           
- XMLTableDefinitiongetDefinition() - -
-          Getter for property definition.
- intgetRowCount() - -
-           
- ListgetRows() - -
-           
- ObjectgetRowValue(int rowIndex) - -
-           
- ObjectgetSource() - -
-          Getter for the XML source, which is usually a Node or List of nodes.
- ObjectgetValueAt(int rowIndex, - int columnIndex) - -
-           
-protected  voidhandleException(Exception e) - -
-           
- voidsetDefinition(XMLTableDefinition definition) - -
-          Setter for property definition.
- voidsetSource(Object source) - -
-          Setter for the XML source, which is usually a Node or List of nodes.
- - - - - - - -
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XMLTableModel

-
-public XMLTableModel(Element tableDefinition,
-                     Object source)
-
-
Creates a TableModel from an XML table definition document and an XML - source -

-

Parameters:
tableDefinition - DOCUMENT ME!
source - DOCUMENT ME!
-
- -

-XMLTableModel

-
-public XMLTableModel(Document tableDefinition,
-                     Object source)
-
-
Creates a TableModel from an XML table definition document and an XML - source -

-

Parameters:
tableDefinition - DOCUMENT ME!
source - DOCUMENT ME!
-
- -

-XMLTableModel

-
-public XMLTableModel(XMLTableDefinition definition,
-                     Object source)
-
-
- - - - - - - - -
-Method Detail
- -

-getRowValue

-
-public Object getRowValue(int rowIndex)
-
-
-
-
-
-
- -

-getRows

-
-public List getRows()
-
-
-
-
-
-
- -

-getColumnClass

-
-public Class getColumnClass(int columnIndex)
-
-
-
-
-
-
- -

-getColumnCount

-
-public int getColumnCount()
-
-
-
-
-
-
- -

-getColumnName

-
-public String getColumnName(int columnIndex)
-
-
-
-
-
-
- -

-getValueAt

-
-public Object getValueAt(int rowIndex,
-                         int columnIndex)
-
-
-
-
-
-
- -

-getRowCount

-
-public int getRowCount()
-
-
-
-
-
-
- -

-getDefinition

-
-public XMLTableDefinition getDefinition()
-
-
Getter for property definition. -

-

- -
Returns:
Value of property definition.
-
-
-
- -

-setDefinition

-
-public void setDefinition(XMLTableDefinition definition)
-
-
Setter for property definition. -

-

-
Parameters:
definition - New value of property definition.
-
-
-
- -

-getSource

-
-public Object getSource()
-
-
Getter for the XML source, which is usually a Node or List of nodes. -

-

- -
Returns:
Value of property source.
-
-
-
- -

-setSource

-
-public void setSource(Object source)
-
-
Setter for the XML source, which is usually a Node or List of nodes. -

-

-
Parameters:
source - New value of property source.
-
-
-
- -

-handleException

-
-protected void handleException(Exception e)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/BranchTreeNode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/BranchTreeNode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/BranchTreeNode.html 2005-05-16 13:27:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/BranchTreeNode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.swing.BranchTreeNode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.swing.BranchTreeNode

-
-No usage of org.dom4j.swing.BranchTreeNode -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/DocumentTreeModel.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/DocumentTreeModel.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/DocumentTreeModel.html 2005-05-16 13:25:57.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/DocumentTreeModel.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.swing.DocumentTreeModel (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.swing.DocumentTreeModel

-
-No usage of org.dom4j.swing.DocumentTreeModel -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/LeafTreeNode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/LeafTreeNode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/LeafTreeNode.html 2005-05-16 13:26:11.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/LeafTreeNode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.swing.LeafTreeNode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.swing.LeafTreeNode

-
- - - - - - - - - -
-Packages that use LeafTreeNode
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
-  -

- - - - - -
-Uses of LeafTreeNode in org.dom4j.swing
-  -

- - - - - - - - - -
Subclasses of LeafTreeNode in org.dom4j.swing
- classBranchTreeNode - -
-           - BranchTreeNode implements the Swing TreeNode interface to bind - dom4j XML Branch nodes (i.e.
-  -

- - - - - - - - - -
Methods in org.dom4j.swing with parameters of type LeafTreeNode
- voidLeafTreeNode.setParent(LeafTreeNode parent) - -
-          Sets the parent of this node but doesn't change the parents children
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/XMLTableColumnDefinition.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/XMLTableColumnDefinition.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/XMLTableColumnDefinition.html 2005-05-16 13:27:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/XMLTableColumnDefinition.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,206 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.swing.XMLTableColumnDefinition (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.swing.XMLTableColumnDefinition

-
- - - - - - - - - -
-Packages that use XMLTableColumnDefinition
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
-  -

- - - - - -
-Uses of XMLTableColumnDefinition in org.dom4j.swing
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.swing that return XMLTableColumnDefinition
- XMLTableColumnDefinitionXMLTableDefinition.getColumn(int index) - -
-           
- XMLTableColumnDefinitionXMLTableDefinition.getColumn(String columnName) - -
-           
-  -

- - - - - - - - - - - - - -
Methods in org.dom4j.swing with parameters of type XMLTableColumnDefinition
- voidXMLTableDefinition.addColumn(XMLTableColumnDefinition column) - -
-           
- voidXMLTableDefinition.removeColumn(XMLTableColumnDefinition column) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/XMLTableDefinition.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/XMLTableDefinition.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/XMLTableDefinition.html 2005-05-16 13:26:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/XMLTableDefinition.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,221 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.swing.XMLTableDefinition (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.swing.XMLTableDefinition

-
- - - - - - - - - -
-Packages that use XMLTableDefinition
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
-  -

- - - - - -
-Uses of XMLTableDefinition in org.dom4j.swing
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.dom4j.swing that return XMLTableDefinition
- XMLTableDefinitionXMLTableModel.getDefinition() - -
-          Getter for property definition.
-static XMLTableDefinitionXMLTableDefinition.load(Document definition) - -
-          Loads an XML table definition from an XML definition document
-static XMLTableDefinitionXMLTableDefinition.load(Element definition) - -
-          Loads an XML table definition from an XML definition document
-  -

- - - - - - - - - -
Methods in org.dom4j.swing with parameters of type XMLTableDefinition
- voidXMLTableModel.setDefinition(XMLTableDefinition definition) - -
-          Setter for property definition.
-  -

- - - - - - - - -
Constructors in org.dom4j.swing with parameters of type XMLTableDefinition
XMLTableModel(XMLTableDefinition definition, - Object source) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/XMLTableModel.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/XMLTableModel.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/class-use/XMLTableModel.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/class-use/XMLTableModel.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.swing.XMLTableModel (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.swing.XMLTableModel

-
-No usage of org.dom4j.swing.XMLTableModel -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-frame.html 2005-05-16 13:27:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ - - - - - - - -org.dom4j.swing (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.swing - - - - -
-Classes  - -
-BranchTreeNode -
-DocumentTreeModel -
-LeafTreeNode -
-XMLTableColumnDefinition -
-XMLTableDefinition -
-XMLTableModel
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-summary.html 2005-05-16 13:28:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,201 +0,0 @@ - - - - - - - -org.dom4j.swing (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.swing -

-A collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
BranchTreeNode - BranchTreeNode implements the Swing TreeNode interface to bind - dom4j XML Branch nodes (i.e.
DocumentTreeModel - DocumentTreeModel implements a Swing TreeModel for a dom4j XML - Document. -
LeafTreeNode - LeafTreeNode implements the Swing TreeNode interface to bind a - leaf XML nodes to a Swing TreeModel. -
XMLTableColumnDefinition - XMLTableColumnDefinition a column within a table definition. -
XMLTableDefinition - XMLTableDefinition represents a table definition based on - XPath expression evaluated on an XML document. -
XMLTableModel - XMLTableDefinition repro. -
-  - -

-

-Package org.dom4j.swing Description -

- -

-

A collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-tree.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,157 +0,0 @@ - - - - - - - -org.dom4j.swing Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.swing -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/swing/package-use.html 2005-05-16 13:27:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/swing/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,184 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.swing (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.swing

-
- - - - - - - - - -
-Packages that use org.dom4j.swing
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels. 
-  -

- - - - - - - - - - - - - - -
-Classes in org.dom4j.swing used by org.dom4j.swing
LeafTreeNode - -
-           - LeafTreeNode implements the Swing TreeNode interface to bind a - leaf XML nodes to a Swing TreeModel. -
XMLTableColumnDefinition - -
-           - XMLTableColumnDefinition a column within a table definition. -
XMLTableDefinition - -
-           - XMLTableDefinition represents a table definition based on - XPath expression evaluated on an XML document. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractAttribute.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,898 +0,0 @@ - - - - - - - -AbstractAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-
-
-
All Implemented Interfaces:
Attribute, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
BeanAttribute, DatatypeAttribute, FlyweightAttribute
-
-
-
-
public abstract class AbstractAttribute
extends AbstractNode
implements Attribute
- -

-

- AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.21 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractAttribute() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
-protected  NodecreateXPathResult(Element parent) - -
-           
- ObjectgetData() - -
-           - Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -
- StringgetName() - -
-           - getName returns the name of this node.
- NamespacegetNamespace() - -
-           - Returns the Namespace of this element if one exists - otherwise null is returned returned. -
- StringgetNamespacePrefix() - -
-           - Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -
- StringgetNamespaceURI() - -
-           - Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetQualifiedName() - -
-           - Returns the fully qualified name of this element. -
- StringgetText() - -
-           - Returns the text of this node. -
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- voidsetData(Object data) - -
-           - Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -
- voidsetNamespace(Namespace namespace) - -
-           - Sets the Namespace of this element or if this element is - read only then an UnsupportedOperationException is thrown. -
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetValue(String value) - -
-           - Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -
- StringtoString() - -
-           
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Attribute
getQName, getValue
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractAttribute

-
-public AbstractAttribute()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-setNamespace

-
-public void setNamespace(Namespace namespace)
-
-
Description copied from interface: Attribute
-

- Sets the Namespace of this element or if this element is - read only then an UnsupportedOperationException is thrown. -

-

-

-
Specified by:
setNamespace in interface Attribute
-
-
-
Parameters:
namespace - is the Namespace to associate with this element
-
-
-
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
-
-
-
- -

-setValue

-
-public void setValue(String value)
-
-
Description copied from interface: Attribute
-

- Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setValue in interface Attribute
-
-
-
Parameters:
value - is the new value of this attribute
-
-
-
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Attribute
-

- Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -

-

-

-
Specified by:
getData in interface Attribute
-
-
- -
Returns:
the attribute data
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Attribute
-

- Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -

-

-

-
Specified by:
setData in interface Attribute
-
-
-
Parameters:
data - the attribute data
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
-
- -

-getNamespace

-
-public Namespace getNamespace()
-
-
Description copied from interface: Attribute
-

- Returns the Namespace of this element if one exists - otherwise null is returned returned. -

-

-

-
Specified by:
getNamespace in interface Attribute
-
-
- -
Returns:
the Namespace associated with this node
-
-
-
- -

-getName

-
-public String getName()
-
-
Description copied from interface: Node
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
Specified by:
getName in interface Node
Overrides:
getName in class AbstractNode
-
-
-
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix()
-
-
Description copied from interface: Attribute
-

- Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -

-

-

-
Specified by:
getNamespacePrefix in interface Attribute
-
-
- -
Returns:
the prefix of the Namespace of this element or an - empty String
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
Description copied from interface: Attribute
-

- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -

-

-

-
Specified by:
getNamespaceURI in interface Attribute
-
-
- -
Returns:
the URI for the Namespace of this element or an - empty String
-
-
-
- -

-getQualifiedName

-
-public String getQualifiedName()
-
-
Description copied from interface: Attribute
-

- Returns the fully qualified name of this element. -

- -

- This will be the same as the value returned from Node.getName() - if this element has no namespace attached to this element or an - expression of the form - -

- getNamespacePrefix() + ":" + getName()
- 
- - will be returned. -

-

-

-
Specified by:
getQualifiedName in interface Attribute
-
-
- -
Returns:
the fully qualified name of the element
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractBranch.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractBranch.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractBranch.html 2005-05-16 13:26:24.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractBranch.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1418 +0,0 @@ - - - - - - - -AbstractBranch (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractBranch

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
AbstractDocument, AbstractElement
-
-
-
-
public abstract class AbstractBranch
extends AbstractNode
implements Branch
- -

-

- AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.44 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static intDEFAULT_CONTENT_LIST_SIZE - -
-           
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractBranch() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(Comment comment) - -
-          Adds the given Comment to this branch.
- voidadd(Element element) - -
-          Adds the given Element to this branch.
- voidadd(Node node) - -
-          Adds the given Node or throws IllegalAddException - if the given node is not of a valid type.
- voidadd(ProcessingInstruction pi) - -
-          Adds the given ProcessingInstruction to this branch.
- ElementaddElement(QName qname) - -
-          Adds a new Element node with the given QNameto - this branch and returns a reference to the new node.
- ElementaddElement(String name) - -
-          Adds a new Element node with the given name to this branch - and returns a reference to the new node.
- ElementaddElement(String qualifiedName, - String namespaceURI) - -
-          Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node.
- ElementaddElement(String name, - String prefix, - String uri) - -
-           
-protected abstract  voidaddNode(int index, - Node node) - -
-           
-protected abstract  voidaddNode(Node node) - -
-           
- voidappendContent(Branch branch) - -
-          Appends the content of the given branch to this branch instance.
-protected abstract  voidchildAdded(Node node) - -
-          Called when a new child node has been added to me to allow any parent - relationships to be created or events to be fired.
-protected abstract  voidchildRemoved(Node node) - -
-          Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired.
- Listcontent() - -
-           - Returns the content nodes of this branch as a backed Listso that - the content of this branch may be modified directly using the - Listinterface.
-protected abstract  ListcontentList() - -
-          DOCUMENT ME!
-protected  voidcontentRemoved() - -
-          Called when the given List content has been removed so each node should - have its parent and document relationships cleared
-protected  ListcreateContentList() - -
-          A Factory Method pattern which creates a List implementation used to - store content
-protected  ListcreateContentList(int size) - -
-          A Factory Method pattern which creates a List implementation used to - store content
-protected  ListcreateEmptyList() - -
-          A Factory Method pattern which creates an empty a BackedList - implementation
-protected  BackedListcreateResultList() - -
-          A Factory Method pattern which creates a BackedList implementation used - to store results of a filtered content query.
-protected  ListcreateSingleResultList(Object result) - -
-          A Factory Method pattern which creates a BackedList implementation which - contains a single result
- ElementelementByID(String elementID) - -
-          Returns the element of the given ID attribute value.
-protected  StringelementID(Element element) - -
-          DOCUMENT ME!
-protected  StringgetContentAsStringValue(Object content) - -
-          DOCUMENT ME!
-protected  StringgetContentAsText(Object content) - -
-          DOCUMENT ME!
- StringgetText() - -
-           - Returns the text of this node. -
- StringgetTextTrim() - -
-           
- booleanhasContent() - -
-           - hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. -
- intindexOf(Node node) - -
-          Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node.
-protected  voidinvalidNodeTypeAddException(Node node) - -
-          Called when an invalid node has been added.
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- Nodenode(int index) - -
-          Returns the Node at the specified index position.
- intnodeCount() - -
-          Returns the number of Node instances that this branch - contains.
- IteratornodeIterator() - -
-          Returns an iterator through the content nodes of this branch
- booleanremove(Comment comment) - -
-          Removes the given Comment if the node is an immediate - child of this branch.
- booleanremove(Element element) - -
-          Removes the given Element if the node is an immediate - child of this branch.
- booleanremove(Node node) - -
-          Removes the given Node if the node is an immediate child - of this branch.
- booleanremove(ProcessingInstruction pi) - -
-          Removes the given ProcessingInstruction if the node is an - immediate child of this branch.
-protected abstract  booleanremoveNode(Node node) - -
-           
- voidsetProcessingInstructions(List listOfPIs) - -
-          Sets all the processing instructions for this branch
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeType, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
clearContent, normalize, processingInstruction, processingInstructions, processingInstructions, removeProcessingInstruction, setContent
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - -
-Field Detail
- -

-DEFAULT_CONTENT_LIST_SIZE

-
-protected static final int DEFAULT_CONTENT_LIST_SIZE
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-AbstractBranch

-
-public AbstractBranch()
-
-
- - - - - - - - -
-Method Detail
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
-
- -

-hasContent

-
-public boolean hasContent()
-
-
Description copied from interface: Node
-

- hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. -

-

-

-
Specified by:
hasContent in interface Node
Overrides:
hasContent in class AbstractNode
-
-
-
-
-
-
- -

-content

-
-public List content()
-
-
Description copied from interface: Branch
-

- Returns the content nodes of this branch as a backed Listso that - the content of this branch may be modified directly using the - Listinterface. The List is backed by the - Branch so that changes to the list are reflected in the - branch and vice versa. -

-

-

-
Specified by:
content in interface Branch
-
-
- -
Returns:
the nodes that this branch contains as a List
-
-
-
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-getContentAsText

-
-protected String getContentAsText(Object content)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
content - DOCUMENT ME! -
Returns:
the text value of the given content object as text which returns - the text value of CDATA, Entity or Text nodes
-
-
-
- -

-getContentAsStringValue

-
-protected String getContentAsStringValue(Object content)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
content - DOCUMENT ME! -
Returns:
the XPath defined string-value of the given content object
-
-
-
- -

-getTextTrim

-
-public String getTextTrim()
-
-
-
-
-
-
-
-
-
- -

-setProcessingInstructions

-
-public void setProcessingInstructions(List listOfPIs)
-
-
Description copied from interface: Branch
-
Sets all the processing instructions for this branch -

-

-
Specified by:
setProcessingInstructions in interface Branch
-
-
-
Parameters:
listOfPIs - DOCUMENT ME!
-
-
-
- -

-addElement

-
-public Element addElement(String name)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given name to this branch - and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
-
-
-
Parameters:
name - is the name for the Element node. -
Returns:
the newly added Element node.
-
-
-
- -

-addElement

-
-public Element addElement(String qualifiedName,
-                          String namespaceURI)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
-
-
-
Parameters:
qualifiedName - is the fully qualified name of the Element
namespaceURI - is the URI of the namespace to use -
Returns:
the newly added Element node.
-
-
-
- -

-addElement

-
-public Element addElement(QName qname)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given QNameto - this branch and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
-
-
-
Parameters:
qname - is the qualified name for the Element node. -
Returns:
the newly added Element node.
-
-
-
- -

-addElement

-
-public Element addElement(String name,
-                          String prefix,
-                          String uri)
-
-
-
-
-
-
-
-
-
- -

-add

-
-public void add(Node node)
-
-
Description copied from interface: Branch
-
Adds the given Node or throws IllegalAddException - if the given node is not of a valid type. This is a polymorphic method - which will call the typesafe method for the node type such as - add(Element) or add(Comment). -

-

-
Specified by:
add in interface Branch
-
-
-
Parameters:
node - is the given node to add
-
-
-
- -

-remove

-
-public boolean remove(Node node)
-
-
Description copied from interface: Branch
-
Removes the given Node if the node is an immediate child - of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. This - is a polymorphic method which will call the typesafe method for the node - type such as remove(Element) or remove(Comment). -

-

-
Specified by:
remove in interface Branch
-
-
-
Parameters:
node - is the given node to be removed -
Returns:
true if the node was removed
-
-
-
- -

-add

-
-public void add(Comment comment)
-
-
Description copied from interface: Branch
-
Adds the given Comment to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Branch
-
-
-
Parameters:
comment - is the comment to be added
-
-
-
- -

-add

-
-public void add(Element element)
-
-
Description copied from interface: Branch
-
Adds the given Element to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Branch
-
-
-
Parameters:
element - is the element to be added
-
-
-
- -

-add

-
-public void add(ProcessingInstruction pi)
-
-
Description copied from interface: Branch
-
Adds the given ProcessingInstruction to this branch. If - the given node already has a parent defined then an - IllegalAddException will be thrown. -

-

-
Specified by:
add in interface Branch
-
-
-
Parameters:
pi - is the processing instruction to be added
-
-
-
- -

-remove

-
-public boolean remove(Comment comment)
-
-
Description copied from interface: Branch
-
Removes the given Comment if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Branch
-
-
-
Parameters:
comment - is the comment to be removed -
Returns:
true if the comment was removed
-
-
-
- -

-remove

-
-public boolean remove(Element element)
-
-
Description copied from interface: Branch
-
Removes the given Element if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Branch
-
-
-
Parameters:
element - is the element to be removed -
Returns:
true if the element was removed
-
-
-
- -

-remove

-
-public boolean remove(ProcessingInstruction pi)
-
-
Description copied from interface: Branch
-
Removes the given ProcessingInstruction if the node is an - immediate child of this branch. If the given node is not an immediate - child of this branch then the Node.detach()method should be used - instead. -

-

-
Specified by:
remove in interface Branch
-
-
-
Parameters:
pi - is the processing instruction to be removed -
Returns:
true if the processing instruction was removed
-
-
-
- -

-elementByID

-
-public Element elementByID(String elementID)
-
-
Description copied from interface: Branch
-
Returns the element of the given ID attribute value. If this tree is - capable of understanding which attribute value should be used for the ID - then it should be used, otherwise this method should return null. -

-

-
Specified by:
elementByID in interface Branch
-
-
-
Parameters:
elementID - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-appendContent

-
-public void appendContent(Branch branch)
-
-
Description copied from interface: Branch
-
Appends the content of the given branch to this branch instance. This - method behaves like the Collection.addAll(java.util.Collection) method. -

-

-
Specified by:
appendContent in interface Branch
-
-
-
Parameters:
branch - is the branch whose content will be added to me.
-
-
-
- -

-node

-
-public Node node(int index)
-
-
Description copied from interface: Branch
-
Returns the Node at the specified index position. -

-

-
Specified by:
node in interface Branch
-
-
-
Parameters:
index - the index of the node to return. -
Returns:
the Node at the specified position.
-
-
-
- -

-nodeCount

-
-public int nodeCount()
-
-
Description copied from interface: Branch
-
Returns the number of Node instances that this branch - contains. -

-

-
Specified by:
nodeCount in interface Branch
-
-
- -
Returns:
the number of nodes this branch contains
-
-
-
- -

-indexOf

-
-public int indexOf(Node node)
-
-
Description copied from interface: Branch
-
Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node. -

-

-
Specified by:
indexOf in interface Branch
-
-
-
Parameters:
node - the content child node to find. -
Returns:
the index of the given node starting at 0 or -1 if the node is - not a child node of this branch
-
-
-
- -

-nodeIterator

-
-public Iterator nodeIterator()
-
-
Description copied from interface: Branch
-
Returns an iterator through the content nodes of this branch -

-

-
Specified by:
nodeIterator in interface Branch
-
-
- -
Returns:
an iterator through the content nodes of this branch
-
-
-
- -

-elementID

-
-protected String elementID(Element element)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
element - DOCUMENT ME! -
Returns:
the ID of the given Element
-
-
-
- -

-contentList

-
-protected abstract List contentList()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the internal List used to manage the content
-
-
-
- -

-createContentList

-
-protected List createContentList()
-
-
A Factory Method pattern which creates a List implementation used to - store content -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createContentList

-
-protected List createContentList(int size)
-
-
A Factory Method pattern which creates a List implementation used to - store content -

-

-
-
-
-
Parameters:
size - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createResultList

-
-protected BackedList createResultList()
-
-
A Factory Method pattern which creates a BackedList implementation used - to store results of a filtered content query. -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createSingleResultList

-
-protected List createSingleResultList(Object result)
-
-
A Factory Method pattern which creates a BackedList implementation which - contains a single result -

-

-
-
-
-
Parameters:
result - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createEmptyList

-
-protected List createEmptyList()
-
-
A Factory Method pattern which creates an empty a BackedList - implementation -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-addNode

-
-protected abstract void addNode(Node node)
-
-
-
-
-
-
-
-
-
- -

-addNode

-
-protected abstract void addNode(int index,
-                                Node node)
-
-
-
-
-
-
-
-
-
- -

-removeNode

-
-protected abstract boolean removeNode(Node node)
-
-
-
-
-
-
-
-
-
- -

-childAdded

-
-protected abstract void childAdded(Node node)
-
-
Called when a new child node has been added to me to allow any parent - relationships to be created or events to be fired. -

-

-
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-childRemoved

-
-protected abstract void childRemoved(Node node)
-
-
Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired. -

-

-
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-contentRemoved

-
-protected void contentRemoved()
-
-
Called when the given List content has been removed so each node should - have its parent and document relationships cleared -

-

-
-
-
-
-
-
-
- -

-invalidNodeTypeAddException

-
-protected void invalidNodeTypeAddException(Node node)
-
-
Called when an invalid node has been added. Throws an IllegalAddException. -

-

-
-
-
-
Parameters:
node - DOCUMENT ME! -
Throws: -
IllegalAddException - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractCDATA.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,458 +0,0 @@ - - - - - - - -AbstractCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractCDATA

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractCDATA
-
-
-
All Implemented Interfaces:
CDATA, CharacterData, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
FlyweightCDATA
-
-
-
-
public abstract class AbstractCDATA
extends AbstractCharacterData
implements CDATA
- -

-

- AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractCDATA() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringtoString() - -
-           
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractCDATA

-
-public AbstractCDATA()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractCharacterData.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractCharacterData.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractCharacterData.html 2005-05-16 13:27:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractCharacterData.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,396 +0,0 @@ - - - - - - - -AbstractCharacterData (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractCharacterData

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
AbstractCDATA, AbstractComment, AbstractText
-
-
-
-
public abstract class AbstractCharacterData
extends AbstractNode
implements CharacterData
- -

-

- AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractCharacterData() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidappendText(String text) - -
-          Appends the given text to this nodes text value.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeType, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractCharacterData

-
-public AbstractCharacterData()
-
-
- - - - - - - - -
-Method Detail
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-appendText

-
-public void appendText(String text)
-
-
Description copied from interface: CharacterData
-
Appends the given text to this nodes text value. Calling this method is - equivalent of the code node.setText(node.getText() + text) - but allows for possible implementation optimisations (such as a text - based node storing a StringBuffer internally -

-

-
Specified by:
appendText in interface CharacterData
-
-
-
Parameters:
text - the text to append
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractComment.html 2005-05-16 13:26:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,519 +0,0 @@ - - - - - - - -AbstractComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractComment

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractComment
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Comment, Node, Serializable
-
-
-
Direct Known Subclasses:
FlyweightComment
-
-
-
-
public abstract class AbstractComment
extends AbstractCharacterData
implements Comment
- -

-

- AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.13 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractComment() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- StringtoString() - -
-           
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractComment

-
-public AbstractComment()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
Overrides:
getPath in class AbstractCharacterData
-
-
-
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
Overrides:
getUniquePath in class AbstractCharacterData
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractDocument.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractDocument.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractDocument.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractDocument.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1135 +0,0 @@ - - - - - - - -AbstractDocument (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractDocument

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractDocument
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Document, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultDocument
-
-
-
-
public abstract class AbstractDocument
extends AbstractBranch
implements Document
- -

-

- AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.33 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Stringencoding - -
-          The encoding of this document as stated in the XML declaration
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractDocument() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept method is the Visitor Pattern - method. -
- voidadd(Element element) - -
-          Adds the given Element to this branch.
- DocumentaddComment(String comment) - -
-          Adds a new Comment node with the given text to this - branch.
- ElementaddElement(QName qName) - -
-          Adds a new Element node with the given QNameto - this branch and returns a reference to the new node.
- ElementaddElement(String name) - -
-          Adds a new Element node with the given name to this branch - and returns a reference to the new node.
- ElementaddElement(String qualifiedName, - String namespaceURI) - -
-          Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node.
- DocumentaddProcessingInstruction(String target, - Map data) - -
-          Adds a processing instruction for the given target
- DocumentaddProcessingInstruction(String target, - String data) - -
-          Adds a processing instruction for the given target
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- NodeasXPathResult(Element parent) - -
-           - asXPathResult returns a version of this node which is - capable of being an XPath result.
-protected  voidcheckAddElementAllowed(Element element) - -
-           
-protected  voidchildAdded(Node node) - -
-          Called when a new child node has been added to me to allow any parent - relationships to be created or events to be fired.
-protected  voidchildRemoved(Node node) - -
-          Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired.
- DocumentgetDocument() - -
-           - getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- StringgetXMLEncoding() - -
-          Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - -
- voidnormalize() - -
-          Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes.
- booleanremove(Element element) - -
-          Removes the given Element if the node is an immediate - child of this branch.
-protected abstract  voidrootElementAdded(Element rootElement) - -
-          Called to set the root element variable
- voidsetRootElement(Element rootElement) - -
-          Sets the root element for this document
- voidsetXMLEncoding(String enc) - -
-          Sets the encoding of this document as it will appear in the XML - declaration part of the document.
- StringtoString() - -
-           
- voidwrite(Writer out) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
add, add, add, addElement, addNode, addNode, appendContent, content, contentList, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, indexOf, invalidNodeTypeAddException, isReadOnly, node, nodeCount, nodeIterator, remove, remove, remove, removeNode, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Document
addDocType, getDocType, getEntityResolver, getRootElement, setDocType, setEntityResolver
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
add, add, add, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
clone, createXPath, detach, getName, getNodeTypeName, getParent, getPath, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-encoding

-
-protected String encoding
-
-
The encoding of this document as stated in the XML declaration -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-AbstractDocument

-
-public AbstractDocument()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-getDocument

-
-public Document getDocument()
-
-
Description copied from interface: Node
-

- getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getDocument in interface Node
Overrides:
getDocument in class AbstractNode
-
-
-
-
-
-
- -

-getXMLEncoding

-
-public String getXMLEncoding()
-
-
Description copied from interface: Document
-
Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - -

- The way this encoding is retrieved also depends on the way the XML source - is parsed. For instance, if the SAXReader is used and if the underlying - XMLReader implementation support the - org.xml.sax.ext.Locator2 interface, the result returned by - this method is specified by the getEncoding() method of - that interface. -

-

-

-
Specified by:
getXMLEncoding in interface Document
-
-
- -
Returns:
The encoding of this document, as stated in the XML declaration, - or null if unknown.
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Description copied from interface: Node
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . -

-

-
Specified by:
getStringValue in interface Node
Overrides:
getStringValue in class AbstractNode
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer out)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-

- accept method is the Visitor Pattern - method. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - Visitor is the visitor.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
Description copied from interface: Branch
-
Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes. This can - be used to ensure that the DOM view of a document is the same as if it - were saved and re-loaded, and is useful when operations (such as XPointer - lookups) that depend on a particular document tree structure are to be - used.In cases where the document contains CDATASections, - the normalize operation alone may not be sufficient, since XPointers do - not differentiate between Text nodes and - CDATASection nodes. -

-

-
Specified by:
normalize in interface Branch
-
-
-
-
-
-
- -

-addComment

-
-public Document addComment(String comment)
-
-
Description copied from interface: Document
-
Adds a new Comment node with the given text to this - branch. -

-

-
Specified by:
addComment in interface Document
-
-
-
Parameters:
comment - is the text for the Comment node. -
Returns:
this Document instance.
-
-
-
- -

-addProcessingInstruction

-
-public Document addProcessingInstruction(String target,
-                                         String data)
-
-
Description copied from interface: Document
-
Adds a processing instruction for the given target -

-

-
Specified by:
addProcessingInstruction in interface Document
-
-
-
Parameters:
target - is the target of the processing instruction
data - is the textual data (key/value pairs) of the processing - instruction -
Returns:
this Document instance.
-
-
-
- -

-addProcessingInstruction

-
-public Document addProcessingInstruction(String target,
-                                         Map data)
-
-
Description copied from interface: Document
-
Adds a processing instruction for the given target -

-

-
Specified by:
addProcessingInstruction in interface Document
-
-
-
Parameters:
target - is the target of the processing instruction
data - is a Map of the key / value pairs of the processing - instruction -
Returns:
this Document instance.
-
-
-
- -

-addElement

-
-public Element addElement(String name)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given name to this branch - and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
Overrides:
addElement in class AbstractBranch
-
-
-
-
-
-
- -

-addElement

-
-public Element addElement(String qualifiedName,
-                          String namespaceURI)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given qualified name and - namespace URI to this branch and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
Overrides:
addElement in class AbstractBranch
-
-
-
-
-
-
- -

-addElement

-
-public Element addElement(QName qName)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given QNameto - this branch and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
Overrides:
addElement in class AbstractBranch
-
-
-
-
-
-
- -

-setRootElement

-
-public void setRootElement(Element rootElement)
-
-
Description copied from interface: Document
-
Sets the root element for this document -

-

-
Specified by:
setRootElement in interface Document
-
-
-
Parameters:
rootElement - the new root element for this document
-
-
-
- -

-add

-
-public void add(Element element)
-
-
Description copied from interface: Branch
-
Adds the given Element to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Branch
Overrides:
add in class AbstractBranch
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Element element)
-
-
Description copied from interface: Branch
-
Removes the given Element if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Branch
Overrides:
remove in class AbstractBranch
-
-
-
-
-
-
- -

-asXPathResult

-
-public Node asXPathResult(Element parent)
-
-
Description copied from interface: Node
-

- asXPathResult returns a version of this node which is - capable of being an XPath result. The result of an XPath expression - should always support the parent relationship, whether the original XML - tree was singly or doubly linked. If the node does not support the parent - relationship then a new node will be created which is linked to its - parent and returned. -

-

-

-
Specified by:
asXPathResult in interface Node
Overrides:
asXPathResult in class AbstractNode
-
-
-
-
-
-
- -

-childAdded

-
-protected void childAdded(Node node)
-
-
Description copied from class: AbstractBranch
-
Called when a new child node has been added to me to allow any parent - relationships to be created or events to be fired. -

-

-
Specified by:
childAdded in class AbstractBranch
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-childRemoved

-
-protected void childRemoved(Node node)
-
-
Description copied from class: AbstractBranch
-
Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired. -

-

-
Specified by:
childRemoved in class AbstractBranch
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-checkAddElementAllowed

-
-protected void checkAddElementAllowed(Element element)
-
-
-
-
-
-
-
-
-
- -

-rootElementAdded

-
-protected abstract void rootElementAdded(Element rootElement)
-
-
Called to set the root element variable -

-

-
-
-
-
Parameters:
rootElement - DOCUMENT ME!
-
-
-
- -

-setXMLEncoding

-
-public void setXMLEncoding(String enc)
-
-
Description copied from interface: Document
-
Sets the encoding of this document as it will appear in the XML - declaration part of the document. -

-

-
Specified by:
setXMLEncoding in interface Document
-
-
-
Parameters:
enc - the encoding of the document
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractDocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractDocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractDocumentType.html 2005-05-16 13:26:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractDocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,607 +0,0 @@ - - - - - - - -AbstractDocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractDocumentType

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractDocumentType
-
-
-
All Implemented Interfaces:
Cloneable, DocumentType, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultDocumentType
-
-
-
-
public abstract class AbstractDocumentType
extends AbstractNode
implements DocumentType
- -

-

- AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.17 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractDocumentType() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- StringgetName() - -
-           - getName returns the name of this node.
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetText() - -
-          Returns the text format of the declarations if applicable, or the empty - String
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- StringtoString() - -
-           
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.DocumentType
getElementName, getExternalDeclarations, getInternalDeclarations, getPublicID, getSystemID, setElementName, setExternalDeclarations, setInternalDeclarations, setPublicID, setSystemID
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractDocumentType

-
-public AbstractDocumentType()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-getName

-
-public String getName()
-
-
Description copied from interface: Node
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
Specified by:
getName in interface Node
Overrides:
getName in class AbstractNode
-
-
-
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setName in interface Node
Overrides:
setName in class AbstractNode
-
-
-
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-getText

-
-public String getText()
-
-
Returns the text format of the declarations if applicable, or the empty - String -

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractElement.html 2005-05-16 13:26:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,3724 +0,0 @@ - - - - - - - -AbstractElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
Direct Known Subclasses:
BaseElement, DefaultElement
-
-
-
-
public abstract class AbstractElement
extends AbstractBranch
implements Element
- -

-

- AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.80 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static IteratorEMPTY_ITERATOR - -
-           
-protected static ListEMPTY_LIST - -
-           
-protected static booleanUSE_STRINGVALUE_SEPARATOR - -
-           
-protected static booleanVERBOSE_TOSTRING - -
-           
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractElement() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept method is the Visitor Pattern - method. -
- voidadd(Attribute attribute) - -
-          Adds the given Attribute to this element.
- voidadd(CDATA cdata) - -
-          Adds the given CDATA to this element.
- voidadd(Comment comment) - -
-          Adds the given Comment to this branch.
- voidadd(Element element) - -
-          Adds the given Element to this branch.
- voidadd(Entity entity) - -
-          Adds the given Entity to this element.
- voidadd(Namespace namespace) - -
-          Adds the given Namespace to this element.
- voidadd(Node node) - -
-          Adds the given Node or throws IllegalAddException - if the given node is not of a valid type.
- voidadd(ProcessingInstruction pi) - -
-          Adds the given ProcessingInstruction to this branch.
- voidadd(Text text) - -
-          Adds the given Text to this element.
- ElementaddAttribute(QName qName, - String value) - -
-           - Adds the attribute value of the given fully qualified name.
- ElementaddAttribute(String name, - String value) - -
-           - Adds the attribute value of the given local name.
- ElementaddCDATA(String cdata) - -
-          Adds a new CDATA node with the given text to this element.
- ElementaddComment(String comment) - -
-          Adds a new Comment node with the given text to this - element.
- ElementaddElement(String name) - -
-          Adds a new Element node with the given name to this branch - and returns a reference to the new node.
- ElementaddEntity(String name, - String text) - -
-          Adds a new Entity node with the given name and text to - this element and returns a reference to the new node.
- ListadditionalNamespaces() - -
-           - Returns any additional namespaces declarations for this element other - than namespace returned via the getNamespace()method.
- ListadditionalNamespaces(String defaultNamespaceURI) - -
-           
- ElementaddNamespace(String prefix, - String uri) - -
-          Adds a namespace to this element for use by its child content
-protected  voidaddNewNode(int index, - Node node) - -
-           
-protected  voidaddNewNode(Node node) - -
-          Like addNode() but does not require a parent check
-protected  voidaddNode(int index, - Node node) - -
-           
-protected  voidaddNode(Node node) - -
-           
- ElementaddProcessingInstruction(String target, - Map data) - -
-          Adds a processing instruction for the given target
- ElementaddProcessingInstruction(String target, - String data) - -
-          Adds a processing instruction for the given target
- ElementaddText(String text) - -
-          Adds a new Text node with the given text to this element.
- voidappendAttributes(Element element) - -
-          Appends the attributes of the given element to me.
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- Attributeattribute(int index) - -
-          Returns the attribute at the specified indexGets the
- Attributeattribute(QName qName) - -
-          DOCUMENT ME!
- Attributeattribute(String name) - -
-          Returns the attribute with the given name
- Attributeattribute(String name, - Namespace namespace) - -
-           
- intattributeCount() - -
-          DOCUMENT ME!
- IteratorattributeIterator() - -
-          DOCUMENT ME!
-protected abstract  ListattributeList() - -
-          DOCUMENT ME!
-protected abstract  ListattributeList(int attributeCount) - -
-          DOCUMENT ME!
- Listattributes() - -
-           - Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface.
- StringattributeValue(QName qName) - -
-           - This returns the attribute value for the attribute with the given fully - qualified name or null if there is no such attribute or the empty string - if the attribute value is empty. -
- StringattributeValue(QName qName, - String defaultValue) - -
-           - This returns the attribute value for the attribute with the given fully - qualified name or the default value if there is no such attribute value. -
- StringattributeValue(String name) - -
-           - This returns the attribute value for the attribute with the given name - and any namespace or null if there is no such attribute or the empty - string if the attribute value is empty. -
- StringattributeValue(String name, - String defaultValue) - -
-           - This returns the attribute value for the attribute with the given name - and any namespace or the default value if there is no such attribute - value. -
-protected  voidchildAdded(Node node) - -
-          Called when a new child node is added to create any parent relationships
-protected  voidchildRemoved(Node node) - -
-          Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired.
-protected  ListcreateAttributeList() - -
-          A Factory Method pattern which creates a List implementation used to - store attributes
-protected  ListcreateAttributeList(int size) - -
-          A Factory Method pattern which creates a List implementation used to - store attributes
- ElementcreateCopy() - -
-           - This returns a deep clone of this element.
- ElementcreateCopy(QName qName) - -
-           - Creates a deep copy of this element with the given fully qualified name. -
- ElementcreateCopy(String name) - -
-           - Creates a deep copy of this element with the given local name The new - element is detached from its parent, and getParent() on the clone will - return null. -
-protected  ElementcreateElement(QName qName) - -
-           
-protected  ElementcreateElement(String name) - -
-           
-protected  IteratorcreateSingleIterator(Object result) - -
-           
- ListdeclaredNamespaces() - -
-           - Returns all the namespaces declared by this element.
- Elementelement(QName qName) - -
-          Returns the first element for the given fully qualified name.
- Elementelement(String name) - -
-          Returns the first element for the given local name and any namespace.
- Elementelement(String name, - Namespace namespace) - -
-           
- IteratorelementIterator() - -
-          Returns an iterator over all this elements child elements.
- IteratorelementIterator(QName qName) - -
-          Returns an iterator over the elements contained in this element which - match the given fully qualified name.
- IteratorelementIterator(String name) - -
-          Returns an iterator over the elements contained in this element which - match the given local name and any namespace.
- IteratorelementIterator(String name, - Namespace ns) - -
-           
- Listelements() - -
-           - Returns the elements contained in this element.
- Listelements(QName qName) - -
-           - Returns the elements contained in this element with the given fully - qualified name.
- Listelements(String name) - -
-           - Returns the elements contained in this element with the given local name - and any namespace.
- Listelements(String name, - Namespace namespace) - -
-           
- StringelementText(QName qName) - -
-           
- StringelementText(String name) - -
-           
- StringelementTextTrim(QName qName) - -
-           
- StringelementTextTrim(String name) - -
-           
- voidensureAttributesCapacity(int minCapacity) - -
-          Ensures that the list of attributes has the given size
- ObjectgetData() - -
-          Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as AbstractBranch.getText()
-protected  DocumentFactorygetDocumentFactory() - -
-           
- StringgetName() - -
-           - getName returns the name of this node.
- NamespacegetNamespace() - -
-           - Returns the Namespace of this element if one exists - otherwise Namespace.NO_NAMESPACE is returned. -
- NamespacegetNamespaceForPrefix(String prefix) - -
-           - Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -
- NamespacegetNamespaceForURI(String uri) - -
-           - Returns the Namespace which is mapped to the given URI or - null if it could not be found.
- StringgetNamespacePrefix() - -
-           - Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -
- ListgetNamespacesForURI(String uri) - -
-           - Returns the all namespaces which are mapped to the given URI or an empty - list if no such namespaces could be found. -
- StringgetNamespaceURI() - -
-           - Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- QNamegetQName(String qualifiedName) - -
-           - Returns the QName for the given qualified name, using the - namespace URI in scope for the given prefix of the qualified name or the - default namespace if the qualified name has no prefix. -
- StringgetQualifiedName() - -
-           - Returns the fully qualified name of this element.
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- StringgetXPathNameStep() - -
-          Returns the XPath expression to match this Elements name which is - getQualifiedName() if there is a namespace prefix defined or if no - namespace is present then it is getName() or if a namespace is defined - with no prefix then the expression is [name()='X'] where X = getName().
- NodegetXPathResult(int index) - -
-          Returns a node at the given index suitable for an XPath result set.
- booleanhasMixedContent() - -
-           - Returns true if this Element has mixed content.
- intindexOf(Node node) - -
-          Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node.
- booleanisRootElement() - -
-          DOCUMENT ME!
- booleanisTextOnly() - -
-           - Returns true if this Element has text only content. -
- Nodenode(int index) - -
-          Returns the Node at the specified index position.
- intnodeCount() - -
-          Returns the number of Node instances that this branch - contains.
- IteratornodeIterator() - -
-          Returns an iterator through the content nodes of this branch
- voidnormalize() - -
-          Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes.
- ProcessingInstructionprocessingInstruction(String target) - -
-          DOCUMENT ME!
- ListprocessingInstructions() - -
-           - Returns a list of all the processing instructions in this branch.
- ListprocessingInstructions(String target) - -
-           - Returns a list of the processing instructions for the given target.
- booleanremove(Attribute attribute) - -
-          Removes the given Attribute from this element.
- booleanremove(CDATA cdata) - -
-          Removes the given CDATA if the node is an immediate child - of this element.
- booleanremove(Comment comment) - -
-          Removes the given Comment if the node is an immediate - child of this branch.
- booleanremove(Element element) - -
-          Removes the given Element if the node is an immediate - child of this branch.
- booleanremove(Entity entity) - -
-          Removes the given Entity if the node is an immediate child - of this element.
- booleanremove(Namespace namespace) - -
-          Removes the given Namespace if the node is an immediate - child of this element.
- booleanremove(Node node) - -
-          Removes the given Node if the node is an immediate child - of this branch.
- booleanremove(ProcessingInstruction pi) - -
-          Removes the given ProcessingInstruction if the node is an - immediate child of this branch.
- booleanremove(Text text) - -
-          Removes the given Text if the node is an immediate child - of this element.
-protected  booleanremoveNode(Node node) - -
-           
- booleanremoveProcessingInstruction(String target) - -
-          Removes the processing instruction for the given target if it exists
- voidsetAttributes(Attributes attributes, - NamespaceStack namespaceStack, - boolean noNamespaceAttributes) - -
-          This method provides a more optimal way of setting all the attributes on - an Element particularly for use in SAXReader.
- voidsetAttributeValue(QName qName, - String value) - -
-          Deprecated. As of version 0.5. Please use addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- voidsetAttributeValue(String name, - String value) - -
-          Deprecated. As of version 0.5. Please use addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !!
- voidsetData(Object data) - -
-          Sets the data value of this element if this element supports data binding - or calls setText(java.lang.String)if it doesn't
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetNamespace(Namespace namespace) - -
-           
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- StringtoString() - -
-           
- voidwrite(Writer out) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentList, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getNodeTypeName, getParent, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getQName, getText, getTextTrim, setAttributes, setQName
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, clearContent, content, elementByID, setContent, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY_LIST

-
-protected static final List EMPTY_LIST
-
-
-
-
-
- -

-EMPTY_ITERATOR

-
-protected static final Iterator EMPTY_ITERATOR
-
-
-
-
-
- -

-VERBOSE_TOSTRING

-
-protected static final boolean VERBOSE_TOSTRING
-
-
-
See Also:
Constant Field Values
-
-
- -

-USE_STRINGVALUE_SEPARATOR

-
-protected static final boolean USE_STRINGVALUE_SEPARATOR
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-AbstractElement

-
-public AbstractElement()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-isRootElement

-
-public boolean isRootElement()
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
isRootElement in interface Element
-
-
- -
Returns:
true if this element is the root element of a document and this - element supports the parent relationship else false.
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setName in interface Node
Overrides:
setName in class AbstractNode
-
-
-
-
-
-
- -

-setNamespace

-
-public void setNamespace(Namespace namespace)
-
-
-
-
-
-
-
-
-
- -

-getXPathNameStep

-
-public String getXPathNameStep()
-
-
Returns the XPath expression to match this Elements name which is - getQualifiedName() if there is a namespace prefix defined or if no - namespace is present then it is getName() or if a namespace is defined - with no prefix then the expression is [name()='X'] where X = getName(). -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer out)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-

- accept method is the Visitor Pattern - method. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - Visitor is the visitor.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-getNamespace

-
-public Namespace getNamespace()
-
-
Description copied from interface: Element
-

- Returns the Namespace of this element if one exists - otherwise Namespace.NO_NAMESPACE is returned. -

-

-

-
Specified by:
getNamespace in interface Element
-
-
- -
Returns:
the Namespace associated with this element
-
-
-
- -

-getName

-
-public String getName()
-
-
Description copied from interface: Node
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
Specified by:
getName in interface Node
Overrides:
getName in class AbstractNode
-
-
-
-
-
-
- -

-getNamespacePrefix

-
-public String getNamespacePrefix()
-
-
Description copied from interface: Element
-

- Returns the namespace prefix of this element if one exists otherwise an - empty String is returned. -

-

-

-
Specified by:
getNamespacePrefix in interface Element
-
-
- -
Returns:
the prefix of the Namespace of this element or an - empty String
-
-
-
- -

-getNamespaceURI

-
-public String getNamespaceURI()
-
-
Description copied from interface: Element
-

- Returns the URI mapped to the namespace of this element if one exists - otherwise an empty String is returned. -

-

-

-
Specified by:
getNamespaceURI in interface Element
-
-
- -
Returns:
the URI for the Namespace of this element or an - empty String
-
-
-
- -

-getQualifiedName

-
-public String getQualifiedName()
-
-
Description copied from interface: Element
-

- Returns the fully qualified name of this element. This will be the same - as the value returned from Node.getName()if this element has no - namespace attached to this element or an expression of the form - -

- getNamespacePrefix() + ":" + getName()
- 
- - will be returned. -

-

-

-
Specified by:
getQualifiedName in interface Element
-
-
- -
Returns:
the fully qualified name of the element.
-
-
-
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Element
-
Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as Element.getText() -

-

-
Specified by:
getData in interface Element
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Element
-
Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't -

-

-
Specified by:
setData in interface Element
-
-
-
Parameters:
data - DOCUMENT ME!
-
-
-
- -

-node

-
-public Node node(int index)
-
-
Description copied from interface: Branch
-
Returns the Node at the specified index position. -

-

-
Specified by:
node in interface Branch
Overrides:
node in class AbstractBranch
-
-
-
-
-
-
- -

-indexOf

-
-public int indexOf(Node node)
-
-
Description copied from interface: Branch
-
Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node. -

-

-
Specified by:
indexOf in interface Branch
Overrides:
indexOf in class AbstractBranch
-
-
-
-
-
-
- -

-nodeCount

-
-public int nodeCount()
-
-
Description copied from interface: Branch
-
Returns the number of Node instances that this branch - contains. -

-

-
Specified by:
nodeCount in interface Branch
Overrides:
nodeCount in class AbstractBranch
-
-
-
-
-
-
- -

-nodeIterator

-
-public Iterator nodeIterator()
-
-
Description copied from interface: Branch
-
Returns an iterator through the content nodes of this branch -

-

-
Specified by:
nodeIterator in interface Branch
Overrides:
nodeIterator in class AbstractBranch
-
-
-
-
-
-
- -

-element

-
-public Element element(String name)
-
-
Description copied from interface: Element
-
Returns the first element for the given local name and any namespace. -

-

-
Specified by:
element in interface Element
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
the first element with the given local name
-
-
-
- -

-element

-
-public Element element(QName qName)
-
-
Description copied from interface: Element
-
Returns the first element for the given fully qualified name. -

-

-
Specified by:
element in interface Element
-
-
-
Parameters:
qName - is the fully qualified name to search for -
Returns:
the first element with the given fully qualified name
-
-
-
- -

-element

-
-public Element element(String name,
-                       Namespace namespace)
-
-
-
-
-
-
-
-
-
- -

-elements

-
-public List elements()
-
-
Description copied from interface: Element
-

- Returns the elements contained in this element. If this element does not - contain any elements then this method returns an empty list. The list is - backed by the element such that changes to the list will be reflected in - the element though the reverse is not the case. -

-

-

-
Specified by:
elements in interface Element
-
-
- -
Returns:
a list of all the elements in this element.
-
-
-
- -

-elements

-
-public List elements(String name)
-
-
Description copied from interface: Element
-

- Returns the elements contained in this element with the given local name - and any namespace. If no elements are found then this method returns an - empty list. The list is backed by the element such that changes to the - list will be reflected in the element though the reverse is not the case. -

-

-

-
Specified by:
elements in interface Element
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
a list of all the elements in this element for the given local - name
-
-
-
- -

-elements

-
-public List elements(QName qName)
-
-
Description copied from interface: Element
-

- Returns the elements contained in this element with the given fully - qualified name. If no elements are found then this method returns an - empty list. The list is backed by the element such that changes to the - list will be reflected in the element though the reverse is not the case. -

-

-

-
Specified by:
elements in interface Element
-
-
-
Parameters:
qName - is the fully qualified name to search for -
Returns:
a list of all the elements in this element for the given fully - qualified name.
-
-
-
- -

-elements

-
-public List elements(String name,
-                     Namespace namespace)
-
-
-
-
-
-
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator()
-
-
Description copied from interface: Element
-
Returns an iterator over all this elements child elements. -

-

-
Specified by:
elementIterator in interface Element
-
-
- -
Returns:
an iterator over the contained elements
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator(String name)
-
-
Description copied from interface: Element
-
Returns an iterator over the elements contained in this element which - match the given local name and any namespace. -

-

-
Specified by:
elementIterator in interface Element
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
an iterator over the contained elements matching the given local - name
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator(QName qName)
-
-
Description copied from interface: Element
-
Returns an iterator over the elements contained in this element which - match the given fully qualified name. -

-

-
Specified by:
elementIterator in interface Element
-
-
-
Parameters:
qName - is the fully qualified name to search for -
Returns:
an iterator over the contained elements matching the given fully - qualified name
-
-
-
- -

-elementIterator

-
-public Iterator elementIterator(String name,
-                                Namespace ns)
-
-
-
-
-
-
-
-
-
- -

-attributes

-
-public List attributes()
-
-
Description copied from interface: Element
-

- Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface. The List is backed by the - Element so that changes to the list are reflected in the - element and vice versa. -

-

-

-
Specified by:
attributes in interface Element
-
-
- -
Returns:
the attributes that this element contains as a List
-
-
-
- -

-attributeIterator

-
-public Iterator attributeIterator()
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attributeIterator in interface Element
-
-
- -
Returns:
an iterator over the attributes of this element
-
-
-
- -

-attribute

-
-public Attribute attribute(int index)
-
-
Description copied from interface: Element
-
Returns the attribute at the specified indexGets the -

-

-
Specified by:
attribute in interface Element
-
-
-
Parameters:
index - DOCUMENT ME! -
Returns:
the attribute at the specified index where index >= 0 and - index < number of attributes or throws an - IndexOutOfBoundsException if the index is not within the - allowable range
-
-
-
- -

-attributeCount

-
-public int attributeCount()
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attributeCount in interface Element
-
-
- -
Returns:
the number of attributes this element contains
-
-
-
- -

-attribute

-
-public Attribute attribute(String name)
-
-
Description copied from interface: Element
-
Returns the attribute with the given name -

-

-
Specified by:
attribute in interface Element
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
the attribute for the given local name in any namespace. If there - are more than one attributes with the given local name in - different namespaces then the first one is returned.
-
-
-
- -

-attribute

-
-public Attribute attribute(QName qName)
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attribute in interface Element
-
-
-
Parameters:
qName - is the fully qualified name -
Returns:
the attribute for the given fully qualified name or null if it - could not be found.
-
-
-
- -

-attribute

-
-public Attribute attribute(String name,
-                           Namespace namespace)
-
-
-
-
-
-
-
-
-
- -

-setAttributes

-
-public void setAttributes(Attributes attributes,
-                          NamespaceStack namespaceStack,
-                          boolean noNamespaceAttributes)
-
-
This method provides a more optimal way of setting all the attributes on - an Element particularly for use in SAXReader. -

-

-
-
-
-
Parameters:
attributes - DOCUMENT ME!
namespaceStack - DOCUMENT ME!
noNamespaceAttributes - DOCUMENT ME!
-
-
-
- -

-attributeValue

-
-public String attributeValue(String name)
-
-
Description copied from interface: Element
-

- This returns the attribute value for the attribute with the given name - and any namespace or null if there is no such attribute or the empty - string if the attribute value is empty. -

-

-

-
Specified by:
attributeValue in interface Element
-
-
-
Parameters:
name - is the name of the attribute value to be returnd -
Returns:
the value of the attribute, null if the attribute does not exist - or the empty string
-
-
-
- -

-attributeValue

-
-public String attributeValue(QName qName)
-
-
Description copied from interface: Element
-

- This returns the attribute value for the attribute with the given fully - qualified name or null if there is no such attribute or the empty string - if the attribute value is empty. -

-

-

-
Specified by:
attributeValue in interface Element
-
-
-
Parameters:
qName - is the fully qualified name -
Returns:
the value of the attribute, null if the attribute does not exist - or the empty string
-
-
-
- -

-attributeValue

-
-public String attributeValue(String name,
-                             String defaultValue)
-
-
Description copied from interface: Element
-

- This returns the attribute value for the attribute with the given name - and any namespace or the default value if there is no such attribute - value. -

-

-

-
Specified by:
attributeValue in interface Element
-
-
-
Parameters:
name - is the name of the attribute value to be returnd
defaultValue - is the default value to be returned if the attribute has no - value defined. -
Returns:
the value of the attribute or the defaultValue if the attribute - has no value defined.
-
-
-
- -

-attributeValue

-
-public String attributeValue(QName qName,
-                             String defaultValue)
-
-
Description copied from interface: Element
-

- This returns the attribute value for the attribute with the given fully - qualified name or the default value if there is no such attribute value. -

-

-

-
Specified by:
attributeValue in interface Element
-
-
-
Parameters:
qName - is the fully qualified name
defaultValue - is the default value to be returned if the attribute has no - value defined. -
Returns:
the value of the attribute or the defaultValue if the attribute - has no value defined.
-
-
-
- -

-setAttributeValue

-
-public void setAttributeValue(String name,
-                              String value)
-
-
Deprecated. As of version 0.5. Please use addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -

-

DOCUMENT ME! -

-

-
Specified by:
setAttributeValue in interface Element
-
-
-
Parameters:
name - DOCUMENT ME!
value - DOCUMENT ME!
-
-
-
- -

-setAttributeValue

-
-public void setAttributeValue(QName qName,
-                              String value)
-
-
Deprecated. As of version 0.5. Please use addAttribute(String,String) instead. WILL BE REMOVED IN - dom4j-1.6 !! -

-

DOCUMENT ME! -

-

-
Specified by:
setAttributeValue in interface Element
-
-
-
Parameters:
qName - DOCUMENT ME!
value - DOCUMENT ME!
-
-
-
- -

-add

-
-public void add(Attribute attribute)
-
-
Description copied from interface: Element
-
Adds the given Attribute to this element. If the given - node already has a parent defined then an - IllegalAddException will be thrown. Attributes with null - values are silently ignored. - -

- If the value of the attribute is null then this method call will remove - any attributes with the QName of this attribute. -

-

-

-
Specified by:
add in interface Element
-
-
-
Parameters:
attribute - is the attribute to be added
-
-
-
- -

-remove

-
-public boolean remove(Attribute attribute)
-
-
Description copied from interface: Element
-
Removes the given Attribute from this element. -

-

-
Specified by:
remove in interface Element
-
-
-
Parameters:
attribute - is the attribute to be removed -
Returns:
true if the attribute was removed
-
-
-
- -

-processingInstructions

-
-public List processingInstructions()
-
-
Description copied from interface: Branch
-

- Returns a list of all the processing instructions in this branch. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
Specified by:
processingInstructions in interface Branch
-
-
- -
Returns:
a backed list of the processing instructions
-
-
-
- -

-processingInstructions

-
-public List processingInstructions(String target)
-
-
Description copied from interface: Branch
-

- Returns a list of the processing instructions for the given target. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
Specified by:
processingInstructions in interface Branch
-
-
-
Parameters:
target - DOCUMENT ME! -
Returns:
a backed list of the processing instructions
-
-
-
- -

-processingInstruction

-
-public ProcessingInstruction processingInstruction(String target)
-
-
Description copied from interface: Branch
-
DOCUMENT ME! -

-

-
Specified by:
processingInstruction in interface Branch
-
-
-
Parameters:
target - DOCUMENT ME! -
Returns:
the processing instruction for the given target
-
-
-
- -

-removeProcessingInstruction

-
-public boolean removeProcessingInstruction(String target)
-
-
Description copied from interface: Branch
-
Removes the processing instruction for the given target if it exists -

-

-
Specified by:
removeProcessingInstruction in interface Branch
-
-
-
Parameters:
target - DOCUMENT ME! -
Returns:
true if a processing instruction was removed else false
-
-
-
- -

-getXPathResult

-
-public Node getXPathResult(int index)
-
-
Description copied from interface: Element
-
Returns a node at the given index suitable for an XPath result set. This - means the resulting Node will either be null or it will support the - parent relationship. -

-

-
Specified by:
getXPathResult in interface Element
-
-
-
Parameters:
index - DOCUMENT ME! -
Returns:
the Node for the given index which will support the parent - relationship or null if there is not a node at the given index.
-
-
-
- -

-addAttribute

-
-public Element addAttribute(String name,
-                            String value)
-
-
Description copied from interface: Element
-

- Adds the attribute value of the given local name. If an attribute already - exists for the given name it will be replaced. Attributes with null - values are silently ignored. If the value of the attribute is null then - this method call will remove any attributes with the given name. -

-

-

-
Specified by:
addAttribute in interface Element
-
-
-
Parameters:
name - is the name of the attribute whose value is to be added or - updated
value - is the attribute's value -
Returns:
this Element instance.
-
-
-
- -

-addAttribute

-
-public Element addAttribute(QName qName,
-                            String value)
-
-
Description copied from interface: Element
-

- Adds the attribute value of the given fully qualified name. If an - attribute already exists for the given name it will be replaced. - Attributes with null values are silently ignored. If the value of the - attribute is null then this method call will remove any attributes with - the given name. -

-

-

-
Specified by:
addAttribute in interface Element
-
-
-
Parameters:
qName - is the fully qualified name of the attribute whose value is to - be added or updated
value - is the attribute's value -
Returns:
this Element instance.
-
-
-
- -

-addCDATA

-
-public Element addCDATA(String cdata)
-
-
Description copied from interface: Element
-
Adds a new CDATA node with the given text to this element. -

-

-
Specified by:
addCDATA in interface Element
-
-
-
Parameters:
cdata - is the text for the CDATA node. -
Returns:
this Element instance.
-
-
-
- -

-addComment

-
-public Element addComment(String comment)
-
-
Description copied from interface: Element
-
Adds a new Comment node with the given text to this - element. -

-

-
Specified by:
addComment in interface Element
-
-
-
Parameters:
comment - is the text for the Comment node. -
Returns:
this Element instance.
-
-
-
- -

-addElement

-
-public Element addElement(String name)
-
-
Description copied from interface: Branch
-
Adds a new Element node with the given name to this branch - and returns a reference to the new node. -

-

-
Specified by:
addElement in interface Branch
Overrides:
addElement in class AbstractBranch
-
-
-
-
-
-
- -

-addEntity

-
-public Element addEntity(String name,
-                         String text)
-
-
Description copied from interface: Element
-
Adds a new Entity node with the given name and text to - this element and returns a reference to the new node. -

-

-
Specified by:
addEntity in interface Element
-
-
-
Parameters:
name - is the name for the Entity node.
text - is the text for the Entity node. -
Returns:
this Element instance.
-
-
-
- -

-addNamespace

-
-public Element addNamespace(String prefix,
-                            String uri)
-
-
Description copied from interface: Element
-
Adds a namespace to this element for use by its child content -

-

-
Specified by:
addNamespace in interface Element
-
-
-
Parameters:
prefix - is the prefix to use, which should not be null or blank
uri - is the namespace URI -
Returns:
this Element instance.
-
-
-
- -

-addProcessingInstruction

-
-public Element addProcessingInstruction(String target,
-                                        String data)
-
-
Description copied from interface: Element
-
Adds a processing instruction for the given target -

-

-
Specified by:
addProcessingInstruction in interface Element
-
-
-
Parameters:
target - is the target of the processing instruction
data - is the textual data (key/value pairs) of the processing - instruction -
Returns:
this Element instance.
-
-
-
- -

-addProcessingInstruction

-
-public Element addProcessingInstruction(String target,
-                                        Map data)
-
-
Description copied from interface: Element
-
Adds a processing instruction for the given target -

-

-
Specified by:
addProcessingInstruction in interface Element
-
-
-
Parameters:
target - is the target of the processing instruction
data - is a Map of the key / value pairs of the processing - instruction -
Returns:
this Element instance.
-
-
-
- -

-addText

-
-public Element addText(String text)
-
-
Description copied from interface: Element
-
Adds a new Text node with the given text to this element. -

-

-
Specified by:
addText in interface Element
-
-
-
Parameters:
text - is the text for the Text node. -
Returns:
this Element instance.
-
-
-
- -

-add

-
-public void add(Node node)
-
-
Description copied from interface: Branch
-
Adds the given Node or throws IllegalAddException - if the given node is not of a valid type. This is a polymorphic method - which will call the typesafe method for the node type such as - add(Element) or add(Comment). -

-

-
Specified by:
add in interface Branch
Overrides:
add in class AbstractBranch
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Node node)
-
-
Description copied from interface: Branch
-
Removes the given Node if the node is an immediate child - of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. This - is a polymorphic method which will call the typesafe method for the node - type such as remove(Element) or remove(Comment). -

-

-
Specified by:
remove in interface Branch
Overrides:
remove in class AbstractBranch
-
-
-
-
-
-
- -

-add

-
-public void add(CDATA cdata)
-
-
Description copied from interface: Element
-
Adds the given CDATA to this element. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Element
-
-
-
Parameters:
cdata - is the CDATA to be added
-
-
-
- -

-add

-
-public void add(Comment comment)
-
-
Description copied from interface: Branch
-
Adds the given Comment to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Branch
Overrides:
add in class AbstractBranch
-
-
-
-
-
-
- -

-add

-
-public void add(Element element)
-
-
Description copied from interface: Branch
-
Adds the given Element to this branch. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Branch
Overrides:
add in class AbstractBranch
-
-
-
-
-
-
- -

-add

-
-public void add(Entity entity)
-
-
Description copied from interface: Element
-
Adds the given Entity to this element. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Element
-
-
-
Parameters:
entity - is the entity to be added
-
-
-
- -

-add

-
-public void add(Namespace namespace)
-
-
Description copied from interface: Element
-
Adds the given Namespace to this element. If the given - node already has a parent defined then an - IllegalAddException will be thrown. -

-

-
Specified by:
add in interface Element
-
-
-
Parameters:
namespace - is the namespace to be added
-
-
-
- -

-add

-
-public void add(ProcessingInstruction pi)
-
-
Description copied from interface: Branch
-
Adds the given ProcessingInstruction to this branch. If - the given node already has a parent defined then an - IllegalAddException will be thrown. -

-

-
Specified by:
add in interface Branch
Overrides:
add in class AbstractBranch
-
-
-
-
-
-
- -

-add

-
-public void add(Text text)
-
-
Description copied from interface: Element
-
Adds the given Text to this element. If the given node - already has a parent defined then an IllegalAddException - will be thrown. -

-

-
Specified by:
add in interface Element
-
-
-
Parameters:
text - is the text to be added
-
-
-
- -

-remove

-
-public boolean remove(CDATA cdata)
-
-
Description copied from interface: Element
-
Removes the given CDATA if the node is an immediate child - of this element. If the given node is not an immediate child of this - element then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Element
-
-
-
Parameters:
cdata - is the CDATA to be removed -
Returns:
true if the cdata was removed
-
-
-
- -

-remove

-
-public boolean remove(Comment comment)
-
-
Description copied from interface: Branch
-
Removes the given Comment if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Branch
Overrides:
remove in class AbstractBranch
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Element element)
-
-
Description copied from interface: Branch
-
Removes the given Element if the node is an immediate - child of this branch. If the given node is not an immediate child of this - branch then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Branch
Overrides:
remove in class AbstractBranch
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Entity entity)
-
-
Description copied from interface: Element
-
Removes the given Entity if the node is an immediate child - of this element. If the given node is not an immediate child of this - element then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Element
-
-
-
Parameters:
entity - is the entity to be removed -
Returns:
true if the entity was removed
-
-
-
- -

-remove

-
-public boolean remove(Namespace namespace)
-
-
Description copied from interface: Element
-
Removes the given Namespace if the node is an immediate - child of this element. If the given node is not an immediate child of - this element then the Node.detach()method should be used - instead. -

-

-
Specified by:
remove in interface Element
-
-
-
Parameters:
namespace - is the namespace to be removed -
Returns:
true if the namespace was removed
-
-
-
- -

-remove

-
-public boolean remove(ProcessingInstruction pi)
-
-
Description copied from interface: Branch
-
Removes the given ProcessingInstruction if the node is an - immediate child of this branch. If the given node is not an immediate - child of this branch then the Node.detach()method should be used - instead. -

-

-
Specified by:
remove in interface Branch
Overrides:
remove in class AbstractBranch
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Text text)
-
-
Description copied from interface: Element
-
Removes the given Text if the node is an immediate child - of this element. If the given node is not an immediate child of this - element then the Node.detach()method should be used instead. -

-

-
Specified by:
remove in interface Element
-
-
-
Parameters:
text - is the text to be removed -
Returns:
true if the text was removed
-
-
-
- -

-hasMixedContent

-
-public boolean hasMixedContent()
-
-
Description copied from interface: Element
-

- Returns true if this Element has mixed content. Mixed - content means that an element contains both textual data and child - elements. -

-

-

-
Specified by:
hasMixedContent in interface Element
-
-
- -
Returns:
true if this element contains mixed content.
-
-
-
- -

-isTextOnly

-
-public boolean isTextOnly()
-
-
Description copied from interface: Element
-

- Returns true if this Element has text only content. -

-

-

-
Specified by:
isTextOnly in interface Element
-
-
- -
Returns:
true if this element is empty or only contains text content.
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Description copied from interface: Element
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . This method returns the string-value of all the - contained Text,CDATA,Entityand Element nodes all appended together. -

-

-
Specified by:
getStringValue in interface Element
Overrides:
getStringValue in class AbstractNode
-
-
-
-
-
-
- -

-normalize

-
-public void normalize()
-
-
Puts all Text nodes in the full depth of the sub-tree - underneath this Node, including attribute nodes, into a - "normal" form where only structure (e.g., elements, comments, processing - instructions, CDATA sections, and entity references) separates - Text nodes, i.e., there are neither adjacent - Text nodes nor empty Text nodes. This can - be used to ensure that the DOM view of a document is the same as if it - were saved and re-loaded, and is useful when operations (such as XPointer - lookups) that depend on a particular document tree structure are to be - used.In cases where the document contains CDATASections, - the normalize operation alone may not be sufficient, since XPointers do - not differentiate between Text nodes and - CDATASection nodes. -

-

-
Specified by:
normalize in interface Branch
-
-
-
Since:
-
DOM Level 2
-
-
-
-
- -

-elementText

-
-public String elementText(String name)
-
-
-
Specified by:
elementText in interface Element
-
-
-
-
-
-
- -

-elementText

-
-public String elementText(QName qName)
-
-
-
Specified by:
elementText in interface Element
-
-
-
-
-
-
- -

-elementTextTrim

-
-public String elementTextTrim(String name)
-
-
-
Specified by:
elementTextTrim in interface Element
-
-
-
-
-
-
- -

-elementTextTrim

-
-public String elementTextTrim(QName qName)
-
-
-
Specified by:
elementTextTrim in interface Element
-
-
-
-
-
-
- -

-appendAttributes

-
-public void appendAttributes(Element element)
-
-
Description copied from interface: Element
-
Appends the attributes of the given element to me. This method behaves - like the Collection.addAll(java.util.Collection) - method. -

-

-
Specified by:
appendAttributes in interface Element
-
-
-
Parameters:
element - is the element whose attributes will be added to me.
-
-
-
- -

-createCopy

-
-public Element createCopy()
-
-

- This returns a deep clone of this element. The new element is detached - from its parent, and getParent() on the clone will return null. -

-

-

-
Specified by:
createCopy in interface Element
-
-
- -
Returns:
the clone of this element
-
-
-
- -

-createCopy

-
-public Element createCopy(String name)
-
-
Description copied from interface: Element
-

- Creates a deep copy of this element with the given local name The new - element is detached from its parent, and getParent() on the clone will - return null. -

-

-

-
Specified by:
createCopy in interface Element
-
-
-
Parameters:
name - DOCUMENT ME! -
Returns:
a new deep copy Element
-
-
-
- -

-createCopy

-
-public Element createCopy(QName qName)
-
-
Description copied from interface: Element
-

- Creates a deep copy of this element with the given fully qualified name. - The new element is detached from its parent, and getParent() on the clone - will return null. -

-

-

-
Specified by:
createCopy in interface Element
-
-
-
Parameters:
qName - DOCUMENT ME! -
Returns:
a new deep copy Element
-
-
-
- -

-getQName

-
-public QName getQName(String qualifiedName)
-
-
Description copied from interface: Element
-

- Returns the QName for the given qualified name, using the - namespace URI in scope for the given prefix of the qualified name or the - default namespace if the qualified name has no prefix. -

-

-

-
Specified by:
getQName in interface Element
-
-
-
Parameters:
qualifiedName - DOCUMENT ME! -
Returns:
the QName for the given qualified name
-
-
-
- -

-getNamespaceForPrefix

-
-public Namespace getNamespaceForPrefix(String prefix)
-
-
Description copied from interface: Element
-

- Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -

-

-

-
Specified by:
getNamespaceForPrefix in interface Element
-
-
-
Parameters:
prefix - DOCUMENT ME! -
Returns:
the Namespace associated with the given prefix
-
-
-
- -

-getNamespaceForURI

-
-public Namespace getNamespaceForURI(String uri)
-
-
Description copied from interface: Element
-

- Returns the Namespace which is mapped to the given URI or - null if it could not be found. If there is more than one - Namespace mapped to the URI, which of them will be - returned is undetermined. -

-

-

-
Specified by:
getNamespaceForURI in interface Element
-
-
-
Parameters:
uri - DOCUMENT ME! -
Returns:
the Namespace associated with the given URI
-
-
-
- -

-getNamespacesForURI

-
-public List getNamespacesForURI(String uri)
-
-
Description copied from interface: Element
-

- Returns the all namespaces which are mapped to the given URI or an empty - list if no such namespaces could be found. -

-

-

-
Specified by:
getNamespacesForURI in interface Element
-
-
-
Parameters:
uri - DOCUMENT ME! -
Returns:
the namespaces associated with the given URI
-
-
-
- -

-declaredNamespaces

-
-public List declaredNamespaces()
-
-
Description copied from interface: Element
-

- Returns all the namespaces declared by this element. If no namespaces are - declared for this element then an empty list will be returned. The list - is backed by the element such that changes to the list will be reflected - in the element though the reverse is not the case. -

-

-

-
Specified by:
declaredNamespaces in interface Element
-
-
- -
Returns:
a list of namespaces declared for this element.
-
-
-
- -

-additionalNamespaces

-
-public List additionalNamespaces()
-
-
Description copied from interface: Element
-

- Returns any additional namespaces declarations for this element other - than namespace returned via the Element.getNamespace()method. If no - additional namespace declarations are present for this element then an - empty list will be returned. The list is backed by the element such that - changes to the list will be reflected in the element though the reverse - is not the case. -

-

-

-
Specified by:
additionalNamespaces in interface Element
-
-
- -
Returns:
a list of any additional namespace declarations.
-
-
-
- -

-additionalNamespaces

-
-public List additionalNamespaces(String defaultNamespaceURI)
-
-
-
-
-
-
-
-
-
- -

-ensureAttributesCapacity

-
-public void ensureAttributesCapacity(int minCapacity)
-
-
Ensures that the list of attributes has the given size -

-

-
-
-
-
Parameters:
minCapacity - DOCUMENT ME!
-
-
-
- -

-createElement

-
-protected Element createElement(String name)
-
-
-
-
-
-
-
-
-
- -

-createElement

-
-protected Element createElement(QName qName)
-
-
-
-
-
-
-
-
-
- -

-addNode

-
-protected void addNode(Node node)
-
-
-
Specified by:
addNode in class AbstractBranch
-
-
-
-
-
-
- -

-addNode

-
-protected void addNode(int index,
-                       Node node)
-
-
-
Specified by:
addNode in class AbstractBranch
-
-
-
-
-
-
- -

-addNewNode

-
-protected void addNewNode(Node node)
-
-
Like addNode() but does not require a parent check -

-

-
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-addNewNode

-
-protected void addNewNode(int index,
-                          Node node)
-
-
-
-
-
-
-
-
-
- -

-removeNode

-
-protected boolean removeNode(Node node)
-
-
-
Specified by:
removeNode in class AbstractBranch
-
-
-
-
-
-
- -

-childAdded

-
-protected void childAdded(Node node)
-
-
Called when a new child node is added to create any parent relationships -

-

-
Specified by:
childAdded in class AbstractBranch
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-childRemoved

-
-protected void childRemoved(Node node)
-
-
Description copied from class: AbstractBranch
-
Called when a child node has been removed to allow any parent - relationships to be deleted or events to be fired. -

-

-
Specified by:
childRemoved in class AbstractBranch
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-attributeList

-
-protected abstract List attributeList()
-
-
DOCUMENT ME! -

-

-
-
-
- -
Returns:
the internal List used to store attributes or creates one if one - is not available
-
-
-
- -

-attributeList

-
-protected abstract List attributeList(int attributeCount)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
attributeCount - DOCUMENT ME! -
Returns:
the internal List used to store attributes or creates one with - the specified size if one is not available
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
Overrides:
getDocumentFactory in class AbstractNode
-
-
-
-
-
-
- -

-createAttributeList

-
-protected List createAttributeList()
-
-
A Factory Method pattern which creates a List implementation used to - store attributes -

-

-
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createAttributeList

-
-protected List createAttributeList(int size)
-
-
A Factory Method pattern which creates a List implementation used to - store attributes -

-

-
-
-
-
Parameters:
size - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createSingleIterator

-
-protected Iterator createSingleIterator(Object result)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractEntity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractEntity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractEntity.html 2005-05-16 13:27:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractEntity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,537 +0,0 @@ - - - - - - - -AbstractEntity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractEntity

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractEntity
-
-
-
All Implemented Interfaces:
Cloneable, Entity, Node, Serializable
-
-
-
Direct Known Subclasses:
FlyweightEntity
-
-
-
-
public abstract class AbstractEntity
extends AbstractNode
implements Entity
- -

-

- AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.15 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractEntity() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
- StringtoString() - -
-           
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeTypeName, getParent, getPath, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractEntity

-
-public AbstractEntity()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Description copied from interface: Node
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . -

-

-
Specified by:
getStringValue in interface Node
Overrides:
getStringValue in class AbstractNode
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractNode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractNode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractNode.html 2005-05-16 13:27:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractNode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1392 +0,0 @@ - - - - - - - -AbstractNode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractNode

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-
-
-
All Implemented Interfaces:
Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
AbstractAttribute, AbstractBranch, AbstractCharacterData, AbstractDocumentType, AbstractEntity, AbstractProcessingInstruction, Namespace
-
-
-
-
public abstract class AbstractNode
extends Object
implements Node, Cloneable, Serializable
- -

-

- AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.31 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static String[]NODE_TYPE_NAMES - -
-           
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractNode() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NodeasXPathResult(Element parent) - -
-           - asXPathResult returns a version of this node which is - capable of being an XPath result.
- Objectclone() - -
-           - clone will return a deep clone or if this node is - read-only then clone will return the same instance. -
- PatterncreatePattern(String patternText) - -
-           
- XPathcreateXPath(String xpathExpression) - -
-           - createXPath creates an XPath object for the given - xpathExpression.
- NodeFiltercreateXPathFilter(String patternText) - -
-           
-protected  NodecreateXPathResult(Element parent) - -
-           
- Nodedetach() - -
-           - Removes this node from its parent if there is one.
- DocumentgetDocument() - -
-           - getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -
-protected  DocumentFactorygetDocumentFactory() - -
-           
- StringgetName() - -
-           - getName returns the name of this node.
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetNodeTypeName() - -
-          DOCUMENT ME!
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- StringgetPath() - -
-           - Returns the XPath expression which will return a node set containing the - given node such as /a/b/@c.
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetText() - -
-           - Returns the text of this node. -
- StringgetUniquePath() - -
-           - Returns the XPath expression which will return a nodeset of one node - which is the current node.
- booleanhasContent() - -
-           - hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- booleanmatches(String patternText) - -
-           - matches returns true if evaluating the given XPath - expression on this node returns a non-empty node set containing this - node. -
- NumbernumberValueOf(String xpathExpression) - -
-           - numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - in a number, or null if the result is not a number. -
- ListselectNodes(String xpathExpression) - -
-           - selectNodes evaluates an XPath expression and returns the - result as a List of Node instances or - String instances depending on the XPath expression. -
- ListselectNodes(String xpathExpression, - String comparisonXPathExpression) - -
-           - selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -
- ListselectNodes(String xpathExpression, - String comparisonXPathExpression, - boolean removeDuplicates) - -
-           - selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -
- ObjectselectObject(String xpathExpression) - -
-           - selectObject evaluates an XPath expression and returns the - result as an Object.
- NodeselectSingleNode(String xpathExpression) - -
-           - selectSingleNode evaluates an XPath expression and returns - the result as a single Node instance. -
- voidsetDocument(Document document) - -
-           - setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- StringvalueOf(String xpathExpression) - -
-           - valueOf evaluates an XPath expression and returns the - textual representation of the results the XPath string-value of this - node.
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, getPath, getUniquePath
-  -

- - - - - - - - -
-Field Detail
- -

-NODE_TYPE_NAMES

-
-protected static final String[] NODE_TYPE_NAMES
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-AbstractNode

-
-public AbstractNode()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
-
-
- -
Returns:
a W3C DOM complient code for the node type such as ELEMENT_NODE - or ATTRIBUTE_NODE
-
-
-
- -

-getNodeTypeName

-
-public String getNodeTypeName()
-
-
Description copied from interface: Node
-
DOCUMENT ME! -

-

-
Specified by:
getNodeTypeName in interface Node
-
-
- -
Returns:
the name of the type of node such as "Document", "Element", - "Attribute" or "Text"
-
-
-
- -

-getDocument

-
-public Document getDocument()
-
-
Description copied from interface: Node
-

- getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getDocument in interface Node
-
-
- -
Returns:
the document of this node or null if this feature is not - supported or the node is not associated with a - Document
-
-
-
- -

-setDocument

-
-public void setDocument(Document document)
-
-
Description copied from interface: Node
-

- setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -

- -

- This method should only be called from inside a Document - implementation method and is not intended for general use. -

-

-

-
Specified by:
setDocument in interface Node
-
-
-
Parameters:
document - is the new document of this node.
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
-
-
- -
Returns:
the parent of this node or null if it is the root of the tree or - the parent relationship is not supported.
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
-
-
-
Parameters:
parent - is the new parent of this node.
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
-
-
- -
Returns:
true if this node supports the parent relationship or false it is - not supported
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
-
-
- -
Returns:
true if this Node is read only and cannot be - modified otherwise false.
-
-
-
- -

-hasContent

-
-public boolean hasContent()
-
-
Description copied from interface: Node
-

- hasContent returns true if this node is a Branch (either - an Element or a Document) and it contains at least one content node such - as a child Element or Text node. -

-

-

-
Specified by:
hasContent in interface Node
-
-
- -
Returns:
true if this Node is a Branch with a nodeCount() - of one or more.
-
-
-
- -

-getPath

-
-public String getPath()
-
-
Description copied from interface: Node
-

- Returns the XPath expression which will return a node set containing the - given node such as /a/b/@c. No indexing will be used to restrict the - path if multiple elements with the same name occur on the path. -

-

-

-
Specified by:
getPath in interface Node
-
-
- -
Returns:
the XPath expression which will return a nodeset containing at - least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath()
-
-
Description copied from interface: Node
-

- Returns the XPath expression which will return a nodeset of one node - which is the current node. This method will use the XPath index operator - to restrict the path if multiple elements with the same name occur on the - path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
- -
Returns:
the XPath expression which will return a nodeset containing just - this node.
-
-
-
- -

-clone

-
-public Object clone()
-
-
Description copied from interface: Node
-

- clone will return a deep clone or if this node is - read-only then clone will return the same instance. -

-

-

-
Specified by:
clone in interface Node
-
-
-
-
-
-
- -

-detach

-
-public Node detach()
-
-
Description copied from interface: Node
-

- Removes this node from its parent if there is one. If this node is the - root element of a document then it is removed from the document as well. -

- -

- This method is useful if you want to remove a node from its source - document and add it to another document. For example -

- Node node = ...; Element someOtherElement = ...; - someOtherElement.add( node.detach() ); -

-

-
Specified by:
detach in interface Node
-
-
- -
Returns:
the node that has been removed from its parent node if any and - its document if any.
-
-
-
- -

-getName

-
-public String getName()
-
-
Description copied from interface: Node
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
Specified by:
getName in interface Node
-
-
- -
Returns:
the XML name of this node
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setName in interface Node
-
-
-
Parameters:
name - is the new name of this node
-
-
-
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
-
-
- -
Returns:
the text for this node.
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Description copied from interface: Node
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . -

-

-
Specified by:
getStringValue in interface Node
-
-
- -
Returns:
the text from all the child Text and Element nodes appended - together.
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
-
-
-
Parameters:
text - is the new textual value of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
-
-
-
Parameters:
writer - is the Writer to output the XML to -
Throws: -
IOException - DOCUMENT ME!
-
-
-
- -

-selectObject

-
-public Object selectObject(String xpathExpression)
-
-
Description copied from interface: Node
-

- selectObject evaluates an XPath expression and returns the - result as an Object. The object returned can either be a List of one or more Nodeinstances or a scalar object like a - Stringor a Numberinstance depending on the XPath - expression. -

-

-

-
Specified by:
selectObject in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the value of the XPath expression as a Listof Node instances, a Stringor a Numberinstance - depending on the XPath expression.
-
-
-
- -

-selectNodes

-
-public List selectNodes(String xpathExpression)
-
-
Description copied from interface: Node
-

- selectNodes evaluates an XPath expression and returns the - result as a List of Node instances or - String instances depending on the XPath expression. -

-

-

-
Specified by:
selectNodes in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the list of Node or String - instances depending on the XPath expression
-
-
-
- -

-selectNodes

-
-public List selectNodes(String xpathExpression,
-                        String comparisonXPathExpression)
-
-
Description copied from interface: Node
-

- selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -

-

-

-
Specified by:
selectNodes in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated
comparisonXPathExpression - is the XPath expression used to compare the results by for - sorting -
Returns:
the list of Node instances sorted by the - comparisonXPathExpression
-
-
-
- -

-selectNodes

-
-public List selectNodes(String xpathExpression,
-                        String comparisonXPathExpression,
-                        boolean removeDuplicates)
-
-
Description copied from interface: Node
-

- selectNodes evaluates an XPath expression then sorts the - results using a secondary XPath expression Returns a sorted - List of Node instances. -

-

-

-
Specified by:
selectNodes in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated
comparisonXPathExpression - is the XPath expression used to compare the results by for - sorting
removeDuplicates - if this parameter is true then duplicate values (using the - comparisonXPathExpression) are removed from the result List. -
Returns:
the list of Node instances sorted by the - comparisonXPathExpression
-
-
-
- -

-selectSingleNode

-
-public Node selectSingleNode(String xpathExpression)
-
-
Description copied from interface: Node
-

- selectSingleNode evaluates an XPath expression and returns - the result as a single Node instance. -

-

-

-
Specified by:
selectSingleNode in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the Node matching the XPath expression
-
-
-
- -

-valueOf

-
-public String valueOf(String xpathExpression)
-
-
Description copied from interface: Node
-

- valueOf evaluates an XPath expression and returns the - textual representation of the results the XPath string-value of this - node. The string-value for a given node type is defined in the XPath specification . -

-

-

-
Specified by:
valueOf in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the string-value representation of the results of the XPath - expression
-
-
-
- -

-numberValueOf

-
-public Number numberValueOf(String xpathExpression)
-
-
Description copied from interface: Node
-

- numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - in a number, or null if the result is not a number. -

-

-

-
Specified by:
numberValueOf in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
the numeric result of the XPath expression or null if the result - is not a number.
-
-
-
- -

-matches

-
-public boolean matches(String patternText)
-
-
Description copied from interface: Node
-

- matches returns true if evaluating the given XPath - expression on this node returns a non-empty node set containing this - node. -

- -

- This method does not behave like the <xsl:if> element - if you want - that behaviour, to evaluate if an XPath expression matches something, - then you can use the following code to be equivalent... -

- if ( node.selectSingleNode( "/some/path" ) != nulll ) -

-

-
Specified by:
matches in interface Node
-
-
-
Parameters:
patternText - is an XPath expression -
Returns:
true if this node is returned by the given XPath expression
-
-
-
- -

-createXPath

-
-public XPath createXPath(String xpathExpression)
-
-
Description copied from interface: Node
-

- createXPath creates an XPath object for the given - xpathExpression. The XPath object allows the variable context to be - specified. -

-

-

-
Specified by:
createXPath in interface Node
-
-
-
Parameters:
xpathExpression - is the XPath expression to be evaluated -
Returns:
an XPath object represeting the given expression
-
-
-
- -

-createXPathFilter

-
-public NodeFilter createXPathFilter(String patternText)
-
-
-
-
-
-
-
-
-
- -

-createPattern

-
-public Pattern createPattern(String patternText)
-
-
-
-
-
-
-
-
-
- -

-asXPathResult

-
-public Node asXPathResult(Element parent)
-
-
Description copied from interface: Node
-

- asXPathResult returns a version of this node which is - capable of being an XPath result. The result of an XPath expression - should always support the parent relationship, whether the original XML - tree was singly or doubly linked. If the node does not support the parent - relationship then a new node will be created which is linked to its - parent and returned. -

-

-

-
Specified by:
asXPathResult in interface Node
-
-
-
Parameters:
parent - DOCUMENT ME! -
Returns:
a Node which supports the parent relationship
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
-
-
-
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractProcessingInstruction.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,706 +0,0 @@ - - - - - - - -AbstractProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractProcessingInstruction

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractProcessingInstruction
-
-
-
All Implemented Interfaces:
Cloneable, Node, ProcessingInstruction, Serializable
-
-
-
Direct Known Subclasses:
FlyweightProcessingInstruction
-
-
-
-
public abstract class AbstractProcessingInstruction
extends AbstractNode
implements ProcessingInstruction
- -

-

- AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.17 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractProcessingInstruction() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- StringgetName() - -
-           - getName returns the name of this node.
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringgetPath(Element context) - -
-          Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c.
- StringgetUniquePath(Element context) - -
-           - Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node.
-protected  MapparseValues(String text) - -
-           - Parses the raw data of PI as a Map. -
- booleanremoveValue(String name) - -
-           
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetValue(String name, - String value) - -
-           
- voidsetValues(Map data) - -
-           
- StringtoString() - -
-           
-protected  StringtoString(Map values) - -
-           - This will convert the Map to a string representation. -
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.ProcessingInstruction
getTarget, getText, getValue, getValues, setTarget
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractProcessingInstruction

-
-public AbstractProcessingInstruction()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-getPath

-
-public String getPath(Element context)
-
-
Description copied from interface: Node
-
Returns the relative XPath expression which will return a node set - containing the given node such as a/b/@c. No indexing will be used to - restrict the path if multiple elements with the same name occur on the - path. -

-

-
Specified by:
getPath in interface Node
-
-
-
Parameters:
context - is the parent context from which the relative path should - start. If the context is null or the context is not an - ancestor of this node then the path will be absolute and start - from the document and so begin with the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing at least this node.
-
-
-
- -

-getUniquePath

-
-public String getUniquePath(Element context)
-
-
Description copied from interface: Node
-

- Returns the relative unique XPath expression from the given context which - will return a nodeset of one node which is the current node. This method - will use the XPath index operator to restrict the path if multiple - elements with the same name occur on the path. -

-

-

-
Specified by:
getUniquePath in interface Node
-
-
-
Parameters:
context - is the parent context from which the path should start. If the - context is null or the context is not an ancestor of this node - then the path will start from the document and so begin with - the '/' character. -
Returns:
the XPath expression relative to the given context which will - return a nodeset containing just this node.
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
-
- -

-setValue

-
-public void setValue(String name,
-                     String value)
-
-
-
Specified by:
setValue in interface ProcessingInstruction
-
-
-
-
-
-
- -

-setValues

-
-public void setValues(Map data)
-
-
-
Specified by:
setValues in interface ProcessingInstruction
-
-
-
-
-
-
- -

-getName

-
-public String getName()
-
-
Description copied from interface: Node
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
Specified by:
getName in interface Node
Overrides:
getName in class AbstractNode
-
-
-
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setName in interface Node
Overrides:
setName in class AbstractNode
-
-
-
-
-
-
- -

-removeValue

-
-public boolean removeValue(String name)
-
-
-
Specified by:
removeValue in interface ProcessingInstruction
-
-
-
-
-
-
- -

-toString

-
-protected String toString(Map values)
-
-

- This will convert the Map to a string representation. -

-

-

-
-
-
-
Parameters:
values - is a Map of PI data to convert -
Returns:
DOCUMENT ME!
-
-
-
- -

-parseValues

-
-protected Map parseValues(String text)
-
-

- Parses the raw data of PI as a Map. -

-

-

-
-
-
-
Parameters:
text - String PI data to parse -
Returns:
DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/AbstractText.html 2005-05-16 13:28:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/AbstractText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,458 +0,0 @@ - - - - - - - -AbstractText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class AbstractText

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractText
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Node, Serializable, Text
-
-
-
Direct Known Subclasses:
FlyweightText
-
-
-
-
public abstract class AbstractText
extends AbstractCharacterData
implements Text
- -

-

- AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
AbstractText() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaccept(Visitor visitor) - -
-           - accept is the method used in the Visitor Pattern. -
- StringasXML() - -
-           - asXML returns the textual XML representation of this node. -
- shortgetNodeType() - -
-          Returns the code according to the type of node.
- StringtoString() - -
-           
- voidwrite(Writer writer) - -
-           - write writes this node as the default XML notation for - this node.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AbstractText

-
-public AbstractText()
-
-
- - - - - - - - -
-Method Detail
- -

-getNodeType

-
-public short getNodeType()
-
-
Description copied from interface: Node
-
Returns the code according to the type of node. This makes processing - nodes polymorphically much easier as the switch statement can be used - instead of multiple if (instanceof) statements. -

-

-
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class AbstractNode
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-asXML

-
-public String asXML()
-
-
Description copied from interface: Node
-

- asXML returns the textual XML representation of this node. -

-

-

-
Specified by:
asXML in interface Node
-
-
- -
Returns:
the XML representation of this node
-
-
-
- -

-write

-
-public void write(Writer writer)
-           throws IOException
-
-
Description copied from interface: Node
-

- write writes this node as the default XML notation for - this node. If you wish to control the XML output (such as for pretty - printing, changing the indentation policy etc.) then please use XMLWriter or its derivations. -

-

-

-
Specified by:
write in interface Node
Overrides:
write in class AbstractNode
-
-
- -
Throws: -
IOException
-
-
-
- -

-accept

-
-public void accept(Visitor visitor)
-
-
Description copied from interface: Node
-

- accept is the method used in the Visitor Pattern. -

-

-

-
Specified by:
accept in interface Node
-
-
-
Parameters:
visitor - is the visitor in the Visitor Pattern
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/BackedList.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/BackedList.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/BackedList.html 2005-05-16 13:28:18.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/BackedList.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,543 +0,0 @@ - - - - - - - -BackedList (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class BackedList

-
-java.lang.Object
-  extended byjava.util.AbstractCollection
-      extended byjava.util.AbstractList
-          extended byjava.util.ArrayList
-              extended byorg.dom4j.tree.BackedList
-
-
-
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable
-
-
-
-
public class BackedList
extends ArrayList
- -

-

- BackedList represents a list of content of a Branch. Changes to the list will be reflected in the branch, - though changes to the branch will not be reflected in this list. -

-

- -

-

-
Version:
-
$Revision: 1.14 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.AbstractList
modCount
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
BackedList(AbstractBranch branch, - List branchContent) - -
-           
BackedList(AbstractBranch branch, - List branchContent, - int capacity) - -
-           
BackedList(AbstractBranch branch, - List branchContent, - List initialContent) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(int index, - Object object) - -
-           
- booleanadd(Object object) - -
-           
- booleanaddAll(Collection collection) - -
-           
- booleanaddAll(int index, - Collection collection) - -
-           
- voidaddLocal(Object object) - -
-          Performs a local addition which is not forward through to the Branch or - backing list
-protected  NodeasNode(Object object) - -
-           
- voidclear() - -
-           
- Objectremove(int index) - -
-           
- booleanremove(Object object) - -
-           
- Objectset(int index, - Object object) - -
-           
- - - - - - - -
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, size, toArray, toArray, trimToSize
- - - - - - - -
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
- - - - - - - -
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BackedList

-
-public BackedList(AbstractBranch branch,
-                  List branchContent)
-
-
-
- -

-BackedList

-
-public BackedList(AbstractBranch branch,
-                  List branchContent,
-                  int capacity)
-
-
-
- -

-BackedList

-
-public BackedList(AbstractBranch branch,
-                  List branchContent,
-                  List initialContent)
-
-
- - - - - - - - -
-Method Detail
- -

-add

-
-public boolean add(Object object)
-
-
-
-
-
-
- -

-add

-
-public void add(int index,
-                Object object)
-
-
-
-
-
-
- -

-set

-
-public Object set(int index,
-                  Object object)
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Object object)
-
-
-
-
-
-
- -

-remove

-
-public Object remove(int index)
-
-
-
-
-
-
- -

-addAll

-
-public boolean addAll(Collection collection)
-
-
-
-
-
-
- -

-addAll

-
-public boolean addAll(int index,
-                      Collection collection)
-
-
-
-
-
-
- -

-clear

-
-public void clear()
-
-
-
-
-
-
- -

-addLocal

-
-public void addLocal(Object object)
-
-
Performs a local addition which is not forward through to the Branch or - backing list -

-

-
Parameters:
object - DOCUMENT ME!
-
-
-
- -

-asNode

-
-protected Node asNode(Object object)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/BaseElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/BaseElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/BaseElement.html 2005-05-16 13:25:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/BaseElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,845 +0,0 @@ - - - - - - - -BaseElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class BaseElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.BaseElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
Direct Known Subclasses:
NonLazyElement
-
-
-
-
public class BaseElement
extends AbstractElement
- -

-

- BaseElement is a useful base class for implemementation - inheritence of an XML element. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  Listattributes - -
-          list of attributes
-protected  Listcontent - -
-          List of content nodes.
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
BaseElement(QName qname) - -
-           
BaseElement(String name) - -
-           
BaseElement(String name, - Namespace namespace) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  ListattributeList() - -
-          DOCUMENT ME!
-protected  ListattributeList(int size) - -
-          DOCUMENT ME!
- voidclearContent() - -
-          Clears the content for this branch, removing any Node - instances this branch may contain.
-protected  ListcontentList() - -
-          DOCUMENT ME!
- DocumentgetDocument() - -
-           - getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- QNamegetQName() - -
-           - Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -
-protected  voidsetAttributeList(List attributeList) - -
-           
- voidsetAttributes(List attributes) - -
-          Sets the attributes that this element contains
- voidsetContent(List content) - -
-          Sets the contents of this branch as a List of - Node instances.
- voidsetDocument(Document document) - -
-           - setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetQName(QName name) - -
-           - Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, additionalNamespaces, additionalNamespaces, addNamespace, addNewNode, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, declaredNamespaces, element, element, element, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getDocumentFactory, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getStringValue, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, indexOf, isRootElement, isTextOnly, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeNode, removeProcessingInstruction, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getText, getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-content

-
-protected List content
-
-
List of content nodes. -

-

-
-
-
- -

-attributes

-
-protected List attributes
-
-
list of attributes -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseElement

-
-public BaseElement(String name)
-
-
-
- -

-BaseElement

-
-public BaseElement(QName qname)
-
-
-
- -

-BaseElement

-
-public BaseElement(String name,
-                   Namespace namespace)
-
-
- - - - - - - - -
-Method Detail
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-getDocument

-
-public Document getDocument()
-
-
Description copied from interface: Node
-

- getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getDocument in interface Node
Overrides:
getDocument in class AbstractNode
-
-
-
-
-
-
- -

-setDocument

-
-public void setDocument(Document document)
-
-
Description copied from interface: Node
-

- setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -

- -

- This method should only be called from inside a Document - implementation method and is not intended for general use. -

-

-

-
Specified by:
setDocument in interface Node
Overrides:
setDocument in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-getQName

-
-public QName getQName()
-
-
Description copied from interface: Element
-

- Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -

-

-

- -
Returns:
the QName associated with this element
-
-
-
- -

-setQName

-
-public void setQName(QName name)
-
-
Description copied from interface: Element
-

- Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -

-

-

-
Parameters:
name - is the QName to be associated with this element
-
-
-
- -

-clearContent

-
-public void clearContent()
-
-
Description copied from interface: Branch
-
Clears the content for this branch, removing any Node - instances this branch may contain. -

-

-
-
-
-
- -

-setContent

-
-public void setContent(List content)
-
-
Description copied from interface: Branch
-
Sets the contents of this branch as a List of - Node instances. -

-

-
Parameters:
content - is the list of nodes to use as the content for this branch.
-
-
-
- -

-setAttributes

-
-public void setAttributes(List attributes)
-
-
Description copied from interface: Element
-
Sets the attributes that this element contains -

-

-
Parameters:
attributes - DOCUMENT ME!
-
-
-
- -

-contentList

-
-protected List contentList()
-
-
Description copied from class: AbstractBranch
-
DOCUMENT ME! -

-

-
Specified by:
contentList in class AbstractBranch
-
-
- -
Returns:
the internal List used to manage the content
-
-
-
- -

-attributeList

-
-protected List attributeList()
-
-
Description copied from class: AbstractElement
-
DOCUMENT ME! -

-

-
Specified by:
attributeList in class AbstractElement
-
-
- -
Returns:
the internal List used to store attributes or creates one if one - is not available
-
-
-
- -

-attributeList

-
-protected List attributeList(int size)
-
-
Description copied from class: AbstractElement
-
DOCUMENT ME! -

-

-
Specified by:
attributeList in class AbstractElement
-
-
-
Parameters:
size - DOCUMENT ME! -
Returns:
the internal List used to store attributes or creates one with - the specified size if one is not available
-
-
-
- -

-setAttributeList

-
-protected void setAttributeList(List attributeList)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.BarrierLock.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.BarrierLock.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.BarrierLock.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.BarrierLock.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,235 +0,0 @@ - - - - - - - -ConcurrentReaderHashMap.BarrierLock (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class ConcurrentReaderHashMap.BarrierLock

-
-java.lang.Object
-  extended byorg.dom4j.tree.ConcurrentReaderHashMap.BarrierLock
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
Enclosing class:
org.dom4j.tree.ConcurrentReaderHashMap
-
-
-
-
protected static class ConcurrentReaderHashMap.BarrierLock
extends Object
implements Serializable
- -

-A Serializable class for barrier lock * -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
-protected ConcurrentReaderHashMap.BarrierLock() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ConcurrentReaderHashMap.BarrierLock

-
-protected ConcurrentReaderHashMap.BarrierLock()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.Entry.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.Entry.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.Entry.html 2005-05-16 13:26:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ConcurrentReaderHashMap.Entry.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,460 +0,0 @@ - - - - - - - -ConcurrentReaderHashMap.Entry (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class ConcurrentReaderHashMap.Entry

-
-java.lang.Object
-  extended byorg.dom4j.tree.ConcurrentReaderHashMap.Entry
-
-
-
All Implemented Interfaces:
Map.Entry
-
-
-
Enclosing class:
org.dom4j.tree.ConcurrentReaderHashMap
-
-
-
-
protected static class ConcurrentReaderHashMap.Entry
extends Object
implements Map.Entry
- -

-ConcurrentReaderHashMap collision list entry. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  inthash - -
-           
-protected  Objectkey - -
-           
-protected  ConcurrentReaderHashMap.Entrynext - -
-           
-protected  Objectvalue - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object o) - -
-           
- ObjectgetKey() - -
-           
- ObjectgetValue() - -
-          Get the value.
- inthashCode() - -
-           
- ObjectsetValue(Object value) - -
-          Set the value of this entry.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-hash

-
-protected final int hash
-
-
-
-
-
- -

-key

-
-protected final Object key
-
-
-
-
-
- -

-next

-
-protected final ConcurrentReaderHashMap.Entry next
-
-
-
-
-
- -

-value

-
-protected volatile Object value
-
-
-
-
- - - - - - - - - - - -
-Method Detail
- -

-getKey

-
-public Object getKey()
-
-
-
Specified by:
getKey in interface Map.Entry
-
-
-
-
-
-
- -

-getValue

-
-public Object getValue()
-
-
Get the value. Note: In an entrySet or entrySet.iterator, unless the - set or iterator is used under synchronization of the table as a whole - (or you can otherwise guarantee lack of concurrent modification), - getValue might return null, reflecting the fact - that the entry has been concurrently removed. However, there are no - assurances that concurrent removals will be reflected using this - method. -

-

-
Specified by:
getValue in interface Map.Entry
-
-
- -
Returns:
the current value, or null if the entry has been detectably - removed.
-
-
-
- -

-setValue

-
-public Object setValue(Object value)
-
-
Set the value of this entry. Note: In an entrySet or - entrySet.iterator), unless the set or iterator is used under - synchronization of the table as a whole (or you can otherwise - guarantee lack of concurrent modification), setValue is - not strictly guaranteed to actually replace the value field obtained - via the get operation of the underlying hash table in - multithreaded applications. If iterator-wide synchronization is not - used, and any other concurrent put or remove - operations occur, sometimes even to other entries, then - this change is not guaranteed to be reflected in the hash table. (It - might, or it might not. There are no assurances either way.) -

-

-
Specified by:
setValue in interface Map.Entry
-
-
-
Parameters:
value - the new value. -
Returns:
the previous value, or null if entry has been detectably - removed. -
Throws: -
NullPointerException - if the value is null.
-
-
-
- -

-equals

-
-public boolean equals(Object o)
-
-
-
Specified by:
equals in interface Map.Entry
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Specified by:
hashCode in interface Map.Entry
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ContentListFacade.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ContentListFacade.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ContentListFacade.html 2005-05-16 13:26:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ContentListFacade.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,686 +0,0 @@ - - - - - - - -ContentListFacade (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class ContentListFacade

-
-java.lang.Object
-  extended byjava.util.AbstractCollection
-      extended byjava.util.AbstractList
-          extended byorg.dom4j.tree.ContentListFacade
-
-
-
All Implemented Interfaces:
Collection, List
-
-
-
-
public class ContentListFacade
extends AbstractList
- -

-

- ContentListFacade represents a facade of the content of a - Branch which is returned via calls to the Branch.content() method to allow users to modify the content of a - Branch directly using the List interface. This list - is backed by the branch such that changes to the list will be reflected in - the branch and changes to the branch will be reflected in this list. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.AbstractList
modCount
-  - - - - - - - - - - -
-Constructor Summary
ContentListFacade(AbstractBranch branch, - List branchContent) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(int index, - Object object) - -
-           
- booleanadd(Object object) - -
-           
- booleanaddAll(Collection collection) - -
-           
- booleanaddAll(int index, - Collection collection) - -
-           
-protected  NodeasNode(Object object) - -
-           
- voidclear() - -
-           
- booleancontains(Object o) - -
-           
- booleancontainsAll(Collection c) - -
-           
- Objectget(int index) - -
-           
-protected  ListgetBackingList() - -
-           
- intindexOf(Object o) - -
-           
- booleanisEmpty() - -
-           
- intlastIndexOf(Object o) - -
-           
- Objectremove(int index) - -
-           
- booleanremove(Object object) - -
-           
- booleanremoveAll(Collection c) - -
-           
- Objectset(int index, - Object object) - -
-           
- intsize() - -
-           
- Object[]toArray() - -
-           
- Object[]toArray(Object[] a) - -
-           
- - - - - - - -
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, removeRange, subList
- - - - - - - -
Methods inherited from class java.util.AbstractCollection
retainAll, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface java.util.List
retainAll
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ContentListFacade

-
-public ContentListFacade(AbstractBranch branch,
-                         List branchContent)
-
-
- - - - - - - - -
-Method Detail
- -

-add

-
-public boolean add(Object object)
-
-
-
-
-
-
- -

-add

-
-public void add(int index,
-                Object object)
-
-
-
-
-
-
- -

-set

-
-public Object set(int index,
-                  Object object)
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Object object)
-
-
-
-
-
-
- -

-remove

-
-public Object remove(int index)
-
-
-
-
-
-
- -

-addAll

-
-public boolean addAll(Collection collection)
-
-
-
-
-
-
- -

-addAll

-
-public boolean addAll(int index,
-                      Collection collection)
-
-
-
-
-
-
- -

-clear

-
-public void clear()
-
-
-
-
-
-
- -

-removeAll

-
-public boolean removeAll(Collection c)
-
-
-
-
-
-
- -

-size

-
-public int size()
-
-
-
-
-
-
- -

-isEmpty

-
-public boolean isEmpty()
-
-
-
-
-
-
- -

-contains

-
-public boolean contains(Object o)
-
-
-
-
-
-
- -

-toArray

-
-public Object[] toArray()
-
-
-
-
-
-
- -

-toArray

-
-public Object[] toArray(Object[] a)
-
-
-
-
-
-
- -

-containsAll

-
-public boolean containsAll(Collection c)
-
-
-
-
-
-
- -

-get

-
-public Object get(int index)
-
-
-
-
-
-
- -

-indexOf

-
-public int indexOf(Object o)
-
-
-
-
-
-
- -

-lastIndexOf

-
-public int lastIndexOf(Object o)
-
-
-
-
-
-
- -

-asNode

-
-protected Node asNode(Object object)
-
-
-
-
-
-
- -

-getBackingList

-
-protected List getBackingList()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultAttribute.html 2005-05-16 13:26:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,603 +0,0 @@ - - - - - - - -DefaultAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-          extended byorg.dom4j.tree.FlyweightAttribute
-              extended byorg.dom4j.tree.DefaultAttribute
-
-
-
All Implemented Interfaces:
Attribute, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMAttribute, UserDataAttribute
-
-
-
-
public class DefaultAttribute
extends FlyweightAttribute
- -

-

- DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -

-

- -

-

-
Version:
-
$Revision: 1.13 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightAttribute
value
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultAttribute(Element parent, - QName qname, - String value) - -
-           
DefaultAttribute(Element parent, - String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
DefaultAttribute(QName qname) - -
-           
DefaultAttribute(QName qname, - String value) - -
-           
DefaultAttribute(String name, - String value) - -
-          Creates the Attribute with the specified local name and - value.
DefaultAttribute(String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetValue(String value) - -
-           - Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightAttribute
getQName, getValue
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractAttribute
accept, asXML, createXPathResult, getData, getName, getNamespace, getNamespacePrefix, getNamespaceURI, getNodeType, getPath, getQualifiedName, getText, getUniquePath, setData, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultAttribute

-
-public DefaultAttribute(QName qname)
-
-
-
- -

-DefaultAttribute

-
-public DefaultAttribute(QName qname,
-                        String value)
-
-
-
- -

-DefaultAttribute

-
-public DefaultAttribute(Element parent,
-                        QName qname,
-                        String value)
-
-
-
- -

-DefaultAttribute

-
-public DefaultAttribute(String name,
-                        String value)
-
-
Creates the Attribute with the specified local name and - value. -

-

Parameters:
name - is the name of the attribute
value - is the value of the attribute
-
- -

-DefaultAttribute

-
-public DefaultAttribute(String name,
-                        String value,
-                        Namespace namespace)
-
-
Creates the Attribute with the specified local name, value - and Namespace. -

-

Parameters:
name - is the name of the attribute
value - is the value of the attribute
namespace - is the namespace of the attribute
-
- -

-DefaultAttribute

-
-public DefaultAttribute(Element parent,
-                        String name,
-                        String value,
-                        Namespace namespace)
-
-
Creates the Attribute with the specified local name, value - and Namespace. -

-

Parameters:
parent - is the parent element
name - is the name of the attribute
value - is the value of the attribute
namespace - is the namespace of the attribute
- - - - - - - - -
-Method Detail
- -

-setValue

-
-public void setValue(String value)
-
-
Description copied from interface: Attribute
-

- Sets the value of this attribute or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setValue in interface Attribute
Overrides:
setValue in class AbstractAttribute
-
-
-
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultCDATA.html 2005-05-16 13:26:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,543 +0,0 @@ - - - - - - - -DefaultCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultCDATA

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractCDATA
-              extended byorg.dom4j.tree.FlyweightCDATA
-                  extended byorg.dom4j.tree.DefaultCDATA
-
-
-
All Implemented Interfaces:
CDATA, CharacterData, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMCDATA
-
-
-
-
public class DefaultCDATA
extends FlyweightCDATA
- -

-

- DefaultCDATA is the default CDATA implementation. It is a - doubly linked node which supports the parent relationship and can be modified - in place. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightCDATA
text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DefaultCDATA(Element parent, - String text) - -
-          DOCUMENT ME!
DefaultCDATA(String text) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightCDATA
createXPathResult, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCDATA
accept, asXML, getNodeType, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultCDATA

-
-public DefaultCDATA(String text)
-
-
DOCUMENT ME! -

-

Parameters:
text - is the CDATA text
-
- -

-DefaultCDATA

-
-public DefaultCDATA(Element parent,
-                    String text)
-
-
DOCUMENT ME! -

-

Parameters:
parent - is the parent element
text - is the CDATA text
- - - - - - - - -
-Method Detail
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultComment.html 2005-05-16 13:27:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,543 +0,0 @@ - - - - - - - -DefaultComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultComment

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractComment
-              extended byorg.dom4j.tree.FlyweightComment
-                  extended byorg.dom4j.tree.DefaultComment
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Comment, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMComment
-
-
-
-
public class DefaultComment
extends FlyweightComment
- -

-

- DefaultComment is the default Comment implementation. It is a - doubly linked node which supports the parent relationship and can be modified - in place. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightComment
text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DefaultComment(Element parent, - String text) - -
-          DOCUMENT ME!
DefaultComment(String text) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightComment
createXPathResult, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractComment
accept, asXML, getNodeType, getPath, getUniquePath, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultComment

-
-public DefaultComment(String text)
-
-
DOCUMENT ME! -

-

Parameters:
text - is the Comment text
-
- -

-DefaultComment

-
-public DefaultComment(Element parent,
-                      String text)
-
-
DOCUMENT ME! -

-

Parameters:
parent - is the parent element
text - is the Comment text
- - - - - - - - -
-Method Detail
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultDocument.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultDocument.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultDocument.html 2005-05-16 13:26:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultDocument.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1049 +0,0 @@ - - - - - - - -DefaultDocument (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultDocument

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractDocument
-              extended byorg.dom4j.tree.DefaultDocument
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Document, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMDocument
-
-
-
-
public class DefaultDocument
extends AbstractDocument
- -

-

- DefaultDocument is the default DOM4J default implementation of - an XML document. -

-

- -

-

-
Version:
-
$Revision: 1.34 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static IteratorEMPTY_ITERATOR - -
-           
-protected static ListEMPTY_LIST - -
-           
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractDocument
encoding
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultDocument() - -
-           
DefaultDocument(DocumentType docType) - -
-           
DefaultDocument(Element rootElement) - -
-           
DefaultDocument(Element rootElement, - DocumentType docType) - -
-           
DefaultDocument(String name) - -
-           
DefaultDocument(String name, - Element rootElement, - DocumentType docType) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- DocumentaddDocType(String docTypeName, - String publicId, - String systemId) - -
-          Adds a DOCTYPE declaration to this document
-protected  voidaddNode(int index, - Node node) - -
-           
-protected  voidaddNode(Node node) - -
-           
- voidclearContent() - -
-          Clears the content for this branch, removing any Node - instances this branch may contain.
- Objectclone() - -
-           - clone will return a deep clone or if this node is - read-only then clone will return the same instance. -
-protected  ListcontentList() - -
-          DOCUMENT ME!
- DocumentTypegetDocType() - -
-          DOCUMENT ME!
-protected  DocumentFactorygetDocumentFactory() - -
-           
- EntityResolvergetEntityResolver() - -
-          DOCUMENT ME!
- StringgetName() - -
-           - getName returns the name of this node.
- ElementgetRootElement() - -
-          Returns the root Elementfor this document.
- StringgetXMLEncoding() - -
-          Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - -
- ProcessingInstructionprocessingInstruction(String target) - -
-          DOCUMENT ME!
- ListprocessingInstructions() - -
-           - Returns a list of all the processing instructions in this branch.
- ListprocessingInstructions(String target) - -
-           - Returns a list of the processing instructions for the given target.
-protected  booleanremoveNode(Node node) - -
-           
- booleanremoveProcessingInstruction(String target) - -
-          Removes the processing instruction for the given target if it exists
-protected  voidrootElementAdded(Element element) - -
-          Called to set the root element variable
- voidsetContent(List content) - -
-          Sets the contents of this branch as a List of - Node instances.
- voidsetDocType(DocumentType docType) - -
-          Sets the DocumentType property
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           
- voidsetEntityResolver(EntityResolver entityResolver) - -
-          Sets the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractDocument
accept, add, addComment, addElement, addElement, addElement, addProcessingInstruction, addProcessingInstruction, asXML, asXPathResult, checkAddElementAllowed, childAdded, childRemoved, getDocument, getNodeType, getPath, getStringValue, getUniquePath, normalize, remove, setRootElement, setXMLEncoding, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
add, add, add, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, indexOf, invalidNodeTypeAddException, isReadOnly, node, nodeCount, nodeIterator, remove, remove, remove, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getParent, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
add, add, add, appendContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, remove, remove, remove, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
createXPath, detach, getNodeTypeName, getParent, getPath, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY_LIST

-
-protected static final List EMPTY_LIST
-
-
-
-
-
- -

-EMPTY_ITERATOR

-
-protected static final Iterator EMPTY_ITERATOR
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-DefaultDocument

-
-public DefaultDocument()
-
-
-
- -

-DefaultDocument

-
-public DefaultDocument(String name)
-
-
-
- -

-DefaultDocument

-
-public DefaultDocument(Element rootElement)
-
-
-
- -

-DefaultDocument

-
-public DefaultDocument(DocumentType docType)
-
-
-
- -

-DefaultDocument

-
-public DefaultDocument(Element rootElement,
-                       DocumentType docType)
-
-
-
- -

-DefaultDocument

-
-public DefaultDocument(String name,
-                       Element rootElement,
-                       DocumentType docType)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public String getName()
-
-
Description copied from interface: Node
-

- getName returns the name of this node. This is the XML - local name of the element, attribute, entity or processing instruction. - For CDATA and Text nodes this method will return null. -

-

-

-
Specified by:
getName in interface Node
Overrides:
getName in class AbstractNode
-
-
-
-
-
-
- -

-setName

-
-public void setName(String name)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setName in interface Node
Overrides:
setName in class AbstractNode
-
-
-
-
-
-
- -

-getRootElement

-
-public Element getRootElement()
-
-
Description copied from interface: Document
-
Returns the root Elementfor this document. -

-

- -
Returns:
the root element for this document
-
-
-
- -

-getDocType

-
-public DocumentType getDocType()
-
-
Description copied from interface: Document
-
DOCUMENT ME! -

-

- -
Returns:
the DocumentType property
-
-
-
- -

-setDocType

-
-public void setDocType(DocumentType docType)
-
-
Description copied from interface: Document
-
Sets the DocumentType property -

-

-
Parameters:
docType - DOCUMENT ME!
-
-
-
- -

-addDocType

-
-public Document addDocType(String docTypeName,
-                           String publicId,
-                           String systemId)
-
-
Description copied from interface: Document
-
Adds a DOCTYPE declaration to this document -

-

-
Parameters:
docTypeName - is the name of the root element
publicId - is the PUBLIC URI
systemId - is the SYSTEM URI -
Returns:
this Document instance.
-
-
-
- -

-getXMLEncoding

-
-public String getXMLEncoding()
-
-
Description copied from interface: Document
-
Return the encoding of this document, as part of the XML declaration This - is null when unspecified or when it is not known (such as - when the Document was created in memory) or when the implementation does - not support this operation. - -

- The way this encoding is retrieved also depends on the way the XML source - is parsed. For instance, if the SAXReader is used and if the underlying - XMLReader implementation support the - org.xml.sax.ext.Locator2 interface, the result returned by - this method is specified by the getEncoding() method of - that interface. -

-

-

-
Specified by:
getXMLEncoding in interface Document
Overrides:
getXMLEncoding in class AbstractDocument
-
-
-
-
-
-
- -

-getEntityResolver

-
-public EntityResolver getEntityResolver()
-
-
Description copied from interface: Document
-
DOCUMENT ME! -

-

- -
Returns:
the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents
-
-
-
- -

-setEntityResolver

-
-public void setEntityResolver(EntityResolver entityResolver)
-
-
Description copied from interface: Document
-
Sets the EntityResolver used to find resolve URIs such as for DTDs, or - XML Schema documents -

-

-
Parameters:
entityResolver - DOCUMENT ME!
-
-
-
- -

-clone

-
-public Object clone()
-
-
Description copied from interface: Node
-

- clone will return a deep clone or if this node is - read-only then clone will return the same instance. -

-

-

-
Specified by:
clone in interface Node
Overrides:
clone in class AbstractNode
-
-
-
-
-
-
- -

-processingInstructions

-
-public List processingInstructions()
-
-
Description copied from interface: Branch
-

- Returns a list of all the processing instructions in this branch. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

- -
Returns:
a backed list of the processing instructions
-
-
-
- -

-processingInstructions

-
-public List processingInstructions(String target)
-
-
Description copied from interface: Branch
-

- Returns a list of the processing instructions for the given target. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
Parameters:
target - DOCUMENT ME! -
Returns:
a backed list of the processing instructions
-
-
-
- -

-processingInstruction

-
-public ProcessingInstruction processingInstruction(String target)
-
-
Description copied from interface: Branch
-
DOCUMENT ME! -

-

-
Parameters:
target - DOCUMENT ME! -
Returns:
the processing instruction for the given target
-
-
-
- -

-removeProcessingInstruction

-
-public boolean removeProcessingInstruction(String target)
-
-
Description copied from interface: Branch
-
Removes the processing instruction for the given target if it exists -

-

-
Parameters:
target - DOCUMENT ME! -
Returns:
true if a processing instruction was removed else false
-
-
-
- -

-setContent

-
-public void setContent(List content)
-
-
Description copied from interface: Branch
-
Sets the contents of this branch as a List of - Node instances. -

-

-
Parameters:
content - is the list of nodes to use as the content for this branch.
-
-
-
- -

-clearContent

-
-public void clearContent()
-
-
Description copied from interface: Branch
-
Clears the content for this branch, removing any Node - instances this branch may contain. -

-

-
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-
-
-
-
-
- -

-contentList

-
-protected List contentList()
-
-
Description copied from class: AbstractBranch
-
DOCUMENT ME! -

-

-
Specified by:
contentList in class AbstractBranch
-
-
- -
Returns:
the internal List used to manage the content
-
-
-
- -

-addNode

-
-protected void addNode(Node node)
-
-
-
Specified by:
addNode in class AbstractBranch
-
-
-
-
-
-
- -

-addNode

-
-protected void addNode(int index,
-                       Node node)
-
-
-
Specified by:
addNode in class AbstractBranch
-
-
-
-
-
-
- -

-removeNode

-
-protected boolean removeNode(Node node)
-
-
-
Specified by:
removeNode in class AbstractBranch
-
-
-
-
-
-
- -

-rootElementAdded

-
-protected void rootElementAdded(Element element)
-
-
Description copied from class: AbstractDocument
-
Called to set the root element variable -

-

-
Specified by:
rootElementAdded in class AbstractDocument
-
-
-
Parameters:
element - DOCUMENT ME!
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
Overrides:
getDocumentFactory in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultDocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultDocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultDocumentType.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultDocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,614 +0,0 @@ - - - - - - - -DefaultDocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultDocumentType

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractDocumentType
-          extended byorg.dom4j.tree.DefaultDocumentType
-
-
-
All Implemented Interfaces:
Cloneable, DocumentType, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMDocumentType
-
-
-
-
public class DefaultDocumentType
extends AbstractDocumentType
- -

-

- DefaultDocumentType is the DOM4J default implementation of an - XML document type. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  StringelementName - -
-          The root element name of the document typ
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultDocumentType() - -
-           
DefaultDocumentType(String elementName, - String systemID) - -
-           - This will create a new DocumentType with a reference to - the external DTD -
DefaultDocumentType(String elementName, - String publicID, - String systemID) - -
-           - This will create a new DocumentType with a reference to - the external DTD -
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetElementName() - -
-          This method is the equivalent to the AbstractDocumentType.getName()method.
- ListgetExternalDeclarations() - -
-          Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- ListgetInternalDeclarations() - -
-          Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- StringgetPublicID() - -
-          DOCUMENT ME!
- StringgetSystemID() - -
-          DOCUMENT ME!
- voidsetElementName(String elementName) - -
-          This method is the equivalent to the AbstractDocumentType.setName(java.lang.String)method.
- voidsetExternalDeclarations(List externalDeclarations) - -
-          Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- voidsetInternalDeclarations(List internalDeclarations) - -
-          Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage
- voidsetPublicID(String publicID) - -
-          Sets the public ID of the document type
- voidsetSystemID(String systemID) - -
-          Sets the system ID of the document type
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractDocumentType
accept, asXML, getName, getNodeType, getPath, getText, getUniquePath, setName, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-elementName

-
-protected String elementName
-
-
The root element name of the document typ -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-DefaultDocumentType

-
-public DefaultDocumentType()
-
-
-
- -

-DefaultDocumentType

-
-public DefaultDocumentType(String elementName,
-                           String systemID)
-
-

- This will create a new DocumentType with a reference to - the external DTD -

-

-

Parameters:
elementName - is the root element name of the document type
systemID - is the system ID of the external DTD
-
- -

-DefaultDocumentType

-
-public DefaultDocumentType(String elementName,
-                           String publicID,
-                           String systemID)
-
-

- This will create a new DocumentType with a reference to - the external DTD -

-

-

Parameters:
elementName - is the root element name of the document type
publicID - is the public ID of the DTD
systemID - is the system ID of the DTD
- - - - - - - - -
-Method Detail
- -

-getElementName

-
-public String getElementName()
-
-
Description copied from interface: DocumentType
-
This method is the equivalent to the Node.getName()method. It is added - for clarity. -

-

- -
Returns:
the root element name for the document type.
-
-
-
- -

-setElementName

-
-public void setElementName(String elementName)
-
-
Description copied from interface: DocumentType
-
This method is the equivalent to the Node.setName(java.lang.String)method. It is added - for clarity. -

-

-
Parameters:
elementName - DOCUMENT ME!
-
-
-
- -

-getPublicID

-
-public String getPublicID()
-
-
DOCUMENT ME! -

-

- -
Returns:
the public ID of the document type
-
-
-
- -

-setPublicID

-
-public void setPublicID(String publicID)
-
-
Sets the public ID of the document type -

-

-
Parameters:
publicID - DOCUMENT ME!
-
-
-
- -

-getSystemID

-
-public String getSystemID()
-
-
DOCUMENT ME! -

-

- -
Returns:
the system ID of the document type
-
-
-
- -

-setSystemID

-
-public void setSystemID(String systemID)
-
-
Sets the system ID of the document type -

-

-
Parameters:
systemID - DOCUMENT ME!
-
-
-
- -

-getInternalDeclarations

-
-public List getInternalDeclarations()
-
-
Description copied from interface: DocumentType
-
Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setInternalDeclarations

-
-public void setInternalDeclarations(List internalDeclarations)
-
-
Description copied from interface: DocumentType
-
Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

-
Parameters:
internalDeclarations - DOCUMENT ME!
-
-
-
- -

-getExternalDeclarations

-
-public List getExternalDeclarations()
-
-
Description copied from interface: DocumentType
-
Returns a list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-setExternalDeclarations

-
-public void setExternalDeclarations(List externalDeclarations)
-
-
Description copied from interface: DocumentType
-
Sets the list of internal DTD declaration objects, defined in the - org.dom4j.dtdpackage -

-

-
Parameters:
externalDeclarations - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultElement.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1651 +0,0 @@ - - - - - - - -DefaultElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.DefaultElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
Direct Known Subclasses:
BeanElement, DatatypeElement, DOMElement, IndexedElement, UserDataElement
-
-
-
-
public class DefaultElement
extends AbstractElement
- -

-

- DefaultElement is the default DOM4J default implementation of - an XML element. -

-

- -

-

-
Version:
-
$Revision: 1.59 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultElement(QName qname) - -
-           
DefaultElement(QName qname, - int attributeCount) - -
-           
DefaultElement(String name) - -
-           
DefaultElement(String name, - Namespace namespace) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(Attribute attribute) - -
-          Adds the given Attribute to this element.
- ListadditionalNamespaces() - -
-           - Returns any additional namespaces declarations for this element other - than namespace returned via the AbstractElement.getNamespace()method.
- ListadditionalNamespaces(String defaultNamespaceURI) - -
-           
-protected  voidaddNewNode(Node node) - -
-          Like addNode() but does not require a parent check
- Attributeattribute(int index) - -
-          Returns the attribute at the specified indexGets the
- Attributeattribute(QName qName) - -
-          DOCUMENT ME!
- Attributeattribute(String name) - -
-          Returns the attribute with the given name
- Attributeattribute(String name, - Namespace namespace) - -
-           
- intattributeCount() - -
-          DOCUMENT ME!
- IteratorattributeIterator() - -
-          DOCUMENT ME!
-protected  ListattributeList() - -
-          DOCUMENT ME!
-protected  ListattributeList(int size) - -
-          DOCUMENT ME!
- Listattributes() - -
-           - Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface.
- voidclearContent() - -
-          Clears the content for this branch, removing any Node - instances this branch may contain.
- Objectclone() - -
-           - clone will return a deep clone or if this node is - read-only then clone will return the same instance. -
-protected  ListcontentList() - -
-          DOCUMENT ME!
- ListdeclaredNamespaces() - -
-           - Returns all the namespaces declared by this element.
- Elementelement(QName qName) - -
-          Returns the first element for the given fully qualified name.
- Elementelement(String name) - -
-          Returns the first element for the given local name and any namespace.
- Elementelement(String name, - Namespace namespace) - -
-           
- DocumentgetDocument() - -
-           - getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -
-protected  DocumentFactorygetDocumentFactory() - -
-           
- NamespacegetNamespaceForPrefix(String prefix) - -
-           - Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -
- NamespacegetNamespaceForURI(String uri) - -
-           - Returns the Namespace which is mapped to the given URI or - null if it could not be found.
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- QNamegetQName() - -
-           - Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -
- StringgetStringValue() - -
-          Returns the XPath string-value of this node.
- StringgetText() - -
-          Returns the text value of this element without recursing through child - elements.
- intindexOf(Node node) - -
-          Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node.
- Nodenode(int index) - -
-          Returns the Node at the specified index position.
- intnodeCount() - -
-          Returns the number of Node instances that this branch - contains.
- IteratornodeIterator() - -
-          Returns an iterator through the content nodes of this branch
- ProcessingInstructionprocessingInstruction(String target) - -
-          DOCUMENT ME!
- ListprocessingInstructions() - -
-           - Returns a list of all the processing instructions in this branch.
- ListprocessingInstructions(String target) - -
-           - Returns a list of the processing instructions for the given target.
- booleanremove(Attribute attribute) - -
-          Removes the given Attribute from this element.
-protected  booleanremoveNode(Node node) - -
-           
- booleanremoveProcessingInstruction(String target) - -
-          Removes the processing instruction for the given target if it exists
-protected  voidsetAttributeList(List attributeList) - -
-           
- voidsetAttributes(List attributes) - -
-          Sets the attributes that this element contains
- voidsetContent(List content) - -
-          Sets the contents of this branch as a List of - Node instances.
- voidsetDocument(Document document) - -
-           - setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetQName(QName name) - -
-           - Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultElement

-
-public DefaultElement(String name)
-
-
-
- -

-DefaultElement

-
-public DefaultElement(QName qname)
-
-
-
- -

-DefaultElement

-
-public DefaultElement(QName qname,
-                      int attributeCount)
-
-
-
- -

-DefaultElement

-
-public DefaultElement(String name,
-                      Namespace namespace)
-
-
- - - - - - - - -
-Method Detail
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-getDocument

-
-public Document getDocument()
-
-
Description copied from interface: Node
-

- getDocument returns the Document that this - Node is part of if this node supports the parent - relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getDocument in interface Node
Overrides:
getDocument in class AbstractNode
-
-
-
-
-
-
- -

-setDocument

-
-public void setDocument(Document document)
-
-
Description copied from interface: Node
-

- setDocument sets the document of this node if the parent - relationship is supported or does nothing if the parent relationship is - not supported. -

- -

- This method should only be called from inside a Document - implementation method and is not intended for general use. -

-

-

-
Specified by:
setDocument in interface Node
Overrides:
setDocument in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-getQName

-
-public QName getQName()
-
-
Description copied from interface: Element
-

- Returns the QName of this element which represents the - local name, the qualified name and the Namespace. -

-

-

- -
Returns:
the QName associated with this element
-
-
-
- -

-setQName

-
-public void setQName(QName name)
-
-
Description copied from interface: Element
-

- Sets the QName of this element which represents the local - name, the qualified name and the Namespace. -

-

-

-
Parameters:
name - is the QName to be associated with this element
-
-
-
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Element
-
Returns the text value of this element without recursing through child - elements. This method iterates through all Text,CDATA - and Entitynodes that this element contains and appends the text - values together. -

-

-
Specified by:
getText in interface Element
Overrides:
getText in class AbstractBranch
-
-
-
-
-
-
- -

-getStringValue

-
-public String getStringValue()
-
-
Description copied from interface: Element
-
Returns the XPath string-value of this node. The behaviour of this method - is defined in the XPath - specification . This method returns the string-value of all the - contained Text,CDATA,Entityand Element nodes all appended together. -

-

-
Specified by:
getStringValue in interface Element
Overrides:
getStringValue in class AbstractElement
-
-
-
-
-
-
- -

-clone

-
-public Object clone()
-
-
Description copied from interface: Node
-

- clone will return a deep clone or if this node is - read-only then clone will return the same instance. -

-

-

-
Specified by:
clone in interface Node
Overrides:
clone in class AbstractNode
-
-
-
-
-
-
- -

-getNamespaceForPrefix

-
-public Namespace getNamespaceForPrefix(String prefix)
-
-
Description copied from interface: Element
-

- Returns the Namespace which is mapped to the given prefix - or null if it could not be found. -

-

-

-
Specified by:
getNamespaceForPrefix in interface Element
Overrides:
getNamespaceForPrefix in class AbstractElement
-
-
-
-
-
-
- -

-getNamespaceForURI

-
-public Namespace getNamespaceForURI(String uri)
-
-
Description copied from interface: Element
-

- Returns the Namespace which is mapped to the given URI or - null if it could not be found. If there is more than one - Namespace mapped to the URI, which of them will be - returned is undetermined. -

-

-

-
Specified by:
getNamespaceForURI in interface Element
Overrides:
getNamespaceForURI in class AbstractElement
-
-
-
-
-
-
- -

-declaredNamespaces

-
-public List declaredNamespaces()
-
-
Description copied from interface: Element
-

- Returns all the namespaces declared by this element. If no namespaces are - declared for this element then an empty list will be returned. The list - is backed by the element such that changes to the list will be reflected - in the element though the reverse is not the case. -

-

-

-
Specified by:
declaredNamespaces in interface Element
Overrides:
declaredNamespaces in class AbstractElement
-
-
-
-
-
-
- -

-additionalNamespaces

-
-public List additionalNamespaces()
-
-
Description copied from interface: Element
-

- Returns any additional namespaces declarations for this element other - than namespace returned via the Element.getNamespace()method. If no - additional namespace declarations are present for this element then an - empty list will be returned. The list is backed by the element such that - changes to the list will be reflected in the element though the reverse - is not the case. -

-

-

-
Specified by:
additionalNamespaces in interface Element
Overrides:
additionalNamespaces in class AbstractElement
-
-
-
-
-
-
- -

-additionalNamespaces

-
-public List additionalNamespaces(String defaultNamespaceURI)
-
-
-
Overrides:
additionalNamespaces in class AbstractElement
-
-
-
-
-
-
- -

-processingInstructions

-
-public List processingInstructions()
-
-
Description copied from interface: Branch
-

- Returns a list of all the processing instructions in this branch. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
Specified by:
processingInstructions in interface Branch
Overrides:
processingInstructions in class AbstractElement
-
-
-
-
-
-
- -

-processingInstructions

-
-public List processingInstructions(String target)
-
-
Description copied from interface: Branch
-

- Returns a list of the processing instructions for the given target. The - list is backed by this branch so that changes to the list will be - reflected in the branch but the reverse is not the case. -

-

-

-
Specified by:
processingInstructions in interface Branch
Overrides:
processingInstructions in class AbstractElement
-
-
-
-
-
-
- -

-processingInstruction

-
-public ProcessingInstruction processingInstruction(String target)
-
-
Description copied from interface: Branch
-
DOCUMENT ME! -

-

-
Specified by:
processingInstruction in interface Branch
Overrides:
processingInstruction in class AbstractElement
-
-
-
-
-
-
- -

-removeProcessingInstruction

-
-public boolean removeProcessingInstruction(String target)
-
-
Description copied from interface: Branch
-
Removes the processing instruction for the given target if it exists -

-

-
Specified by:
removeProcessingInstruction in interface Branch
Overrides:
removeProcessingInstruction in class AbstractElement
-
-
-
-
-
-
- -

-element

-
-public Element element(String name)
-
-
Description copied from interface: Element
-
Returns the first element for the given local name and any namespace. -

-

-
Specified by:
element in interface Element
Overrides:
element in class AbstractElement
-
-
-
-
-
-
- -

-element

-
-public Element element(QName qName)
-
-
Description copied from interface: Element
-
Returns the first element for the given fully qualified name. -

-

-
Specified by:
element in interface Element
Overrides:
element in class AbstractElement
-
-
-
-
-
-
- -

-element

-
-public Element element(String name,
-                       Namespace namespace)
-
-
-
Overrides:
element in class AbstractElement
-
-
-
-
-
-
- -

-setContent

-
-public void setContent(List content)
-
-
Description copied from interface: Branch
-
Sets the contents of this branch as a List of - Node instances. -

-

-
Parameters:
content - is the list of nodes to use as the content for this branch.
-
-
-
- -

-clearContent

-
-public void clearContent()
-
-
Description copied from interface: Branch
-
Clears the content for this branch, removing any Node - instances this branch may contain. -

-

-
-
-
-
- -

-node

-
-public Node node(int index)
-
-
Description copied from interface: Branch
-
Returns the Node at the specified index position. -

-

-
Specified by:
node in interface Branch
Overrides:
node in class AbstractElement
-
-
-
-
-
-
- -

-indexOf

-
-public int indexOf(Node node)
-
-
Description copied from interface: Branch
-
Returns the index of the given node if it is a child node of this branch - or -1 if the given node is not a child node. -

-

-
Specified by:
indexOf in interface Branch
Overrides:
indexOf in class AbstractElement
-
-
-
-
-
-
- -

-nodeCount

-
-public int nodeCount()
-
-
Description copied from interface: Branch
-
Returns the number of Node instances that this branch - contains. -

-

-
Specified by:
nodeCount in interface Branch
Overrides:
nodeCount in class AbstractElement
-
-
-
-
-
-
- -

-nodeIterator

-
-public Iterator nodeIterator()
-
-
Description copied from interface: Branch
-
Returns an iterator through the content nodes of this branch -

-

-
Specified by:
nodeIterator in interface Branch
Overrides:
nodeIterator in class AbstractElement
-
-
-
-
-
-
- -

-attributes

-
-public List attributes()
-
-
Description copied from interface: Element
-

- Returns the Attributeinstances this element contains as a backed - Listso that the attributes may be modified directly using the - Listinterface. The List is backed by the - Element so that changes to the list are reflected in the - element and vice versa. -

-

-

-
Specified by:
attributes in interface Element
Overrides:
attributes in class AbstractElement
-
-
-
-
-
-
- -

-setAttributes

-
-public void setAttributes(List attributes)
-
-
Description copied from interface: Element
-
Sets the attributes that this element contains -

-

-
Parameters:
attributes - DOCUMENT ME!
-
-
-
- -

-attributeIterator

-
-public Iterator attributeIterator()
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attributeIterator in interface Element
Overrides:
attributeIterator in class AbstractElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(int index)
-
-
Description copied from interface: Element
-
Returns the attribute at the specified indexGets the -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class AbstractElement
-
-
-
-
-
-
- -

-attributeCount

-
-public int attributeCount()
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attributeCount in interface Element
Overrides:
attributeCount in class AbstractElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(String name)
-
-
Description copied from interface: Element
-
Returns the attribute with the given name -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class AbstractElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(QName qName)
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class AbstractElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(String name,
-                           Namespace namespace)
-
-
-
Overrides:
attribute in class AbstractElement
-
-
-
-
-
-
- -

-add

-
-public void add(Attribute attribute)
-
-
Description copied from interface: Element
-
Adds the given Attribute to this element. If the given - node already has a parent defined then an - IllegalAddException will be thrown. Attributes with null - values are silently ignored. - -

- If the value of the attribute is null then this method call will remove - any attributes with the QName of this attribute. -

-

-

-
Specified by:
add in interface Element
Overrides:
add in class AbstractElement
-
-
-
-
-
-
- -

-remove

-
-public boolean remove(Attribute attribute)
-
-
Description copied from interface: Element
-
Removes the given Attribute from this element. -

-

-
Specified by:
remove in interface Element
Overrides:
remove in class AbstractElement
-
-
-
-
-
-
- -

-addNewNode

-
-protected void addNewNode(Node node)
-
-
Description copied from class: AbstractElement
-
Like addNode() but does not require a parent check -

-

-
Overrides:
addNewNode in class AbstractElement
-
-
-
Parameters:
node - DOCUMENT ME!
-
-
-
- -

-removeNode

-
-protected boolean removeNode(Node node)
-
-
-
Overrides:
removeNode in class AbstractElement
-
-
-
-
-
-
- -

-contentList

-
-protected List contentList()
-
-
Description copied from class: AbstractBranch
-
DOCUMENT ME! -

-

-
Specified by:
contentList in class AbstractBranch
-
-
- -
Returns:
the internal List used to manage the content
-
-
-
- -

-attributeList

-
-protected List attributeList()
-
-
Description copied from class: AbstractElement
-
DOCUMENT ME! -

-

-
Specified by:
attributeList in class AbstractElement
-
-
- -
Returns:
the internal List used to store attributes or creates one if one - is not available
-
-
-
- -

-attributeList

-
-protected List attributeList(int size)
-
-
Description copied from class: AbstractElement
-
DOCUMENT ME! -

-

-
Specified by:
attributeList in class AbstractElement
-
-
-
Parameters:
size - DOCUMENT ME! -
Returns:
the internal List used to store attributes or creates one with - the specified size if one is not available
-
-
-
- -

-setAttributeList

-
-protected void setAttributeList(List attributeList)
-
-
-
-
-
-
- -

-getDocumentFactory

-
-protected DocumentFactory getDocumentFactory()
-
-
-
Overrides:
getDocumentFactory in class AbstractElement
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultEntity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultEntity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultEntity.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultEntity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,573 +0,0 @@ - - - - - - - -DefaultEntity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultEntity

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractEntity
-          extended byorg.dom4j.tree.FlyweightEntity
-              extended byorg.dom4j.tree.DefaultEntity
-
-
-
All Implemented Interfaces:
Cloneable, Entity, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMEntityReference
-
-
-
-
public class DefaultEntity
extends FlyweightEntity
- -

-

- DefaultEntity is the default Entity implementation. It is a - doubly linked node which supports the parent relationship and can be modified - in place. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightEntity
name, text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultEntity(Element parent, - String name, - String text) - -
-          Creates the Entity with the specified name and text.
DefaultEntity(String name) - -
-          Creates the Entity with the specified name
DefaultEntity(String name, - String text) - -
-          Creates the Entity with the specified name and text.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetName(String name) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetText(String text) - -
-          sets the value of the entity if it is not defined yet otherwise an - UnsupportedOperationException is thrown as this class is - read only.
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightEntity
createXPathResult, getName, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractEntity
accept, asXML, getNodeType, getPath, getStringValue, getUniquePath, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultEntity

-
-public DefaultEntity(String name)
-
-
Creates the Entity with the specified name -

-

Parameters:
name - is the name of the entity
-
- -

-DefaultEntity

-
-public DefaultEntity(String name,
-                     String text)
-
-
Creates the Entity with the specified name and text. -

-

Parameters:
name - is the name of the entity
text - is the text of the entity
-
- -

-DefaultEntity

-
-public DefaultEntity(Element parent,
-                     String name,
-                     String text)
-
-
Creates the Entity with the specified name and text. -

-

Parameters:
parent - is the parent element
name - is the name of the entity
text - is the text of the entity
- - - - - - - - -
-Method Detail
- -

-setName

-
-public void setName(String name)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setName in interface Node
Overrides:
setName in class AbstractNode
-
-
-
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
Description copied from class: FlyweightEntity
-
sets the value of the entity if it is not defined yet otherwise an - UnsupportedOperationException is thrown as this class is - read only. -

-

-
Specified by:
setText in interface Node
Overrides:
setText in class FlyweightEntity
-
-
-
Parameters:
text - DOCUMENT ME!
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultNamespace.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultNamespace.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultNamespace.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultNamespace.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,558 +0,0 @@ - - - - - - - -DefaultNamespace (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultNamespace

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.Namespace
-          extended byorg.dom4j.tree.DefaultNamespace
-
-
-
All Implemented Interfaces:
Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
DOMNamespace
-
-
-
-
public class DefaultNamespace
extends Namespace
- -

-

- DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable. It is useful when returning - results from XPath expressions. -

-

- -

-

-
Version:
-
$Revision: 1.16 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.Namespace
CACHE, NO_NAMESPACE, XML_NAMESPACE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DefaultNamespace(Element parent, - String prefix, - String uri) - -
-          DOCUMENT ME!
DefaultNamespace(String prefix, - String uri) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  intcreateHashCode() - -
-          DOCUMENT ME!
- booleanequals(Object object) - -
-          Implements an identity based comparsion using the parent element as well - as the prefix and URI
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- inthashCode() - -
-          DOCUMENT ME!
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.Namespace
accept, asXML, createXPathResult, get, get, getNodeType, getPath, getPrefix, getStringValue, getText, getUniquePath, getURI, getXPathNameStep, toString
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setText, valueOf, write
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultNamespace

-
-public DefaultNamespace(String prefix,
-                        String uri)
-
-
DOCUMENT ME! -

-

Parameters:
prefix - is the prefix for this namespace
uri - is the URI for this namespace
-
- -

-DefaultNamespace

-
-public DefaultNamespace(Element parent,
-                        String prefix,
-                        String uri)
-
-
DOCUMENT ME! -

-

Parameters:
parent - is the parent element
prefix - is the prefix for this namespace
uri - is the URI for this namespace
- - - - - - - - -
-Method Detail
- -

-createHashCode

-
-protected int createHashCode()
-
-
DOCUMENT ME! -

-

-
Overrides:
createHashCode in class Namespace
-
-
- -
Returns:
the hash code based on the qualified name and the URI of the - namespace and the hashCode() of the parent element.
-
-
-
- -

-equals

-
-public boolean equals(Object object)
-
-
Implements an identity based comparsion using the parent element as well - as the prefix and URI -

-

-
Overrides:
equals in class Namespace
-
-
-
Parameters:
object - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Description copied from class: Namespace
-
DOCUMENT ME! -

-

-
Overrides:
hashCode in class Namespace
-
-
- -
Returns:
the hash code based on the qualified name and the URI of the - namespace.
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultProcessingInstruction.html 2005-05-16 13:27:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,630 +0,0 @@ - - - - - - - -DefaultProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultProcessingInstruction

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractProcessingInstruction
-          extended byorg.dom4j.tree.FlyweightProcessingInstruction
-              extended byorg.dom4j.tree.DefaultProcessingInstruction
-
-
-
All Implemented Interfaces:
Cloneable, Node, ProcessingInstruction, Serializable
-
-
-
Direct Known Subclasses:
DOMProcessingInstruction
-
-
-
-
public class DefaultProcessingInstruction
extends FlyweightProcessingInstruction
- -

-

- DefaultProcessingInstruction is the default Processing - Instruction implementation. It is a doubly linked node which supports the - parent relationship and can be modified in place. -

-

- -

-

-
Version:
-
$Revision: 1.13 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightProcessingInstruction
target, text, values
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultProcessingInstruction(Element parent, - String target, - String values) - -
-           - This will create a new PI with the given target and values -
DefaultProcessingInstruction(String target, - Map values) - -
-           - This will create a new PI with the given target and values -
DefaultProcessingInstruction(String target, - String values) - -
-           - This will create a new PI with the given target and values -
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetTarget(String target) - -
-          This method is the equivalent to the AbstractProcessingInstruction.setName(java.lang.String)method.
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- voidsetValue(String name, - String value) - -
-           
- voidsetValues(Map values) - -
-           
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightProcessingInstruction
createXPathResult, getTarget, getText, getValue, getValues
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractProcessingInstruction
accept, asXML, getName, getNodeType, getPath, getUniquePath, parseValues, removeValue, setName, toString, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultProcessingInstruction

-
-public DefaultProcessingInstruction(String target,
-                                    Map values)
-
-

- This will create a new PI with the given target and values -

-

-

Parameters:
target - is the name of the PI
values - is the Map values for the PI
-
- -

-DefaultProcessingInstruction

-
-public DefaultProcessingInstruction(String target,
-                                    String values)
-
-

- This will create a new PI with the given target and values -

-

-

Parameters:
target - is the name of the PI
values - is the values for the PI
-
- -

-DefaultProcessingInstruction

-
-public DefaultProcessingInstruction(Element parent,
-                                    String target,
-                                    String values)
-
-

- This will create a new PI with the given target and values -

-

-

Parameters:
parent - is the parent element
target - is the name of the PI
values - is the values for the PI
- - - - - - - - -
-Method Detail
- -

-setTarget

-
-public void setTarget(String target)
-
-
Description copied from interface: ProcessingInstruction
-
This method is the equivalent to the Node.setName(java.lang.String)method. It is added - for clarity. -

-

-
Specified by:
setTarget in interface ProcessingInstruction
Overrides:
setTarget in class FlyweightProcessingInstruction
-
-
-
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
-
-
-
- -

-setValues

-
-public void setValues(Map values)
-
-
-
Specified by:
setValues in interface ProcessingInstruction
Overrides:
setValues in class AbstractProcessingInstruction
-
-
-
-
-
-
- -

-setValue

-
-public void setValue(String name,
-                     String value)
-
-
-
Specified by:
setValue in interface ProcessingInstruction
Overrides:
setValue in class AbstractProcessingInstruction
-
-
-
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/DefaultText.html 2005-05-16 13:27:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/DefaultText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,543 +0,0 @@ - - - - - - - -DefaultText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class DefaultText

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractText
-              extended byorg.dom4j.tree.FlyweightText
-                  extended byorg.dom4j.tree.DefaultText
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Node, Serializable, Text
-
-
-
Direct Known Subclasses:
DOMText
-
-
-
-
public class DefaultText
extends FlyweightText
- -

-

- DefaultText is the default Text implementation. It is a doubly - linked node which supports the parent relationship and can be modified in - place. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightText
text
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
DefaultText(Element parent, - String text) - -
-          DOCUMENT ME!
DefaultText(String text) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementgetParent() - -
-           - getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -
- booleanisReadOnly() - -
-           - isReadOnly returns true if this node is read only and - cannot be modified.
- voidsetParent(Element parent) - -
-           - setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -
- voidsetText(String text) - -
-           - Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -
- booleansupportsParent() - -
-           - supportsParent returns true if this node supports the - parent relationship. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightText
createXPathResult, getText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractText
accept, asXML, getNodeType, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, write
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultText

-
-public DefaultText(String text)
-
-
DOCUMENT ME! -

-

Parameters:
text - is the Text text
-
- -

-DefaultText

-
-public DefaultText(Element parent,
-                   String text)
-
-
DOCUMENT ME! -

-

Parameters:
parent - is the parent element
text - is the Text text
- - - - - - - - -
-Method Detail
- -

-setText

-
-public void setText(String text)
-
-
Description copied from interface: Node
-

- Sets the text data of this node or this method will throw an - UnsupportedOperationException if it is read-only. -

-

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
-
-
-
- -

-getParent

-
-public Element getParent()
-
-
Description copied from interface: Node
-

- getParent returns the parent Element if - this node supports the parent relationship or null if it is the root - element or does not support the parent relationship. -

- -

- This method is an optional feature and may not be supported for all - Node implementations. -

-

-

-
Specified by:
getParent in interface Node
Overrides:
getParent in class AbstractNode
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Element parent)
-
-
Description copied from interface: Node
-

- setParent sets the parent relationship of this node if the - parent relationship is supported or does nothing if the parent - relationship is not supported. -

- -

- This method should only be called from inside an Element - implementation method and is not intended for general use. -

-

-

-
Specified by:
setParent in interface Node
Overrides:
setParent in class AbstractNode
-
-
-
-
-
-
- -

-supportsParent

-
-public boolean supportsParent()
-
-
Description copied from interface: Node
-

- supportsParent returns true if this node supports the - parent relationship. -

- -

- Some XML tree implementations are singly linked and only support downward - navigation through children relationships. The default case is that both - parent and children relationships are supported though for memory and - performance reasons the parent relationship may not be supported. -

-

-

-
Specified by:
supportsParent in interface Node
Overrides:
supportsParent in class AbstractNode
-
-
-
-
-
-
- -

-isReadOnly

-
-public boolean isReadOnly()
-
-
Description copied from interface: Node
-

- isReadOnly returns true if this node is read only and - cannot be modified. Any attempt to modify a read-only Node - will result in an UnsupportedOperationException being - thrown. -

-

-

-
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ElementIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ElementIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ElementIterator.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ElementIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,304 +0,0 @@ - - - - - - - -ElementIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class ElementIterator

-
-java.lang.Object
-  extended byorg.dom4j.tree.FilterIterator
-      extended byorg.dom4j.tree.ElementIterator
-
-
-
All Implemented Interfaces:
Iterator
-
-
-Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! -

-

-
public class ElementIterator
extends FilterIterator
- -

-

- ElementIterator is a filtering Iteratorwhich filters - out objects which do not implement the Elementinterface. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FilterIterator
proxy
-  - - - - - - - - - - -
-Constructor Summary
ElementIterator(Iterator proxy) - -
-          Deprecated.  
-  - - - - - - - - - - - -
-Method Summary
-protected  booleanmatches(Object element) - -
-          Deprecated. DOCUMENT ME!
- - - - - - - -
Methods inherited from class org.dom4j.tree.FilterIterator
findNext, hasNext, next, remove
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ElementIterator

-
-public ElementIterator(Iterator proxy)
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-matches

-
-protected boolean matches(Object element)
-
-
Deprecated. 
DOCUMENT ME! -

-

-
Specified by:
matches in class FilterIterator
-
-
-
Parameters:
element - DOCUMENT ME! -
Returns:
true if the given element implements the Element - interface
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ElementNameIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ElementNameIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ElementNameIterator.html 2005-05-16 13:28:02.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ElementNameIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,307 +0,0 @@ - - - - - - - -ElementNameIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class ElementNameIterator

-
-java.lang.Object
-  extended byorg.dom4j.tree.FilterIterator
-      extended byorg.dom4j.tree.ElementNameIterator
-
-
-
All Implemented Interfaces:
Iterator
-
-
-Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! -

-

-
public class ElementNameIterator
extends FilterIterator
- -

-

- ElementNameIterator is a filtering Iteratorwhich - filters out objects which do not implement the Elementinterface and - are not of the correct element name. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FilterIterator
proxy
-  - - - - - - - - - - -
-Constructor Summary
ElementNameIterator(Iterator proxy, - String name) - -
-          Deprecated.  
-  - - - - - - - - - - - -
-Method Summary
-protected  booleanmatches(Object object) - -
-          Deprecated. DOCUMENT ME!
- - - - - - - -
Methods inherited from class org.dom4j.tree.FilterIterator
findNext, hasNext, next, remove
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ElementNameIterator

-
-public ElementNameIterator(Iterator proxy,
-                           String name)
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-matches

-
-protected boolean matches(Object object)
-
-
Deprecated. 
DOCUMENT ME! -

-

-
Specified by:
matches in class FilterIterator
-
-
-
Parameters:
object - DOCUMENT ME! -
Returns:
true if the given element implements the Element - interface
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ElementQNameIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ElementQNameIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/ElementQNameIterator.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/ElementQNameIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,307 +0,0 @@ - - - - - - - -ElementQNameIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class ElementQNameIterator

-
-java.lang.Object
-  extended byorg.dom4j.tree.FilterIterator
-      extended byorg.dom4j.tree.ElementQNameIterator
-
-
-
All Implemented Interfaces:
Iterator
-
-
-Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! -

-

-
public class ElementQNameIterator
extends FilterIterator
- -

-

- ElementQNameIterator is a filtering Iteratorwhich - filters out objects which do not implement the Elementinterface and - are not of the correct fully qualified element name. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FilterIterator
proxy
-  - - - - - - - - - - -
-Constructor Summary
ElementQNameIterator(Iterator proxy, - QName qName) - -
-          Deprecated.  
-  - - - - - - - - - - - -
-Method Summary
-protected  booleanmatches(Object object) - -
-          Deprecated. DOCUMENT ME!
- - - - - - - -
Methods inherited from class org.dom4j.tree.FilterIterator
findNext, hasNext, next, remove
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ElementQNameIterator

-
-public ElementQNameIterator(Iterator proxy,
-                            QName qName)
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-matches

-
-protected boolean matches(Object object)
-
-
Deprecated. 
DOCUMENT ME! -

-

-
Specified by:
matches in class FilterIterator
-
-
-
Parameters:
object - DOCUMENT ME! -
Returns:
true if the given element implements the Element - interface and matches the given QName
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FilterIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FilterIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FilterIterator.html 2005-05-16 13:26:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FilterIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,409 +0,0 @@ - - - - - - - -FilterIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FilterIterator

-
-java.lang.Object
-  extended byorg.dom4j.tree.FilterIterator
-
-
-
All Implemented Interfaces:
Iterator
-
-
-
Direct Known Subclasses:
ElementIterator, ElementNameIterator, ElementQNameIterator
-
-
-Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !! -

-

-
public abstract class FilterIterator
extends Object
implements Iterator
- -

-

- FilterIterator is an abstract base class which is useful for - implementors of Iteratorwhich filter an existing iterator. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Iteratorproxy - -
-          Deprecated.  
-  - - - - - - - - - - -
-Constructor Summary
FilterIterator(Iterator proxy) - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  ObjectfindNext() - -
-          Deprecated.  
- booleanhasNext() - -
-          Deprecated.  
-protected abstract  booleanmatches(Object element) - -
-          Deprecated. Filter method to perform some matching on the given element.
- Objectnext() - -
-          Deprecated.  
- voidremove() - -
-          Deprecated. Always throws UnsupportedOperationException as this class does look-ahead - with its internal iterator.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-proxy

-
-protected Iterator proxy
-
-
Deprecated. 
-
-
- - - - - - - - -
-Constructor Detail
- -

-FilterIterator

-
-public FilterIterator(Iterator proxy)
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-hasNext

-
-public boolean hasNext()
-
-
Deprecated. 
-
Specified by:
hasNext in interface Iterator
-
-
-
-
-
-
- -

-next

-
-public Object next()
-            throws NoSuchElementException
-
-
Deprecated. 
-
Specified by:
next in interface Iterator
-
-
- -
Throws: -
NoSuchElementException
-
-
-
- -

-remove

-
-public void remove()
-
-
Deprecated. 
Always throws UnsupportedOperationException as this class does look-ahead - with its internal iterator. -

-

-
Specified by:
remove in interface Iterator
-
-
- -
Throws: -
UnsupportedOperationException - always
-
-
-
- -

-matches

-
-protected abstract boolean matches(Object element)
-
-
Deprecated. 
Filter method to perform some matching on the given element. -

-

-
-
-
-
Parameters:
element - DOCUMENT ME! -
Returns:
true if the given element matches the filter and should be appear - in the iteration
-
-
-
- -

-findNext

-
-protected Object findNext()
-
-
Deprecated. 
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightAttribute.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,452 +0,0 @@ - - - - - - - -FlyweightAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FlyweightAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-          extended byorg.dom4j.tree.FlyweightAttribute
-
-
-
All Implemented Interfaces:
Attribute, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultAttribute
-
-
-
-
public class FlyweightAttribute
extends AbstractAttribute
- -

-

- FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -

- -

- This node could be shared across documents and elements though it does not - support the parent relationship. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Stringvalue - -
-          The value of the Attribute
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
FlyweightAttribute(QName qname) - -
-           
FlyweightAttribute(QName qname, - String value) - -
-           
FlyweightAttribute(String name, - String value) - -
-          Creates the Attribute with the specified local name and - value.
FlyweightAttribute(String name, - String value, - Namespace namespace) - -
-          Creates the Attribute with the specified local name, value - and Namespace.
-  - - - - - - - - - - - - - - - -
-Method Summary
- QNamegetQName() - -
-           - Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -
- StringgetValue() - -
-           - Returns the value of the attribute.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractAttribute
accept, asXML, createXPathResult, getData, getName, getNamespace, getNamespacePrefix, getNamespaceURI, getNodeType, getPath, getQualifiedName, getText, getUniquePath, setData, setNamespace, setText, setValue, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-value

-
-protected String value
-
-
The value of the Attribute -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-FlyweightAttribute

-
-public FlyweightAttribute(QName qname)
-
-
-
- -

-FlyweightAttribute

-
-public FlyweightAttribute(QName qname,
-                          String value)
-
-
-
- -

-FlyweightAttribute

-
-public FlyweightAttribute(String name,
-                          String value)
-
-
Creates the Attribute with the specified local name and - value. -

-

Parameters:
name - is the name of the attribute
value - is the value of the attribute
-
- -

-FlyweightAttribute

-
-public FlyweightAttribute(String name,
-                          String value,
-                          Namespace namespace)
-
-
Creates the Attribute with the specified local name, value - and Namespace. -

-

Parameters:
name - is the name of the attribute
value - is the value of the attribute
namespace - is the namespace of the attribute
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public String getValue()
-
-
Description copied from interface: Attribute
-

- Returns the value of the attribute. This method returns the same value as - the Node.getText()method. -

-

-

- -
Returns:
the value of the attribute
-
-
-
- -

-getQName

-
-public QName getQName()
-
-
Description copied from interface: Attribute
-

- Returns the QName of this attribute which represents the - local name, the qualified name and the Namespace. -

-

-

- -
Returns:
the QName associated with this attribute
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightCDATA.html 2005-05-16 13:26:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,410 +0,0 @@ - - - - - - - -FlyweightCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FlyweightCDATA

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractCDATA
-              extended byorg.dom4j.tree.FlyweightCDATA
-
-
-
All Implemented Interfaces:
CDATA, CharacterData, Cloneable, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultCDATA
-
-
-
-
public class FlyweightCDATA
extends AbstractCDATA
implements CDATA
- -

-

- FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -

- -

- This node could be shared across documents and elements though it does not - support the parent relationship. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Stringtext - -
-          Text of the CDATA node
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
FlyweightCDATA(String text) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  NodecreateXPathResult(Element parent) - -
-           
- StringgetText() - -
-           - Returns the text of this node. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCDATA
accept, asXML, getNodeType, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - -
-Field Detail
- -

-text

-
-protected String text
-
-
Text of the CDATA node -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-FlyweightCDATA

-
-public FlyweightCDATA(String text)
-
-
DOCUMENT ME! -

-

Parameters:
text - is the CDATA text
- - - - - - - - -
-Method Detail
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightComment.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,410 +0,0 @@ - - - - - - - -FlyweightComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FlyweightComment

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractComment
-              extended byorg.dom4j.tree.FlyweightComment
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Comment, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultComment
-
-
-
-
public class FlyweightComment
extends AbstractComment
implements Comment
- -

-

- FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -

- -

- This node could be shared across documents and elements though it does not - support the parent relationship. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Stringtext - -
-          Text of the Comment node
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
FlyweightComment(String text) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  NodecreateXPathResult(Element parent) - -
-           
- StringgetText() - -
-           - Returns the text of this node. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractComment
accept, asXML, getNodeType, getPath, getUniquePath, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - -
-Field Detail
- -

-text

-
-protected String text
-
-
Text of the Comment node -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-FlyweightComment

-
-public FlyweightComment(String text)
-
-
DOCUMENT ME! -

-

Parameters:
text - is the Comment text
- - - - - - - - -
-Method Detail
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightEntity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightEntity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightEntity.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightEntity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,508 +0,0 @@ - - - - - - - -FlyweightEntity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FlyweightEntity

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractEntity
-          extended byorg.dom4j.tree.FlyweightEntity
-
-
-
All Implemented Interfaces:
Cloneable, Entity, Node, Serializable
-
-
-
Direct Known Subclasses:
DefaultEntity
-
-
-
-
public class FlyweightEntity
extends AbstractEntity
- -

-

- FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -

- -

- This node could be shared across documents and elements though it does not - support the parent relationship. -

- -

- Often this node needs to be created and then the text content added later - (for example in SAX) so this implementation allows a call to - providing the entity has no text already. -

-

- -

-

-
Version:
-
$Revision: 1.6 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  Stringname - -
-          The name of the Entity
-protected  Stringtext - -
-          The text of the Entity
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
-protected FlyweightEntity() - -
-          A default constructor for implementors to use.
- FlyweightEntity(String name) - -
-          Creates the Entity with the specified name
- FlyweightEntity(String name, - String text) - -
-          Creates the Entity with the specified name and text.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  NodecreateXPathResult(Element parent) - -
-           
- StringgetName() - -
-          DOCUMENT ME!
- StringgetText() - -
-          DOCUMENT ME!
- voidsetText(String text) - -
-          sets the value of the entity if it is not defined yet otherwise an - UnsupportedOperationException is thrown as this class is - read only.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractEntity
accept, asXML, getNodeType, getPath, getStringValue, getUniquePath, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-name

-
-protected String name
-
-
The name of the Entity -

-

-
-
-
- -

-text

-
-protected String text
-
-
The text of the Entity -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-FlyweightEntity

-
-protected FlyweightEntity()
-
-
A default constructor for implementors to use. -

-

-
- -

-FlyweightEntity

-
-public FlyweightEntity(String name)
-
-
Creates the Entity with the specified name -

-

Parameters:
name - is the name of the entity
-
- -

-FlyweightEntity

-
-public FlyweightEntity(String name,
-                       String text)
-
-
Creates the Entity with the specified name and text. -

-

Parameters:
name - is the name of the entity
text - is the text of the entity
- - - - - - - - -
-Method Detail
- -

-getName

-
-public String getName()
-
-
DOCUMENT ME! -

-

-
Specified by:
getName in interface Node
Overrides:
getName in class AbstractNode
-
-
- -
Returns:
the name of the entity
-
-
-
- -

-getText

-
-public String getText()
-
-
DOCUMENT ME! -

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
- -
Returns:
the text of the entity
-
-
-
- -

-setText

-
-public void setText(String text)
-
-
sets the value of the entity if it is not defined yet otherwise an - UnsupportedOperationException is thrown as this class is - read only. -

-

-
Specified by:
setText in interface Node
Overrides:
setText in class AbstractNode
-
-
-
Parameters:
text - DOCUMENT ME! -
Throws: -
UnsupportedOperationException - DOCUMENT ME!
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightProcessingInstruction.html 2005-05-16 13:28:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,568 +0,0 @@ - - - - - - - -FlyweightProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FlyweightProcessingInstruction

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractProcessingInstruction
-          extended byorg.dom4j.tree.FlyweightProcessingInstruction
-
-
-
All Implemented Interfaces:
Cloneable, Node, ProcessingInstruction, Serializable
-
-
-
Direct Known Subclasses:
DefaultProcessingInstruction
-
-
-
-
public class FlyweightProcessingInstruction
extends AbstractProcessingInstruction
- -

-

- FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -

- -

- This node could be shared across documents and elements though it does not - support the parent relationship. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  Stringtarget - -
-          The target of the PI
-protected  Stringtext - -
-          The values for the PI as a String
-protected  Mapvalues - -
-          The values for the PI in name/value pairs
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
FlyweightProcessingInstruction() - -
-          A default constructor for implementors to use.
FlyweightProcessingInstruction(String target, - Map values) - -
-           - This will create a new PI with the given target and values -
FlyweightProcessingInstruction(String target, - String text) - -
-           - This will create a new PI with the given target and values -
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  NodecreateXPathResult(Element parent) - -
-           
- StringgetTarget() - -
-          This method is the equivalent to the AbstractProcessingInstruction.getName()method.
- StringgetText() - -
-          DOCUMENT ME!
- StringgetValue(String name) - -
-           - Returns the value of a specific name in the PI. -
- MapgetValues() - -
-          DOCUMENT ME!
- voidsetTarget(String target) - -
-          This method is the equivalent to the AbstractProcessingInstruction.setName(java.lang.String)method.
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractProcessingInstruction
accept, asXML, getName, getNodeType, getPath, getUniquePath, parseValues, removeValue, setName, setValue, setValues, toString, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
-  -

- - - - - - - - -
-Field Detail
- -

-target

-
-protected String target
-
-
The target of the PI -

-

-
-
-
- -

-text

-
-protected String text
-
-
The values for the PI as a String -

-

-
-
-
- -

-values

-
-protected Map values
-
-
The values for the PI in name/value pairs -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-FlyweightProcessingInstruction

-
-public FlyweightProcessingInstruction()
-
-
A default constructor for implementors to use. -

-

-
- -

-FlyweightProcessingInstruction

-
-public FlyweightProcessingInstruction(String target,
-                                      Map values)
-
-

- This will create a new PI with the given target and values -

-

-

Parameters:
target - is the name of the PI
values - is the Map of the values for the PI
-
- -

-FlyweightProcessingInstruction

-
-public FlyweightProcessingInstruction(String target,
-                                      String text)
-
-

- This will create a new PI with the given target and values -

-

-

Parameters:
target - is the name of the PI
text - is the values for the PI as text
- - - - - - - - -
-Method Detail
- -

-getTarget

-
-public String getTarget()
-
-
Description copied from interface: ProcessingInstruction
-
This method is the equivalent to the Node.getName()method. It is added - for clarity. -

-

- -
Returns:
the target of this PI
-
-
-
- -

-setTarget

-
-public void setTarget(String target)
-
-
Description copied from interface: ProcessingInstruction
-
This method is the equivalent to the Node.setName(java.lang.String)method. It is added - for clarity. -

-

-
Parameters:
target - DOCUMENT ME!
-
-
-
- -

-getText

-
-public String getText()
-
-
Description copied from interface: ProcessingInstruction
-
DOCUMENT ME! -

-

-
Specified by:
getText in interface ProcessingInstruction
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-getValue

-
-public String getValue(String name)
-
-
Description copied from interface: ProcessingInstruction
-

- Returns the value of a specific name in the PI. -

-

-

-
Parameters:
name - is the name of the attribute to lookup. -
Returns:
the value of the named attribute
-
-
-
- -

-getValues

-
-public Map getValues()
-
-
Description copied from interface: ProcessingInstruction
-
DOCUMENT ME! -

-

- -
Returns:
the values for this processing instruction as a Map
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/FlyweightText.html 2005-05-16 13:26:11.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/FlyweightText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,410 +0,0 @@ - - - - - - - -FlyweightText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class FlyweightText

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractCharacterData
-          extended byorg.dom4j.tree.AbstractText
-              extended byorg.dom4j.tree.FlyweightText
-
-
-
All Implemented Interfaces:
CharacterData, Cloneable, Node, Serializable, Text
-
-
-
Direct Known Subclasses:
DefaultText
-
-
-
-
public class FlyweightText
extends AbstractText
implements Text
- -

-

- FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -

- -

- This node could be shared across documents and elements though it does not - support the parent relationship. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Stringtext - -
-          Text of the Text node
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - -
-Constructor Summary
FlyweightText(String text) - -
-          DOCUMENT ME!
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  NodecreateXPathResult(Element parent) - -
-           
- StringgetText() - -
-           - Returns the text of this node. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractText
accept, asXML, getNodeType, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractCharacterData
appendText, getPath, getUniquePath
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.CharacterData
appendText
- - - - - - - -
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
-  -

- - - - - - - - -
-Field Detail
- -

-text

-
-protected String text
-
-
Text of the Text node -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-FlyweightText

-
-public FlyweightText(String text)
-
-
DOCUMENT ME! -

-

Parameters:
text - is the Text text
- - - - - - - - -
-Method Detail
- -

-getText

-
-public String getText()
-
-
Description copied from interface: Node
-

- Returns the text of this node. -

-

-

-
Specified by:
getText in interface Node
Overrides:
getText in class AbstractNode
-
-
-
-
-
-
- -

-createXPathResult

-
-protected Node createXPathResult(Element parent)
-
-
-
Overrides:
createXPathResult in class AbstractNode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/NamespaceCache.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/NamespaceCache.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/NamespaceCache.html 2005-05-16 13:28:08.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/NamespaceCache.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,398 +0,0 @@ - - - - - - - -NamespaceCache (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class NamespaceCache

-
-java.lang.Object
-  extended byorg.dom4j.tree.NamespaceCache
-
-
-
-
public class NamespaceCache
extends Object
- -

-

- NamespaceCache caches instances of - DefaultNamespace for reuse both across documents and within - documents. -

-

- -

-

-
Version:
-
$Revision: 1.15 $
-
Author:
-
James Strachan , Maarten Coene, Brett Finnell
-
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static Mapcache - -
-          Cache of Mapinstances indexed by URI which contain caches of - Namespacefor each prefix
-protected static MapnoPrefixCache - -
-          Cache of Namespaceinstances indexed by URI for default - namespaces with no prefixes
-  - - - - - - - - - - -
-Constructor Summary
NamespaceCache() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  NamespacecreateNamespace(String prefix, - String uri) - -
-          A factory method to create Namespaceinstance
- Namespaceget(String uri) - -
-          DOCUMENT ME!
- Namespaceget(String prefix, - String uri) - -
-          DOCUMENT ME!
-protected  MapgetURICache(String uri) - -
-          DOCUMENT ME!
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-cache

-
-protected static Map cache
-
-
Cache of Mapinstances indexed by URI which contain caches of - Namespacefor each prefix -

-

-
-
-
- -

-noPrefixCache

-
-protected static Map noPrefixCache
-
-
Cache of Namespaceinstances indexed by URI for default - namespaces with no prefixes -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-NamespaceCache

-
-public NamespaceCache()
-
-
- - - - - - - - -
-Method Detail
- -

-get

-
-public Namespace get(String prefix,
-                     String uri)
-
-
DOCUMENT ME! -

-

-
Parameters:
prefix - DOCUMENT ME!
uri - DOCUMENT ME! -
Returns:
the namespace for the given prefix and uri
-
-
-
- -

-get

-
-public Namespace get(String uri)
-
-
DOCUMENT ME! -

-

-
Parameters:
uri - DOCUMENT ME! -
Returns:
the name model for the given name and namepsace
-
-
-
- -

-getURICache

-
-protected Map getURICache(String uri)
-
-
DOCUMENT ME! -

-

-
Parameters:
uri - DOCUMENT ME! -
Returns:
the cache for the given namespace URI. If one does not currently - exist it is created.
-
-
-
- -

-createNamespace

-
-protected Namespace createNamespace(String prefix,
-                                    String uri)
-
-
A factory method to create Namespaceinstance -

-

-
Parameters:
prefix - DOCUMENT ME!
uri - DOCUMENT ME! -
Returns:
a newly created Namespaceinstance.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/NamespaceStack.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/NamespaceStack.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/NamespaceStack.html 2005-05-16 13:26:39.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/NamespaceStack.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,773 +0,0 @@ - - - - - - - -NamespaceStack (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class NamespaceStack

-
-java.lang.Object
-  extended byorg.dom4j.tree.NamespaceStack
-
-
-
-
public class NamespaceStack
extends Object
- -

-NamespaceStack implements a stack of namespaces and optionally maintains a - cache of all the fully qualified names (QName) which are in - scope. This is useful when building or navigating a dom4j document. -

- -

-

-
Version:
-
$Revision: 1.13 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NamespaceStack() - -
-           
NamespaceStack(DocumentFactory documentFactory) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- NamespaceaddNamespace(String prefix, - String uri) - -
-          Adds a new namespace to the stack
- voidclear() - -
-          Clears the stack
- booleancontains(Namespace namespace) - -
-          DOCUMENT ME!
-protected  NamespacecreateNamespace(String prefix, - String namespaceURI) - -
-          Factory method to creeate new Namespace instances.
-protected  QNamecreateQName(String localName, - String qualifiedName, - Namespace namespace) - -
-          Factory method to creeate new QName instances.
-protected  NamespacefindDefaultNamespace() - -
-          Attempts to find the current default namespace on the stack right now or - returns null if one could not be found
- QNamegetAttributeQName(String namespaceURI, - String localName, - String qualifiedName) - -
-           
- NamespacegetDefaultNamespace() - -
-           
- DocumentFactorygetDocumentFactory() - -
-           
- NamespacegetNamespace(int index) - -
-          DOCUMENT ME!
-protected  MapgetNamespaceCache() - -
-           
- NamespacegetNamespaceForPrefix(String prefix) - -
-          DOCUMENT ME!
- QNamegetQName(String namespaceURI, - String localName, - String qualifiedName) - -
-           
- StringgetURI(String prefix) - -
-          DOCUMENT ME!
- Namespacepop() - -
-          Pops the most recently used Namespace from the stack
- Namespacepop(String prefix) - -
-          Pops a namepace from the stack with the given prefix and URI
- voidpush(Namespace namespace) - -
-          Pushes the given namespace onto the stack so that its prefix becomes - available.
- voidpush(String prefix, - String uri) - -
-          Adds a namepace to the stack with the given prefix and URI
-protected  QNamepushQName(String localName, - String qualifiedName, - Namespace namespace, - String prefix) - -
-          Adds the QName to the stack of available QNames
-protected  Namespaceremove(int index) - -
-          Removes the namespace at the given index of the stack
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           
- intsize() - -
-          DOCUMENT ME!
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NamespaceStack

-
-public NamespaceStack()
-
-
-
- -

-NamespaceStack

-
-public NamespaceStack(DocumentFactory documentFactory)
-
-
- - - - - - - - -
-Method Detail
- -

-push

-
-public void push(Namespace namespace)
-
-
Pushes the given namespace onto the stack so that its prefix becomes - available. -

-

-
Parameters:
namespace - is the Namespace to add to the stack.
-
-
-
- -

-pop

-
-public Namespace pop()
-
-
Pops the most recently used Namespace from the stack -

-

- -
Returns:
Namespace popped from the stack
-
-
-
- -

-size

-
-public int size()
-
-
DOCUMENT ME! -

-

- -
Returns:
the number of namespaces on the stackce stack.
-
-
-
- -

-clear

-
-public void clear()
-
-
Clears the stack -

-

-
-
-
-
- -

-getNamespace

-
-public Namespace getNamespace(int index)
-
-
DOCUMENT ME! -

-

-
Parameters:
index - DOCUMENT ME! -
Returns:
the namespace at the specified index on the stack
-
-
-
- -

-getNamespaceForPrefix

-
-public Namespace getNamespaceForPrefix(String prefix)
-
-
DOCUMENT ME! -

-

-
Parameters:
prefix - DOCUMENT ME! -
Returns:
the namespace for the given prefix or null if it could not be - found.
-
-
-
- -

-getURI

-
-public String getURI(String prefix)
-
-
DOCUMENT ME! -

-

-
Parameters:
prefix - DOCUMENT ME! -
Returns:
the URI for the given prefix or null if it could not be found.
-
-
-
- -

-contains

-
-public boolean contains(Namespace namespace)
-
-
DOCUMENT ME! -

-

-
Parameters:
namespace - DOCUMENT ME! -
Returns:
true if the given prefix is in the stack.
-
-
-
- -

-getQName

-
-public QName getQName(String namespaceURI,
-                      String localName,
-                      String qualifiedName)
-
-
-
-
-
-
- -

-getAttributeQName

-
-public QName getAttributeQName(String namespaceURI,
-                               String localName,
-                               String qualifiedName)
-
-
-
-
-
-
- -

-push

-
-public void push(String prefix,
-                 String uri)
-
-
Adds a namepace to the stack with the given prefix and URI -

-

-
Parameters:
prefix - DOCUMENT ME!
uri - DOCUMENT ME!
-
-
-
- -

-addNamespace

-
-public Namespace addNamespace(String prefix,
-                              String uri)
-
-
Adds a new namespace to the stack -

-

-
Parameters:
prefix - DOCUMENT ME!
uri - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-pop

-
-public Namespace pop(String prefix)
-
-
Pops a namepace from the stack with the given prefix and URI -

-

-
Parameters:
prefix - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
-
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-
-
-
-
-
- -

-getDefaultNamespace

-
-public Namespace getDefaultNamespace()
-
-
-
-
-
-
- -

-pushQName

-
-protected QName pushQName(String localName,
-                          String qualifiedName,
-                          Namespace namespace,
-                          String prefix)
-
-
Adds the QName to the stack of available QNames -

-

-
Parameters:
localName - DOCUMENT ME!
qualifiedName - DOCUMENT ME!
namespace - DOCUMENT ME!
prefix - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createQName

-
-protected QName createQName(String localName,
-                            String qualifiedName,
-                            Namespace namespace)
-
-
Factory method to creeate new QName instances. By default this method - interns the QName -

-

-
Parameters:
localName - DOCUMENT ME!
qualifiedName - DOCUMENT ME!
namespace - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createNamespace

-
-protected Namespace createNamespace(String prefix,
-                                    String namespaceURI)
-
-
Factory method to creeate new Namespace instances. By default this method - interns the Namespace -

-

-
Parameters:
prefix - DOCUMENT ME!
namespaceURI - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-findDefaultNamespace

-
-protected Namespace findDefaultNamespace()
-
-
Attempts to find the current default namespace on the stack right now or - returns null if one could not be found -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-remove

-
-protected Namespace remove(int index)
-
-
Removes the namespace at the given index of the stack -

-

-
Parameters:
index - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-getNamespaceCache

-
-protected Map getNamespaceCache()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/QNameCache.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/QNameCache.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/QNameCache.html 2005-05-16 13:27:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/QNameCache.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,577 +0,0 @@ - - - - - - - -QNameCache (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class QNameCache

-
-java.lang.Object
-  extended byorg.dom4j.tree.QNameCache
-
-
-
-
public class QNameCache
extends Object
- -

-

- QNameCache caches instances of QName for reuse - both across documents and within documents. -

< < < < < < < QNameCache.java -

- -

-

-
Version:
-
$Revision: 1.16 $ =======, $Revision: 1.16 $ >>>>>>> 1.15
-
Author:
-
James Strachan , James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  MapnamespaceCache - -
-          Cache of Mapinstances indexed by namespace which contain caches - of QNamefor each name
-protected  MapnoNamespaceCache - -
-          Cache of QNameinstances with no namespace
-  - - - - - - - - - - - - - -
-Constructor Summary
QNameCache() - -
-           
QNameCache(DocumentFactory documentFactory) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  MapcreateMap() - -
-          A factory method
-protected  QNamecreateQName(String name) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
-protected  QNamecreateQName(String name, - Namespace namespace) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
-protected  QNamecreateQName(String name, - Namespace namespace, - String qualifiedName) - -
-          Factory method to create a new QName object which can be overloaded to - create derived QName instances
- QNameget(String name) - -
-          DOCUMENT ME!
- QNameget(String name, - Namespace namespace) - -
-          DOCUMENT ME!
- QNameget(String localName, - Namespace namespace, - String qName) - -
-          DOCUMENT ME!
- QNameget(String qualifiedName, - String uri) - -
-           
-protected  MapgetNamespaceCache(Namespace namespace) - -
-          DOCUMENT ME!
- ListgetQNames() - -
-          Returns a list of all the QName instances currently used
- QNameintern(QName qname) - -
-          DOCUMENT ME!
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-noNamespaceCache

-
-protected Map noNamespaceCache
-
-
Cache of QNameinstances with no namespace -

-

-
-
-
- -

-namespaceCache

-
-protected Map namespaceCache
-
-
Cache of Mapinstances indexed by namespace which contain caches - of QNamefor each name -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-QNameCache

-
-public QNameCache()
-
-
-
- -

-QNameCache

-
-public QNameCache(DocumentFactory documentFactory)
-
-
- - - - - - - - -
-Method Detail
- -

-getQNames

-
-public List getQNames()
-
-
Returns a list of all the QName instances currently used -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-get

-
-public QName get(String name)
-
-
DOCUMENT ME! -

-

-
Parameters:
name - DOCUMENT ME! -
Returns:
the QName for the given name and no namepsace
-
-
-
- -

-get

-
-public QName get(String name,
-                 Namespace namespace)
-
-
DOCUMENT ME! -

-

-
Parameters:
name - DOCUMENT ME!
namespace - DOCUMENT ME! -
Returns:
the QName for the given local name and namepsace
-
-
-
- -

-get

-
-public QName get(String localName,
-                 Namespace namespace,
-                 String qName)
-
-
DOCUMENT ME! -

-

-
Parameters:
localName - DOCUMENT ME!
namespace - DOCUMENT ME!
qName - DOCUMENT ME! -
Returns:
the QName for the given local name, qualified name and namepsace
-
-
-
- -

-get

-
-public QName get(String qualifiedName,
-                 String uri)
-
-
-
-
-
-
- -

-intern

-
-public QName intern(QName qname)
-
-
DOCUMENT ME! -

-

-
Parameters:
qname - DOCUMENT ME! -
Returns:
the cached QName instance if there is one or adds the given qname - to the cache if not
-
-
-
- -

-getNamespaceCache

-
-protected Map getNamespaceCache(Namespace namespace)
-
-
DOCUMENT ME! -

-

-
Parameters:
namespace - DOCUMENT ME! -
Returns:
the cache for the given namespace. If one does not currently - exist it is created.
-
-
-
- -

-createMap

-
-protected Map createMap()
-
-
A factory method -

-

- -
Returns:
a newly created Mapinstance.
-
-
-
- -

-createQName

-
-protected QName createQName(String name)
-
-
Factory method to create a new QName object which can be overloaded to - create derived QName instances -

-

-
Parameters:
name - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createQName

-
-protected QName createQName(String name,
-                            Namespace namespace)
-
-
Factory method to create a new QName object which can be overloaded to - create derived QName instances -

-

-
Parameters:
name - DOCUMENT ME!
namespace - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-createQName

-
-protected QName createQName(String name,
-                            Namespace namespace,
-                            String qualifiedName)
-
-
Factory method to create a new QName object which can be overloaded to - create derived QName instances -

-

-
Parameters:
name - DOCUMENT ME!
namespace - DOCUMENT ME!
qualifiedName - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/SingleIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/SingleIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/SingleIterator.html 2005-05-16 13:28:21.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/SingleIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,316 +0,0 @@ - - - - - - - -SingleIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.tree -
-Class SingleIterator

-
-java.lang.Object
-  extended byorg.dom4j.tree.SingleIterator
-
-
-
All Implemented Interfaces:
Iterator
-
-
-
-
public class SingleIterator
extends Object
implements Iterator
- -

-

- SingleIterator is an Iteratorover a single object - instance. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
SingleIterator(Object object) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanhasNext() - -
-           
- Objectnext() - -
-           
- voidremove() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SingleIterator

-
-public SingleIterator(Object object)
-
-
- - - - - - - - -
-Method Detail
- -

-hasNext

-
-public boolean hasNext()
-
-
-
Specified by:
hasNext in interface Iterator
-
-
-
-
-
-
- -

-next

-
-public Object next()
-
-
-
Specified by:
next in interface Iterator
-
-
-
-
-
-
- -

-remove

-
-public void remove()
-
-
-
Specified by:
remove in interface Iterator
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractAttribute.html 2005-05-16 13:26:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,323 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractAttribute

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use AbstractAttribute
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of AbstractAttribute in org.dom4j.bean
-  -

- - - - - - - - - -
Subclasses of AbstractAttribute in org.dom4j.bean
- classBeanAttribute - -
-           - BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
-  -

- - - - - -
-Uses of AbstractAttribute in org.dom4j.datatype
-  -

- - - - - - - - - -
Subclasses of AbstractAttribute in org.dom4j.datatype
- classDatatypeAttribute - -
-           - DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -
-  -

- - - - - -
-Uses of AbstractAttribute in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractAttribute in org.dom4j.dom
- classDOMAttribute - -
-           - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractAttribute in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractAttribute in org.dom4j.tree
- classDefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
- classFlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
-  -

- - - - - -
-Uses of AbstractAttribute in org.dom4j.util
-  -

- - - - - - - - - -
Subclasses of AbstractAttribute in org.dom4j.util
- classUserDataAttribute - -
-           - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractBranch.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractBranch.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractBranch.html 2005-05-16 13:28:10.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractBranch.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,427 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractBranch (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractBranch

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use AbstractBranch
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of AbstractBranch in org.dom4j.bean
-  -

- - - - - - - - - -
Subclasses of AbstractBranch in org.dom4j.bean
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - -
-Uses of AbstractBranch in org.dom4j.datatype
-  -

- - - - - - - - - -
Subclasses of AbstractBranch in org.dom4j.datatype
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - -
-Uses of AbstractBranch in org.dom4j.dom
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractBranch in org.dom4j.dom
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
-  -

- - - - - -
-Uses of AbstractBranch in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of AbstractBranch in org.dom4j.tree
- classAbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
- classBaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
- classDefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
- classDefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
-  -

- - - - - - - - - - - - - - - - - -
Constructors in org.dom4j.tree with parameters of type AbstractBranch
ContentListFacade(AbstractBranch branch, - List branchContent) - -
-           
BackedList(AbstractBranch branch, - List branchContent) - -
-           
BackedList(AbstractBranch branch, - List branchContent, - int capacity) - -
-           
BackedList(AbstractBranch branch, - List branchContent, - List initialContent) - -
-           
-  -

- - - - - -
-Uses of AbstractBranch in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - -
Subclasses of AbstractBranch in org.dom4j.util
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractCDATA.html 2005-05-16 13:27:37.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,221 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractCDATA

-
- - - - - - - - - - - - - -
-Packages that use AbstractCDATA
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractCDATA in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractCDATA in org.dom4j.dom
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
-  -

- - - - - -
-Uses of AbstractCDATA in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractCDATA in org.dom4j.tree
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
- classFlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractCharacterData.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractCharacterData.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractCharacterData.html 2005-05-16 13:27:47.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractCharacterData.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,314 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractCharacterData (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractCharacterData

-
- - - - - - - - - - - - - -
-Packages that use AbstractCharacterData
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractCharacterData in org.dom4j.dom
-  -

- - - - - - - - - - - - - - - - - -
Subclasses of AbstractCharacterData in org.dom4j.dom
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractCharacterData in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of AbstractCharacterData in org.dom4j.tree
- classAbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
- classDefaultText - -
-           - DefaultText is the default Text implementation.
- classFlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
- classFlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
- classFlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractComment.html 2005-05-16 13:27:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,220 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractComment

-
- - - - - - - - - - - - - -
-Packages that use AbstractComment
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractComment in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractComment in org.dom4j.dom
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractComment in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractComment in org.dom4j.tree
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
- classFlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractDocument.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractDocument.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractDocument.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractDocument.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,212 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractDocument (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractDocument

-
- - - - - - - - - - - - - -
-Packages that use AbstractDocument
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractDocument in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractDocument in org.dom4j.dom
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
-  -

- - - - - -
-Uses of AbstractDocument in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of AbstractDocument in org.dom4j.tree
- classDefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractDocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractDocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractDocumentType.html 2005-05-16 13:26:39.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractDocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,212 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractDocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractDocumentType

-
- - - - - - - - - - - - - -
-Packages that use AbstractDocumentType
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractDocumentType in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractDocumentType in org.dom4j.dom
- classDOMDocumentType - -
-           - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractDocumentType in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of AbstractDocumentType in org.dom4j.tree
- classDefaultDocumentType - -
-           - DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractElement.html 2005-05-16 13:27:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,345 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractElement

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use AbstractElement
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of AbstractElement in org.dom4j.bean
-  -

- - - - - - - - - -
Subclasses of AbstractElement in org.dom4j.bean
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - -
-Uses of AbstractElement in org.dom4j.datatype
-  -

- - - - - - - - - -
Subclasses of AbstractElement in org.dom4j.datatype
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - -
-Uses of AbstractElement in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractElement in org.dom4j.dom
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
-  -

- - - - - -
-Uses of AbstractElement in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractElement in org.dom4j.tree
- classBaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
- classDefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
-  -

- - - - - -
-Uses of AbstractElement in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - -
Subclasses of AbstractElement in org.dom4j.util
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractEntity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractEntity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractEntity.html 2005-05-16 13:26:06.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractEntity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,221 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractEntity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractEntity

-
- - - - - - - - - - - - - -
-Packages that use AbstractEntity
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractEntity in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractEntity in org.dom4j.dom
- classDOMEntityReference - -
-           - DOMEntity implements a Entity node which supports the W3C DOM - API. -
-  -

- - - - - -
-Uses of AbstractEntity in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractEntity in org.dom4j.tree
- classDefaultEntity - -
-           - DefaultEntity is the default Entity implementation.
- classFlyweightEntity - -
-           - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractNode.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractNode.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractNode.html 2005-05-16 13:27:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractNode.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,786 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractNode (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractNode

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use AbstractNode
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of AbstractNode in org.dom4j
-  -

- - - - - - - - - -
Subclasses of AbstractNode in org.dom4j
- classNamespace - -
-           - Namespace is a Flyweight Namespace that can be shared amongst - nodes. -
-  -

- - - - - -
-Uses of AbstractNode in org.dom4j.bean
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractNode in org.dom4j.bean
- classBeanAttribute - -
-           - BeanAttribute represents a mutable XML attribute which is - backed by a property of the JavaBean of its parent element. -
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - -
-Uses of AbstractNode in org.dom4j.datatype
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractNode in org.dom4j.datatype
- classDatatypeAttribute - -
-           - DatatypeAttribute represents an Attribute which supports the - XML Schema Data Types - specification. -
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - -
-Uses of AbstractNode in org.dom4j.dom
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of AbstractNode in org.dom4j.dom
- classDOMAttribute - -
-           - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
- classDOMDocumentType - -
-           - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
- classDOMEntityReference - -
-           - DOMEntity implements a Entity node which supports the W3C DOM - API. -
- classDOMNamespace - -
-           - DOMNamespace implements a Namespace that is compatable with - the DOM API. -
- classDOMProcessingInstruction - -
-           - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractNode in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of AbstractNode in org.dom4j.tree
- classAbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractCharacterData - -
-           - AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractDocumentType - -
-           - AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
- classAbstractEntity - -
-           - AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
- classAbstractProcessingInstruction - -
-           - AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
- classAbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
- classBaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
- classDefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
- classDefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
- classDefaultDocumentType - -
-           - DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
- classDefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
- classDefaultEntity - -
-           - DefaultEntity is the default Entity implementation.
- classDefaultNamespace - -
-           - DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable.
- classDefaultProcessingInstruction - -
-           - DefaultProcessingInstruction is the default Processing - Instruction implementation.
- classDefaultText - -
-           - DefaultText is the default Text implementation.
- classFlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
- classFlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
- classFlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
- classFlyweightEntity - -
-           - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
- classFlyweightProcessingInstruction - -
-           - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
- classFlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

- - - - - -
-Uses of AbstractNode in org.dom4j.util
-  -

- - - - - - - - - - - - - - - - - - - - - -
Subclasses of AbstractNode in org.dom4j.util
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
- classUserDataAttribute - -
-           - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractProcessingInstruction.html 2005-05-16 13:27:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,222 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractProcessingInstruction

-
- - - - - - - - - - - - - -
-Packages that use AbstractProcessingInstruction
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractProcessingInstruction in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractProcessingInstruction in org.dom4j.dom
- classDOMProcessingInstruction - -
-           - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractProcessingInstruction in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractProcessingInstruction in org.dom4j.tree
- classDefaultProcessingInstruction - -
-           - DefaultProcessingInstruction is the default Processing - Instruction implementation.
- classFlyweightProcessingInstruction - -
-           - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/AbstractText.html 2005-05-16 13:26:18.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/AbstractText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,220 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.AbstractText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.AbstractText

-
- - - - - - - - - - - - - -
-Packages that use AbstractText
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of AbstractText in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of AbstractText in org.dom4j.dom
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of AbstractText in org.dom4j.tree
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractText in org.dom4j.tree
- classDefaultText - -
-           - DefaultText is the default Text implementation.
- classFlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/BackedList.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/BackedList.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/BackedList.html 2005-05-16 13:28:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/BackedList.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.BackedList (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.BackedList

-
- - - - - - - - - -
-Packages that use BackedList
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of BackedList in org.dom4j.tree
-  -

- - - - - - - - - -
Methods in org.dom4j.tree that return BackedList
-protected  BackedListAbstractBranch.createResultList() - -
-          A Factory Method pattern which creates a BackedList implementation used - to store results of a filtered content query.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/BaseElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/BaseElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/BaseElement.html 2005-05-16 13:26:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/BaseElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.BaseElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.BaseElement

-
- - - - - - - - - -
-Packages that use BaseElement
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of BaseElement in org.dom4j.util
-  -

- - - - - - - - - -
Subclasses of BaseElement in org.dom4j.util
- classNonLazyElement - -
-           - NonLazyElement is the default DOM4J default implementation of - an XML element. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.BarrierLock.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.BarrierLock.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.BarrierLock.html 2005-05-16 13:25:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.BarrierLock.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.ConcurrentReaderHashMap.BarrierLock (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.ConcurrentReaderHashMap.BarrierLock

-
-No usage of org.dom4j.tree.ConcurrentReaderHashMap.BarrierLock -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.Entry.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.Entry.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.Entry.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ConcurrentReaderHashMap.Entry.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.ConcurrentReaderHashMap.Entry (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.ConcurrentReaderHashMap.Entry

-
- - - - - - - - - -
-Packages that use ConcurrentReaderHashMap.Entry
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of ConcurrentReaderHashMap.Entry in org.dom4j.tree
-  -

- - - - - - - - - -
Fields in org.dom4j.tree declared as ConcurrentReaderHashMap.Entry
-protected  ConcurrentReaderHashMap.EntryConcurrentReaderHashMap.Entry.next - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ContentListFacade.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ContentListFacade.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ContentListFacade.html 2005-05-16 13:26:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ContentListFacade.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.ContentListFacade (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.ContentListFacade

-
-No usage of org.dom4j.tree.ContentListFacade -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultAttribute.html 2005-05-16 13:28:15.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,210 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultAttribute

-
- - - - - - - - - - - - - -
-Packages that use DefaultAttribute
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of DefaultAttribute in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultAttribute in org.dom4j.dom
- classDOMAttribute - -
-           - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
-  -

- - - - - -
-Uses of DefaultAttribute in org.dom4j.util
-  -

- - - - - - - - - -
Subclasses of DefaultAttribute in org.dom4j.util
- classUserDataAttribute - -
-           - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultCDATA.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultCDATA

-
- - - - - - - - - -
-Packages that use DefaultCDATA
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultCDATA in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultCDATA in org.dom4j.dom
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultComment.html 2005-05-16 13:27:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultComment

-
- - - - - - - - - -
-Packages that use DefaultComment
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultComment in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultComment in org.dom4j.dom
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultDocument.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultDocument.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultDocument.html 2005-05-16 13:27:57.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultDocument.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultDocument (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultDocument

-
- - - - - - - - - -
-Packages that use DefaultDocument
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultDocument in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultDocument in org.dom4j.dom
- classDOMDocument - -
-           - DOMDocument implements an XML document which supports the W3C - DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultDocumentType.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultDocumentType.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultDocumentType.html 2005-05-16 13:27:41.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultDocumentType.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultDocumentType (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultDocumentType

-
- - - - - - - - - -
-Packages that use DefaultDocumentType
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultDocumentType in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultDocumentType in org.dom4j.dom
- classDOMDocumentType - -
-           - DOMDocumentType implements a DocumentType node which supports - the W3C DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultElement.html 2005-05-16 13:26:38.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,288 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultElement

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use DefaultElement
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of DefaultElement in org.dom4j.bean
-  -

- - - - - - - - - -
Subclasses of DefaultElement in org.dom4j.bean
- classBeanElement - -
-           - BeanElement uses a Java Bean to store its attributes. -
-  -

- - - - - -
-Uses of DefaultElement in org.dom4j.datatype
-  -

- - - - - - - - - -
Subclasses of DefaultElement in org.dom4j.datatype
- classDatatypeElement - -
-           - DatatypeElement represents an Element which supports the XML Schema Data Types - specification. -
-  -

- - - - - -
-Uses of DefaultElement in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultElement in org.dom4j.dom
- classDOMElement - -
-           - DOMElement implements an XML element which supports the W3C - DOM API. -
-  -

- - - - - -
-Uses of DefaultElement in org.dom4j.util
-  -

- - - - - - - - - - - - - -
Subclasses of DefaultElement in org.dom4j.util
- classIndexedElement - -
-           - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
- classUserDataElement - -
-           - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultEntity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultEntity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultEntity.html 2005-05-16 13:26:19.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultEntity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultEntity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultEntity

-
- - - - - - - - - -
-Packages that use DefaultEntity
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultEntity in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultEntity in org.dom4j.dom
- classDOMEntityReference - -
-           - DOMEntity implements a Entity node which supports the W3C DOM - API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultNamespace.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultNamespace.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultNamespace.html 2005-05-16 13:27:32.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultNamespace.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultNamespace (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultNamespace

-
- - - - - - - - - -
-Packages that use DefaultNamespace
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultNamespace in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultNamespace in org.dom4j.dom
- classDOMNamespace - -
-           - DOMNamespace implements a Namespace that is compatable with - the DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultProcessingInstruction.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,177 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultProcessingInstruction

-
- - - - - - - - - -
-Packages that use DefaultProcessingInstruction
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultProcessingInstruction in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultProcessingInstruction in org.dom4j.dom
- classDOMProcessingInstruction - -
-           - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/DefaultText.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/DefaultText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.DefaultText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.DefaultText

-
- - - - - - - - - -
-Packages that use DefaultText
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
-  -

- - - - - -
-Uses of DefaultText in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of DefaultText in org.dom4j.dom
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ElementIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ElementIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ElementIterator.html 2005-05-16 13:28:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ElementIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.ElementIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.ElementIterator

-
-No usage of org.dom4j.tree.ElementIterator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ElementNameIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ElementNameIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ElementNameIterator.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ElementNameIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.ElementNameIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.ElementNameIterator

-
-No usage of org.dom4j.tree.ElementNameIterator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ElementQNameIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ElementQNameIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/ElementQNameIterator.html 2005-05-16 13:27:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/ElementQNameIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.ElementQNameIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.ElementQNameIterator

-
-No usage of org.dom4j.tree.ElementQNameIterator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FilterIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FilterIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FilterIterator.html 2005-05-16 13:28:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FilterIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FilterIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FilterIterator

-
- - - - - - - - - -
-Packages that use FilterIterator
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of FilterIterator in org.dom4j.tree
-  -

- - - - - - - - - - - - - - - - - -
Subclasses of FilterIterator in org.dom4j.tree
- classElementIterator - -
-          Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
- classElementNameIterator - -
-          Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
- classElementQNameIterator - -
-          Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightAttribute.html 2005-05-16 13:27:44.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,245 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FlyweightAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FlyweightAttribute

-
- - - - - - - - - - - - - - - - - -
-Packages that use FlyweightAttribute
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of FlyweightAttribute in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of FlyweightAttribute in org.dom4j.dom
- classDOMAttribute - -
-           - DOMAttribute implements a doubly linked attribute which - supports the W3C DOM API. -
-  -

- - - - - -
-Uses of FlyweightAttribute in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of FlyweightAttribute in org.dom4j.tree
- classDefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
-  -

- - - - - -
-Uses of FlyweightAttribute in org.dom4j.util
-  -

- - - - - - - - - -
Subclasses of FlyweightAttribute in org.dom4j.util
- classUserDataAttribute - -
-           - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightCDATA.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightCDATA.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightCDATA.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightCDATA.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,210 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FlyweightCDATA (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FlyweightCDATA

-
- - - - - - - - - - - - - -
-Packages that use FlyweightCDATA
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of FlyweightCDATA in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of FlyweightCDATA in org.dom4j.dom
- classDOMCDATA - -
-           - DOMCDATA implements a CDATA Section which supports the W3C DOM - API. -
-  -

- - - - - -
-Uses of FlyweightCDATA in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of FlyweightCDATA in org.dom4j.tree
- classDefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightComment.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightComment.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightComment.html 2005-05-16 13:26:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightComment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,209 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FlyweightComment (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FlyweightComment

-
- - - - - - - - - - - - - -
-Packages that use FlyweightComment
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of FlyweightComment in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of FlyweightComment in org.dom4j.dom
- classDOMComment - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of FlyweightComment in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of FlyweightComment in org.dom4j.tree
- classDefaultComment - -
-           - DefaultComment is the default Comment implementation.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightEntity.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightEntity.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightEntity.html 2005-05-16 13:26:21.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightEntity.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,210 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FlyweightEntity (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FlyweightEntity

-
- - - - - - - - - - - - - -
-Packages that use FlyweightEntity
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of FlyweightEntity in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of FlyweightEntity in org.dom4j.dom
- classDOMEntityReference - -
-           - DOMEntity implements a Entity node which supports the W3C DOM - API. -
-  -

- - - - - -
-Uses of FlyweightEntity in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of FlyweightEntity in org.dom4j.tree
- classDefaultEntity - -
-           - DefaultEntity is the default Entity implementation.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightProcessingInstruction.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightProcessingInstruction.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightProcessingInstruction.html 2005-05-16 13:28:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightProcessingInstruction.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,211 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FlyweightProcessingInstruction (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FlyweightProcessingInstruction

-
- - - - - - - - - - - - - -
-Packages that use FlyweightProcessingInstruction
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of FlyweightProcessingInstruction in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of FlyweightProcessingInstruction in org.dom4j.dom
- classDOMProcessingInstruction - -
-           - DOMProcessingInstruction implements a ProcessingInstruction - node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of FlyweightProcessingInstruction in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of FlyweightProcessingInstruction in org.dom4j.tree
- classDefaultProcessingInstruction - -
-           - DefaultProcessingInstruction is the default Processing - Instruction implementation.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightText.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightText.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/FlyweightText.html 2005-05-16 13:27:54.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/FlyweightText.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,209 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.FlyweightText (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.FlyweightText

-
- - - - - - - - - - - - - -
-Packages that use FlyweightText
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of FlyweightText in org.dom4j.dom
-  -

- - - - - - - - - -
Subclasses of FlyweightText in org.dom4j.dom
- classDOMText - -
-           - DOMText implements a Text node which supports the W3C DOM API. -
-  -

- - - - - -
-Uses of FlyweightText in org.dom4j.tree
-  -

- - - - - - - - - -
Subclasses of FlyweightText in org.dom4j.tree
- classDefaultText - -
-           - DefaultText is the default Text implementation.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/NamespaceCache.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/NamespaceCache.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/NamespaceCache.html 2005-05-16 13:27:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/NamespaceCache.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,174 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.NamespaceCache (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.NamespaceCache

-
- - - - - - - - - -
-Packages that use NamespaceCache
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
-  -

- - - - - -
-Uses of NamespaceCache in org.dom4j
-  -

- - - - - - - - - -
Fields in org.dom4j declared as NamespaceCache
-protected static NamespaceCacheNamespace.CACHE - -
-          Cache of Namespace instances
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/NamespaceStack.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/NamespaceStack.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/NamespaceStack.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/NamespaceStack.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,280 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.NamespaceStack (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.NamespaceStack

-
- - - - - - - - - - - - - - - - - -
-Packages that use NamespaceStack
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
-  -

- - - - - -
-Uses of NamespaceStack in org.dom4j.bean
-  -

- - - - - - - - - -
Methods in org.dom4j.bean with parameters of type NamespaceStack
- voidBeanElement.setAttributes(Attributes attributes, - NamespaceStack namespaceStack, - boolean noNamespaceAttributes) - -
-           
-  -

- - - - - -
-Uses of NamespaceStack in org.dom4j.io
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.dom4j.io with parameters of type NamespaceStack
-protected  voidSAXWriter.writeContent(Branch branch, - NamespaceStack namespaceStack) - -
-           
-protected  voidSAXWriter.write(Element element, - NamespaceStack namespaceStack) - -
-           
-protected  AttributesImplSAXWriter.startPrefixMapping(Element element, - NamespaceStack namespaceStack) - -
-          Fires a SAX startPrefixMapping event for all the namespaceStack which - have just come into scope
-protected  voidSAXWriter.endPrefixMapping(NamespaceStack stack, - int stackSize) - -
-          Fires a SAX endPrefixMapping event for all the namespaceStack which have - gone out of scope
-protected  booleanSAXWriter.isIgnoreableNamespace(Namespace namespace, - NamespaceStack namespaceStack) - -
-          DOCUMENT ME!
-  -

- - - - - -
-Uses of NamespaceStack in org.dom4j.tree
-  -

- - - - - - - - - -
Methods in org.dom4j.tree with parameters of type NamespaceStack
- voidAbstractElement.setAttributes(Attributes attributes, - NamespaceStack namespaceStack, - boolean noNamespaceAttributes) - -
-          This method provides a more optimal way of setting all the attributes on - an Element particularly for use in SAXReader.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/QNameCache.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/QNameCache.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/QNameCache.html 2005-05-16 13:27:42.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/QNameCache.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,190 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.QNameCache (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.QNameCache

-
- - - - - - - - - -
-Packages that use QNameCache
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
-  -

- - - - - -
-Uses of QNameCache in org.dom4j
-  -

- - - - - - - - - -
Fields in org.dom4j declared as QNameCache
-protected  QNameCacheDocumentFactory.cache - -
-           
-  -

- - - - - - - - - -
Methods in org.dom4j that return QNameCache
-protected  QNameCacheDocumentFactory.createQNameCache() - -
-          Factory method to create the QNameCache.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/SingleIterator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/SingleIterator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/class-use/SingleIterator.html 2005-05-16 13:27:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/class-use/SingleIterator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.tree.SingleIterator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.tree.SingleIterator

-
-No usage of org.dom4j.tree.SingleIterator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-frame.html 2005-05-16 13:28:19.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ - - - - - - - -org.dom4j.tree (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.tree - - - - -
-Classes  - -
-AbstractAttribute -
-AbstractBranch -
-AbstractCDATA -
-AbstractCharacterData -
-AbstractComment -
-AbstractDocument -
-AbstractDocumentType -
-AbstractElement -
-AbstractEntity -
-AbstractNode -
-AbstractProcessingInstruction -
-AbstractText -
-BackedList -
-BaseElement -
-ConcurrentReaderHashMap.BarrierLock -
-ConcurrentReaderHashMap.Entry -
-ContentListFacade -
-DefaultAttribute -
-DefaultCDATA -
-DefaultComment -
-DefaultDocument -
-DefaultDocumentType -
-DefaultElement -
-DefaultEntity -
-DefaultNamespace -
-DefaultProcessingInstruction -
-DefaultText -
-ElementIterator -
-ElementNameIterator -
-ElementQNameIterator -
-FilterIterator -
-FlyweightAttribute -
-FlyweightCDATA -
-FlyweightComment -
-FlyweightEntity -
-FlyweightProcessingInstruction -
-FlyweightText -
-NamespaceCache -
-NamespaceStack -
-QNameCache -
-SingleIterator
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-summary.html 2005-05-16 13:26:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,423 +0,0 @@ - - - - - - - -org.dom4j.tree (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.tree -

-Contains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. - -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AbstractAttribute - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractBranch - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCDATA - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCharacterData - AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractComment - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocument - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocumentType - AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractElement - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractEntity - AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractNode - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractProcessingInstruction - AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
AbstractText - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
BackedList - BackedList represents a list of content of a Branch.
BaseElement - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
ConcurrentReaderHashMap.BarrierLockA Serializable class for barrier lock *
ConcurrentReaderHashMap.EntryConcurrentReaderHashMap collision list entry.
ContentListFacade - ContentListFacade represents a facade of the content of a - Branch which is returned via calls to the Branch.content() method to allow users to modify the content of a - Branch directly using the List interface.
DefaultAttribute - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
DefaultCDATA - DefaultCDATA is the default CDATA implementation.
DefaultComment - DefaultComment is the default Comment implementation.
DefaultDocument - DefaultDocument is the default DOM4J default implementation of - an XML document. -
DefaultDocumentType - DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
DefaultElement - DefaultElement is the default DOM4J default implementation of - an XML element. -
DefaultEntity - DefaultEntity is the default Entity implementation.
DefaultNamespace - DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable.
DefaultProcessingInstruction - DefaultProcessingInstruction is the default Processing - Instruction implementation.
DefaultText - DefaultText is the default Text implementation.
ElementIteratorDeprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
ElementNameIteratorDeprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
ElementQNameIteratorDeprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
FilterIteratorDeprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
FlyweightAttribute - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
FlyweightCDATA - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
FlyweightComment - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
FlyweightEntity - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
FlyweightProcessingInstruction - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
FlyweightText - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
NamespaceCache - NamespaceCache caches instances of - DefaultNamespace for reuse both across documents and within - documents. -
NamespaceStackNamespaceStack implements a stack of namespaces and optionally maintains a - cache of all the fully qualified names (QName) which are in - scope.
QNameCache - QNameCache caches instances of QName for reuse - both across documents and within documents. -
SingleIterator - SingleIterator is an Iteratorover a single object - instance. -
-  - -

-

-Package org.dom4j.tree Description -

- -

-

Contains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-tree.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,214 +0,0 @@ - - - - - - - -org.dom4j.tree Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.tree -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/tree/package-use.html 2005-05-16 13:26:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/tree/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,880 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.tree (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.tree

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.dom4j.tree
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes. 
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element. 
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification. 
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model. 
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text. 
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -  
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - - - - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j
AbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
NamespaceCache - -
-           - NamespaceCache caches instances of - DefaultNamespace for reuse both across documents and within - documents. -
QNameCache - -
-           - QNameCache caches instances of QName for reuse - both across documents and within documents. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j.bean
AbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
DefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
NamespaceStack - -
-          NamespaceStack implements a stack of namespaces and optionally maintains a - cache of all the fully qualified names (QName) which are in - scope.
-  -

- - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j.datatype
AbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
DefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j.dom
AbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCharacterData - -
-           - AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocumentType - -
-           - AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractEntity - -
-           - AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractProcessingInstruction - -
-           - AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
AbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
DefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
DefaultCDATA - -
-           - DefaultCDATA is the default CDATA implementation.
DefaultComment - -
-           - DefaultComment is the default Comment implementation.
DefaultDocument - -
-           - DefaultDocument is the default DOM4J default implementation of - an XML document. -
DefaultDocumentType - -
-           - DefaultDocumentType is the DOM4J default implementation of an - XML document type. -
DefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
DefaultEntity - -
-           - DefaultEntity is the default Entity implementation.
DefaultNamespace - -
-           - DefaultNamespace implements a doubly linked node which - supports the parent relationship and is mutable.
DefaultProcessingInstruction - -
-           - DefaultProcessingInstruction is the default Processing - Instruction implementation.
DefaultText - -
-           - DefaultText is the default Text implementation.
FlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
FlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
FlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
FlyweightEntity - -
-           - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
FlyweightProcessingInstruction - -
-           - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
FlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
-  -

- - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j.io
NamespaceStack - -
-          NamespaceStack implements a stack of namespaces and optionally maintains a - cache of all the fully qualified names (QName) which are in - scope.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j.tree
AbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCDATA - -
-           - AbstractCDATA is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractCharacterData - -
-           - AbstractCharacterData is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractComment - -
-           - AbstractComment is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocument - -
-           - AbstractDocument is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractDocumentType - -
-           - AbstractDocumentType is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractEntity - -
-           - AbstractEntity is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractProcessingInstruction - -
-           - AbstractProcessingInstruction is an abstract base class for - tree implementors to use for implementation inheritence. -
AbstractText - -
-           - AbstractText is an abstract base class for tree implementors - to use for implementation inheritence. -
BackedList - -
-           - BackedList represents a list of content of a Branch.
ConcurrentReaderHashMap.Entry - -
-          ConcurrentReaderHashMap collision list entry.
FilterIterator - -
-          Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
FlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
FlyweightCDATA - -
-           - FlyweightCDATA is a Flyweight pattern implementation of a - singly linked, read-only XML CDATA. -
FlyweightComment - -
-           - FlyweightComment is a Flyweight pattern implementation of a - singly linked, read-only XML Comment. -
FlyweightEntity - -
-           - FlyweightEntity is a Flyweight pattern implementation of a - singly linked, read-only XML entity. -
FlyweightProcessingInstruction - -
-           - FlyweightProcessingInstruction is a Flyweight pattern - implementation of a singly linked, read-only XML Processing Instruction. -
FlyweightText - -
-           - FlyweightText is a Flyweight pattern implementation of a - singly linked, read-only XML Text. -
NamespaceStack - -
-          NamespaceStack implements a stack of namespaces and optionally maintains a - cache of all the fully qualified names (QName) which are in - scope.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.tree used by org.dom4j.util
AbstractAttribute - -
-           - AbstractNamespace is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractBranch - -
-           - AbstractBranch is an abstract base class for tree implementors - to use for implementation inheritence. -
AbstractElement - -
-           - AbstractElement is an abstract base class for tree - implementors to use for implementation inheritence. -
AbstractNode - -
-           - AbstractNode is an abstract base class for tree implementors - to use for implementation inheritence. -
BaseElement - -
-           - BaseElement is a useful base class for implemementation - inheritence of an XML element. -
DefaultAttribute - -
-           - DefaultAttribute implements a doubly linked node which - supports the parent relationship and is mutable. -
DefaultElement - -
-           - DefaultElement is the default DOM4J default implementation of - an XML element. -
FlyweightAttribute - -
-           - FlyweightAttribute is a Flyweight pattern implementation of a - singly linked, read-only XML Attribute. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/AttributeHelper.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/AttributeHelper.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/AttributeHelper.html 2005-05-16 13:26:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/AttributeHelper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,310 +0,0 @@ - - - - - - - -AttributeHelper (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class AttributeHelper

-
-java.lang.Object
-  extended byorg.dom4j.util.AttributeHelper
-
-
-
-
public class AttributeHelper
extends Object
- -

-

- AttributeHelper a number of helper methods for working with - attribute values. -

-

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
-protected AttributeHelper() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected static booleanbooleanValue(Attribute attribute) - -
-           
-static booleanbooleanValue(Element element, - QName attributeQName) - -
-           
-static booleanbooleanValue(Element element, - String attributeName) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AttributeHelper

-
-protected AttributeHelper()
-
-
- - - - - - - - -
-Method Detail
- -

-booleanValue

-
-public static boolean booleanValue(Element element,
-                                   String attributeName)
-
-
-
-
-
-
- -

-booleanValue

-
-public static boolean booleanValue(Element element,
-                                   QName attributeQName)
-
-
-
-
-
-
- -

-booleanValue

-
-protected static boolean booleanValue(Attribute attribute)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/IndexedDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/IndexedDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/IndexedDocumentFactory.html 2005-05-16 13:27:35.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/IndexedDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,373 +0,0 @@ - - - - - - - -IndexedDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class IndexedDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.util.IndexedDocumentFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class IndexedDocumentFactory
extends DocumentFactory
- -

-

- IndexedDocumentFactory is a factory of XML objects which - create indexed Element implementations to allow quicker lookup via name of - Element and Attributes though at the expense of more memory used to create - the name indexes. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static IndexedDocumentFactorysingleton - -
-          The Singleton instance
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
IndexedDocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ElementcreateElement(QName qname) - -
-           
- ElementcreateElement(QName qname, - int attributeCount) - -
-           
-static DocumentFactorygetInstance() - -
-           - Access to the singleton instance of this factory. -
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-singleton

-
-protected static transient IndexedDocumentFactory singleton
-
-
The Singleton instance -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-IndexedDocumentFactory

-
-public IndexedDocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to the singleton instance of this factory. -

-

-

- -
Returns:
the default singleon instance
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
Overrides:
createElement in class DocumentFactory
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname,
-                             int attributeCount)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/IndexedElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/IndexedElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/IndexedElement.html 2005-05-16 13:28:16.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/IndexedElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,947 +0,0 @@ - - - - - - - -IndexedElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class IndexedElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.DefaultElement
-                  extended byorg.dom4j.util.IndexedElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
-
public class IndexedElement
extends DefaultElement
- -

-

- IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
IndexedElement(QName qname) - -
-           
IndexedElement(QName qname, - int attributeCount) - -
-           
IndexedElement(String name) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidaddNode(Node node) - -
-           
-protected  voidaddToAttributeIndex(Attribute attribute) - -
-           
-protected  voidaddToAttributeIndex(Object key, - Attribute value) - -
-           
-protected  voidaddToElementIndex(Element element) - -
-           
-protected  voidaddToElementIndex(Object key, - Element value) - -
-           
-protected  ElementasElement(Object object) - -
-           
-protected  IteratorasElementIterator(Object object) - -
-          Deprecated. WILL BE REMOVED IN dom4j-1.6 !!
-protected  ListasElementList(Object object) - -
-           
- Attributeattribute(QName qName) - -
-          DOCUMENT ME!
- Attributeattribute(String name) - -
-          Returns the attribute with the given name
-protected  MapattributeIndex() - -
-           
-protected  MapcreateAttributeIndex() - -
-          A Factory Method to create the index for attributes
-protected  MapcreateElementIndex() - -
-          A Factory Method to create the index for elements
-protected  MapcreateIndex() - -
-          Factory method to return a new map implementation for indices
-protected  ListcreateList() - -
-          Factory method to return a list implementation for indices
- Elementelement(QName qName) - -
-          Returns the first element for the given fully qualified name.
- Elementelement(String name) - -
-          Returns the first element for the given local name and any namespace.
-protected  MapelementIndex() - -
-           
- Listelements(QName qName) - -
-           - Returns the elements contained in this element with the given fully - qualified name.
- Listelements(String name) - -
-           - Returns the elements contained in this element with the given local name - and any namespace.
-protected  voidremoveFromAttributeIndex(Attribute attribute) - -
-           
-protected  voidremoveFromAttributeIndex(Object key, - Attribute value) - -
-           
-protected  voidremoveFromElementIndex(Element element) - -
-           
-protected  voidremoveFromElementIndex(Object key, - Element value) - -
-           
-protected  booleanremoveNode(Node node) - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, getDocument, getDocumentFactory, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-IndexedElement

-
-public IndexedElement(String name)
-
-
-
- -

-IndexedElement

-
-public IndexedElement(QName qname)
-
-
-
- -

-IndexedElement

-
-public IndexedElement(QName qname,
-                      int attributeCount)
-
-
- - - - - - - - -
-Method Detail
- -

-attribute

-
-public Attribute attribute(String name)
-
-
Description copied from interface: Element
-
Returns the attribute with the given name -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class DefaultElement
-
-
-
-
-
-
- -

-attribute

-
-public Attribute attribute(QName qName)
-
-
Description copied from interface: Element
-
DOCUMENT ME! -

-

-
Specified by:
attribute in interface Element
Overrides:
attribute in class DefaultElement
-
-
-
-
-
-
- -

-element

-
-public Element element(String name)
-
-
Description copied from interface: Element
-
Returns the first element for the given local name and any namespace. -

-

-
Specified by:
element in interface Element
Overrides:
element in class DefaultElement
-
-
-
-
-
-
- -

-element

-
-public Element element(QName qName)
-
-
Description copied from interface: Element
-
Returns the first element for the given fully qualified name. -

-

-
Specified by:
element in interface Element
Overrides:
element in class DefaultElement
-
-
-
-
-
-
- -

-elements

-
-public List elements(String name)
-
-
Description copied from interface: Element
-

- Returns the elements contained in this element with the given local name - and any namespace. If no elements are found then this method returns an - empty list. The list is backed by the element such that changes to the - list will be reflected in the element though the reverse is not the case. -

-

-

-
Specified by:
elements in interface Element
Overrides:
elements in class AbstractElement
-
-
-
-
-
-
- -

-elements

-
-public List elements(QName qName)
-
-
Description copied from interface: Element
-

- Returns the elements contained in this element with the given fully - qualified name. If no elements are found then this method returns an - empty list. The list is backed by the element such that changes to the - list will be reflected in the element though the reverse is not the case. -

-

-

-
Specified by:
elements in interface Element
Overrides:
elements in class AbstractElement
-
-
-
-
-
-
- -

-asElement

-
-protected Element asElement(Object object)
-
-
-
-
-
-
- -

-asElementList

-
-protected List asElementList(Object object)
-
-
-
-
-
-
- -

-asElementIterator

-
-protected Iterator asElementIterator(Object object)
-
-
Deprecated. WILL BE REMOVED IN dom4j-1.6 !! -

-

DOCUMENT ME! -

-

-
Parameters:
object - DOCUMENT ME! -
Returns:
DOCUMENT ME!
-
-
-
- -

-addNode

-
-protected void addNode(Node node)
-
-
-
Overrides:
addNode in class AbstractElement
-
-
-
-
-
-
- -

-removeNode

-
-protected boolean removeNode(Node node)
-
-
-
Overrides:
removeNode in class DefaultElement
-
-
-
-
-
-
- -

-attributeIndex

-
-protected Map attributeIndex()
-
-
-
-
-
-
- -

-elementIndex

-
-protected Map elementIndex()
-
-
-
-
-
-
- -

-createAttributeIndex

-
-protected Map createAttributeIndex()
-
-
A Factory Method to create the index for attributes -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createElementIndex

-
-protected Map createElementIndex()
-
-
A Factory Method to create the index for elements -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-addToElementIndex

-
-protected void addToElementIndex(Element element)
-
-
-
-
-
-
- -

-addToElementIndex

-
-protected void addToElementIndex(Object key,
-                                 Element value)
-
-
-
-
-
-
- -

-removeFromElementIndex

-
-protected void removeFromElementIndex(Element element)
-
-
-
-
-
-
- -

-removeFromElementIndex

-
-protected void removeFromElementIndex(Object key,
-                                      Element value)
-
-
-
-
-
-
- -

-addToAttributeIndex

-
-protected void addToAttributeIndex(Attribute attribute)
-
-
-
-
-
-
- -

-addToAttributeIndex

-
-protected void addToAttributeIndex(Object key,
-                                   Attribute value)
-
-
-
-
-
-
- -

-removeFromAttributeIndex

-
-protected void removeFromAttributeIndex(Attribute attribute)
-
-
-
-
-
-
- -

-removeFromAttributeIndex

-
-protected void removeFromAttributeIndex(Object key,
-                                        Attribute value)
-
-
-
-
-
-
- -

-createIndex

-
-protected Map createIndex()
-
-
Factory method to return a new map implementation for indices -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createList

-
-protected List createList()
-
-
Factory method to return a list implementation for indices -

-

- -
Returns:
DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/NodeComparator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/NodeComparator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/NodeComparator.html 2005-05-16 13:27:26.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/NodeComparator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,605 +0,0 @@ - - - - - - - -NodeComparator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class NodeComparator

-
-java.lang.Object
-  extended byorg.dom4j.util.NodeComparator
-
-
-
All Implemented Interfaces:
Comparator
-
-
-
-
public class NodeComparator
extends Object
implements Comparator
- -

-

- NodeComparator is a Comparatorof Node instances which - is capable of comparing Nodes for equality based on their values. -

-

- -

-

-
Version:
-
$Revision: 1.10 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
NodeComparator() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompare(Attribute n1, - Attribute n2) - -
-           
- intcompare(CharacterData t1, - CharacterData t2) - -
-           
- intcompare(Document n1, - Document n2) - -
-           
- intcompare(DocumentType o1, - DocumentType o2) - -
-           
- intcompare(Element n1, - Element n2) - -
-           
- intcompare(Entity n1, - Entity n2) - -
-           
- intcompare(Namespace n1, - Namespace n2) - -
-           
- intcompare(Node n1, - Node n2) - -
-           
- intcompare(Object o1, - Object o2) - -
-          Compares its two arguments for order.
- intcompare(ProcessingInstruction n1, - ProcessingInstruction n2) - -
-           
- intcompare(QName n1, - QName n2) - -
-           
- intcompare(String o1, - String o2) - -
-           
- intcompareContent(Branch b1, - Branch b2) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface java.util.Comparator
equals
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NodeComparator

-
-public NodeComparator()
-
-
- - - - - - - - -
-Method Detail
- -

-compare

-
-public int compare(Object o1,
-                   Object o2)
-
-
Compares its two arguments for order. Returns a negative integer, zero, - or a positive integer as the first argument is less than, equal to, or - greater than the second. - -

- The implementor must ensure that sgn(compare(x, y)) == - -sgn(compare(y, x)) - for all x and y. (This implies that - compare(x, y) must throw an exception if and only if - compare(y, x) throws an exception.) -

- -

- The implementor must also ensure that the relation is transitive: - ((compare(x, y)>0) && (compare(y, z)>0)) implies - compare(x, z)>0. -

- -

- Finally, the implementer must ensure that compare(x, y)==0 - implies that sgn(compare(x, z))==sgn(compare(y, z)) for all - z. -

- -

- It is generally the case, but not strictly required that - (compare(x, y)==0) == (x.equals(y)). Generally speaking, any - comparator that violates this condition should clearly indicate this - fact. The recommended language is "Note: this comparator imposes - orderings that are inconsistent with equals." -

-

-

-
Specified by:
compare in interface Comparator
-
-
-
Parameters:
o1 - the first object to be compared.
o2 - the second object to be compared. -
Returns:
a negative integer, zero, or a positive integer as the first - argument is less than, equal to, or greater than the second.
-
-
-
- -

-compare

-
-public int compare(Node n1,
-                   Node n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(Document n1,
-                   Document n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(Element n1,
-                   Element n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(Attribute n1,
-                   Attribute n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(QName n1,
-                   QName n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(Namespace n1,
-                   Namespace n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(CharacterData t1,
-                   CharacterData t2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(DocumentType o1,
-                   DocumentType o2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(Entity n1,
-                   Entity n2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(ProcessingInstruction n1,
-                   ProcessingInstruction n2)
-
-
-
-
-
-
-
-
-
- -

-compareContent

-
-public int compareContent(Branch b1,
-                          Branch b2)
-
-
-
-
-
-
-
-
-
- -

-compare

-
-public int compare(String o1,
-                   String o2)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/NonLazyDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/NonLazyDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/NonLazyDocumentFactory.html 2005-05-16 13:26:53.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/NonLazyDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,352 +0,0 @@ - - - - - - - -NonLazyDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class NonLazyDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.util.NonLazyDocumentFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class NonLazyDocumentFactory
extends DocumentFactory
- -

-

- NonLazyDocumentFactory is a factory of XML objects which avoid - using the lazy creation pattern. This results in a slower creation of a - Document and uses more memory but it means that the same Document instance - can be shared across threads provided it is not modified. -

-

- -

-

-
Version:
-
$Revision: 1.9 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static NonLazyDocumentFactorysingleton - -
-          The Singleton instance
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
NonLazyDocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- ElementcreateElement(QName qname) - -
-           
-static DocumentFactorygetInstance() - -
-           - Access to the singleton instance of this factory. -
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-singleton

-
-protected static transient NonLazyDocumentFactory singleton
-
-
The Singleton instance -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-NonLazyDocumentFactory

-
-public NonLazyDocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to the singleton instance of this factory. -

-

-

- -
Returns:
the default singleon instance
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
Overrides:
createElement in class DocumentFactory
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/NonLazyElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/NonLazyElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/NonLazyElement.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/NonLazyElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,402 +0,0 @@ - - - - - - - -NonLazyElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class NonLazyElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.BaseElement
-                  extended byorg.dom4j.util.NonLazyElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
-
public class NonLazyElement
extends BaseElement
- -

-

- NonLazyElement is the default DOM4J default implementation of - an XML element. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.BaseElement
attributes, content
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NonLazyElement(QName qname) - -
-           
NonLazyElement(QName qname, - int attributeCount) - -
-           
NonLazyElement(String name) - -
-           
NonLazyElement(String name, - Namespace namespace) - -
-           
-  - - - - - - - - - - -
Methods inherited from class org.dom4j.tree.BaseElement
attributeList, attributeList, clearContent, contentList, getDocument, getParent, getQName, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, additionalNamespaces, additionalNamespaces, addNamespace, addNewNode, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, declaredNamespaces, element, element, element, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getDocumentFactory, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getStringValue, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, indexOf, isRootElement, isTextOnly, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeNode, removeProcessingInstruction, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getText, getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NonLazyElement

-
-public NonLazyElement(String name)
-
-
-
- -

-NonLazyElement

-
-public NonLazyElement(QName qname)
-
-
-
- -

-NonLazyElement

-
-public NonLazyElement(String name,
-                      Namespace namespace)
-
-
-
- -

-NonLazyElement

-
-public NonLazyElement(QName qname,
-                      int attributeCount)
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/PerThreadSingleton.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/PerThreadSingleton.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/PerThreadSingleton.html 2005-05-16 13:27:30.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/PerThreadSingleton.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,330 +0,0 @@ - - - - - - - -PerThreadSingleton (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class PerThreadSingleton

-
-java.lang.Object
-  extended byorg.dom4j.util.PerThreadSingleton
-
-
-
All Implemented Interfaces:
SingletonStrategy
-
-
-
-
public class PerThreadSingleton
extends Object
implements SingletonStrategy
- -

-

- PerThreadSingleton is an implementation of the - SingletonStrategy used to provide common factory access to a single object - instance based on an implementation strategy for one object instance per - thread. This is useful in replace of the ThreadLocal usage. -

-

- -

-

-
Version:
-
$Revision: 1.3 $
-
Author:
-
David Lucas
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PerThreadSingleton() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Objectinstance() - -
-          return a singleton instance of the class specified in setSingletonClass
- voidreset() - -
-          reset the instance to a new instance for the implemented strategy
- voidsetSingletonClassName(String singletonClassName) - -
-          set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PerThreadSingleton

-
-public PerThreadSingleton()
-
-
- - - - - - - - -
-Method Detail
- -

-reset

-
-public void reset()
-
-
Description copied from interface: SingletonStrategy
-
reset the instance to a new instance for the implemented strategy -

-

-
Specified by:
reset in interface SingletonStrategy
-
-
-
-
-
-
- -

-instance

-
-public Object instance()
-
-
Description copied from interface: SingletonStrategy
-
return a singleton instance of the class specified in setSingletonClass -

-

-
Specified by:
instance in interface SingletonStrategy
-
-
-
-
-
-
- -

-setSingletonClassName

-
-public void setSingletonClassName(String singletonClassName)
-
-
Description copied from interface: SingletonStrategy
-
set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface. The default - constructor of the class will be used and must be public. -

-

-
Specified by:
setSingletonClassName in interface SingletonStrategy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/ProxyDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/ProxyDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/ProxyDocumentFactory.html 2005-05-16 13:27:04.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/ProxyDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,771 +0,0 @@ - - - - - - - -ProxyDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class ProxyDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.util.ProxyDocumentFactory
-
-
-
-
public abstract class ProxyDocumentFactory
extends Object
- -

-

- ProxyDocumentFactory implements a proxy to a DocumentFactory - which is useful for implementation inheritence, allowing the pipelining of - various factory implementations. For example an EncodingDocumentFactory which - takes care of encoding strings outside of allowable XML ranges could be used - with a DatatypeDocumentFactory which is XML Schema Data Type aware. -

-

- -

-

-
Version:
-
$Revision: 1.13 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ProxyDocumentFactory() - -
-           
ProxyDocumentFactory(DocumentFactory proxy) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
- AttributecreateAttribute(Element owner, - String name, - String value) - -
-           
- CDATAcreateCDATA(String text) - -
-           
- CommentcreateComment(String text) - -
-           
- DocumentTypecreateDocType(String name, - String publicId, - String systemId) - -
-           
- DocumentcreateDocument() - -
-           
- DocumentcreateDocument(Element rootElement) - -
-           
- ElementcreateElement(QName qname) - -
-           
- ElementcreateElement(String name) - -
-           
- EntitycreateEntity(String name, - String text) - -
-           
- NamespacecreateNamespace(String prefix, - String uri) - -
-           
- PatterncreatePattern(String xpathPattern) - -
-           
- ProcessingInstructioncreateProcessingInstruction(String target, - Map data) - -
-           
- ProcessingInstructioncreateProcessingInstruction(String target, - String data) - -
-           
- QNamecreateQName(String localName) - -
-           
- QNamecreateQName(String localName, - Namespace namespace) - -
-           
- QNamecreateQName(String qualifiedName, - String uri) - -
-           
- QNamecreateQName(String name, - String prefix, - String uri) - -
-           
- TextcreateText(String text) - -
-           
- XPathcreateXPath(String xpathExpression) - -
-           
- XPathcreateXPath(String xpathExpression, - org.jaxen.VariableContext variableContext) - -
-           
- NodeFiltercreateXPathFilter(String xpathFilterExpression) - -
-           
- NodeFiltercreateXPathFilter(String xpathFilterExpression, - org.jaxen.VariableContext variableContext) - -
-           
-protected  DocumentFactorygetProxy() - -
-           
-protected  voidsetProxy(DocumentFactory proxy) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ProxyDocumentFactory

-
-public ProxyDocumentFactory()
-
-
-
- -

-ProxyDocumentFactory

-
-public ProxyDocumentFactory(DocumentFactory proxy)
-
-
- - - - - - - - -
-Method Detail
- -

-createDocument

-
-public Document createDocument()
-
-
-
-
-
-
- -

-createDocument

-
-public Document createDocument(Element rootElement)
-
-
-
-
-
-
- -

-createDocType

-
-public DocumentType createDocType(String name,
-                                  String publicId,
-                                  String systemId)
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
-
-
-
- -

-createElement

-
-public Element createElement(String name)
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 String name,
-                                 String value)
-
-
-
-
-
-
- -

-createCDATA

-
-public CDATA createCDATA(String text)
-
-
-
-
-
-
- -

-createComment

-
-public Comment createComment(String text)
-
-
-
-
-
-
- -

-createText

-
-public Text createText(String text)
-
-
-
-
-
-
- -

-createEntity

-
-public Entity createEntity(String name,
-                           String text)
-
-
-
-
-
-
- -

-createNamespace

-
-public Namespace createNamespace(String prefix,
-                                 String uri)
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         String data)
-
-
-
-
-
-
- -

-createProcessingInstruction

-
-public ProcessingInstruction createProcessingInstruction(String target,
-                                                         Map data)
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String localName,
-                         Namespace namespace)
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String localName)
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String name,
-                         String prefix,
-                         String uri)
-
-
-
-
-
-
- -

-createQName

-
-public QName createQName(String qualifiedName,
-                         String uri)
-
-
-
-
-
-
- -

-createXPath

-
-public XPath createXPath(String xpathExpression)
-
-
-
-
-
-
- -

-createXPath

-
-public XPath createXPath(String xpathExpression,
-                         org.jaxen.VariableContext variableContext)
-
-
-
-
-
-
- -

-createXPathFilter

-
-public NodeFilter createXPathFilter(String xpathFilterExpression,
-                                    org.jaxen.VariableContext variableContext)
-
-
-
-
-
-
- -

-createXPathFilter

-
-public NodeFilter createXPathFilter(String xpathFilterExpression)
-
-
-
-
-
-
- -

-createPattern

-
-public Pattern createPattern(String xpathPattern)
-
-
-
-
-
-
- -

-getProxy

-
-protected DocumentFactory getProxy()
-
-
-
-
-
-
- -

-setProxy

-
-protected void setProxy(DocumentFactory proxy)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/SimpleSingleton.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/SimpleSingleton.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/SimpleSingleton.html 2005-05-16 13:27:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/SimpleSingleton.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,330 +0,0 @@ - - - - - - - -SimpleSingleton (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class SimpleSingleton

-
-java.lang.Object
-  extended byorg.dom4j.util.SimpleSingleton
-
-
-
All Implemented Interfaces:
SingletonStrategy
-
-
-
-
public class SimpleSingleton
extends Object
implements SingletonStrategy
- -

-

- SimpleSingleton is an implementation of the SingletonStrategy - interface used to provide common factory access for the same object instance. - This implementation will create a new instance from the class specified and - will not create a new one unless it is reset. -

-

- -

-

-
Version:
-
$Revision: 1.3 $
-
Author:
-
David Lucas
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
SimpleSingleton() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Objectinstance() - -
-          return a singleton instance of the class specified in setSingletonClass
- voidreset() - -
-          reset the instance to a new instance for the implemented strategy
- voidsetSingletonClassName(String singletonClassName) - -
-          set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SimpleSingleton

-
-public SimpleSingleton()
-
-
- - - - - - - - -
-Method Detail
- -

-instance

-
-public Object instance()
-
-
Description copied from interface: SingletonStrategy
-
return a singleton instance of the class specified in setSingletonClass -

-

-
Specified by:
instance in interface SingletonStrategy
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Description copied from interface: SingletonStrategy
-
reset the instance to a new instance for the implemented strategy -

-

-
Specified by:
reset in interface SingletonStrategy
-
-
-
-
-
-
- -

-setSingletonClassName

-
-public void setSingletonClassName(String singletonClassName)
-
-
Description copied from interface: SingletonStrategy
-
set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface. The default - constructor of the class will be used and must be public. -

-

-
Specified by:
setSingletonClassName in interface SingletonStrategy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/SingletonStrategy.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/SingletonStrategy.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/SingletonStrategy.html 2005-05-16 13:26:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/SingletonStrategy.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,279 +0,0 @@ - - - - - - - -SingletonStrategy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Interface SingletonStrategy

-
-
All Known Implementing Classes:
PerThreadSingleton, SimpleSingleton
-
-
-
-
public interface SingletonStrategy
- -

-

- SingletonStrategy is an interface used to provide common - factory access for the same object based on an implementation strategy for - singleton. Right now there are two that accompany this interface: - SimpleSingleton and PerThreadSingleton. This will replace previous usage of - ThreadLocal to allow for alternate strategies. -

-

- -

-

-
Version:
-
$Revision: 1.2 $
-
Author:
-
David Lucas
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Objectinstance() - -
-          return a singleton instance of the class specified in setSingletonClass
- voidreset() - -
-          reset the instance to a new instance for the implemented strategy
- voidsetSingletonClassName(String singletonClassName) - -
-          set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-instance

-
-public Object instance()
-
-
return a singleton instance of the class specified in setSingletonClass -

-

-
-
-
-
- -

-reset

-
-public void reset()
-
-
reset the instance to a new instance for the implemented strategy -

-

-
-
-
-
- -

-setSingletonClassName

-
-public void setSingletonClassName(String singletonClassName)
-
-
set a singleton class name that will be used to create the singleton - based on the strategy implementation of this interface. The default - constructor of the class will be used and must be public. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/UserDataAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/UserDataAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/UserDataAttribute.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/UserDataAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,416 +0,0 @@ - - - - - - - -UserDataAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class UserDataAttribute

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractAttribute
-          extended byorg.dom4j.tree.FlyweightAttribute
-              extended byorg.dom4j.tree.DefaultAttribute
-                  extended byorg.dom4j.util.UserDataAttribute
-
-
-
All Implemented Interfaces:
Attribute, Cloneable, Node, Serializable
-
-
-
-
public class UserDataAttribute
extends DefaultAttribute
- -

-

- UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - setData(Object)will get and set the values of a user data object. - This can be useful for developers wishing to create XML trees and adorn the - trees with user defined objects. -

-

- -

-

-
Version:
-
$Revision: 1.8 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.FlyweightAttribute
value
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
UserDataAttribute(QName qname) - -
-           
UserDataAttribute(QName qname, - String text) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- ObjectgetData() - -
-           - Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node#getText(). -
- voidsetData(Object data) - -
-           - Sets the data value of this attribute if this element supports data - binding or calls Node#setText(String)if it doesn't. -
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultAttribute
getParent, isReadOnly, setParent, setValue, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.FlyweightAttribute
getQName, getValue
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractAttribute
accept, asXML, createXPathResult, getName, getNamespace, getNamespacePrefix, getNamespaceURI, getNodeType, getPath, getQualifiedName, getText, getUniquePath, setNamespace, setText, toString, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-UserDataAttribute

-
-public UserDataAttribute(QName qname)
-
-
-
- -

-UserDataAttribute

-
-public UserDataAttribute(QName qname,
-                         String text)
-
-
- - - - - - - - -
-Method Detail
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Attribute
-

- Accesses the data of this attribute which may implement data typing - bindings such as XML Schema or Java Bean - bindings or will return the same value as Node.getText(). -

-

-

-
Specified by:
getData in interface Attribute
Overrides:
getData in class AbstractAttribute
-
-
-
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Attribute
-

- Sets the data value of this attribute if this element supports data - binding or calls Node.setText(String)if it doesn't. -

-

-

-
Specified by:
setData in interface Attribute
Overrides:
setData in class AbstractAttribute
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/UserDataDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/UserDataDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/UserDataDocumentFactory.html 2005-05-16 13:27:13.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/UserDataDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,380 +0,0 @@ - - - - - - - -UserDataDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class UserDataDocumentFactory

-
-java.lang.Object
-  extended byorg.dom4j.DocumentFactory
-      extended byorg.dom4j.util.UserDataDocumentFactory
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class UserDataDocumentFactory
extends DocumentFactory
- -

-

- UserDataDocumentFactory is a factory of XML objects which - support the adornment of a user data object on an Element or Attribute - instance such that the methods getData() and - setData() will get and set the values of a user data object. - This can be useful for developers wishing to create XML trees and adorn the - trees with user defined objects. -

-

- -

-

-
Version:
-
$Revision: 1.11 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected static UserDataDocumentFactorysingleton - -
-          The Singleton instance
- - - - - - - -
Fields inherited from class org.dom4j.DocumentFactory
cache
-  - - - - - - - - - - -
-Constructor Summary
UserDataDocumentFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AttributecreateAttribute(Element owner, - QName qname, - String value) - -
-           
- ElementcreateElement(QName qname) - -
-           
-static DocumentFactorygetInstance() - -
-           - Access to the singleton instance of this factory. -
- - - - - - - -
Methods inherited from class org.dom4j.DocumentFactory
createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-singleton

-
-protected static transient UserDataDocumentFactory singleton
-
-
The Singleton instance -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-UserDataDocumentFactory

-
-public UserDataDocumentFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static DocumentFactory getInstance()
-
-

- Access to the singleton instance of this factory. -

-

-

- -
Returns:
the default singleon instance
-
-
-
- -

-createElement

-
-public Element createElement(QName qname)
-
-
-
Overrides:
createElement in class DocumentFactory
-
-
-
-
-
-
- -

-createAttribute

-
-public Attribute createAttribute(Element owner,
-                                 QName qname,
-                                 String value)
-
-
-
Overrides:
createAttribute in class DocumentFactory
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/UserDataElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/UserDataElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/UserDataElement.html 2005-05-16 13:26:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/UserDataElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,556 +0,0 @@ - - - - - - - -UserDataElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class UserDataElement

-
-java.lang.Object
-  extended byorg.dom4j.tree.AbstractNode
-      extended byorg.dom4j.tree.AbstractBranch
-          extended byorg.dom4j.tree.AbstractElement
-              extended byorg.dom4j.tree.DefaultElement
-                  extended byorg.dom4j.util.UserDataElement
-
-
-
All Implemented Interfaces:
Branch, Cloneable, Element, Node, Serializable
-
-
-
-
public class UserDataElement
extends DefaultElement
- -

-

- UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - setData(Object)will get and set the values of a user data object. - This can be useful for developers wishing to create XML trees and adorn the - trees with user defined objects. -

-

- -

-

-
Version:
-
$Revision: 1.12 $
-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractElement
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZE
- - - - - - - -
Fields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMES
- - - - - - - -
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
-  - - - - - - - - - - - - - -
-Constructor Summary
UserDataElement(QName qname) - -
-           
UserDataElement(String name) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Objectclone() - -
-           - clone will return a deep clone or if this node is - read-only then clone will return the same instance. -
-protected  ElementcreateElement(QName qName) - -
-           
-protected  ElementcreateElement(String name) - -
-           
-protected  ObjectgetCopyOfUserData() - -
-          If a deep copy of user data is required whenever the clone() or - createCopy() methods are called on this element then this method should - return a clone of the user data
- ObjectgetData() - -
-          Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as DefaultElement.getText()
- voidsetData(Object data) - -
-          Sets the data value of this element if this element supports data binding - or calls AbstractElement.setText(java.lang.String)if it doesn't
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, contentList, declaredNamespaces, element, element, element, getDocument, getDocumentFactory, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setName, setNamespace, setText, write
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
- - - - - - - -
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.dom4j.Element
getTextTrim
- - - - - - - -
Methods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructions
- - - - - - - -
Methods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-UserDataElement

-
-public UserDataElement(String name)
-
-
-
- -

-UserDataElement

-
-public UserDataElement(QName qname)
-
-
- - - - - - - - -
-Method Detail
- -

-getData

-
-public Object getData()
-
-
Description copied from interface: Element
-
Accesses the data of this element which may implement data typing - bindings such as XML Schema or Java Bean bindings or will return the same - value as Element.getText() -

-

-
Specified by:
getData in interface Element
Overrides:
getData in class AbstractElement
-
-
-
-
-
-
- -

-setData

-
-public void setData(Object data)
-
-
Description copied from interface: Element
-
Sets the data value of this element if this element supports data binding - or calls Node.setText(java.lang.String)if it doesn't -

-

-
Specified by:
setData in interface Element
Overrides:
setData in class AbstractElement
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class AbstractElement
-
-
-
-
-
-
- -

-clone

-
-public Object clone()
-
-
Description copied from interface: Node
-

- clone will return a deep clone or if this node is - read-only then clone will return the same instance. -

-

-

-
Specified by:
clone in interface Node
Overrides:
clone in class DefaultElement
-
-
-
-
-
-
- -

-getCopyOfUserData

-
-protected Object getCopyOfUserData()
-
-
If a deep copy of user data is required whenever the clone() or - createCopy() methods are called on this element then this method should - return a clone of the user data -

-

- -
Returns:
DOCUMENT ME!
-
-
-
- -

-createElement

-
-protected Element createElement(String name)
-
-
-
Overrides:
createElement in class AbstractElement
-
-
-
-
-
-
- -

-createElement

-
-protected Element createElement(QName qName)
-
-
-
Overrides:
createElement in class AbstractElement
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/XMLErrorHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/XMLErrorHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/XMLErrorHandler.html 2005-05-16 13:26:38.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/XMLErrorHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,598 +0,0 @@ - - - - - - - -XMLErrorHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.util -
-Class XMLErrorHandler

-
-java.lang.Object
-  extended byorg.dom4j.util.XMLErrorHandler
-
-
-
All Implemented Interfaces:
ErrorHandler
-
-
-
-
public class XMLErrorHandler
extends Object
implements ErrorHandler
- -

-XMLErrorHandler is a SAX ErrorHandlerwhich turns the - SAX parsing errors into XML so that the output can be formatted using XSLT or - the errors can be included in a SOAP message. -

- -

-

-
Version:
-
$Revision: 1.7 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static QNameERROR_QNAME - -
-           
-protected static QNameFATALERROR_QNAME - -
-           
-protected static QNameWARNING_QNAME - -
-           
-  - - - - - - - - - - - - - -
-Constructor Summary
XMLErrorHandler() - -
-           
XMLErrorHandler(Element errors) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidaddException(Element element, - SAXParseException e) - -
-          Adds the given parse exception information to the given element instance
- voiderror(SAXParseException e) - -
-           
- voidfatalError(SAXParseException e) - -
-           
- QNamegetErrorQName() - -
-           
- ElementgetErrors() - -
-           
- QNamegetFatalErrorQName() - -
-           
- QNamegetWarningQName() - -
-           
- voidsetErrorQName(QName errorQName) - -
-           
- voidsetErrors(Element errors) - -
-           
- voidsetFatalErrorQName(QName fatalErrorQName) - -
-           
- voidsetWarningQName(QName warningQName) - -
-           
- voidwarning(SAXParseException e) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ERROR_QNAME

-
-protected static final QName ERROR_QNAME
-
-
-
-
-
- -

-FATALERROR_QNAME

-
-protected static final QName FATALERROR_QNAME
-
-
-
-
-
- -

-WARNING_QNAME

-
-protected static final QName WARNING_QNAME
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-XMLErrorHandler

-
-public XMLErrorHandler()
-
-
-
- -

-XMLErrorHandler

-
-public XMLErrorHandler(Element errors)
-
-
- - - - - - - - -
-Method Detail
- -

-error

-
-public void error(SAXParseException e)
-
-
-
Specified by:
error in interface ErrorHandler
-
-
-
-
-
-
- -

-fatalError

-
-public void fatalError(SAXParseException e)
-
-
-
Specified by:
fatalError in interface ErrorHandler
-
-
-
-
-
-
- -

-warning

-
-public void warning(SAXParseException e)
-
-
-
Specified by:
warning in interface ErrorHandler
-
-
-
-
-
-
- -

-getErrors

-
-public Element getErrors()
-
-
-
-
-
-
-
-
-
- -

-setErrors

-
-public void setErrors(Element errors)
-
-
-
-
-
-
-
-
-
- -

-getErrorQName

-
-public QName getErrorQName()
-
-
-
-
-
-
-
-
-
- -

-setErrorQName

-
-public void setErrorQName(QName errorQName)
-
-
-
-
-
-
-
-
-
- -

-getFatalErrorQName

-
-public QName getFatalErrorQName()
-
-
-
-
-
-
-
-
-
- -

-setFatalErrorQName

-
-public void setFatalErrorQName(QName fatalErrorQName)
-
-
-
-
-
-
-
-
-
- -

-getWarningQName

-
-public QName getWarningQName()
-
-
-
-
-
-
-
-
-
- -

-setWarningQName

-
-public void setWarningQName(QName warningQName)
-
-
-
-
-
-
-
-
-
- -

-addException

-
-protected void addException(Element element,
-                            SAXParseException e)
-
-
Adds the given parse exception information to the given element instance -

-

-
-
-
-
Parameters:
element - DOCUMENT ME!
e - DOCUMENT ME!
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/AttributeHelper.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/AttributeHelper.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/AttributeHelper.html 2005-05-16 13:26:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/AttributeHelper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.AttributeHelper (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.AttributeHelper

-
-No usage of org.dom4j.util.AttributeHelper -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/IndexedDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/IndexedDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/IndexedDocumentFactory.html 2005-05-16 13:27:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/IndexedDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,173 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.IndexedDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.IndexedDocumentFactory

-
- - - - - - - - - -
-Packages that use IndexedDocumentFactory
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of IndexedDocumentFactory in org.dom4j.util
-  -

- - - - - - - - - -
Fields in org.dom4j.util declared as IndexedDocumentFactory
-protected static IndexedDocumentFactoryIndexedDocumentFactory.singleton - -
-          The Singleton instance
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/IndexedElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/IndexedElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/IndexedElement.html 2005-05-16 13:27:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/IndexedElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.IndexedElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.IndexedElement

-
-No usage of org.dom4j.util.IndexedElement -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/NodeComparator.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/NodeComparator.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/NodeComparator.html 2005-05-16 13:27:56.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/NodeComparator.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.NodeComparator (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.NodeComparator

-
-No usage of org.dom4j.util.NodeComparator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/NonLazyDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/NonLazyDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/NonLazyDocumentFactory.html 2005-05-16 13:26:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/NonLazyDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,173 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.NonLazyDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.NonLazyDocumentFactory

-
- - - - - - - - - -
-Packages that use NonLazyDocumentFactory
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of NonLazyDocumentFactory in org.dom4j.util
-  -

- - - - - - - - - -
Fields in org.dom4j.util declared as NonLazyDocumentFactory
-protected static NonLazyDocumentFactoryNonLazyDocumentFactory.singleton - -
-          The Singleton instance
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/NonLazyElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/NonLazyElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/NonLazyElement.html 2005-05-16 13:27:48.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/NonLazyElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.NonLazyElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.NonLazyElement

-
-No usage of org.dom4j.util.NonLazyElement -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/PerThreadSingleton.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/PerThreadSingleton.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/PerThreadSingleton.html 2005-05-16 13:26:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/PerThreadSingleton.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.PerThreadSingleton (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.PerThreadSingleton

-
-No usage of org.dom4j.util.PerThreadSingleton -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/ProxyDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/ProxyDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/ProxyDocumentFactory.html 2005-05-16 13:28:06.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/ProxyDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.ProxyDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.ProxyDocumentFactory

-
-No usage of org.dom4j.util.ProxyDocumentFactory -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/SimpleSingleton.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/SimpleSingleton.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/SimpleSingleton.html 2005-05-16 13:27:33.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/SimpleSingleton.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.SimpleSingleton (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.SimpleSingleton

-
-No usage of org.dom4j.util.SimpleSingleton -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/SingletonStrategy.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/SingletonStrategy.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/SingletonStrategy.html 2005-05-16 13:27:49.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/SingletonStrategy.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,188 +0,0 @@ - - - - - - - -Uses of Interface org.dom4j.util.SingletonStrategy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.dom4j.util.SingletonStrategy

-
- - - - - - - - - -
-Packages that use SingletonStrategy
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of SingletonStrategy in org.dom4j.util
-  -

- - - - - - - - - - - - - -
Classes in org.dom4j.util that implement SingletonStrategy
- classPerThreadSingleton - -
-           - PerThreadSingleton is an implementation of the - SingletonStrategy used to provide common factory access to a single object - instance based on an implementation strategy for one object instance per - thread.
- classSimpleSingleton - -
-           - SimpleSingleton is an implementation of the SingletonStrategy - interface used to provide common factory access for the same object instance. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/UserDataAttribute.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/UserDataAttribute.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/UserDataAttribute.html 2005-05-16 13:27:31.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/UserDataAttribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.UserDataAttribute (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.UserDataAttribute

-
-No usage of org.dom4j.util.UserDataAttribute -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/UserDataDocumentFactory.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/UserDataDocumentFactory.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/UserDataDocumentFactory.html 2005-05-16 13:26:34.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/UserDataDocumentFactory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,173 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.UserDataDocumentFactory (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.UserDataDocumentFactory

-
- - - - - - - - - -
-Packages that use UserDataDocumentFactory
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - -
-Uses of UserDataDocumentFactory in org.dom4j.util
-  -

- - - - - - - - - -
Fields in org.dom4j.util declared as UserDataDocumentFactory
-protected static UserDataDocumentFactoryUserDataDocumentFactory.singleton - -
-          The Singleton instance
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/UserDataElement.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/UserDataElement.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/UserDataElement.html 2005-05-16 13:26:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/UserDataElement.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.UserDataElement (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.UserDataElement

-
-No usage of org.dom4j.util.UserDataElement -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/XMLErrorHandler.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/XMLErrorHandler.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/class-use/XMLErrorHandler.html 2005-05-16 13:27:21.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/class-use/XMLErrorHandler.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.util.XMLErrorHandler (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.util.XMLErrorHandler

-
-No usage of org.dom4j.util.XMLErrorHandler -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-frame.html 2005-05-16 13:27:45.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ - - - - - - - -org.dom4j.util (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.util - - - - -
-Interfaces  - -
-SingletonStrategy
- - - - - - -
-Classes  - -
-AttributeHelper -
-IndexedDocumentFactory -
-IndexedElement -
-NodeComparator -
-NonLazyDocumentFactory -
-NonLazyElement -
-PerThreadSingleton -
-ProxyDocumentFactory -
-SimpleSingleton -
-UserDataAttribute -
-UserDataDocumentFactory -
-UserDataElement -
-XMLErrorHandler
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-summary.html 2005-05-16 13:27:28.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,274 +0,0 @@ - - - - - - - -org.dom4j.util (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.util -

-A collection of utility classes for the dom4j API. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
SingletonStrategy - SingletonStrategy is an interface used to provide common - factory access for the same object based on an implementation strategy for - singleton.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AttributeHelper - AttributeHelper a number of helper methods for working with - attribute values. -
IndexedDocumentFactory - IndexedDocumentFactory is a factory of XML objects which - create indexed Element implementations to allow quicker lookup via name of - Element and Attributes though at the expense of more memory used to create - the name indexes. -
IndexedElement - IndexedElement is an implementation of Elementwhich - maintains an index of the attributes and elements it contains to optimise - lookups via name. -
NodeComparator - NodeComparator is a Comparatorof Node instances which - is capable of comparing Nodes for equality based on their values. -
NonLazyDocumentFactory - NonLazyDocumentFactory is a factory of XML objects which avoid - using the lazy creation pattern.
NonLazyElement - NonLazyElement is the default DOM4J default implementation of - an XML element. -
PerThreadSingleton - PerThreadSingleton is an implementation of the - SingletonStrategy used to provide common factory access to a single object - instance based on an implementation strategy for one object instance per - thread.
ProxyDocumentFactory - ProxyDocumentFactory implements a proxy to a DocumentFactory - which is useful for implementation inheritence, allowing the pipelining of - various factory implementations.
SimpleSingleton - SimpleSingleton is an implementation of the SingletonStrategy - interface used to provide common factory access for the same object instance. -
UserDataAttribute - UserDataAttribute support the adornment of a user data object - on an Element or Attribute instance such that the methods - UserDataAttribute.setData(Object)will get and set the values of a user data object. -
UserDataDocumentFactory - UserDataDocumentFactory is a factory of XML objects which - support the adornment of a user data object on an Element or Attribute - instance such that the methods getData() and - setData() will get and set the values of a user data object. -
UserDataElement - UserDataElement support the adornment of a user data object on - an Element or Attribute instance such that the methods - UserDataElement.setData(Object)will get and set the values of a user data object. -
XMLErrorHandlerXMLErrorHandler is a SAX ErrorHandlerwhich turns the - SAX parsing errors into XML so that the output can be formatted using XSLT or - the errors can be included in a SOAP message.
-  - -

-

-Package org.dom4j.util Description -

- -

-

A collection of utility classes for the dom4j API.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-tree.html 2005-05-16 13:28:15.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,178 +0,0 @@ - - - - - - - -org.dom4j.util Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.util -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/util/package-use.html 2005-05-16 13:27:29.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/util/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,196 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.util (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.util

-
- - - - - - - - - -
-Packages that use org.dom4j.util
org.dom4j.utilA collection of utility classes for the dom4j API. 
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.dom4j.util used by org.dom4j.util
IndexedDocumentFactory - -
-           - IndexedDocumentFactory is a factory of XML objects which - create indexed Element implementations to allow quicker lookup via name of - Element and Attributes though at the expense of more memory used to create - the name indexes. -
NonLazyDocumentFactory - -
-           - NonLazyDocumentFactory is a factory of XML objects which avoid - using the lazy creation pattern.
SingletonStrategy - -
-           - SingletonStrategy is an interface used to provide common - factory access for the same object based on an implementation strategy for - singleton.
UserDataDocumentFactory - -
-           - UserDataDocumentFactory is a factory of XML objects which - support the adornment of a user data object on an Element or Attribute - instance such that the methods getData() and - setData() will get and set the values of a user data object. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/DefaultNamespaceContext.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/DefaultNamespaceContext.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/DefaultNamespaceContext.html 2005-05-16 13:27:36.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/DefaultNamespaceContext.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,293 +0,0 @@ - - - - - - - -DefaultNamespaceContext (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.xpath -
-Class DefaultNamespaceContext

-
-java.lang.Object
-  extended byorg.dom4j.xpath.DefaultNamespaceContext
-
-
-
All Implemented Interfaces:
org.jaxen.NamespaceContext, Serializable
-
-
-
-
public class DefaultNamespaceContext
extends Object
implements org.jaxen.NamespaceContext, Serializable
- -

-

- DefaultNamespaceContext implements a Jaxen NamespaceContext - such that a context node is used to determine the current XPath namespace - prefixes and namespace URIs available. -

-

- -

-

-
Author:
-
James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultNamespaceContext(Element element) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static DefaultNamespaceContextcreate(Object node) - -
-           
- StringtranslateNamespacePrefixToUri(String prefix) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultNamespaceContext

-
-public DefaultNamespaceContext(Element element)
-
-
- - - - - - - - -
-Method Detail
- -

-create

-
-public static DefaultNamespaceContext create(Object node)
-
-
-
-
-
-
-
-
-
- -

-translateNamespacePrefixToUri

-
-public String translateNamespacePrefixToUri(String prefix)
-
-
-
Specified by:
translateNamespacePrefixToUri in interface org.jaxen.NamespaceContext
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/DefaultXPath.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/DefaultXPath.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/DefaultXPath.html 2005-05-16 13:28:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/DefaultXPath.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1066 +0,0 @@ - - - - - - - -DefaultXPath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.xpath -
-Class DefaultXPath

-
-java.lang.Object
-  extended byorg.dom4j.xpath.DefaultXPath
-
-
-
All Implemented Interfaces:
NodeFilter, Serializable, XPath
-
-
-
-
public class DefaultXPath
extends Object
implements XPath, NodeFilter, Serializable
- -

-

- Default implementation of XPathwhich uses the Jaxen project. -

-

- -

-

-
Author:
-
bob mcwhirter, James Strachan
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DefaultXPath(String text) - -
-          Construct an XPath
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanbooleanValueOf(Object context) - -
-          Retrieve a boolean-value interpretation of this XPath expression when - evaluated against a given context. - -
- Objectevaluate(Object context) - -
-           - evaluate evaluates an XPath expression and returns the - result as an Object.
-protected  ObjectgetCompareValue(Node node) - -
-          DOCUMENT ME!
- org.jaxen.FunctionContextgetFunctionContext() - -
-          DOCUMENT ME!
- org.jaxen.NamespaceContextgetNamespaceContext() - -
-          DOCUMENT ME!
- StringgetText() - -
-          Retrieve the textual XPath string used to initialize this Object
- org.jaxen.VariableContextgetVariableContext() - -
-          DOCUMENT ME!
-protected  voidhandleJaxenException(org.jaxen.JaxenException exception) - -
-           
- booleanmatches(Node node) - -
-           - matches returns true if the given node matches the XPath - expression.
- NumbernumberValueOf(Object context) - -
-           - numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - is a number, or null if the result is not a number. -
-protected static org.jaxen.XPathparse(String text) - -
-           
-protected  voidremoveDuplicates(List list, - Map sortValues) - -
-          Removes items from the list which have duplicate values
- ListselectNodes(Object context) - -
-           - selectNodes performs this XPath expression on the given - Nodeor Listof Nodes instances appending all - the results together into a single list. -
- ListselectNodes(Object context, - XPath sortXPath) - -
-           - selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -
- ListselectNodes(Object context, - XPath sortXPath, - boolean distinct) - -
-           - selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -
- ObjectselectObject(Object context) - -
-           - selectObject evaluates an XPath expression and returns the - result as an Object.
- NodeselectSingleNode(Object context) - -
-           - selectSingleNode evaluates this XPath expression on the - given Nodeor Listof Nodes and returns the - result as a single Node instance. -
- voidsetFunctionContext(org.jaxen.FunctionContext functionContext) - -
-          Sets the function context to be used when evaluating XPath expressions
- voidsetNamespaceContext(org.jaxen.NamespaceContext namespaceContext) - -
-          Sets the namespace context to be used when evaluating XPath expressions
- voidsetNamespaceURIs(Map map) - -
-           - Sets the current NamespaceContext from a Map where the keys are the - String namespace prefixes and the values are the namespace URIs. -
-protected  voidsetNSContext(Object context) - -
-           
- voidsetVariableContext(org.jaxen.VariableContext variableContext) - -
-          Sets the variable context to be used when evaluating XPath expressions
- voidsort(List list) - -
-           - sort sorts the given List of Nodes using this XPath - expression as a Comparator. -
- voidsort(List list, - boolean distinct) - -
-           - sort sorts the given List of Nodes using this XPath - expression as a Comparatorand optionally removing duplicates. -
-protected  voidsort(List list, - Map sortValues) - -
-          Sorts the list based on the sortValues for each node
- StringtoString() - -
-           
- StringvalueOf(Object context) - -
-           - valueOf evaluates this XPath expression and returns the - textual representation of the results using the XPath string() function. -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DefaultXPath

-
-public DefaultXPath(String text)
-             throws InvalidXPathException
-
-
Construct an XPath -

-

Parameters:
text - DOCUMENT ME! -
Throws: -
InvalidXPathException - DOCUMENT ME!
- - - - - - - - -
-Method Detail
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-getText

-
-public String getText()
-
-
Retrieve the textual XPath string used to initialize this Object -

-

-
Specified by:
getText in interface XPath
-
-
- -
Returns:
The XPath string
-
-
-
- -

-getFunctionContext

-
-public org.jaxen.FunctionContext getFunctionContext()
-
-
Description copied from interface: XPath
-
DOCUMENT ME! -

-

-
Specified by:
getFunctionContext in interface XPath
-
-
- -
Returns:
the current function context
-
-
-
- -

-setFunctionContext

-
-public void setFunctionContext(org.jaxen.FunctionContext functionContext)
-
-
Description copied from interface: XPath
-
Sets the function context to be used when evaluating XPath expressions -

-

-
Specified by:
setFunctionContext in interface XPath
-
-
-
Parameters:
functionContext - DOCUMENT ME!
-
-
-
- -

-getNamespaceContext

-
-public org.jaxen.NamespaceContext getNamespaceContext()
-
-
Description copied from interface: XPath
-
DOCUMENT ME! -

-

-
Specified by:
getNamespaceContext in interface XPath
-
-
- -
Returns:
the current namespace context
-
-
-
- -

-setNamespaceURIs

-
-public void setNamespaceURIs(Map map)
-
-
Description copied from interface: XPath
-

- Sets the current NamespaceContext from a Map where the keys are the - String namespace prefixes and the values are the namespace URIs. -

- -

- For example: - -

- Map uris = new HashMap();
- uris.put("SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/");
- uris.put("m", "urn:xmethodsBabelFish");
- XPath xpath = document
-         .createXPath("SOAP-ENV:Envelope/SOAP-ENV:Body/m:BabelFish");
- xpath.setNamespaceURIs(uris);
- Node babelfish = xpath.selectSingleNode(document);
- 
- -

-

-

-
Specified by:
setNamespaceURIs in interface XPath
-
-
-
Parameters:
map - the map containing the namespace mappings
-
-
-
- -

-setNamespaceContext

-
-public void setNamespaceContext(org.jaxen.NamespaceContext namespaceContext)
-
-
Description copied from interface: XPath
-
Sets the namespace context to be used when evaluating XPath expressions -

-

-
Specified by:
setNamespaceContext in interface XPath
-
-
-
Parameters:
namespaceContext - DOCUMENT ME!
-
-
-
- -

-getVariableContext

-
-public org.jaxen.VariableContext getVariableContext()
-
-
Description copied from interface: XPath
-
DOCUMENT ME! -

-

-
Specified by:
getVariableContext in interface XPath
-
-
- -
Returns:
the current variable context
-
-
-
- -

-setVariableContext

-
-public void setVariableContext(org.jaxen.VariableContext variableContext)
-
-
Description copied from interface: XPath
-
Sets the variable context to be used when evaluating XPath expressions -

-

-
Specified by:
setVariableContext in interface XPath
-
-
-
Parameters:
variableContext - DOCUMENT ME!
-
-
-
- -

-evaluate

-
-public Object evaluate(Object context)
-
-
Description copied from interface: XPath
-

- evaluate evaluates an XPath expression and returns the - result as an Object. The object returned can either be a List of Nodeinstances, a Nodeinstance, a String or a Numberinstance depending on the XPath expression. -

-

-

-
Specified by:
evaluate in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the value of the XPath expression as a Listof Node instances, a Nodeinstance, a Stringor a - Numberinstance depending on the XPath expression.
-
-
-
- -

-selectObject

-
-public Object selectObject(Object context)
-
-
Description copied from interface: XPath
-

- selectObject evaluates an XPath expression and returns the - result as an Object. The object returned can either be a List of Nodeinstances, a Nodeinstance, a String or a Numberinstance depending on the XPath expression. -

-

-

-
Specified by:
selectObject in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the value of the XPath expression as a Listof Node instances, a Nodeinstance, a Stringor a - Numberinstance depending on the XPath expression.
-
-
-
- -

-selectNodes

-
-public List selectNodes(Object context)
-
-
Description copied from interface: XPath
-

- selectNodes performs this XPath expression on the given - Nodeor Listof Nodes instances appending all - the results together into a single list. -

-

-

-
Specified by:
selectNodes in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the results of all the XPath evaluations as a single list
-
-
-
- -

-selectNodes

-
-public List selectNodes(Object context,
-                        XPath sortXPath)
-
-
Description copied from interface: XPath
-

- selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -

-

-

-
Specified by:
selectNodes in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath
sortXPath - is the XPath expression to sort by -
Returns:
a list of Node instances
-
-
-
- -

-selectNodes

-
-public List selectNodes(Object context,
-                        XPath sortXPath,
-                        boolean distinct)
-
-
Description copied from interface: XPath
-

- selectNodes evaluates the XPath expression on the given - Nodeor Listof Nodes and returns the result as - a List of Node s sorted by the sort XPath - expression. -

-

-

-
Specified by:
selectNodes in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath
sortXPath - is the XPath expression to sort by
distinct - specifies whether or not duplicate values of the sort - expression are allowed. If this parameter is true then only - distinct sort expressions values are included in the result -
Returns:
a list of Node instances
-
-
-
- -

-selectSingleNode

-
-public Node selectSingleNode(Object context)
-
-
Description copied from interface: XPath
-

- selectSingleNode evaluates this XPath expression on the - given Nodeor Listof Nodes and returns the - result as a single Node instance. -

-

-

-
Specified by:
selectSingleNode in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
a single matching Node instance
-
-
-
- -

-valueOf

-
-public String valueOf(Object context)
-
-
Description copied from interface: XPath
-

- valueOf evaluates this XPath expression and returns the - textual representation of the results using the XPath string() function. -

-

-

-
Specified by:
valueOf in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the string representation of the results of the XPath expression
-
-
-
- -

-numberValueOf

-
-public Number numberValueOf(Object context)
-
-
Description copied from interface: XPath
-

- numberValueOf evaluates an XPath expression and returns - the numeric value of the XPath expression if the XPath expression results - is a number, or null if the result is not a number. -

-

-

-
Specified by:
numberValueOf in interface XPath
-
-
-
Parameters:
context - is either a node or a list of nodes on which to evalute the - XPath -
Returns:
the numeric result of the XPath expression or null if the result - is not a number.
-
-
-
- -

-booleanValueOf

-
-public boolean booleanValueOf(Object context)
-
-
Description copied from interface: XPath
-
Retrieve a boolean-value interpretation of this XPath expression when - evaluated against a given context. - -

- The boolean-value of the expression is determined per the - boolean(..) core function as defined in the XPath - specification. This means that an expression that selects zero nodes will - return false, while an expression that selects - one-or-more nodes will return true. -

-

-

-
Specified by:
booleanValueOf in interface XPath
-
-
-
Parameters:
context - The node, nodeset or Context object for evaluation. This value - can be null -
Returns:
The boolean-value interpretation of this expression.
-
-
-
- -

-sort

-
-public void sort(List list)
-
-

- sort sorts the given List of Nodes using this XPath - expression as a Comparator. -

-

-

-
Specified by:
sort in interface XPath
-
-
-
Parameters:
list - is the list of Nodes to sort
-
-
-
- -

-sort

-
-public void sort(List list,
-                 boolean distinct)
-
-

- sort sorts the given List of Nodes using this XPath - expression as a Comparatorand optionally removing duplicates. -

-

-

-
Specified by:
sort in interface XPath
-
-
-
Parameters:
list - is the list of Nodes to sort
distinct - if true then duplicate values (using the sortXPath for - comparisions) will be removed from the List
-
-
-
- -

-matches

-
-public boolean matches(Node node)
-
-
Description copied from interface: XPath
-

- matches returns true if the given node matches the XPath - expression. To be more precise when evaluating this XPath expression on - the given node the result set must include the node. -

-

-

-
Specified by:
matches in interface XPath
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the given node matches this XPath expression
-
-
-
- -

-sort

-
-protected void sort(List list,
-                    Map sortValues)
-
-
Sorts the list based on the sortValues for each node -

-

-
-
-
-
Parameters:
list - DOCUMENT ME!
sortValues - DOCUMENT ME!
-
-
-
- -

-removeDuplicates

-
-protected void removeDuplicates(List list,
-                                Map sortValues)
-
-
Removes items from the list which have duplicate values -

-

-
-
-
-
Parameters:
list - DOCUMENT ME!
sortValues - DOCUMENT ME!
-
-
-
- -

-getCompareValue

-
-protected Object getCompareValue(Node node)
-
-
DOCUMENT ME! -

-

-
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
the node expression used for sorting comparisons
-
-
-
- -

-parse

-
-protected static org.jaxen.XPath parse(String text)
-
-
-
-
-
-
-
-
-
- -

-setNSContext

-
-protected void setNSContext(Object context)
-
-
-
-
-
-
-
-
-
- -

-handleJaxenException

-
-protected void handleJaxenException(org.jaxen.JaxenException exception)
-                             throws XPathException
-
-
-
-
-
- -
Throws: -
XPathException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/XPathPattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/XPathPattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/XPathPattern.html 2005-05-16 13:27:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/XPathPattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,540 +0,0 @@ - - - - - - - -XPathPattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.xpath -
-Class XPathPattern

-
-java.lang.Object
-  extended byorg.dom4j.xpath.XPathPattern
-
-
-
All Implemented Interfaces:
NodeFilter, Pattern
-
-
-
-
public class XPathPattern
extends Object
implements Pattern
- -

-

- XPathPattern is an implementation of Pattern which uses an - XPath xpath. -

-

- -

-

-
Version:
-
$Revision: 1.18.2.1 $
-
Author:
-
James Strachan
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface org.dom4j.rule.Pattern
ANY_NODE, DEFAULT_PRIORITY, NONE, NUMBER_OF_TYPES
-  - - - - - - - - - - - - - -
-Constructor Summary
XPathPattern(org.jaxen.pattern.Pattern pattern) - -
-           
XPathPattern(String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  org.jaxen.ContextSupportgetContextSupport() - -
-           
- StringgetMatchesNodeName() - -
-          For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. -
- shortgetMatchType() - -
-          DOCUMENT ME!
- doublegetPriority() - -
-          Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec .
- StringgetText() - -
-           
- Pattern[]getUnionPatterns() - -
-          If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern.
-protected  voidhandleJaxenException(org.jaxen.JaxenException exception) - -
-           
- booleanmatches(Node node) - -
-          DOCUMENT ME!
- voidsetVariableContext(org.jaxen.VariableContext variableContext) - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-XPathPattern

-
-public XPathPattern(org.jaxen.pattern.Pattern pattern)
-
-
-
- -

-XPathPattern

-
-public XPathPattern(String text)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(Node node)
-
-
Description copied from interface: Pattern
-
DOCUMENT ME! -

-

-
Specified by:
matches in interface Pattern
-
-
-
Parameters:
node - DOCUMENT ME! -
Returns:
true if the pattern matches the given DOM4J node.
-
-
-
- -

-getText

-
-public String getText()
-
-
-
-
-
-
-
-
-
- -

-getPriority

-
-public double getPriority()
-
-
Description copied from interface: Pattern
-
Returns the default resolution policy of the pattern according to the XSLT conflict resolution - spec . -

-

-
Specified by:
getPriority in interface Pattern
-
-
- -
Returns:
DOCUMENT ME!
-
-
-
- -

-getUnionPatterns

-
-public Pattern[] getUnionPatterns()
-
-
Description copied from interface: Pattern
-
If this pattern is a union pattern then this method should return an - array of patterns which describe the union pattern, which should contain - more than one pattern. Otherwise this method should return null. -

-

-
Specified by:
getUnionPatterns in interface Pattern
-
-
- -
Returns:
an array of the patterns which make up this union pattern or null - if this pattern is not a union pattern
-
-
-
- -

-getMatchType

-
-public short getMatchType()
-
-
Description copied from interface: Pattern
-
DOCUMENT ME! -

-

-
Specified by:
getMatchType in interface Pattern
-
-
- -
Returns:
the type of node the pattern matches which by default should - return ANY_NODE if it can match any kind of node.
-
-
-
- -

-getMatchesNodeName

-
-public String getMatchesNodeName()
-
-
Description copied from interface: Pattern
-
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then - this pattern may return the name of the element or attribute it matches. - This allows a more efficient rule matching algorithm to be performed, - rather than a brute force approach of evaluating every pattern for a - given Node. -

-

-
Specified by:
getMatchesNodeName in interface Pattern
-
-
- -
Returns:
the name of the element or attribute this pattern matches or null - if this pattern matches any or more than one name.
-
-
-
- -

-setVariableContext

-
-public void setVariableContext(org.jaxen.VariableContext variableContext)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
-
-
-
-
-
-
- -

-getContextSupport

-
-protected org.jaxen.ContextSupport getContextSupport()
-
-
-
-
-
-
-
-
-
- -

-handleJaxenException

-
-protected void handleJaxenException(org.jaxen.JaxenException exception)
-                             throws XPathException
-
-
-
-
-
- -
Throws: -
XPathException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/class-use/DefaultNamespaceContext.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/class-use/DefaultNamespaceContext.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/class-use/DefaultNamespaceContext.html 2005-05-16 13:27:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/class-use/DefaultNamespaceContext.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,174 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.xpath.DefaultNamespaceContext (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.xpath.DefaultNamespaceContext

-
- - - - - - - - - -
-Packages that use DefaultNamespaceContext
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - -
-Uses of DefaultNamespaceContext in org.dom4j.xpath
-  -

- - - - - - - - - -
Methods in org.dom4j.xpath that return DefaultNamespaceContext
-static DefaultNamespaceContextDefaultNamespaceContext.create(Object node) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/class-use/DefaultXPath.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/class-use/DefaultXPath.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/class-use/DefaultXPath.html 2005-05-16 13:28:20.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/class-use/DefaultXPath.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.xpath.DefaultXPath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.xpath.DefaultXPath

-
-No usage of org.dom4j.xpath.DefaultXPath -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/class-use/XPathPattern.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/class-use/XPathPattern.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/class-use/XPathPattern.html 2005-05-16 13:26:13.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/class-use/XPathPattern.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.xpath.XPathPattern (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.xpath.XPathPattern

-
-No usage of org.dom4j.xpath.XPathPattern -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-frame.html 2005-05-16 13:27:46.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,37 +0,0 @@ - - - - - - - -org.dom4j.xpath (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.xpath - - - - -
-Classes  - -
-DefaultNamespaceContext -
-DefaultXPath -
-XPathPattern
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-summary.html 2005-05-16 13:28:11.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,184 +0,0 @@ - - - - - - - -org.dom4j.xpath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.xpath -

-Provides the core tools needed to use the XPath library - -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
DefaultNamespaceContext - DefaultNamespaceContext implements a Jaxen NamespaceContext - such that a context node is used to determine the current XPath namespace - prefixes and namespace URIs available. -
DefaultXPath - Default implementation of XPathwhich uses the Jaxen project. -
XPathPattern - XPathPattern is an implementation of Pattern which uses an - XPath xpath. -
-  - -

-

-Package org.dom4j.xpath Description -

- -

-

Provides the core tools needed to use the XPath library -

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-tree.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,149 +0,0 @@ - - - - - - - -org.dom4j.xpath Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.xpath -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpath/package-use.html 2005-05-16 13:27:40.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpath/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,168 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.xpath (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.xpath

-
- - - - - - - - - -
-Packages that use org.dom4j.xpath
org.dom4j.xpathProvides the core tools needed to use the XPath library - 
-  -

- - - - - - - - -
-Classes in org.dom4j.xpath used by org.dom4j.xpath
DefaultNamespaceContext - -
-           - DefaultNamespaceContext implements a Jaxen NamespaceContext - such that a context node is used to determine the current XPath namespace - prefixes and namespace URIs available. -
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/ProxyXmlStartTag.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/ProxyXmlStartTag.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/ProxyXmlStartTag.html 2005-05-16 13:28:17.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/ProxyXmlStartTag.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,881 +0,0 @@ - - - - - - - -ProxyXmlStartTag (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.dom4j.xpp -
-Class ProxyXmlStartTag

-
-java.lang.Object
-  extended byorg.dom4j.xpp.ProxyXmlStartTag
-
-
-
All Implemented Interfaces:
org.gjt.xpp.XmlStartTag, org.gjt.xpp.XmlTag
-
-
-
-
public class ProxyXmlStartTag
extends Object
implements org.gjt.xpp.XmlStartTag
- -

-ProxyXmlStartTag implements the XPP XmlSmartTag - interface while creating a dom4j Element underneath. -

- -

-

-
Author:
-
James Strachan, Maarten Coene, Wolfgang Baer
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ProxyXmlStartTag() - -
-           
ProxyXmlStartTag(Element element) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAttribute(String namespaceURI, - String localName, - String rawName, - String value) - -
-          parameters modeled after SAX2 attribute approach
- voidaddAttribute(String namespaceURI, - String localName, - String rawName, - String value, - boolean isNamespaceDeclaration) - -
-           
- voidensureAttributesCapacity(int minCapacity) - -
-           
- intgetAttributeCount() - -
-           
- StringgetAttributeLocalName(int index) - -
-           
- StringgetAttributeNamespaceUri(int index) - -
-           
- StringgetAttributePrefix(int index) - -
-           
- StringgetAttributeRawName(int index) - -
-           
- StringgetAttributeValue(int index) - -
-           
- StringgetAttributeValueFromName(String namespaceURI, - String localName) - -
-           
- StringgetAttributeValueFromRawName(String rawName) - -
-           
- DocumentFactorygetDocumentFactory() - -
-           
- ElementgetElement() - -
-           
- StringgetLocalName() - -
-           
- StringgetNamespaceUri() - -
-           
- StringgetPrefix() - -
-           
- StringgetRawName() - -
-           
- booleanisAttributeNamespaceDeclaration(int index) - -
-           
- voidmodifyTag(String namespaceURI, - String lName, - String rawName) - -
-           
- booleanremoveAttributeByName(String namespaceURI, - String localName) - -
-           
- booleanremoveAttributeByRawName(String rawName) - -
-           
- voidremoveAttributes() - -
-           
- voidremoveAtttributes() - -
-          Deprecated. Use removeAttributes() instead.
- voidresetStartTag() - -
-           
- voidresetTag() - -
-           
- voidsetDocumentFactory(DocumentFactory documentFactory) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ProxyXmlStartTag

-
-public ProxyXmlStartTag()
-
-
-
- -

-ProxyXmlStartTag

-
-public ProxyXmlStartTag(Element element)
-
-
- - - - - - - - -
-Method Detail
- -

-resetStartTag

-
-public void resetStartTag()
-
-
-
Specified by:
resetStartTag in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeCount

-
-public int getAttributeCount()
-
-
-
Specified by:
getAttributeCount in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeNamespaceUri

-
-public String getAttributeNamespaceUri(int index)
-
-
-
Specified by:
getAttributeNamespaceUri in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeLocalName

-
-public String getAttributeLocalName(int index)
-
-
-
Specified by:
getAttributeLocalName in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributePrefix

-
-public String getAttributePrefix(int index)
-
-
-
Specified by:
getAttributePrefix in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeRawName

-
-public String getAttributeRawName(int index)
-
-
-
Specified by:
getAttributeRawName in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeValue

-
-public String getAttributeValue(int index)
-
-
-
Specified by:
getAttributeValue in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeValueFromRawName

-
-public String getAttributeValueFromRawName(String rawName)
-
-
-
Specified by:
getAttributeValueFromRawName in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-getAttributeValueFromName

-
-public String getAttributeValueFromName(String namespaceURI,
-                                        String localName)
-
-
-
Specified by:
getAttributeValueFromName in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-isAttributeNamespaceDeclaration

-
-public boolean isAttributeNamespaceDeclaration(int index)
-
-
-
Specified by:
isAttributeNamespaceDeclaration in interface org.gjt.xpp.XmlStartTag
-
-
-
-
-
-
- -

-addAttribute

-
-public void addAttribute(String namespaceURI,
-                         String localName,
-                         String rawName,
-                         String value)
-                  throws org.gjt.xpp.XmlPullParserException
-
-
parameters modeled after SAX2 attribute approach -

-

-
Specified by:
addAttribute in interface org.gjt.xpp.XmlStartTag
-
-
-
Parameters:
namespaceURI - DOCUMENT ME!
localName - DOCUMENT ME!
rawName - DOCUMENT ME!
value - DOCUMENT ME! -
Throws: -
org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
-
-
-
- -

-addAttribute

-
-public void addAttribute(String namespaceURI,
-                         String localName,
-                         String rawName,
-                         String value,
-                         boolean isNamespaceDeclaration)
-                  throws org.gjt.xpp.XmlPullParserException
-
-
-
Specified by:
addAttribute in interface org.gjt.xpp.XmlStartTag
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-ensureAttributesCapacity

-
-public void ensureAttributesCapacity(int minCapacity)
-                              throws org.gjt.xpp.XmlPullParserException
-
-
-
Specified by:
ensureAttributesCapacity in interface org.gjt.xpp.XmlStartTag
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-removeAtttributes

-
-public void removeAtttributes()
-                       throws org.gjt.xpp.XmlPullParserException
-
-
Deprecated. Use removeAttributes() instead. -

-

Remove all atributes. -

-

-
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-removeAttributes

-
-public void removeAttributes()
-                      throws org.gjt.xpp.XmlPullParserException
-
-
-
Specified by:
removeAttributes in interface org.gjt.xpp.XmlStartTag
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-getLocalName

-
-public String getLocalName()
-
-
-
Specified by:
getLocalName in interface org.gjt.xpp.XmlTag
-
-
-
-
-
-
- -

-getNamespaceUri

-
-public String getNamespaceUri()
-
-
-
Specified by:
getNamespaceUri in interface org.gjt.xpp.XmlTag
-
-
-
-
-
-
- -

-getPrefix

-
-public String getPrefix()
-
-
-
Specified by:
getPrefix in interface org.gjt.xpp.XmlTag
-
-
-
-
-
-
- -

-getRawName

-
-public String getRawName()
-
-
-
Specified by:
getRawName in interface org.gjt.xpp.XmlTag
-
-
-
-
-
-
- -

-modifyTag

-
-public void modifyTag(String namespaceURI,
-                      String lName,
-                      String rawName)
-
-
-
Specified by:
modifyTag in interface org.gjt.xpp.XmlTag
-
-
-
-
-
-
- -

-resetTag

-
-public void resetTag()
-
-
-
Specified by:
resetTag in interface org.gjt.xpp.XmlTag
-
-
-
-
-
-
- -

-removeAttributeByName

-
-public boolean removeAttributeByName(String namespaceURI,
-                                     String localName)
-                              throws org.gjt.xpp.XmlPullParserException
-
-
-
Specified by:
removeAttributeByName in interface org.gjt.xpp.XmlStartTag
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-removeAttributeByRawName

-
-public boolean removeAttributeByRawName(String rawName)
-                                 throws org.gjt.xpp.XmlPullParserException
-
-
-
Specified by:
removeAttributeByRawName in interface org.gjt.xpp.XmlStartTag
-
-
- -
Throws: -
org.gjt.xpp.XmlPullParserException
-
-
-
- -

-getDocumentFactory

-
-public DocumentFactory getDocumentFactory()
-
-
-
-
-
-
-
-
-
- -

-setDocumentFactory

-
-public void setDocumentFactory(DocumentFactory documentFactory)
-
-
-
-
-
-
-
-
-
- -

-getElement

-
-public Element getElement()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/class-use/ProxyXmlStartTag.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/class-use/ProxyXmlStartTag.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/class-use/ProxyXmlStartTag.html 2005-05-16 13:27:12.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/class-use/ProxyXmlStartTag.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Class org.dom4j.xpp.ProxyXmlStartTag (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.dom4j.xpp.ProxyXmlStartTag

-
-No usage of org.dom4j.xpp.ProxyXmlStartTag -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-frame.html 2005-05-16 13:28:00.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ - - - - - - - -org.dom4j.xpp (dom4j 1.6.1 API) - - - - - - - - - - - -org.dom4j.xpp - - - - -
-Classes  - -
-ProxyXmlStartTag
- - - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-summary.html 2005-05-16 13:27:51.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,169 +0,0 @@ - - - - - - - -org.dom4j.xpp (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.dom4j.xpp -

-Provides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP - -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
ProxyXmlStartTagProxyXmlStartTag implements the XPP XmlSmartTag - interface while creating a dom4j Element underneath.
-  - -

-

-Package org.dom4j.xpp Description -

- -

-

Provides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP -

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-tree.html 2005-05-16 13:28:03.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,147 +0,0 @@ - - - - - - - -org.dom4j.xpp Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.dom4j.xpp -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-use.html dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-use.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/org/dom4j/xpp/package-use.html 2005-05-16 13:27:43.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/org/dom4j/xpp/package-use.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Uses of Package org.dom4j.xpp (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.dom4j.xpp

-
-No usage of org.dom4j.xpp -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/overview-frame.html dom4j-1.6.1+dfsg.3/docs/apidocs/overview-frame.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/overview-frame.html 2005-05-16 13:28:05.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/overview-frame.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - - - - - - - -Overview (dom4j 1.6.1 API) - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-org.dom4j -
-org.dom4j.bean -
-org.dom4j.datatype -
-org.dom4j.dom -
-org.dom4j.dtd -
-org.dom4j.io -
-org.dom4j.jaxb -
-org.dom4j.rule -
-org.dom4j.rule.pattern -
-org.dom4j.swing -
-org.dom4j.tree -
-org.dom4j.util -
-org.dom4j.xpath -
-org.dom4j.xpp -
-

- -

-  - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/overview-summary.html dom4j-1.6.1+dfsg.3/docs/apidocs/overview-summary.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/overview-summary.html 2005-05-16 13:28:16.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/overview-summary.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,271 +0,0 @@ - - - - - - - -Overview (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -


-
-

-dom4j 1.6.1 API -

-
- - - - - - - - - - - - - -
-Core Developer API
org.dom4jDefines the XML Document Object Model in Java interfaces together - with some helper classes.
org.dom4j.ioProvides input and output via SAX and DOM together with writing dom4j - objects to streams as XML text.
- -

-  - - - - - - - - -
-Utility classes
org.dom4j.utilA collection of utility classes for the dom4j API.
- -

-  - - - - - - - - - - - - -
-XRule engine for declarative XSLT style processing
org.dom4j.ruleA Pattern based XML rule engine which implements -the full XSLT processing model while allowing any Action -to be fired if a pattern matches. -
org.dom4j.rule.pattern 
- -

-  - - - - - - - - - - - - - - - - -
-Alternative dom4j implementations
org.dom4j.beanAn implementation of the dom4j API which allows JavaBeans to be used to - store and retrieve attribute values from Element.
org.dom4j.datatypeAn implementation of the dom4j API which supports the - XML Schema Data Types specification.
org.dom4j.domAn implementation of the dom4j API which also supports the - W3C object model.
- -

-  - - - - - - - - -
-Swing helper classes
org.dom4j.swingA collection of adapters to allow easy integration with dom4j - XML documents and Swing such as TreeModels and TableModels.
- -

-  - - - - - - - - - - - - - - - - - - - - -
-Implementation classes
org.dom4j.dtdClasses to represent the DTD declarations.
org.dom4j.treeContains the default implementations of the dom4j Document Object Model - together with some helpful base classes for those wishing to - implement their own document object model. -
org.dom4j.xpathProvides the core tools needed to use the XPath library -
org.dom4j.xppProvides implementation classes to cleanly integrate dom4j with the XML Pull Parser -XPP -
- -

-  - - - - - - - - -
-Other Packages
org.dom4j.jaxb 
- -


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/overview-tree.html dom4j-1.6.1+dfsg.3/docs/apidocs/overview-tree.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/overview-tree.html 2005-05-16 13:28:07.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/overview-tree.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,328 +0,0 @@ - - - - - - - -Class Hierarchy (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
org.dom4j, org.dom4j.bean, org.dom4j.datatype, org.dom4j.dom, org.dom4j.dtd, org.dom4j.io, org.dom4j.jaxb, org.dom4j.rule, org.dom4j.rule.pattern, org.dom4j.swing, org.dom4j.tree, org.dom4j.util, org.dom4j.xpath, org.dom4j.xpp
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/package-list dom4j-1.6.1+dfsg.3/docs/apidocs/package-list --- dom4j-1.6.1+dfsg.2/docs/apidocs/package-list 2005-05-16 13:27:27.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/package-list 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -org.dom4j -org.dom4j.bean -org.dom4j.datatype -org.dom4j.dom -org.dom4j.dtd -org.dom4j.io -org.dom4j.jaxb -org.dom4j.rule -org.dom4j.rule.pattern -org.dom4j.swing -org.dom4j.tree -org.dom4j.util -org.dom4j.xpath -org.dom4j.xpp diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/packages.html dom4j-1.6.1+dfsg.3/docs/apidocs/packages.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/packages.html 2005-05-16 13:26:55.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/packages.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,38 +0,0 @@ - - - - - - - - (dom4j 1.6.1 API) - - - - - - - - - - - -
- -
- -
-
-The front page has been relocated.Please see: -
-          Frame version -
-          Non-frame version.
- - - Binary files /tmp/EZ7kcI_wse/dom4j-1.6.1+dfsg.2/docs/apidocs/resources/inherit.gif and /tmp/9O3GzbdpeF/dom4j-1.6.1+dfsg.3/docs/apidocs/resources/inherit.gif differ diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/serialized-form.html dom4j-1.6.1+dfsg.3/docs/apidocs/serialized-form.html --- dom4j-1.6.1+dfsg.2/docs/apidocs/serialized-form.html 2005-05-16 13:27:58.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/serialized-form.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2377 +0,0 @@ - - - - - - - -Serialized Form (dom4j 1.6.1 API) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Serialized Form

-
-
- - - - - -
-Package org.dom4j
- -

- - - - - -
-Class org.dom4j.DocumentException extends Exception implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-nestedException

-
-Throwable nestedException
-
-
A wrapped Throwable -

-

-
-
- -

- - - - - -
-Class org.dom4j.DocumentFactory extends Object implements Serializable
- -

- - - - - -
-Serialization Methods
- -

- -

-readObject

-
-private void readObject(ObjectInputStream in)
-                 throws IOException,
-                        ClassNotFoundException
-
-
- - - - - -
-Serialized Fields
- -

-xpathNamespaceURIs

-
-Map xpathNamespaceURIs
-
-
Default namespace prefix -> URI mappings for XPath expressions to use -

-

-
-
- -

- - - - - -
-Class org.dom4j.IllegalAddException extends IllegalArgumentException implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.InvalidXPathException extends IllegalArgumentException implements Serializable
- -

-serialVersionUID: 3257009869058881592l - -

- -

- - - - - -
-Class org.dom4j.Namespace extends AbstractNode implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-prefix

-
-String prefix
-
-
The prefix mapped to this namespace -

-

-
-
-
- -

-uri

-
-String uri
-
-
The URI for this namespace -

-

-
-
-
- -

-hashCode

-
-int hashCode
-
-
A cached version of the hashcode for efficiency -

-

-
-
- -

- - - - - -
-Class org.dom4j.QName extends Object implements Serializable
- -

- - - - - -
-Serialization Methods
- -

- -

-readObject

-
-private void readObject(ObjectInputStream in)
-                 throws IOException,
-                        ClassNotFoundException
-
-
-
- -

-writeObject

-
-private void writeObject(ObjectOutputStream out)
-                  throws IOException
-
-
- - - - - -
-Serialized Fields
- -

-name

-
-String name
-
-
The local name of the element or attribute -

-

-
-
-
- -

-qualifiedName

-
-String qualifiedName
-
-
The qualified name of the element or attribute -

-

-
-
-
- -

-hashCode

-
-int hashCode
-
-
A cached version of the hashcode for efficiency -

-

-
-
-
- -

-documentFactory

-
-DocumentFactory documentFactory
-
-
The document factory used for this QName if specified or null -

-

-
-
- -

- - - - - -
-Class org.dom4j.XPathException extends RuntimeException implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-xpath

-
-String xpath
-
-
The XPath expression that caused the exception -

-

-
-
- -

-


- - - - - -
-Package org.dom4j.bean
- -

- - - - - -
-Class org.dom4j.bean.BeanAttribute extends AbstractAttribute implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-beanList

-
-BeanAttributeList beanList
-
-
The list of Bean attributes -

-

-
-
-
- -

-index

-
-int index
-
-
The index in the Bean attribute list -

-

-
-
- -

- - - - - -
-Class org.dom4j.bean.BeanDocumentFactory extends DocumentFactory implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.bean.BeanElement extends DefaultElement implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-bean

-
-Object bean
-
-
The JavaBean which defines my attributes -

-

-
-
- -

-


- - - - - -
-Package org.dom4j.datatype
- -

- - - - - -
-Class org.dom4j.datatype.DatatypeAttribute extends AbstractAttribute implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent Element of the Attribute -

-

-
-
-
- -

-qname

-
-QName qname
-
-
The QName for this element -

-

-
-
-
- -

-datatype

-
-com.sun.msv.datatype.xsd.XSDatatype datatype
-
-
The XSDatatype of the Attribute -

-

-
-
-
- -

-data

-
-Object data
-
-
The data (Object) value of the Attribute -

-

-
-
-
- -

-text

-
-String text
-
-
The text value of the Attribute -

-

-
-
- -

- - - - - -
-Class org.dom4j.datatype.DatatypeDocumentFactory extends DocumentFactory implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-schemaBuilder

-
-SchemaParser schemaBuilder
-
-
The builder of XML Schemas -

-

-
-
-
- -

-xmlSchemaReader

-
-SAXReader xmlSchemaReader
-
-
reader of XML Schemas -

-

-
-
-
- -

-autoLoadSchema

-
-boolean autoLoadSchema
-
-
If schemas are automatically loaded when parsing instance documents -

-

-
-
- -

- - - - - -
-Class org.dom4j.datatype.DatatypeElement extends DefaultElement implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-datatype

-
-com.sun.msv.datatype.xsd.XSDatatype datatype
-
-
The XSDatatype of the Attribute -

-

-
-
-
- -

-data

-
-Object data
-
-
The data (Object) value of the Attribute -

-

-
-
- -

- - - - - -
-Class org.dom4j.datatype.DatatypeElementFactory extends DocumentFactory implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-elementQName

-
-QName elementQName
-
-
-
-
-
- -

-attributeXSDatatypes

-
-Map attributeXSDatatypes
-
-
Cache of XSDatatype instances per Attribute - QName -

-

-
-
-
- -

-childrenXSDatatypes

-
-Map childrenXSDatatypes
-
-
Cache of XSDatatype instances per child Element - QName -

-

-
-
- -

- - - - - -
-Class org.dom4j.datatype.InvalidSchemaException extends IllegalArgumentException implements Serializable
- -

- -

-


- - - - - -
-Package org.dom4j.dom
- -

- - - - - -
-Class org.dom4j.dom.DOMAttribute extends DefaultAttribute implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMCDATA extends DefaultCDATA implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMComment extends DefaultComment implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMDocument extends DefaultDocument implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMDocumentFactory extends DocumentFactory implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMDocumentType extends DefaultDocumentType implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMElement extends DefaultElement implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMEntityReference extends DefaultEntity implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMNamespace extends DefaultNamespace implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMProcessingInstruction extends DefaultProcessingInstruction implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.dom.DOMText extends DefaultText implements Serializable
- -

- -

-


- - - - - -
-Package org.dom4j.io
- -

- - - - - -
-Class org.dom4j.io.SAXEventRecorder extends DefaultHandler implements Serializable
- -

-serialVersionUID: 1l - -

- - - - - -
-Serialization Methods
- -

- -

-readExternal

-
-public void readExternal(ObjectInput in)
-                  throws ClassNotFoundException,
-                         IOException
-
-
-
- -

-writeExternal

-
-public void writeExternal(ObjectOutput out)
-                   throws IOException
-
-
- -

- - - - - -
-Class org.dom4j.io.SAXReader.SAXEntityResolver extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-uriPrefix

-
-String uriPrefix
-
-
-
-
- -

-


- - - - - -
-Package org.dom4j.swing
- -

- - - - - -
-Class org.dom4j.swing.DocumentTreeModel extends DefaultTreeModel implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-document

-
-Document document
-
-
The document for this model -

-

-
-
- -

- - - - - -
-Class org.dom4j.swing.XMLTableColumnDefinition extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-type

-
-int type
-
-
Holds value of property type. -

-

-
-
-
- -

-name

-
-String name
-
-
Holds value of property name. -

-

-
-
-
- -

-xpath

-
-XPath xpath
-
-
Holds value of property xpath. -

-

-
-
-
- -

-columnNameXPath

-
-XPath columnNameXPath
-
-
Holds the XPath used for the column name -

-

-
-
- -

- - - - - -
-Class org.dom4j.swing.XMLTableDefinition extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-rowXPath

-
-XPath rowXPath
-
-
Holds value of property rowXPath. -

-

-
-
-
- -

-columns

-
-List columns
-
-
The columns to display in this table -

-

-
-
-
- -

-columnArray

-
-XMLTableColumnDefinition[] columnArray
-
-
integer index array cache -

-

-
-
-
- -

-columnNameIndex

-
-Map columnNameIndex
-
-
name index cache -

-

-
-
-
- -

-variableContext

-
-org.jaxen.VariableContext variableContext
-
-
for cross-row variables -

-

-
-
-
- -

-rowValue

-
-Object rowValue
-
-
stores the current row value for the variableContext -

-

-
-
- -

- - - - - -
-Class org.dom4j.swing.XMLTableModel extends AbstractTableModel implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-definition

-
-XMLTableDefinition definition
-
-
Holds value of property definition. -

-

-
-
-
- -

-source

-
-Object source
-
-
Holds value of property source. -

-

-
-
-
- -

-rows

-
-List rows
-
-
The rows evaluated from the row XPath expression -

-

-
-
- -

-


- - - - - -
-Package org.dom4j.tree
- -

- - - - - -
-Class org.dom4j.tree.AbstractAttribute extends AbstractNode implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractBranch extends AbstractNode implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractCDATA extends AbstractCharacterData implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractCharacterData extends AbstractNode implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractComment extends AbstractCharacterData implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractDocument extends AbstractBranch implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-encoding

-
-String encoding
-
-
The encoding of this document as stated in the XML declaration -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.AbstractDocumentType extends AbstractNode implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractElement extends AbstractBranch implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractEntity extends AbstractNode implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractNode extends Object implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractProcessingInstruction extends AbstractNode implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.AbstractText extends AbstractCharacterData implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.BackedList extends ArrayList implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-branchContent

-
-List branchContent
-
-
The content of the Branch which is modified if I am modified -

-

-
-
-
- -

-branch

-
-AbstractBranch branch
-
-
The AbstractBranch instance which owns the content -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.BaseElement extends AbstractElement implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-qname

-
-QName qname
-
-
The QName for this element -

-

-
-
-
- -

-parentBranch

-
-Branch parentBranch
-
-
Stores the parent branch of this node which is either a Document if this - element is the root element in a document, or another Element if it is a - child of the root document, or null if it has not been added to a - document yet. -

-

-
-
-
- -

-content

-
-List content
-
-
List of content nodes. -

-

-
-
-
- -

-attributes

-
-List attributes
-
-
list of attributes -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.ConcurrentReaderHashMap.BarrierLock extends Object implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.tree.DefaultAttribute extends FlyweightAttribute implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultCDATA extends FlyweightCDATA implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultComment extends FlyweightComment implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultDocument extends AbstractDocument implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-name

-
-String name
-
-
The name of the document -

-

-
-
-
- -

-rootElement

-
-Element rootElement
-
-
The root element of this document -

-

-
-
-
- -

-content

-
-List content
-
-
Store the contents of the document as a lazily created List -

-

-
-
-
- -

-docType

-
-DocumentType docType
-
-
The document type for this document -

-

-
-
-
- -

-documentFactory

-
-DocumentFactory documentFactory
-
-
The document factory used by default -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultDocumentType extends AbstractDocumentType implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-elementName

-
-String elementName
-
-
The root element name of the document typ -

-

-
-
-
- -

-publicID

-
-String publicID
-
-
Holds value of property publicID. -

-

-
-
-
- -

-systemID

-
-String systemID
-
-
Holds value of property systemID. -

-

-
-
-
- -

-internalDeclarations

-
-List internalDeclarations
-
-
The internal DTD declarations -

-

-
-
-
- -

-externalDeclarations

-
-List externalDeclarations
-
-
The external DTD declarations -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultElement extends AbstractElement implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-qname

-
-QName qname
-
-
The QName for this element -

-

-
-
-
- -

-parentBranch

-
-Branch parentBranch
-
-
Stores the parent branch of this node which is either a Document if this - element is the root element in a document, or another Element if it is a - child of the root document, or null if it has not been added to a - document yet. -

-

-
-
-
- -

-content

-
-Object content
-
-
Stores null for no content, a Node for a single content node or a List - for multiple content nodes. The List will be lazily constructed when - required. -

-

-
-
-
- -

-attributes

-
-Object attributes
-
-
Lazily constructes list of attributes -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultEntity extends FlyweightEntity implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultNamespace extends Namespace implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultProcessingInstruction extends FlyweightProcessingInstruction implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.DefaultText extends FlyweightText implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-parent

-
-Element parent
-
-
The parent of this node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.FlyweightAttribute extends AbstractAttribute implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-qname

-
-QName qname
-
-
The QName for this element -

-

-
-
-
- -

-value

-
-String value
-
-
The value of the Attribute -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.FlyweightCDATA extends AbstractCDATA implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-text

-
-String text
-
-
Text of the CDATA node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.FlyweightComment extends AbstractComment implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-text

-
-String text
-
-
Text of the Comment node -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.FlyweightEntity extends AbstractEntity implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-name

-
-String name
-
-
The name of the Entity -

-

-
-
-
- -

-text

-
-String text
-
-
The text of the Entity -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.FlyweightProcessingInstruction extends AbstractProcessingInstruction implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-target

-
-String target
-
-
The target of the PI -

-

-
-
-
- -

-text

-
-String text
-
-
The values for the PI as a String -

-

-
-
-
- -

-values

-
-Map values
-
-
The values for the PI in name/value pairs -

-

-
-
- -

- - - - - -
-Class org.dom4j.tree.FlyweightText extends AbstractText implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-text

-
-String text
-
-
Text of the Text node -

-

-
-
- -

-


- - - - - -
-Package org.dom4j.util
- -

- - - - - -
-Class org.dom4j.util.IndexedDocumentFactory extends DocumentFactory implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.util.IndexedElement extends DefaultElement implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-elementIndex

-
-Map elementIndex
-
-
Lazily constructed index for elements -

-

-
-
-
- -

-attributeIndex

-
-Map attributeIndex
-
-
Lazily constructed index for attributes -

-

-
-
- -

- - - - - -
-Class org.dom4j.util.NonLazyDocumentFactory extends DocumentFactory implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.util.NonLazyElement extends BaseElement implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.util.UserDataAttribute extends DefaultAttribute implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-data

-
-Object data
-
-
The user data object -

-

-
-
- -

- - - - - -
-Class org.dom4j.util.UserDataDocumentFactory extends DocumentFactory implements Serializable
- -

- -

- - - - - -
-Class org.dom4j.util.UserDataElement extends DefaultElement implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-data

-
-Object data
-
-
The user data object -

-

-
-
- -

-


- - - - - -
-Package org.dom4j.xpath
- -

- - - - - -
-Class org.dom4j.xpath.DefaultNamespaceContext extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-element

-
-Element element
-
-
-
-
- -

- - - - - -
-Class org.dom4j.xpath.DefaultXPath extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-text

-
-String text
-
-
-
-
-
- -

-xpath

-
-org.jaxen.XPath xpath
-
-
-
-
-
- -

-namespaceContext

-
-org.jaxen.NamespaceContext namespaceContext
-
-
-
-
- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved. - - diff -Nru dom4j-1.6.1+dfsg.2/docs/apidocs/stylesheet.css dom4j-1.6.1+dfsg.3/docs/apidocs/stylesheet.css --- dom4j-1.6.1+dfsg.2/docs/apidocs/stylesheet.css 2005-05-16 13:28:01.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/docs/apidocs/stylesheet.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -a:link, a:visited { - color: blue; - } - -a:active, a:hover, #leftcol a:active, #leftcol a:hover { - color: #f30 !important; - } - -a:link.selfref, a:visited.selfref { - color: #555 !important; - } - -.a td { - background: #ddd; - color: #000; - } - -/* Table colors */ -.TableHeadingColor { background: #036; color:#FFFFFF } /* Dark blue */ -.TableSubHeadingColor { background: #bbb; color:#fff } /* Dark grey */ -.TableRowColor { background: #efefef } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: normal; font-family: normal; color:#000000 } -.FrameHeadingFont { font-size: normal; font-family: normal; color:#000000 } -.FrameItemFont { font-size: normal; font-family: normal; color:#000000 } - -/* Example of smaller, sans-serif font in frames */ -/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#ddd;}/* Light mauve */ -.NavBarCell1Rev { background-color:#888;}/* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} Binary files /tmp/EZ7kcI_wse/dom4j-1.6.1+dfsg.2/dom4j-1.6.1.jar and /tmp/9O3GzbdpeF/dom4j-1.6.1+dfsg.3/dom4j-1.6.1.jar differ diff -Nru dom4j-1.6.1+dfsg.2/lib/test/JUnitPerf_LICENSE dom4j-1.6.1+dfsg.3/lib/test/JUnitPerf_LICENSE --- dom4j-1.6.1+dfsg.2/lib/test/JUnitPerf_LICENSE 2005-05-16 13:28:52.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/lib/test/JUnitPerf_LICENSE 1970-01-01 00:00:00.000000000 +0000 @@ -1,29 +0,0 @@ -Copyright (C) 2001 Clarkware Consulting, Inc. -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. Neither the name of Clarkware Consulting, Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without prior written permission. For written - permission, please contact clarkware@clarkware.com. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -CLARKWARE CONSULTING OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, -OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff -Nru dom4j-1.6.1+dfsg.2/lib/tools/clover.license dom4j-1.6.1+dfsg.3/lib/tools/clover.license --- dom4j-1.6.1+dfsg.2/lib/tools/clover.license 2005-05-16 13:28:36.000000000 +0000 +++ dom4j-1.6.1+dfsg.3/lib/tools/clover.license 1970-01-01 00:00:00.000000000 +0000 @@ -1,164 +0,0 @@ -Product: Clover -License: Open Source License, 0.x, 1.x -Issued: Mon Apr 19 2004 20:06:14 CDT -Expiry: Never -Key: 1396f93a739a4dc9ac350277e -Name: Maarten Coene -Org: dom4j -Certificate: AAABhW+Ow8B7/zEbxOMqqKwwrdpP+a1COmJGHco7sCNLjHkHnajPF+dQW -Ct12PMy0uml0s9xuus5wKngJ9OFk5TFeh01dzQF66bhXH1bvegLfvja3Kle6BYtDv4LZgE -gk3E0aJN4IbgTn+TgUckSevXDR4KzK77NWJfrVzkxV3/Jerg/Q7IjCbX2gEysSyZKJen1e -/KmvMnPcfTUNYOj6HT1483QqnhPOWFsBfC77ggTTr2uQmWq3MzTQfAKPFy3LHNEKtZUPnG -Oayn9MYKn6lmaEzXqkkrLrzG3xhP5oUU1LFdl2T/WJkv0K0aW4dJSu103bnXS7mbk/qDJ3 -m2nrSTGvuM92O7Wz6BkUlp6OBju6ewTAk7T9ltmt9vL1lSVECEPtzRyAnPHUC5463gr9iu -X5PEC6hs/5tVFy7Y2qNZJ06NXImEZOIMtqycA5SxHlPGOCKpHP0Rj0u8y7OmixYx99ME/0 -aHvIN/gzIauaAAlZmw27rvuBAUF0+Zfef7Hzc5dogw6CaZOdHy9O97xdLJTuUGukfFG7fU -E18eDhBKchl23D/fi8RtvYF3qxudf0kJFAnEK+WGlUSvcGVZGfe5hEwS82OspRmlux/e15 -+54Zk7l5CyZg60Qjh28vSoIKJbpiBksQ8o8ZOaAfsJZyOjeK8H06fBCUVOZFGsf3uZ8gW4 -zNxC5yyw= -License Agreement: CLOVER VERSION 1 (ONE) SOFTWARE LICENSE AGREEMENT - -1. Licenses and Software - -Cortex eBusiness Pty Ltd, an Australian Proprietary Limited Company -("CENQUA") hereby grants to the purchaser (the "LICENSEE") a limited, -revocable, worldwide, non-exclusive, non-transferable, -non-sublicensable license to use the Clover version 1 (one) software -(the "Software"), including any minor upgrades thereof during the Term -(hereinafter defined) up to, but not including the next major version -of the Software. The licensee shall not, or knowingly allow others to, -reverse engineer, decompile, disassemble, modify, adapt, create -derivative works from or otherwise attempt to derive source code from -the Software provided. And, in accordance with the terms and -conditions of this Software License Agreement (the "Agreement"), the -Software shall be used solely by the licensed users in accordance with -the following edition specific conditions: - -a) Server Edition - -A Server Edition license entitles the Licensee to execute one instance -of Clover Server Edition on one (1) machine for the purposes of -instrumenting source code and generating reports. There are no -limitations on the use of the instrumented source code or generated -reports produced by Server Edition. - -b) Workstation Edition - -A Workstation Edition license entitles the licensee to use Clover -Workstation Edition on one (1) machine by one (1) individual end -user. Workstation Edition does not permit the generation of reports -for distribution. - -c) Team Edition - -A Team Edition license entitles the licensee to use Clover Team -edition on any number of machines solely by the licensed number of -users. Reports generated by Clover Team Edition are strictly for use -only by the licensed number of individual end users. - -2. License Fee - -In exchange for the License(s), the Licensee shall pay to Cenqua a -one-time, up front, non-refundable license fee. At the sole discretion -of Cenqua this fee will be waived for non-commercial -projects. Notwithstanding the Licensee's payment of the License Fee, -Cenqua reserves the right to terminate the License if Cenqua discovers -that the Licensee and/or the Licensee's use of the Software is in -breach of this Agreement. - -3. Proprietary Rights - -Cenqua will retain all right, title and interest in and to the -Software, all copies thereof, and Cenqua website(s), software, and -other intellectual property, including, but not limited to, ownership -of all copyrights, look and feel, trademark rights, design rights, -trade secret rights and any and all other intellectual property and -other proprietary rights therein. The Licensee will not directly or -indirectly obtain or attempt to obtain at any time, any right, title -or interest by registration or otherwise in or to the trademarks, -service marks, copyrights, trade names, symbols, logos or designations -or other intellectual property rights owned or used by Cenqua. All -technical manuals or other information provided by Cenqua to the -Licensee shall be the sole property of Cenqua. - -4. Term and Termination - -Subject to the other provisions hereof, this Agreement shall commence -upon the Licensee's opting into this Agreement and continue until the -Licensee discontinues use of the Software or the Agreement terminates -automatically upon the Licensee's breach of any term or condition of -this Agreement (the "Term"). Upon any such termination, the Licensee -will delete the Software immediately. - -5. Copying & Transfer - -The Licensee may copy the Software for back-up purposes only. The -Licensee may not assign or otherwise transfer the Software to any -third party. - -6. Specific Disclaimer of Warranty and Limitation of Liability - -THE SOFTWARE IS PROVIDED WITHOUT WARRANTY OF ANY KIND. CENQUA -DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE. CENQUA WILL NOT BE LIABLE FOR ANY DAMAGES -ASSOCIATED WITH THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ORDINARY, -INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING -BUT NOT LIMITED TO DAMAGES RELATING TO LOST DATA OR LOST PROFITS, EVEN -IF CENQUA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. Warranties and Representations - -Licensee Indemnification. CENQUA agrees to indemnify, defend and hold -the Licensee harmless from and against any and all liabilities, -damages, losses, claims, costs, and expenses (including reasonable -legal fees) arising out of or resulting from the Software or the use -thereof infringing upon, misappropriating or violating any patents, -copyrights, trademarks, or trade secret rights or other proprietary -rights of persons, firms or entities who are not parties to this -Agreement. - -CENQUA Indemnification. The Licensee warrants and represents that the -Licensee's actions with regard to the Software will be in compliance -with all applicable laws; and the Licensee agrees to indemnify, -defend, and hold CENQUA harmless from and against any and all -liabilities, damages, losses, claims, costs, and expenses (including -reasonable legal fees) arising out of or resulting from the -Licensee's failure to observe the use restrictions set forth herein. - -8. Publicity - -The Licensee grants permission for CENQUA to use Licensee's name -solely in customer lists. CENQUA shall not, without prior consent in -writing, use the Licensee's name, or that of its affiliates, in any -form with the specific exception of customer lists. CENQUA agrees to -remove Licensee's name from any and all materials within 7 days if -notified by the Licensee in writing. - -9. Governing Law - -This Agreement shall be governed by the laws of New South Wales, -Australia. - -10. Independent Contractors - -The parties are independent contractors with respect to each other, -and nothing in this Agreement shall be construed as creating an -employer-employee relationship, a partnership, agency relationship or -a joint venture between the parties. - -11. Assignment - -This Agreement is not assignable or transferable by the Licensee. -CENQUA in its sole discretion may transfer a license to a third party -at the written request of the Licensee. - -12. Entire Agreement - -This Agreement constitutes the entire agreement between the parties -concerning the Licensee's use of the Software. This Agreement -supersedes any prior verbal understanding between the parties and any -Licensee purchase order or other ordering document, regardless of -whether such document is received by CENQUA before or after execution -of this Agreement. This Agreement may be amended only in writing by -CENQUA.