Inside the JBuilder OpenTools API
Appendix D - XMLTools OpenTool

Previous   Listings

The XMLTools example works with a couple of the JBuilder OpenTools APIs. It adds items to the menus in the Project and Editor Panes that let you validate an XML document, open its external DTD or XML Schema files, or open its XSL stylesheet. The tool also adds a new viewer for XML documents to apply XSLT stylesheets to them. To keep track of which XML validation and XSL transformation engines to use, the tool makes use of global properties.

Zipped Files

XMLTools.jpx   The project file for this tool
XMLTools.html Project notes
classes.opentools The OpenTools manifest
XMLTools.java Common routines used by the other classes
XMLToolsPropertyGroup.java The property group for the XML global properties
XMLToolsPropertyPage.java The custom page for editing the properties grouped above
XMLToolsMenuGroup.java The ActionGroup for the various XML-based menu items
XMLValidateMenu.java The Validate XML popup menu item
XMLOpenFileMenu.java A base class for the file-open popup menu items
XMLOpenDTDMenu.java The Open DTD/Schema popup menu item
XMLOpenStylesheetMenu.java The Open Stylesheet popup menu item
XMLValidator.java An interface for interacting with an XML validation engine
XMLJaxpValidator.java An implementation of XMLValidator for JAXP
XMLXerces2Validator.java An implementation of XMLValidator for Xerces v2
XSLTransformer.java An interface for interacting with an XSL transformation engine
XSLXalan22Transformer.java An implementation of XSLTransformer for Xalan v1.0
XSLSaxon551Transformer.java An implementation of XSLTransformer for SAXON v5.5.1
XSLSaxon653Transformer.java An implementation of XSLTransformer for SAXON v6.5.3
XSLViewerFactory.java A factory to create node viewers for applying XSL to XML documents
XSLNodeViewer.java The actual XSLT viewer
XSLViewer.java The UI for the XSLT viewer
*.html The files that make up the documentation
XMLTools.jar The packaged tool
XMLToolsDoc.jar The packaged documentation
Inside the JBuilder OpenTools API 2004, Keith Wood Previous   Listings