| Home >> All >> org >> dom4j >> [ samples Javadoc ] |
org.dom4j.samples: Javadoc index of package org.dom4j.samples.
Package Samples:
org.dom4j.samples.applets
org.dom4j.samples.bean
org.dom4j.samples.dom
org.dom4j.samples.jaxb
org.dom4j.samples.jaxp
org.dom4j.samples.performance
org.dom4j.samples.rule
org.dom4j.samples.sax
org.dom4j.samples.swing
org.dom4j.samples.validate
Classes:
SAXDOMDemo: This sample program parses an XML document as a DOM4J tree using SAX, it then creates a W3C DOM tree which is then used as input for creating a new DOM4J tree which is then output to SAX which is then parsed into another DOM4J tree which is then output as XML. This is clearly not terribly useful but demonstrates how to convert from SAX DOM4J and DOM4J DOM and DOM4J text
VisitorDemo2: This demo uses the Visitor Pattern in DOM4J to display the effect of changing the org.dom4j.DocumentFactory used when reading a DOM4J object model from a org.dom4j.io.SAXReader .
XPathValueOf: A utility program which performs XPath expressions on one or more XML files and outputs the valueOf the XPath expression. It is similar to the grep command on Unix but uses XPath valueOf for matching
XPathGrep: A utility program which performs XPath expressions on one or more XML files and outputs the matches. It is similar to the grep command on Unix but uses XPath expressions for matching
CreateXMLDemo: A sample program to demonstrate creating some XML output using DOM4J. This sample generates an XML document representing the state of the current JVM displaying the current system properties.
SongFilter: This class is 1:1 representation of the stlyesheet SongFilter.xsl in package. It demonstrates the usage of dom4j Declarative Rule API For more information see the
JTableTool: Displays an XML document in a JTable JTable GUI from a dom4j Document. The definition of the table is given using an XML descriptor document such as in xml/swing/.
LargeDocumentDemo: This sample parses a big document using the pruning option of the org.dom4j.io.SAXReader .
SimpleAppletDemo: This class demonstrate the use of dom4j in Applets. Note that applets are not allowed to read files from client disk, if unsigned.
JARVDemo2: A sample program which validates an XML document as is it being parsed using the JARV API with Sun's MSV library implementation.
JARVDemo: A sample program which validates an already existing dom4j Document using the JARV API using Sun's MSV library implementation.
DOMDemo: A simple test program to demonstrate using W3C DOM and JAXP to load a DOM XML tree then converting it to a DOM4J tree.
PrettyPrintDemo: A sample program which uses JAXP to write a dom4j Document to a stream using dom4j's pretty printing output format.
RoundTripDemo: A program demonstrating a round trip from XML to dom4j to text to dom4j again using JAXP to convert the XML.
LinkChecker: A sample program to demonstrate the use of XPath in DOM4J to find all the hypertext links in a source file.
HTMLWriterDemo: A demonstration of the use of HTMLWriter to display XHTML documents to HTML aware browsers.
XPathTool: A simple program that parsers a document and allows XPath expressions to be evaluated on the document.
BeanDemo: A simple test program to demonstrate using simple binding of JavaBeans to inside a DOM4J tree
FilterDemo: A sample program which demonstrates how to use a SAX XMLFilter when parsing an XML document.
PullParserDemo: A sample program that demonstrates using the XML Pull Parser to create a dom4j Document
RoundTripDemo: A simple program demonstrating a round trip from XML to dom4j to text to dom4j again
RoundTripDemo: A simple program demonstrating a round trip from XML to dom4j to DOM to dom4j again
JTidyDemo: A program which uses JTidy to parse some HTML and turn it into a dom4j Document
XSLTNativeDOMDemo: This sample program peforms XSLT on the native DOM implementation of dom4j.
CountDemo: A sample program to count the number of various kinds of DOM4J node types
| Home | Contact Us | Privacy Policy | Terms of Service |