Chapter 6: Processing XML with Java
Example
Caption
Filename
6-1
Examples class hides JDBC connection details
Examples.java
6-2
Reading a stream of characters from a CLOB
ReadCLOB.java
6-3
Writing data from a character Reader into a CLOB
WriteCLOB.java
6-4
XMLDoc lists, loads, saves, and deletes XML documents
XMLDoc.java
6-5
Helper class to handle string-based URL's intelligently
URLUtils.java
6-6
Parsing and validating an XML file from a URL
ParseFAQWithValidation.java
6-7
Parsing XML from a string using a StringReader
ParseFromString.java
6-8
XMLHelper class to simplify XML parsing tasks
XMLHelper.java
6-9
Returning the input stream for an xmldoc: URL from a CLOB
XMLDocURLConnection.java
6-10
Testing our new xmldoc: URL handler
TestXMLDocURL.java
6-11
Granting Java2 Security privileges using dbms_java package
grantTestXMLDocUrlPrivs.sql
6-12
Listing URL-related Java security policies in Oracle8i
CheckJavaPrivileges.sql
6-13
Implementing a CLOB-based "file system" inside JServer
XMLDocuments.java
6-14
Dynamically scraping XML data out of existing HTML pages
yahooquotesinxml.xml
6-15
Using JTidy to turn HTML into XML
JTidyConverter.java
6-16
Tidyied version of the Yahoo Quotes HTML page
yahooxmlsnippet.xml
6-17
Servlet to convert Yahoo quotes to XML quotes in real time
YahooXMLQuotesServlet.java
6-18
A year of closing price information for NASDAQ stocks
YearOfNasdaqCloses.xml
6-19
Processing large streams of repeating subdocuments
XMLDocumentSplitter.java
6-20
Excerpt from XML-based web server access log file
AccessLogSmall.xml
6-21
Handling the insert for a single web access log entry
LogEntryInsertHandler.java
6-22
Utility to insert XML-based web server access log file
InsertAccessLog.java
6-23
XPathGrep searches XML files with XPath expressions
XPathGrep.java
6-24
Using an XML file for configuration information
ConnectionFactory.java
6-25
Command-line tool validates XML against XPath rulesets
XPathValidator.java
6-26
Simplified XML tax form
Form1040.xml
6-27
XMLHttp class simplifies posting and getting XML
XMLHttp.java
6-28
Utility to test posting XML newsgrams to a web server
TestXmlHttp.java
6-29
PostXML posts XML to any URL from the command line
PostXML.java
6-30
Receiving, parsing, searching, and manipulating posted XML
XMLUpperCaseStringServlet.java
6-31
Java stored procedure to retrieve and store Web stock quotes
CaptureQuotes.java
6-32
Granting privileges to connect to an external website
grantCaptureYahooQuotes.sql
6-33
XMLQueue class simplifies enqueuing and dequeuing XML
XMLQueue.java
6-34
Utility to test enqueuing and dequeuing messages
AQ.java
6-35
Producing nested XML from a SQL query with XML SQL Utility
CourseAssignments.java
6-36
Output from OracleXMLQuery class
CourseAssignments.xml
6-37
Stylesheet turns ROWSET/ROW into a specific XML vocabulary
Enrollment.xsl
6-38
Course assignments datagram in <enrollment> format
Enrollment.xml
6-39
Programmatically transforming ROWSET/ROW query results
EnrollmentWriter.java
6-40
Class with static methods to publish as stored procedures
Enrollment.java
6-41
Helper class to create and free temporary CLOB
TemporaryCLOB.java