User: Password:
   Keep me logged in.
Register  |  I forgot my password

Login  |  Register

Efficient Java Tools  - Listing Details

ID:224
Title:JXMLPad
Pagerank:4
Short Description:
Listing Thumbnail

JXMLPad is a pure Swing java component/framework for editing XML/XHTML document.

Description:

Features are:

·       JavaBeans usage

·       Syntax coloration (tag, string, entities...)

·       Document Syntax completion (from the current location) for tag and entities using DTD,Schema,RelaxNG

·       Look-and-feel plugIn

·       Customizable action toolbar

·       Customizable coloration for tags, attributes,namespaces

·       Real time Syntax error

·       Template for easy creation

·       Smart parsing (schema detection)

·       Easy to integrate in your application

·       Several standard actions for XML usage (parsing, search, comment...)

·       Standard Swing EditorKit

·       Real time tree/text synchronization and location

·       Auto tag closing

·       Customizable with a property file

·       Sample for JSP/XML editing, applet and standalone usage Unicode

·       Drag and drop (copy and paste nodes)
Compatibility : JDK 1.4 and 1.5

·       JavaBean usage

·       Syntax coloration (tag, string, entities...)

·       Syntax completion on DTD,Schema, RelaxNG

·       Access to your schema/dtd with the classpath or a custom path

·       Smart parsing engine (relative location and detection for schema, DTD)

·       Look-and-feel plugIn with themes

·       Customizable action toolbar

·       Customizable coloration for tags, attributes,namespaces

·       Real time syntax error

·       Real time tree text synchronization location

·       Drag and drop for copying/moving nodes

·       Template for fast creation

·       Easy to integrate in your application

·       Several standard action for XML usage (parsing, format, search, comment...)

·       Standard Swing EditorKit

·       Auto tag closing

·       XML integrity for avoiding invalid XML document

·       Customizable with a property file

·       Intertionalization for labels, tooltips ...

·       Very rich API : Totally customizable

·       JXMLAppKit for multiple editors.

·       Sample for JSP/XML editing, inner frame, applet and standalone usage

 

Usage

JXMLPad is composed of a main container and a set of elements :

1.    The main container : XMLContainer

2.    A default toolbar inside the XMLContainer

3.    A default popup inside the XMLContainer

4.    A default message location and error panel inside the XMLContainer

5.    One editor or two editors inside the XMLContainer : XMLEditor

6.    One tree view always synchronized with the text changes

7.    One element view synchronized with the tree selection

Fast starting

·        Accessibility is a facility for setting/getting a text easily, calling an action... Accessibility is available by calling getAccessibility on the XMLContainer.

·        UIAccessibility is a facility for accessing to inner XMLContainer parts like the tree or a splitpane. User can also update the initial  location of a splitpane, hide the tree or the toolbar...

·        SchemaAccessibility is a facility for updating the default schema or accessing to the current one....

·        DocumentColorAccessibility is a facility for coloring a document part.

Actions

As we begin to see previously, a toolbar is composed of action inheriting mainly from the XMLAction class. An XMLAction is
stored inside an ActionGroup. An ActionGroup is stored itself inside an ActionModel. Each time an editor has focused from the
XMLContainer, all actions from the ActionModel are adapting for working on the good editor by calling setXMLEditor and setXMLContainer. You don't need to override this methods, but rather notifyXMLContainer and notifyXMLEditor. So if you wish to use actions with a tabbed pane system you will have to reset action for each tabbed pane change. If you want to add action for the realtime tree you must inherit from AbstractTreeAction which inherits itself from the XMLAction.

From your the ActionModel you can :

·        Replace existing action by your action

·        Enable/Disable action

·        Retreive an action by its name

·        List available actions

·        Run an action by its name

·        Reset the Action state for working on a particular XMLContainer or XMLEditor

Category:XML
Link Owner:
Date Added:May 05, 2010 07:17:41 PM
Number Hits:2
URL:    http://www.jxmlpad.com/
Ratings
You must be logged in to leave a rating.
Average rating: (0 votes)
Reviews

No Reviews Yet.


You must be logged in to leave a Comment.