xcentric technology & consulting
Oberwiesenstrasse 5
CH - 8057 Zurich
Switzerland
+41 (0)43 255 01 69
JAXFront®
Developer Manual
Java Client-Renderer
V2.61
{*}http://www.jaxfront.com*
info@jaxfront.com
Document description
Author(s) |
M.Leber, S.Portmann |
|
|
|
|
|
|
Version |
2.61 |
|
|
|
|
|
|
Web link |
http://www.jaxfront.com/download/JAXFront-Developer-Manual-V2.pdf |
|
|
|
|
|
|
Classification |
|
not classified |
internal |
confidential |
secret |
||
---|---|---|---|---|---|---|---|
Processing status |
|
draft/in processing |
Ready for acceptance |
definitive version |
Conventions used in this document
Image |
Meaning |
|
Points to an example-syntax in XML. |
|
Points to a code example in Java. |
|
Refers to important information. |
|
Describes a previously presented example.. |
Copyright © 2001 - 2009 xcentric technology & consulting GmbH. All Rights Reserved.
Use of this documentation and related software is governed by a License Agreement. This document does not imply a legal contract. Readers assume responsibility for the use and interpretation of the information contained herein. xcentric technology & consulting GmbH strives to ensure the accuracy of the provided instructions but it does not accept any liability or damages for omissions contained in this manual.
TABLE OF CONTENTS
1 Introduction5
2 Setting Up Environment6
2.1 Basic Installation6
2.2 Directory structure6
2.3 Runtime Environment7
2.3.1 JAXFront license file deployment8
2.3.2 How to integrate/use a plugin in the XUI-Editor9
2.4 Run JAXFront9
2.5 Uninstalling JAXFront9
2.6 Explore JAXFrom Demo Suite10
3 Building a JAXFront DOM11
3.1 The JAXFront Document Object Model (DOM)11
3.1.1 Build a new JAXFront DOM11
3.1.1.1 How to create a JAXFront DOM from a XML Schema (xsd)11
3.1.1.2 How to create a JAXFront DOM from a XML Schema (xsd) based on a specific root node11
3.1.1.3 How to create a JAXFront DOM from a XML Schema (xsd) binded with an existing xml instance file11
3.1.1.4 How to create a JAXFront DOM from a XML Schema (xsd) binded with a W3C DOM11
3.1.1.5 How to create a JAXFront DOM from a XML Schema (xsd) with an existing xui file11
3.1.1.6 How to create a JAXFront DOM from a XML Schema (xsd) binded with an existing xml instance file and an existing xui file12
3.1.1.7 How to bind data of a W3C DOM to an existing JAXFront DOM12
3.1.2 Working with a JAXFront DOM12
3.1.2.1 How to validate a JAXFront DOM against the underlying xsd and defined xui rules12
3.1.2.2 How to validate a JAXFront DOM only against the defined xui rules12
3.1.2.3 How to validate a JAXFront DOM only against the underyling xsd12
3.1.2.4 How to validate a JAXFront DOM only against the underyling xsd12
3.1.2.5 How to get all validation errors of a JAXFront DOM12
3.1.2.6 How to add a new error to the error controller12
3.1.2.7 How to serialize the content of a JAXFront DOM12
3.1.2.8 How to serialize the content of a JAXFront DOM to a W3C Document13
3.1.2.9 How to save the content of a JAXFront DOM into a file13
3.1.2.10 How to set a JAXFront DOM non-editable13
3.1.2.11 How to set another language to a JAXFront DOM13
3.1.2.12 How to get the root node of a JAXFront DOM13
4 Java Swing Integration14
4.1 (1) Build an editor panel15
4.2 (2) Create visualizers (UI factory)15
4.3 (3) Write your own condition17
4.4 (4) Write your own action18
4.5 (5) Write your own function19
4.6 (6) Write your own plugin22
4.6.1 Plugin Reference Implementation23
4.6.2 Use JAXFront within your eclipse plugin24
4.7 (7) Write your own tree popUp menu25
4.8 (8) Using the xpath engine26
4.9 (9) Using the event handling27
4.10 (10) Fire UI actions28
4.11 (11) Implement your own CodeSet29
4.12 (12) Adding an own error30
4.13 Replace system default visualizers with own Implementations 30
4.14 How to manipulate the xml serialization32
5 Performance33
5.1 Disable Global UI definitions33
5.2 Enable alternate xpath implementation34
6 Third party patches34
7 Example Application - TestFrame35
7.1 Getting started35
7.2 Functions36
7.2.1 Examples36
7.2.2 Edit37
7.2.3 Language38
8 Limitations39