From: Norman Walsh Date: Fri, 26 May 2006 18:44:05 +0000 (+0000) Subject: Completely reworked extensions build system; now uses NetBeans and ant X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec524ecda059cefd27075e161e9d0fbd29ac51a4;p=docbook-dsssl Completely reworked extensions build system; now uses NetBeans and ant --- diff --git a/xsl/extensions/.cvsignore b/xsl/extensions/.cvsignore deleted file mode 100644 index ac3f8e40b..000000000 --- a/xsl/extensions/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -doc -*.jar -build -build2 diff --git a/xsl/extensions/Makefile b/xsl/extensions/Makefile index 1e2443f26..85f179a20 100644 --- a/xsl/extensions/Makefile +++ b/xsl/extensions/Makefile @@ -3,32 +3,21 @@ ANT_OPTS = all: jars -jars: saxon643.jar xalan25.jar xalan27.jar +jars: saxon65.jar xalan2.jar xalan27.jar -saxon643.jar: build/lib/docbook-xsl-saxon.jar - cp build/lib/docbook-xsl-saxon.jar saxon643.jar - cp saxon643.jar saxon644.jar - cp saxon643.jar saxon65.jar - cp saxon643.jar saxon651.jar - cp saxon643.jar saxon652.jar - cp saxon643.jar saxon653.jar +saxon65.jar: $(wildcard saxon65/src/com/nwalsh/saxon/*.java) + cd saxon65 && $(ANT) jar + cp saxon65/dist/saxon65.jar . -xalan25.jar: build/lib/docbook-xsl-xalan.jar - cp build/lib/docbook-xsl-xalan.jar xalan25.jar +xalan2.jar: $(wildcard xalan2/src/com/nwalsh/xalan/*.java) + cd xalan2 && $(ANT) jar + cp xalan2/dist/xalan2.jar . -xalan27.jar: build2/lib/docbook-xsl-xalan27.jar - cp build2/lib/docbook-xsl-xalan27.jar xalan27.jar - -build/lib/docbook-xsl-saxon.jar: - $(ANT) jar.saxon - -build/lib/docbook-xsl-xalan.jar: - CLASSPATH=/usr/share/java/xalan25.jar:$$CLASSPATH \ - $(ANT) jar.xalan - -build2/lib/docbook-xsl-xalan27.jar: - $(ANT) jar.xalan27 +xalan27.jar: $(wildcard xalan27/src/com/nwalsh/xalan/*.java) + cd xalan27 && $(ANT) jar + cp xalan27/dist/xalan27.jar . clean: - $(ANT) clean + cd saxon65 && $(ANT) clean + cd xalan27 && $(ANT) clean $(RM) *.jar diff --git a/xsl/extensions/build.xml b/xsl/extensions/build.xml deleted file mode 100644 index 12bf450e0..000000000 --- a/xsl/extensions/build.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/extensions/prj.el b/xsl/extensions/prj.el deleted file mode 100644 index 2174d3e36..000000000 --- a/xsl/extensions/prj.el +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - -(jde-set-project-name "xalan") -(jde-set-variables - '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws -RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n -\"}\"'>'n '>'n'>"))) - '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>"))) - '(jde-which-method-format (quote ("[" jde-which-method-current "]"))) - '(jde-run-classic-mode-vm nil) - '(jde-javadoc-gen-nodeprecatedlist nil) - '(jde-which-method-max-length 20) - '(jde-imenu-include-classdef t) - '(jde-javadoc-gen-link-online nil) - '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean)))) - '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")"))) - '(jde-make-args "") - '(jde-javadoc-gen-destination-directory "JavaDoc") - '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-"))) - '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while")))) - '(jde-imenu-enable t) - '(jde-compile-option-verbose nil) - '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-bug-debugger-host-address "localhost" t) - '(jde-make-working-directory "") - '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow"))) - '(jde-javadoc-gen-use nil) - '(jde-gen-buffer-boilerplate nil) - '(jde-bug-raise-frame-p t) - '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t) - '(jde-javadoc-gen-nonavbar nil) - '(jde-javadoc-gen-nohelp nil) - '(jde-bug-vm-includes-jpda-p nil) - '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-bug-key-bindings (quote (("[? ? ?]" . jde-bug-step-over) ("[? ? ?]" . jde-bug-step-into) ("[? ? ?]" . jde-bug-step-into-all) ("[? ? ?]" . jde-bug-step-out) ("[? ? ?]" . jde-bug-continue) ("[? ? ?]" . jde-bug-toggle-breakpoint)))) - '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache))) - '(jde-compile-option-nowarn nil) - '(jde-setnu-mode-threshold 20000) - '(jde-run-java-vm-w "javaw") - '(jde-compile-option-encoding nil) - '(jde-run-option-java-profile (quote (nil . "./java.prof"))) - '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t) - '(jde-read-compile-args nil) - '(jde-run-java-vm "java") - '(jde-db-option-verbose (quote (nil nil nil))) - '(jde-which-method-class-min-length 4) - '(jde-db-read-app-args nil) - '(jde-javadoc-gen-nodeprecated nil) - '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>"))) - '(jde-enable-abbrev-mode nil) - '(jde-auto-parse-max-buffer-size 50000) - '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")"))) - '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"") - '(jde-global-classpath nil t) - '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>"))) - '(jde-run-working-directory "/share/xsl/docbook/extensions" t) - '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return trueif there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>"))) - '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"") - '(jde-imenu-include-signature t) - '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),") - '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-key-bindings (quote (("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" . jde-build) ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug) ("[? ? ?]" . jde-wiz-implement-interface) ("[? ? ?j]" . jde-javadoc-generate-javadoc-template) ("[? ? ? ]" . bsh) ("[? ? ? ]" . jde-gen-println) ("[? ? ?]" . jde-browse-jdk-doc) ("[? ? ?]" . jde-save-project) ("[? ? ?]" . jde-wiz-update-class-list) ("[? ? ?]" . jde-run) ("[? ? ?]" . speedbar-frame-mode) ("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]" . jde-help-symbol) ("[? ? ?]" . jde-show-class-source) ("[? ? ?]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point)))) - '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")"))) - '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-javadoc-gen-detail-switch (quote ("-protected"))) - '(jde-bug-sio-connect-delay 1) - '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-compile-option-verbose-path nil) - '(jde-javadoc-display-doc t) - '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37)))) - '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t) - '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html") - '(jde-gen-cflow-enable t) - '(jde-compiler "javac") - '(jde-javadoc-gen-verbose nil) - '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"") - '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-javadoc-checker-level (quote protected)) - '(jde-appletviewer-option-vm-args nil) - '(jde-run-executable-args nil) - '(jde-db-option-garbage-collection (quote (t t))) - '(jde-javadoc-gen-stylesheetfile "") - '(jde-use-font-lock t) - '(jde-compile-option-bootclasspath nil) - '(jde-make-program "make") - '(jde-javadoc-gen-group nil) - '(jde-javadoc-gen-link-offline nil) - '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer))) - '(jde-javadoc-gen-doc-title "") - '(jde-javadoc-gen-header "") - '(jde-run-option-vm-args nil) - '(jde-javadoc-gen-window-title "") - '(jde-compile-option-directory "" t) - '(jde-imenu-create-index-function (quote semantic-create-imenu-index)) - '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-read-make-args nil) - '(jde-javadoc-gen-noindex nil) - '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t) - '(jde-bug-vm-executable (quote ("java"))) - '(jde-db-set-initial-breakpoint t) - '(jde-bug-debugger-command-timeout 10) - '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-db-option-properties nil t) - '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t) - '(jde-run-read-app-args nil) - '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>"))) - '(jde-quote-classpath t) - '(jde-bug-window-message nil) - '(jde-build-use-make nil) - '(jde-javadoc-author-tag-template "\"* @author \" user-full-name \"\"") - '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers) - \" \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-link-URL nil) - '(jde-compile-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t) - '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate)) - '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>"))) - '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"") - '(jde-bug-server-shmem-name (quote (t . "JDEbug"))) - '(jde-db-startup-commands nil) - '(jde-javadoc-gen-docletpath nil) - '(jde-javadoc-gen-split-index nil) - '(jde-compile-option-deprecation nil t) - '(jde-import-group-of-rules (quote (("^javax?\\.")))) - '(jde-which-method-mode t) - '(jde-gen-k&r t) - '(jde-javadoc-gen-bottom "") - '(jde-javadoc-gen-footer "") - '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-run-mode-hook nil) - '(jde-db-option-verify (quote (nil t))) - '(jde-compile-option-extdirs nil) - '(jde-imenu-sort nil) - '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>"))) - '(jde-bug-saved-breakpoints nil) - '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t) - '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-db-option-java-profile (quote (nil . "./java.prof"))) - '(jde-javadoc-gen-author t) - '(jde-compile-option-depend-switch (quote ("-Xdepend"))) - '(jde-setnu-mode-enable nil) - '(jde-run-applet-doc "") - '(jde-compile-option-vm-args nil) - '(jde-javadoc-gen-overview "") - '(jde-javadoc-gen-notree nil) - '(jde-run-option-garbage-collection (quote (t t))) - '(jde-db-mode-hook nil) - '(jde-javadoc-command-path "javadoc") - '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-import-group-function (quote jde-import-group-of)) - '(jde-db-read-vm-args nil) - '(jde-bug-debug nil) - '(jde-javadoc-end-block-template nil) - '(jde-javadoc-gen-packages nil) - '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")"))) - '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-bug-server-socket (quote (t . "2112"))) - '(jde-imenu-include-modifiers nil) - '(jde-appletviewer-option-encoding "") - '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown"))) - '(jde-compile-option-target (quote ("1.1"))) - '(jde-run-executable "") - '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-which-method-abbrev-symbol "~") - '(jde-db-option-vm-args nil) - '(jde-run-application-class "org.apache.xalan.xslt.Process" t) - '(jde-javadoc-gen-doclet "") - '(jde-import-auto-sort nil) - '(jde-run-option-verbose (quote (nil nil nil))) - '(jde-project-file-name "prj.el") - '(jde-compile-option-debug (quote ("selected" (t nil nil))) t) - '(jde-bug-jre-home "") - '(jde-import-sorted-groups nil) - '(jde-run-applet-viewer "") - '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-javadoc-gen-version t) - '(jde-javadoc-gen-helpfile "") - '(jde-import-excluded-packages (quote ("bsh.*"))) - '(jde-run-read-vm-args nil) - '(jde-help-docsets nil) - '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>"))) - '(jde-auto-parse-buffer-interval 180) - '(jde-run-option-verify (quote (nil t))) - '(jde-import-reverse-sort-group nil) - '(jde-compile-option-optimize nil) - '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")"))) - '(jde-compile-option-depend nil) - '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-serialwarn nil) - '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>"))) - '(jde-auto-parse-enable t) - '(jde-compile-option-command-line-args "") - '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app)))) - '(jde-project-context-switching-enabled-p t) - '(jde-javadoc-gen-args nil) - '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-run-option-properties nil t)) - - diff --git a/xsl/extensions/saxon643/.cvsignore b/xsl/extensions/saxon643/.cvsignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/xsl/extensions/saxon643/prj.el b/xsl/extensions/saxon643/prj.el deleted file mode 100644 index 0aeb9a84f..000000000 --- a/xsl/extensions/saxon643/prj.el +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - -(jde-set-project-name "saxon") -(jde-set-variables - '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws -RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n -\"}\"'>'n '>'n'>"))) - '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>"))) - '(jde-which-method-format (quote ("[" jde-which-method-current "]"))) - '(jde-run-classic-mode-vm nil) - '(jde-javadoc-gen-nodeprecatedlist nil) - '(jde-which-method-max-length 20) - '(jde-imenu-include-classdef t) - '(jde-javadoc-gen-link-online nil) - '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean)))) - '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")"))) - '(jde-make-args "") - '(jde-javadoc-gen-destination-directory "JavaDoc") - '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-"))) - '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while")))) - '(jde-imenu-enable t) - '(jde-compile-option-verbose nil) - '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-bug-debugger-host-address "localhost" t) - '(jde-make-working-directory "") - '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow"))) - '(jde-javadoc-gen-use nil) - '(jde-gen-buffer-boilerplate nil) - '(jde-bug-raise-frame-p t) - '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t) - '(jde-javadoc-gen-nonavbar nil) - '(jde-javadoc-gen-nohelp nil) - '(jde-bug-vm-includes-jpda-p nil) - '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-bug-key-bindings (quote (("[? ? ?]" . jde-bug-step-over) ("[? ? ?]" . jde-bug-step-into) ("[? ? ?]" . jde-bug-step-into-all) ("[? ? ?]" . jde-bug-step-out) ("[? ? ?]" . jde-bug-continue) ("[? ? ?]" . jde-bug-toggle-breakpoint)))) - '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache))) - '(jde-compile-option-nowarn nil) - '(jde-setnu-mode-threshold 20000) - '(jde-run-java-vm-w "javaw") - '(jde-compile-option-encoding nil) - '(jde-run-option-java-profile (quote (nil . "./java.prof"))) - '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t) - '(jde-read-compile-args nil) - '(jde-run-java-vm "java") - '(jde-db-option-verbose (quote (nil nil nil))) - '(jde-which-method-class-min-length 4) - '(jde-db-read-app-args nil) - '(jde-javadoc-gen-nodeprecated nil) - '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>"))) - '(jde-enable-abbrev-mode nil) - '(jde-auto-parse-max-buffer-size 50000) - '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")"))) - '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"") - '(jde-global-classpath nil t) - '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>"))) - '(jde-run-working-directory "/share/xsl/docbook/extensions" t) - '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return trueif there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>"))) - '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"") - '(jde-imenu-include-signature t) - '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),") - '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-key-bindings (quote (("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" . jde-build) ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug) ("[? ? ?]" . jde-wiz-implement-interface) ("[? ? ?j]" . jde-javadoc-generate-javadoc-template) ("[? ? ? ]" . bsh) ("[? ? ? ]" . jde-gen-println) ("[? ? ?]" . jde-browse-jdk-doc) ("[? ? ?]" . jde-save-project) ("[? ? ?]" . jde-wiz-update-class-list) ("[? ? ?]" . jde-run) ("[? ? ?]" . speedbar-frame-mode) ("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]" . jde-help-symbol) ("[? ? ?]" . jde-show-class-source) ("[? ? ?]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point)))) - '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")"))) - '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-javadoc-gen-detail-switch (quote ("-protected"))) - '(jde-bug-sio-connect-delay 1) - '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-compile-option-verbose-path nil) - '(jde-javadoc-display-doc t) - '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37)))) - '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t) - '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html") - '(jde-gen-cflow-enable t) - '(jde-compiler "javac") - '(jde-javadoc-gen-verbose nil) - '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"") - '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-javadoc-checker-level (quote protected)) - '(jde-appletviewer-option-vm-args nil) - '(jde-run-executable-args nil) - '(jde-db-option-garbage-collection (quote (t t))) - '(jde-javadoc-gen-stylesheetfile "") - '(jde-use-font-lock t) - '(jde-compile-option-bootclasspath nil) - '(jde-make-program "make") - '(jde-javadoc-gen-group nil) - '(jde-javadoc-gen-link-offline nil) - '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer))) - '(jde-javadoc-gen-doc-title "") - '(jde-javadoc-gen-header "") - '(jde-run-option-vm-args nil) - '(jde-javadoc-gen-window-title "") - '(jde-compile-option-directory "/sourceforge/docbook/xsl/extensions/saxon64/.classes" t) - '(jde-imenu-create-index-function (quote semantic-create-imenu-index)) - '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-read-make-args nil) - '(jde-javadoc-gen-noindex nil) - '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t) - '(jde-bug-vm-executable (quote ("java"))) - '(jde-db-set-initial-breakpoint t) - '(jde-bug-debugger-command-timeout 10) - '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-db-option-properties nil t) - '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t) - '(jde-run-read-app-args nil) - '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>"))) - '(jde-quote-classpath t) - '(jde-bug-window-message nil) - '(jde-build-use-make nil) - '(jde-javadoc-author-tag-template "\"* @author \" user-full-name \"\"") - '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers) - \" \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-link-URL nil) - '(jde-compile-option-classpath (quote ("/sourceforge/docbook/xsl/extensions/saxon64/.classes" "/usr/local/java/saxon-6.4.3/saxon.jar" "/usr/local/jaxp-1.1/jaxp.jar" "/usr/local/jaxp-1.1/crimson.jar")) t) - '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t) - '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate)) - '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>"))) - '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"") - '(jde-bug-server-shmem-name (quote (t . "JDEbug"))) - '(jde-db-startup-commands nil) - '(jde-javadoc-gen-docletpath nil) - '(jde-javadoc-gen-split-index nil) - '(jde-compile-option-deprecation nil t) - '(jde-import-group-of-rules (quote (("^javax?\\.")))) - '(jde-which-method-mode t) - '(jde-gen-k&r t) - '(jde-javadoc-gen-bottom "") - '(jde-javadoc-gen-footer "") - '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-run-mode-hook nil) - '(jde-db-option-verify (quote (nil t))) - '(jde-compile-option-extdirs nil) - '(jde-imenu-sort nil) - '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>"))) - '(jde-bug-saved-breakpoints nil) - '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t) - '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-db-option-java-profile (quote (nil . "./java.prof"))) - '(jde-javadoc-gen-author t) - '(jde-compile-option-depend-switch (quote ("-Xdepend"))) - '(jde-setnu-mode-enable nil) - '(jde-run-applet-doc "") - '(jde-compile-option-vm-args nil) - '(jde-javadoc-gen-overview "") - '(jde-javadoc-gen-notree nil) - '(jde-run-option-garbage-collection (quote (t t))) - '(jde-db-mode-hook nil) - '(jde-javadoc-command-path "javadoc") - '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-import-group-function (quote jde-import-group-of)) - '(jde-db-read-vm-args nil) - '(jde-bug-debug nil) - '(jde-javadoc-end-block-template nil) - '(jde-javadoc-gen-packages nil) - '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")"))) - '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-bug-server-socket (quote (t . "2112"))) - '(jde-imenu-include-modifiers nil) - '(jde-appletviewer-option-encoding "") - '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown"))) - '(jde-compile-option-target (quote ("1.1"))) - '(jde-run-executable "") - '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-which-method-abbrev-symbol "~") - '(jde-db-option-vm-args nil) - '(jde-run-application-class "org.apache.xalan.xslt.Process" t) - '(jde-javadoc-gen-doclet "") - '(jde-import-auto-sort nil) - '(jde-run-option-verbose (quote (nil nil nil))) - '(jde-project-file-name "prj.el") - '(jde-compile-option-debug (quote ("selected" (t nil nil))) t) - '(jde-bug-jre-home "") - '(jde-import-sorted-groups nil) - '(jde-run-applet-viewer "") - '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-javadoc-gen-version t) - '(jde-javadoc-gen-helpfile "") - '(jde-import-excluded-packages (quote ("bsh.*"))) - '(jde-run-read-vm-args nil) - '(jde-help-docsets nil) - '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>"))) - '(jde-auto-parse-buffer-interval 180) - '(jde-run-option-verify (quote (nil t))) - '(jde-import-reverse-sort-group nil) - '(jde-compile-option-optimize nil) - '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")"))) - '(jde-compile-option-depend nil) - '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-serialwarn nil) - '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>"))) - '(jde-auto-parse-enable t) - '(jde-compile-option-command-line-args "") - '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app)))) - '(jde-project-context-switching-enabled-p t) - '(jde-javadoc-gen-args nil) - '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-run-option-properties nil t)) - - diff --git a/xsl/extensions/saxon65/build.xml b/xsl/extensions/saxon65/build.xml new file mode 100644 index 000000000..8c065fa15 --- /dev/null +++ b/xsl/extensions/saxon65/build.xml @@ -0,0 +1,69 @@ + + + + + + Builds, tests, and runs the project saxon65. + + + diff --git a/xsl/extensions/saxon65/nbproject/build-impl.xml b/xsl/extensions/saxon65/nbproject/build-impl.xml new file mode 100644 index 000000000..9624598ec --- /dev/null +++ b/xsl/extensions/saxon65/nbproject/build-impl.xml @@ -0,0 +1,574 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set platform.home + Must set platform.bootcp + Must set platform.java + Must set platform.javac + Platform is not correctly set up + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + + + + + + ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + ${platform.java} -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + diff --git a/xsl/extensions/saxon65/nbproject/genfiles.properties b/xsl/extensions/saxon65/nbproject/genfiles.properties new file mode 100644 index 000000000..f20b70278 --- /dev/null +++ b/xsl/extensions/saxon65/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=8e458dcb +build.xml.script.CRC32=c0233ac0 +build.xml.stylesheet.CRC32=d5b6853a +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=8e458dcb +nbproject/build-impl.xml.script.CRC32=39e8d752 +nbproject/build-impl.xml.stylesheet.CRC32=99b91518 diff --git a/xsl/extensions/saxon65/nbproject/project.properties b/xsl/extensions/saxon65/nbproject/project.properties new file mode 100644 index 000000000..a0924a400 --- /dev/null +++ b/xsl/extensions/saxon65/nbproject/project.properties @@ -0,0 +1,56 @@ +application.args= +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/saxon65.jar +dist.javadoc.dir=${dist.dir}/javadoc +file.reference.saxon.jar=../../../../../usr/local/java/saxon6/saxon.jar +jar.compress=false +javac.classpath=\ + ${file.reference.saxon.jar} +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.source=1.4 +javac.target=1.4 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir}:\ + ${libs.junit.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding= +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +meta.inf.dir=${src.dir}/META-INF +platform.active=Java_HotSpot_TM__Client_VM_1.4.2_11-b06 +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value +# or test-sys-prop.name=value to set system properties for unit tests): +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +src.dir=src +test.src.dir=test diff --git a/xsl/extensions/saxon65/nbproject/project.xml b/xsl/extensions/saxon65/nbproject/project.xml new file mode 100644 index 000000000..3f4c7e7f4 --- /dev/null +++ b/xsl/extensions/saxon65/nbproject/project.xml @@ -0,0 +1,17 @@ + + + org.netbeans.modules.java.j2seproject + + + saxon65 + 1.6.5 + + + + + + + + + + diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/CVS.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/CVS.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/Callout.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/Callout.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/Callout.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/Callout.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/CalloutEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/CalloutEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/CalloutEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/CalloutEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/ColumnScanEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/ColumnScanEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/ColumnScanEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/ColumnScanEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/ColumnUpdateEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/ColumnUpdateEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/ColumnUpdateEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/ColumnUpdateEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/CopyEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/CopyEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/CopyEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/CopyEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/FormatCallout.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatCallout.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/FormatCallout.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatCallout.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/FormatGraphicCallout.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/FormatGraphicCallout.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/FormatTextCallout.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatTextCallout.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/FormatTextCallout.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatTextCallout.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/FormatUnicodeCallout.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatUnicodeCallout.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/FormatUnicodeCallout.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatUnicodeCallout.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/ImageIntrinsics.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/ImageIntrinsics.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/LineCountEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/LineCountEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/LineCountEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/LineCountEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/NumberLinesEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/NumberLinesEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/Table.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/Table.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/Table.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/Table.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/Text.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/Text.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/Text.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/Text.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/TextFactory.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/TextFactory.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/TextFactory.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/TextFactory.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/UnwrapLinks.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/UnwrapLinks.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/UnwrapLinks.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/UnwrapLinks.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/UnwrapLinksEmitter.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/UnwrapLinksEmitter.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/UnwrapLinksEmitter.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/UnwrapLinksEmitter.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/Verbatim.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/Verbatim.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/Verbatim.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/Verbatim.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/Windows1252.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/Windows1252.java similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/Windows1252.java rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/Windows1252.java diff --git a/xsl/extensions/saxon643/com/nwalsh/saxon/package.html b/xsl/extensions/saxon65/src/com/nwalsh/saxon/package.html similarity index 100% rename from xsl/extensions/saxon643/com/nwalsh/saxon/package.html rename to xsl/extensions/saxon65/src/com/nwalsh/saxon/package.html diff --git a/xsl/extensions/saxon8/.classes/Makefile b/xsl/extensions/saxon8/.classes/Makefile deleted file mode 100644 index e19e7275c..000000000 --- a/xsl/extensions/saxon8/.classes/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -SOURCEPATH=.. -VPATH=$(SOURCEPATH)/ -CLASSBASE=$(SOURCEPATH)/.classes -SUBDIRS=__PHONY__ com - -include Makefile.incl -include ../.classes/Makefile.common - diff --git a/xsl/extensions/saxon8/.classes/Makefile.common b/xsl/extensions/saxon8/.classes/Makefile.common deleted file mode 100644 index f36de6397..000000000 --- a/xsl/extensions/saxon8/.classes/Makefile.common +++ /dev/null @@ -1,38 +0,0 @@ -CLASSPATH=$(CLASSBASE):/usr/local/java/saxonb-8/saxon8.jar - -all: $(CLASSFILES) - -@for f in $(SUBDIRS); do \ - if [ "$$f" != "__PHONY__" ]; then \ - cd $$f; make all; cd ..; \ - fi \ - done - -clean: - rm -f *.class - -@for f in $(SUBDIRS); do \ - if [ "$$f" != "__PHONY__" ]; then \ - cd $$f; make clean; cd ..; \ - fi \ - done - -jar: all - jar cf ../../saxon8.jar `find com -name "*.class" -print` - -%.class : %.java - javac -classpath $(CLASSPATH) \ - -sourcepath $(SOURCEPATH) \ - -g -d $(CLASSBASE) \ - $< - -includes: - classlist $(VPATH) > Makefile.incl - -@for f in $(SUBDIRS); do \ - if [ "$$f" != "__PHONY__" ]; then \ - if [ -d "$$f" -a -f "$$f/Makefile" ]; then \ - cd $$f; make includes; cd ..; \ - else if [ ! -d "$$f" ]; then \ - mkdir $$f; \ - fi; \ - fi; \ - fi; \ - done diff --git a/xsl/extensions/saxon8/.classes/Makefile.incl b/xsl/extensions/saxon8/.classes/Makefile.incl deleted file mode 100644 index db567cb78..000000000 --- a/xsl/extensions/saxon8/.classes/Makefile.incl +++ /dev/null @@ -1 +0,0 @@ -CLASSFILES= diff --git a/xsl/extensions/saxon8/.classes/com/Makefile b/xsl/extensions/saxon8/.classes/com/Makefile deleted file mode 100644 index ce49ec1f0..000000000 --- a/xsl/extensions/saxon8/.classes/com/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -SOURCEPATH=../.. -VPATH=$(SOURCEPATH)/com -CLASSBASE=$(SOURCEPATH)/.classes -SUBDIRS=__PHONY__ nwalsh - -include Makefile.incl -include ../../.classes/Makefile.common - diff --git a/xsl/extensions/saxon8/.classes/com/Makefile.incl b/xsl/extensions/saxon8/.classes/com/Makefile.incl deleted file mode 100644 index db567cb78..000000000 --- a/xsl/extensions/saxon8/.classes/com/Makefile.incl +++ /dev/null @@ -1 +0,0 @@ -CLASSFILES= diff --git a/xsl/extensions/saxon8/.classes/com/nwalsh/Makefile b/xsl/extensions/saxon8/.classes/com/nwalsh/Makefile deleted file mode 100644 index 617fc1d3b..000000000 --- a/xsl/extensions/saxon8/.classes/com/nwalsh/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -SOURCEPATH=../../.. -VPATH=$(SOURCEPATH)/com/nwalsh -CLASSBASE=$(SOURCEPATH)/.classes -SUBDIRS=__PHONY__ saxon8 - -include Makefile.incl -include ../../../.classes/Makefile.common - diff --git a/xsl/extensions/saxon8/.classes/com/nwalsh/Makefile.incl b/xsl/extensions/saxon8/.classes/com/nwalsh/Makefile.incl deleted file mode 100644 index db567cb78..000000000 --- a/xsl/extensions/saxon8/.classes/com/nwalsh/Makefile.incl +++ /dev/null @@ -1 +0,0 @@ -CLASSFILES= diff --git a/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/.cvsignore b/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/.cvsignore deleted file mode 100644 index 6b468b62a..000000000 --- a/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -*.class diff --git a/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/Makefile b/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/Makefile deleted file mode 100644 index 559e6672c..000000000 --- a/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -SOURCEPATH=../../../.. -VPATH=$(SOURCEPATH)/com/nwalsh/saxon8 -CLASSBASE=$(SOURCEPATH)/.classes -SUBDIRS=__PHONY__ - -include Makefile.incl -include ../../../../.classes/Makefile.common - diff --git a/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/Makefile.incl b/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/Makefile.incl deleted file mode 100644 index e5cc2d34f..000000000 --- a/xsl/extensions/saxon8/.classes/com/nwalsh/saxon8/Makefile.incl +++ /dev/null @@ -1,6 +0,0 @@ -CLASSFILES=Callout.class \ -ImageIntrinsics.class \ -Text.class \ -TextFactory.class \ -Verbatim.class - diff --git a/xsl/extensions/saxon8/com/nwalsh/saxon8/Callout.java b/xsl/extensions/saxon8/com/nwalsh/saxon8/Callout.java deleted file mode 100644 index 893cad522..000000000 --- a/xsl/extensions/saxon8/com/nwalsh/saxon8/Callout.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.nwalsh.saxon8; - -import net.sf.saxon.om.NodeInfo; - -/** - *

A class for maintaining information about callouts.

- * - *

To make processing callouts easier, they are parsed out of the - * input structure and stored in a sorted array. (The array is sorted - * according to the order in which the callouts occur.)

- * - *

This class is just the little record - * that we store in the array for each callout.

- */ -public class Callout implements Comparable { - /** The callout number. */ - private int callout = 0; - /** The area Element item that generated this callout. */ - private NodeInfo area = null; - /** The line on which this callout occurs. */ - private int line = 0; - /** The column in which this callout appears. */ - private int col = 0; - - /** The constructor; initialize the private data structures. */ - public Callout(int callout, NodeInfo area, int line, int col) { - this.callout = callout; - this.area = area; - this.line = line; - this.col = col; - } - - /** - *

The compareTo method compares this Callout with another.

- * - *

Given two Callouts, A and B, A < B if:

- * - *
    - *
  1. A.line < B.line, or
  2. - *
  3. A.line = B.line && A.col < B.col, or
  4. - *
  5. A.line = B.line && A.col = B.col && A.callout < B.callout
  6. - *
  7. Otherwise, they're equal.
  8. - *
- */ - public int compareTo (Object o) { - Callout c = (Callout) o; - - if (line == c.getLine()) { - if (col > c.getColumn()) { - return 1; - } else if (col < c.getColumn()) { - return -1; - } else { - if (callout < c.getCallout()) { - return -1; - } else if (callout > c.getCallout()) { - return 1; - } else { - return 0; - } - } - } else { - if (line > c.getLine()) { - return 1; - } else { - return -1; - } - } - } - - /** Access the Callout's area. */ - public NodeInfo getArea() { - return area; - } - - /** Access the Callout's line. */ - public int getLine() { - return line; - } - - /** Access the Callout's column. */ - public int getColumn() { - return col; - } - - /** Access the Callout's callout number. */ - public int getCallout() { - return callout; - } -} diff --git a/xsl/extensions/saxon8/com/nwalsh/saxon8/ImageIntrinsics.java b/xsl/extensions/saxon8/com/nwalsh/saxon8/ImageIntrinsics.java deleted file mode 100644 index b2543b19a..000000000 --- a/xsl/extensions/saxon8/com/nwalsh/saxon8/ImageIntrinsics.java +++ /dev/null @@ -1,160 +0,0 @@ -package com.nwalsh.saxon8; - -import java.io.*; -import java.awt.*; -import java.awt.image.*; -import java.lang.Thread; -import java.util.StringTokenizer; - -/** - *

Saxon extension to examine intrinsic size of images

- * - *

$Id$

- * - *

Copyright (C) 2002 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension to find the intrinsic size of images.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id$ - * - */ -public class ImageIntrinsics implements ImageObserver { - boolean imageLoaded = false; - boolean imageFailed = false; - Image image = null; - int width = -1; - int depth = -1; - - /** - *

Constructor for ImageIntrinsics

- */ - public ImageIntrinsics(String imageFn) { - System.setProperty("java.awt.headless","true"); - image = Toolkit.getDefaultToolkit().getImage (imageFn); - width = image.getWidth(this); - - while (!imageFailed && (width == -1 || depth == -1)) { - try { - java.lang.Thread.currentThread().sleep(50); - } catch (Exception e) { - // nop; - } - width = image.getWidth(this); - depth = image.getHeight(this); - } - - if (imageFailed) { - // Maybe it's an EPS or PDF? - // FIXME: this code is crude - BufferedReader ir = null; - String line = null; - int lineLimit = 100; - - try { - ir = new BufferedReader(new FileReader(new File(imageFn))); - line = ir.readLine(); - - if (line != null && line.startsWith("%PDF-")) { - // We've got a PDF! - while (lineLimit > 0 && line != null) { - lineLimit--; - if (line.startsWith("/CropBox [")) { - line = line.substring(10); - if (line.indexOf("]") >= 0) { - line = line.substring(0, line.indexOf("]")); - } - parseBox(line); - lineLimit = 0; - } - line = ir.readLine(); - } - } else if (line != null && line.startsWith("%!") && line.indexOf(" EPSF-") > 0) { - // We've got an EPS! - while (lineLimit > 0 && line != null) { - lineLimit--; - if (line.startsWith("%%BoundingBox: ")) { - line = line.substring(15); - parseBox(line); - lineLimit = 0; - } - line = ir.readLine(); - } - } else { - System.err.println("Failed to interpret image: " + imageFn); - } - } catch (Exception e) { - // nop; - } - - if (ir != null) { - try { - ir.close(); - } catch (Exception e) { - // nop; - } - } - } - } - - public int getWidth(int defaultWidth) { - if (width >= 0) { - return width; - } else { - return defaultWidth; - } - } - - public int getDepth(int defaultDepth) { - if (depth >= 0) { - return depth; - } else { - return defaultDepth; - } - } - - private void parseBox(String line) { - int [] corners = new int [4]; - int count = 0; - - StringTokenizer st = new StringTokenizer(line); - while (count < 4 && st.hasMoreTokens()) { - try { - corners[count++] = Integer.parseInt(st.nextToken()); - } catch (Exception e) { - // nop; - } - } - - width = corners[2] - corners[0]; - depth = corners[3] - corners[1]; - } - - public boolean imageUpdate(Image img, int infoflags, - int x, int y, int width, int height) { - if ((infoflags & ImageObserver.ERROR) == ImageObserver.ERROR) { - imageFailed = true; - return false; - } - - // I really only care about the width and height, but if I return false as - // soon as those are available, the BufferedInputStream behind the loader - // gets closed too early. - int flags = ImageObserver.ALLBITS; - if ((infoflags & flags) == flags) { - return false; - } else { - return true; - } - } -} diff --git a/xsl/extensions/saxon8/com/nwalsh/saxon8/Text.java b/xsl/extensions/saxon8/com/nwalsh/saxon8/Text.java deleted file mode 100644 index 1ff2ca175..000000000 --- a/xsl/extensions/saxon8/com/nwalsh/saxon8/Text.java +++ /dev/null @@ -1,249 +0,0 @@ -// Text - Saxon extension element for inserting text - -package com.nwalsh.saxon8; - -import java.io.BufferedReader; -import java.io.InputStreamReader; -import java.io.InputStream; -import java.io.IOException; -import java.io.FileNotFoundException; -import java.net.URL; -import java.net.MalformedURLException; - -import javax.xml.transform.TransformerException; -import javax.xml.transform.TransformerConfigurationException; -import javax.xml.transform.URIResolver; -import javax.xml.transform.Source; - -import net.sf.saxon.Controller; -import net.sf.saxon.instruct.ExtensionInstruction; -import net.sf.saxon.event.Receiver; -import net.sf.saxon.expr.Expression; -import net.sf.saxon.instruct.Executable; -import net.sf.saxon.expr.SimpleExpression; -import net.sf.saxon.expr.XPathContext; -import net.sf.saxon.om.Item; -import net.sf.saxon.om.NodeInfo; -import net.sf.saxon.om.NamePool; -import net.sf.saxon.xpath.XPathException; - -/* -import net.sf.saxon.value.AtomicValue; -import net.sf.saxon.value.ObjectValue; -*/ - -import org.xml.sax.AttributeList; - -/** - *

Saxon extension element for inserting text - * - *

$Id$

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension element for inserting text into a result tree.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id$ - * - */ -public class Text extends ExtensionInstruction { - Expression hrefExpr; - Expression encodingExpr; - - /** - *

Constructor for Text

- * - *

Does nothing.

- */ - public Text() { - } - - /** - *

Can this element contain a template-body?

- * - *

Yes, it can, but only so that it can contain xsl:fallback.

- * - * @return true - */ - public boolean mayContainTemplateBody() { - return true; - } - - /** - *

Validate the arguments

- * - *

The element must have an href attribute.

- */ - public void prepareAttributes() throws TransformerConfigurationException { - // Get mandatory href attribute - String fnAtt = getAttribute("href"); - if (fnAtt == null || "".equals(fnAtt)) { - reportAbsence("href"); - } - hrefExpr = makeAttributeValueTemplate(fnAtt); - - fnAtt = getAttribute("encoding"); - if (fnAtt == null || "".equals(fnAtt)) { - encodingExpr = null; - } else { - encodingExpr = makeAttributeValueTemplate(fnAtt); - } - } - - /** Validate that the element occurs in a reasonable place. */ - public void validate() throws TransformerConfigurationException { - checkWithinTemplate(); - hrefExpr = typeCheck("href", hrefExpr); - if (encodingExpr != null) { - encodingExpr = typeCheck("encoding", encodingExpr); - } - } - - public Expression compile(Executable exec) - throws TransformerConfigurationException { - return new TextInstruction(hrefExpr, encodingExpr); - } - - private static class TextInstruction extends SimpleExpression { - Expression hrefExpr; - Expression encodingExpr; - - public TextInstruction(Expression hrefExpr, Expression encExpr) { - this.hrefExpr = hrefExpr; - encodingExpr = encExpr; - } - - public int getImplementationMethod() { - return EVALUATE_METHOD; - } - - public String getExpressionType() { - return "s8text:insertfile"; - } - - /** - *

Insert the text of the file into the result tree

- * - *

Processing this element inserts the contents of the URL named - * by the href attribute into the result tree as plain text.

- * - *

Optional encoding attribute can specify encoding of resource. - * If not specified default system encoding is used.

- * - */ - public Item evaluateItem(XPathContext context) throws XPathException { - Controller controller = context.getController(); - NamePool namePool = controller.getNamePool(); - Receiver out = context.getReceiver(); - String href = hrefExpr.evaluateAsString(context); - - String encoding = ""; - if (encodingExpr != null) { - encoding = encodingExpr.evaluateAsString(context); - } - - String baseURI = ((NodeInfo) context.getContextItem()).getBaseURI(); - - URIResolver resolver = context.getController().getURIResolver(); - - if (resolver != null) { - try { - Source source = resolver.resolve(href, baseURI); - href = source.getSystemId(); - } catch (TransformerException te) { - // nop - } - } - - URL baseURL = null; - URL fileURL = null; - - try { - baseURL = new URL(baseURI); - } catch (MalformedURLException e0) { - // what the!? - baseURL = null; - } - - try { - try { - fileURL = new URL(baseURL, href); - } catch (MalformedURLException e1) { - try { - fileURL = new URL(baseURL, "file:" + href); - } catch (MalformedURLException e2) { - System.out.println("Cannot open " + href); - return null; - } - } - - InputStreamReader isr = null; - if (encoding.equals("") == true) - isr = new InputStreamReader(fileURL.openStream()); - else - isr = new InputStreamReader(fileURL.openStream(), encoding); - - BufferedReader is = new BufferedReader(isr); - - final int BUFFER_SIZE = 4096; - char chars[] = new char[BUFFER_SIZE]; - char nchars[] = new char[BUFFER_SIZE]; - int len = 0; - int i = 0; - int carry = -1; - - while ((len = is.read(chars)) > 0) { - // various new lines are normalized to LF to prevent blank lines - // between lines - - int nlen = 0; - for (i=0; i LF to normalize MAC line endings - nchars[nlen] = '\n'; - nlen++; - continue; - } else { - // if CR is last char of buffer we must look ahead - carry = is.read(); - nchars[nlen] = '\n'; - nlen++; - if (carry == '\n') { - carry = -1; - } - break; - } - } - nchars[nlen] = chars[i]; - nlen++; - } - - out.characters(String.valueOf(nchars), 0, 0); - // handle look aheaded character - if (carry != -1) out.characters(String.valueOf((char)carry), 0, 0); - carry = -1; - } - is.close(); - } catch (Exception e) { - System.out.println("Cannot read " + href); - } - - return null; - } - } -} diff --git a/xsl/extensions/saxon8/com/nwalsh/saxon8/TextFactory.java b/xsl/extensions/saxon8/com/nwalsh/saxon8/TextFactory.java deleted file mode 100644 index fff01d6ae..000000000 --- a/xsl/extensions/saxon8/com/nwalsh/saxon8/TextFactory.java +++ /dev/null @@ -1,67 +0,0 @@ -// TextFactory - Saxon extension element factory - -package com.nwalsh.saxon8; - -import net.sf.saxon.style.ExtensionElementFactory; -import org.xml.sax.SAXException; - -/** - *

Saxon extension element factory - * - *

$Id$

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension element factory for the Text extension element - * family.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id$ - * - * @see Text - * - */ -public class TextFactory implements ExtensionElementFactory { - /** - *

Constructor for TextFactory

- * - *

Does nothing.

- */ - public TextFactory() { - } - - /** - *

Return the class that implements a particular extension element.

- * - * @param localname The local name of the extension element. - * - * @return The class that handles that extension element. - * - * @exception SAXException("Unknown Text extension element") - */ - public Class getExtensionClass(String localname) { - if (localname.equals("insertfile")) { - try { - return Class.forName("com.nwalsh.saxon8.Text"); - } catch (ClassNotFoundException e) { - return null; - } - } - return null; - } -} - - - - - diff --git a/xsl/extensions/saxon8/com/nwalsh/saxon8/Verbatim.java b/xsl/extensions/saxon8/com/nwalsh/saxon8/Verbatim.java deleted file mode 100644 index 5b64d8ab6..000000000 --- a/xsl/extensions/saxon8/com/nwalsh/saxon8/Verbatim.java +++ /dev/null @@ -1,857 +0,0 @@ -// Verbatim.java - Saxon extensions supporting DocBook verbatim environments - -package com.nwalsh.saxon8; - -import java.util.Vector; -import java.util.StringTokenizer; -import java.util.Collections; -import javax.xml.transform.TransformerException; - -import net.sf.saxon.Controller; -import net.sf.saxon.Configuration; -import net.sf.saxon.expr.XPathContext; -import net.sf.saxon.om.DocumentInfo; -import net.sf.saxon.om.Axis; -import net.sf.saxon.om.AxisIterator; -import net.sf.saxon.om.Item; -import net.sf.saxon.om.SequenceIterator; -import net.sf.saxon.om.NamePool; -import net.sf.saxon.om.NodeInfo; -import net.sf.saxon.type.Type; -import net.sf.saxon.tinytree.TinyBuilder; -import net.sf.saxon.event.NamespaceReducer; -import net.sf.saxon.event.Receiver; - -/** - *

Saxon extensions supporting DocBook verbatim environments

- * - *

$Id$

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 8.x - * implementation of two features that would be impractical to - * implement directly in XSLT: line numbering and callouts.

- * - *

Line Numbering

- *

The numberLines method takes a tree - * (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a tree decorated with - * line numbers.

- * - *

Callouts

- *

The insertCallouts method takes an - * areaspec and a tree - * (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a tree decorated with - * callouts.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id$ - * - */ -public class Verbatim { - private static final int CALLOUT_TEXT = 1; - private static final int CALLOUT_UNICODE = 2; - private static final int CALLOUT_GRAPHICS = 3; - - /** The modulus for line numbering (every 'modulus' line is numbered). */ - private static int modulus = 5; - /** The width (in characters) of line numbers (for padding). */ - private static int width = 0; - /** The current line number. */ - private static int lineNumber = 1; - /** The separator between the line number and the verbatim text. */ - private static String separator = " | "; - - /** The number of lines in the verbatim environment. */ - private static int lineCount = 0; - - /** The line number wrapper element. */ - private static NodeInfo wrapper = null; - - /** List of open elements. */ - private static Vector openElements = null; - - /** List of callouts. */ - private static Vector calloutList = null; - - /** The current column number. */ - private static int colNumber = 1; - - /** The default column for callouts that have only a line or line range */ - private static int defaultColumn = 60; - - /** The type of callout to use. */ - private static int calloutStyle = CALLOUT_TEXT; - - /** The prefix for text callouts. */ - private static String textPrefix = "("; - - /** The suffix for text callouts. */ - private static String textSuffix = ")"; - - /** The text callout wrapper element. */ - private static NodeInfo textWrapper = null; - - /** The starting code point for Unicode callouts. */ - private static int unicodeStart = 0; - - /** The highest Unicode callout available before falling back to text. */ - private static int unicodeMax = 10; - - /** The Unicode callout wrapper element. */ - private static NodeInfo unicodeWrapper = null; - - /** The highest graphical callout available before falling back to text. */ - private static int graphicsMax = 10; - - /** The Graphics callout wrapper element. */ - private static NodeInfo graphicsWrapper = null; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Verbatim() { - } - - /** - *

Number lines in a verbatim environment

- * - *

The extension function expects the following variables to be - * available in the calling context: $linenumbering.everyNth, - * $linenumbering.width, $linenumbering.separator, and - * $stylesheet.result.type.

- * - *

This method adds line numbers to a result tree fragment. Each - * newline that occurs in a text node is assumed to start a new line. - * The first line is always numbered, every subsequent 'everyNth' line - * is numbered (so if everyNth=5, lines 1, 5, 10, 15, etc. will be - * numbered. If there are fewer than everyNth lines in the environment, - * every line is numbered.

- * - *

Every line number will be right justified in a string 'width' - * characters long. If the line number of the last line in the - * environment is too long to fit in the specified width, the width - * is automatically increased to the smallest value that can hold the - * number of the last line. (In other words, if you specify the value 2 - * and attempt to enumerate the lines of an environment that is 100 lines - * long, the value 3 will automatically be used for every line in the - * environment.)

- * - *

The 'separator' string is inserted between the line - * number and the original program listing. Lines that aren't numbered - * are preceded by a 'width' blank string and the separator.

- * - *

If inline markup extends across line breaks, markup changes are - * required. All the open elements are closed before the line break and - * "reopened" afterwards. The reopened elements will have the same - * attributes as the originals, except that 'name' and 'id' attributes - * are not duplicated if the stylesheet.result.type is "html" and - * 'id' attributes will not be duplicated if the result type is "fo".

- * - * @param rtf The result tree fragment of the verbatim environment. - * - * @return The modified result tree fragment. - */ - public static DocumentInfo numberLines (XPathContext context, - SequenceIterator ns, - SequenceIterator wrapperns, - int lnLineNumber, - int lnEveryNth, - int lnWidth, - String lnSeparator) - throws TransformerException { - - Controller controller = context.getController(); - Configuration config = controller.getConfiguration(); - NamePool pool = config.getNamePool(); - TinyBuilder builder = new TinyBuilder(); - - NamespaceReducer reducer = new NamespaceReducer(); - reducer.setUnderlyingReceiver(builder); - Receiver tree = reducer; - - tree.setConfiguration(config); - builder.setConfiguration(config); - tree.open(); - tree.startDocument(0); - - wrapper = findWrapper(wrapperns); - - // We're really counting newlines so there's a tendency to be short - // by one. That's why we start at 1 and not zero. - lineCount = 1; - SequenceIterator nscount = ns.getAnother(); - NodeInfo verbatim = (NodeInfo) nscount.next(); - if (verbatim.getNodeKind() != Type.ELEMENT) { - System.err.println("Error!!!: " + verbatim); - } else { - NodeInfo node = (NodeInfo) verbatim; - if (node.hasChildNodes()) { - AxisIterator children = node.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - countLines(child); - child = (NodeInfo) children.next(); - } - } - } - - // Start with initialLineNumber - lineNumber = lnLineNumber; - - // Number every line if we have fewer than 'modulus' lines - modulus = (lineCount < lnEveryNth || lnEveryNth < 1) ? 1 : lnEveryNth; - - // Make the width at least wide enough for the longest number we may need - double log10numLines = Math.log(lineCount) / Math.log(10); - width = lnWidth < log10numLines+1 - ? (int) Math.floor(log10numLines + 1) - : lnWidth; - - // Use the specified separator - separator = lnSeparator; - - // Now walk through the content and number those lines - openElements = new Vector(); - verbatim = (NodeInfo) ns.next(); - if (verbatim.getNodeKind() != Type.ELEMENT) { - System.err.println("Error!!!: " + verbatim); - } else { - NodeInfo node = (NodeInfo) verbatim; - if (node.hasChildNodes()) { - formatLineNumber(pool, tree); - AxisIterator children = node.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - number(child, pool, tree); - child = (NodeInfo) children.next(); - } - } - } - - tree.endDocument(); - tree.close(); - return builder.getCurrentDocument(); - } - - private static NodeInfo findWrapper (SequenceIterator wrapperns) - throws TransformerException { - NodeInfo wrapper = (NodeInfo) wrapperns.next(); - if (wrapper.getNodeKind() == Type.DOCUMENT) { - if (wrapper.hasChildNodes()) { - AxisIterator children = wrapper.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null && child.getNodeKind() != Type.ELEMENT) { - child = (NodeInfo) children.next(); - } - if (child != null) { - wrapper = child; - } - } else { - wrapper = null; - } - } else if (wrapper.getNodeKind() != Type.ELEMENT) { - wrapper = null; - } - - return wrapper; - } - - public static void countLines (NodeInfo node) - throws TransformerException { - - // we have to recurse through elements - if (node.getNodeKind() == Type.ELEMENT) { - if (node.hasChildNodes()) { - AxisIterator children = node.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - countLines(child); - child = (NodeInfo) children.next(); - } - } - } - - // we have to look for newlines in text nodes - if (node.getNodeKind() == Type.TEXT) { - String text = node.getStringValue(); - int pos = text.indexOf('\n'); - while (pos >= 0) { - lineCount++; - text = text.substring(pos+1); - pos = text.indexOf('\n'); - } - } - } - - public static void number (NodeInfo node, - NamePool pool, - Receiver tree) - throws TransformerException { - - // Maybe node is an element, a text node, a comment, or a PI - switch (node.getNodeKind()) { - case Type.ELEMENT: - tree.startElement(node.getNameCode(), 0, 0, 0); - - { - AxisIterator attrIter = node.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) attrIter.next(); - while (attr != null) { - tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0); - attr = (NodeInfo) attrIter.next(); - } - } - - openElements.add(node); - - tree.startContent(); - if (node.hasChildNodes()) { - AxisIterator children = node.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - number(child, pool, tree); - child = (NodeInfo) children.next(); - } - } - - openElements.remove(openElements.size()-1); - - tree.endElement(); - break; - case Type.TEXT: - String text = node.getStringValue(); - int pos = text.indexOf('\n'); - while (pos >= 0) { - tree.characters(text.substring(0, pos), 0, 0); - - // Close any open elements - for (int openpos = 0; openpos < openElements.size(); openpos++) { - tree.endElement(); - } - - // Output the line number - tree.characters("\n", 0, 0); - lineNumber++; - formatLineNumber(pool, tree); - - // Now re-open the elements - for (int openpos = 0; openpos < openElements.size(); openpos++) { - NodeInfo onode = (NodeInfo) openElements.get(openpos); - - tree.startElement(onode.getNameCode(), 0, 0, 0); - - AxisIterator oattrIter = onode.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) oattrIter.next(); - while (attr != null) { - // Don't output {xml:}id attributes again - if (!"id".equals(attr.getLocalPart())) { - tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0); - } - attr = (NodeInfo) oattrIter.next(); - } - - tree.startContent(); - } - - text = text.substring(pos+1); - pos = text.indexOf('\n'); - } - tree.characters(text, 0, 0); - break; - case Type.COMMENT: - tree.comment(node.getStringValue(), 0, 0); - break; - case Type.PROCESSING_INSTRUCTION: - tree.processingInstruction(node.getDisplayName(), - node.getStringValue(), 0, 0); - break; - default: - System.err.println("Error!"); - break; - } - } - - public static void formatLineNumber(NamePool pool, Receiver tree) - throws TransformerException { - - char ch = 160; //   - - String lno = ""; - if (lineNumber == 1 - || (modulus >= 1 && (lineNumber % modulus == 0))) { - lno = "" + lineNumber; - } - - while (lno.length() < width) { - lno = ch + lno; - } - - lno += separator; - - if (wrapper != null) { - tree.startElement(wrapper.getNameCode(), 0, 0, 0); - AxisIterator attrIter = wrapper.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) attrIter.next(); - while (attr != null) { - tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0); - attr = (NodeInfo) attrIter.next(); - } - tree.startContent(); - } - - tree.characters(lno, 0, 0); - - if (wrapper != null) { - tree.endElement(); - } - } - - public static DocumentInfo insertCallouts (XPathContext context, - SequenceIterator ns, - SequenceIterator areaspecns, - String prefix, String suffix, - boolean useText, - SequenceIterator twrapperns, - int uStart, int uMax, - boolean useUnicode, - SequenceIterator uwrapperns, - int gMax, boolean useGraphics, - SequenceIterator gwrapperns) - throws TransformerException { - - // Take care of parameter passing - textPrefix = prefix; - textSuffix = suffix; - if (useText) { - calloutStyle = CALLOUT_TEXT; - } - - unicodeStart = uStart; - unicodeMax = uMax; - if (useUnicode) { - calloutStyle = CALLOUT_UNICODE; - } - - graphicsMax = gMax; - if (useGraphics) { - calloutStyle = CALLOUT_GRAPHICS; - } - - textWrapper = findWrapper(twrapperns); - unicodeWrapper = findWrapper(uwrapperns); - graphicsWrapper = findWrapper(gwrapperns); - - setupCallouts(areaspecns); - - Controller controller = context.getController(); - Configuration config = controller.getConfiguration(); - NamePool pool = config.getNamePool(); - TinyBuilder builder = new TinyBuilder(); - - NamespaceReducer reducer = new NamespaceReducer(); - reducer.setUnderlyingReceiver(builder); - Receiver tree = reducer; - - tree.setConfiguration(config); - builder.setConfiguration(config); - tree.open(); - tree.startDocument(0); - - // Start at (1,1) - lineNumber = 1; - colNumber = 1; - - // Now walk through the content and number those lines - openElements = new Vector(); - NodeInfo verbatim = (NodeInfo) ns.next(); - if (verbatim.getNodeKind() != Type.ELEMENT) { - System.err.println("Error!!!: " + verbatim); - } else { - NodeInfo node = (NodeInfo) verbatim; - if (node.hasChildNodes()) { - formatLineNumber(pool, tree); - AxisIterator children = node.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - insert(child, pool, tree); - child = (NodeInfo) children.next(); - } - } - } - - tree.endDocument(); - tree.close(); - return builder.getCurrentDocument(); - } - - public static void insert (NodeInfo node, - NamePool pool, - Receiver tree) - throws TransformerException { - - // Maybe node is an element, a text node, a comment, or a PI - switch (node.getNodeKind()) { - case Type.ELEMENT: - tree.startElement(node.getNameCode(), 0, 0, 0); - - { - AxisIterator attrIter = node.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) attrIter.next(); - while (attr != null) { - tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0); - attr = (NodeInfo) attrIter.next(); - } - } - - openElements.add(node); - - tree.startContent(); - if (node.hasChildNodes()) { - AxisIterator children = node.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - insert(child, pool, tree); - child = (NodeInfo) children.next(); - } - } - - openElements.remove(openElements.size()-1); - - tree.endElement(); - break; - case Type.TEXT: - String text = node.getStringValue(); - - // Are we ready to do a callout? - if (calloutList.size() > 0) { - Callout callout = (Callout) calloutList.get(0); - System.err.println(lineNumber + ", " + callout.getLine()); - - for (int count = 0; count < text.length(); count++) { - boolean done = (callout == null); - while (!done) { - done = true; - if (lineNumber == callout.getLine() - && colNumber == callout.getColumn()) { - insertCallout(callout, node, pool, tree); - callout = null; - calloutList.remove(0); - if (calloutList.size() > 0) { - callout = (Callout) calloutList.get(0); - done = false; - } - } - } - - String ch = text.substring(count, count+1); - - while (callout != null && "\n".equals(ch) - && lineNumber == callout.getLine()) { - tree.characters(" ", 0, 0); - colNumber++; - - done = false; - while (!done) { - done = true; - if (lineNumber == callout.getLine() - && colNumber == callout.getColumn()) { - insertCallout(callout, node, pool, tree); - callout = null; - calloutList.remove(0); - if (calloutList.size() > 0) { - callout = (Callout) calloutList.get(0); - done = false; - } - } - } - } - - tree.characters(ch, 0, 0); - - if ("\n".equals(ch)) { - lineNumber++; - colNumber = 1; - } else { - colNumber++; - } - } - } else { - tree.characters(text, 0, 0); - } - break; - case Type.COMMENT: - tree.comment(node.getStringValue(), 0, 0); - break; - case Type.PROCESSING_INSTRUCTION: - tree.processingInstruction(node.getDisplayName(), - node.getStringValue(), 0, 0); - break; - default: - System.err.println("Error!"); - break; - } - } - - public static void insertCallout (Callout callout, - NodeInfo node, - NamePool pool, - Receiver tree) - throws TransformerException { - - int style = calloutStyle; - - if ((style == CALLOUT_UNICODE - && callout.getCallout() > unicodeMax) - || (style == CALLOUT_GRAPHICS - && callout.getCallout() > graphicsMax)) { - style = CALLOUT_TEXT; - } - - // Close any open elements - for (int openpos = 0; openpos < openElements.size(); openpos++) { - tree.endElement(); - } - - switch (style) { - case CALLOUT_TEXT: - startCalloutWrapper(callout, textWrapper, tree); - tree.characters(textPrefix + callout.getCallout() + textSuffix, 0, 0); - endCalloutWrapper(textWrapper, tree); - break; - case CALLOUT_UNICODE: - startCalloutWrapper(callout, unicodeWrapper, tree); - int codepoint = unicodeStart + callout.getCallout() - 1; - char chars[] = new char[1]; - chars[0] = (char) codepoint; - String unicodeCh = new String(chars); - tree.characters(unicodeCh, 0, 0); - endCalloutWrapper(unicodeWrapper, tree); - break; - case CALLOUT_GRAPHICS: - startCalloutWrapper(callout, graphicsWrapper, tree); - endCalloutWrapper(graphicsWrapper, tree); - break; - default: - } - - // Now re-open the elements - for (int openpos = 0; openpos < openElements.size(); openpos++) { - NodeInfo onode = (NodeInfo) openElements.get(openpos); - - tree.startElement(onode.getNameCode(), 0, 0, 0); - - AxisIterator oattrIter = onode.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) oattrIter.next(); - while (attr != null) { - // Don't output {xml:}id attributes again - if (!"id".equals(attr.getLocalPart())) { - tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0); - } - attr = (NodeInfo) oattrIter.next(); - } - - tree.startContent(); - } - } - - private static void startCalloutWrapper (Callout callout, - NodeInfo wrapper, - Receiver tree) - throws TransformerException { - if (wrapper != null) { - tree.startElement(wrapper.getNameCode(), 0, 0, 0); - AxisIterator attrIter = wrapper.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) attrIter.next(); - while (attr != null) { - String value = attr.getStringValue().replaceAll("\\{CALLOUT\\}", - ""+callout.getCallout()); - tree.attribute(attr.getNameCode(), 0, value, 0, 0); - attr = (NodeInfo) attrIter.next(); - } - tree.startContent(); - } - } - - private static void endCalloutWrapper (NodeInfo wrapper, Receiver tree) - throws TransformerException { - if (wrapper != null) { - tree.endElement(); - } - } - - /** - *

Examine the areaspec and determine the number and position of - * callouts.

- * - *

The areaspecNodeSet - * is examined and a sorted list of the callouts is constructed.

- * - *

This data structure is used to augment the tree - * with callout bullets.

- * - * @param areaspecNodeSet The source document <areaspec> element. - * - */ - public static void setupCallouts (SequenceIterator areaspecns) - throws TransformerException { - - // First we walk through the areaspec to calculate the position - // of the callouts - // - // - // - // - // - // - // - // - - calloutList = new Vector(); - - int pos = 0; - int coNum = 0; - boolean inAreaSet = false; - NodeInfo areaspec = (NodeInfo) areaspecns.next(); - - if (!areaspec.hasChildNodes()) { - return; - } - - AxisIterator children = areaspec.iterateAxis(Axis.CHILD); - NodeInfo child = (NodeInfo) children.next(); - while (child != null) { - if (child.getNodeKind() == Type.ELEMENT) { - if ("areaset".equals(child.getLocalPart())) { - coNum++; - - AxisIterator areas = child.iterateAxis(Axis.CHILD); - NodeInfo area = (NodeInfo) areas.next(); - while (area != null) { - if (area.getNodeKind() == Type.ELEMENT) { - if ("area".equals(area.getLocalPart())) { - addCallout(coNum, area, defaultColumn); - } else { - System.out.println("Unexpected element in areaset: " - + area.getDisplayName()); - } - } - area = (NodeInfo) areas.next(); - } - } else if ("area".equals(child.getLocalPart())) { - coNum++; - addCallout(coNum, child, defaultColumn); - } else { - System.out.println("Unexpected element in areaspec: " - + child.getLocalPart()); - } - } - child = (NodeInfo) children.next(); - } - - // Now sort them - Collections.sort(calloutList); - } - - /** - *

Add a callout to the global callout array

- * - *

This method examines a callout area and adds it to - * the global callout array if it can be interpreted.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn.

- * - * @param coNum The callout number. - * @param node The area. - * @param defaultColumn The default column for callouts. - */ - protected static void addCallout (int coNum, - NodeInfo area, - int defaultColumn) { - String units = null; - String coords = null; - - AxisIterator attrIter = area.iterateAxis(Axis.ATTRIBUTE); - NodeInfo attr = (NodeInfo) attrIter.next(); - while (attr != null) { - if ("".equals(attr.getURI())) { - if ("units".equals(attr.getLocalPart())) { - units = attr.getStringValue(); - } - if ("coords".equals(attr.getLocalPart())) { - coords = attr.getStringValue(); - } - } - attr = (NodeInfo) attrIter.next(); - } - - if (units != null - && !units.equals("linecolumn") - && !units.equals("linerange")) { - System.out.println("Only linecolumn and linerange units are supported"); - return; - } - - if (coords == null) { - System.out.println("Coords must be specified"); - return; - } - - // Now let's see if we can interpret the coordinates... - StringTokenizer st = new StringTokenizer(coords); - int tokenCount = 0; - int c1 = 0; - int c2 = 0; - while (st.hasMoreTokens()) { - tokenCount++; - if (tokenCount > 2) { - System.out.println("Unparseable coordinates"); - return; - } - try { - String token = st.nextToken(); - int coord = Integer.parseInt(token); - c2 = coord; - if (tokenCount == 1) { - c1 = coord; - } - } catch (NumberFormatException e) { - System.out.println("Unparseable coordinate"); - return; - } - } - - // Ok, add the callout - if (tokenCount == 2) { - if (units != null && units.equals("linerange")) { - for (int count = c1; count <= c2; count++) { - calloutList.add(new Callout(coNum, area, count, defaultColumn)); - } - } else { - // assume linecolumn - calloutList.add(new Callout(coNum, area, c1, c2)); - } - } else { - // if there's only one number, assume it's the line - calloutList.add(new Callout(coNum, area, c1, defaultColumn)); - } - } -} diff --git a/xsl/extensions/saxon8/com/nwalsh/saxon8/package.html b/xsl/extensions/saxon8/com/nwalsh/saxon8/package.html deleted file mode 100644 index d1cb8a991..000000000 --- a/xsl/extensions/saxon8/com/nwalsh/saxon8/package.html +++ /dev/null @@ -1,48 +0,0 @@ - - -Norman Walsh's Saxon Extensions Package - - -

Norman Walsh's Saxon Extensions Package for Saxon 8.*

- -

This package implements Saxon extensions for XSLT.

- -

Copyright (C) 2004 Norman Walsh

-

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

- -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

- -

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the -individuals in question.

- -

Anything derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that no -possibility of confusion between the derived package and this -Software will exist.

- - -
-

Warranty

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE.

-
- - - diff --git a/xsl/extensions/xalan2/build.xml b/xsl/extensions/xalan2/build.xml new file mode 100644 index 000000000..ef445f7be --- /dev/null +++ b/xsl/extensions/xalan2/build.xml @@ -0,0 +1,69 @@ + + + + + + Builds, tests, and runs the project xalan2. + + + diff --git a/xsl/extensions/xalan2/nbproject/build-impl.xml b/xsl/extensions/xalan2/nbproject/build-impl.xml new file mode 100644 index 000000000..64e19b538 --- /dev/null +++ b/xsl/extensions/xalan2/nbproject/build-impl.xml @@ -0,0 +1,574 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set platform.home + Must set platform.bootcp + Must set platform.java + Must set platform.javac + Platform is not correctly set up + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + + + + + + ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + ${platform.java} -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + diff --git a/xsl/extensions/xalan2/nbproject/genfiles.properties b/xsl/extensions/xalan2/nbproject/genfiles.properties new file mode 100644 index 000000000..9ef449138 --- /dev/null +++ b/xsl/extensions/xalan2/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=c78116b6 +build.xml.script.CRC32=8ea032a3 +build.xml.stylesheet.CRC32=d5b6853a +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=c78116b6 +nbproject/build-impl.xml.script.CRC32=2dc94bec +nbproject/build-impl.xml.stylesheet.CRC32=99b91518 diff --git a/xsl/extensions/xalan2/nbproject/project.properties b/xsl/extensions/xalan2/nbproject/project.properties new file mode 100644 index 000000000..3cbac888a --- /dev/null +++ b/xsl/extensions/xalan2/nbproject/project.properties @@ -0,0 +1,56 @@ +application.args= +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/xalan2.jar +dist.javadoc.dir=${dist.dir}/javadoc +file.reference.xalan.jar=../../../../../usr/local/java/xalan-j_2_5_1/bin/xalan.jar +jar.compress=false +javac.classpath=\ + ${file.reference.xalan.jar} +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.source=1.4 +javac.target=1.4 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir}:\ + ${libs.junit.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding= +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +meta.inf.dir=${src.dir}/META-INF +platform.active=Java_HotSpot_TM__Client_VM_1.4.2_11-b06 +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value +# or test-sys-prop.name=value to set system properties for unit tests): +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +src.dir=src +test.src.dir=test diff --git a/xsl/extensions/xalan2/nbproject/project.xml b/xsl/extensions/xalan2/nbproject/project.xml new file mode 100644 index 000000000..b3a68b591 --- /dev/null +++ b/xsl/extensions/xalan2/nbproject/project.xml @@ -0,0 +1,17 @@ + + + org.netbeans.modules.java.j2seproject + + + xalan2 + 1.6.5 + + + + + + + + + + diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/CVS.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/CVS.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/CVS.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/CVS.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/Callout.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Callout.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/Callout.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/Callout.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/FormatCallout.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatCallout.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/FormatCallout.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatCallout.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/FormatDingbatCallout.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatDingbatCallout.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/FormatDingbatCallout.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatDingbatCallout.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/FormatGraphicCallout.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatGraphicCallout.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/FormatGraphicCallout.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatGraphicCallout.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/FormatTextCallout.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatTextCallout.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/FormatTextCallout.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatTextCallout.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/FormatUnicodeCallout.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatUnicodeCallout.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/FormatUnicodeCallout.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/FormatUnicodeCallout.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/Func.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Func.java similarity index 98% rename from xsl/extensions/xalan2/com/nwalsh/xalan/Func.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/Func.java index e03ae6bd2..97a39b7e1 100644 --- a/xsl/extensions/xalan2/com/nwalsh/xalan/Func.java +++ b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Func.java @@ -8,7 +8,6 @@ import org.xml.sax.ContentHandler; import org.w3c.dom.*; import org.w3c.dom.traversal.NodeIterator; -import org.apache.xerces.dom.*; import org.apache.xpath.objects.XObject; import org.apache.xpath.objects.XRTreeFrag; diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/ImageIntrinsics.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/ImageIntrinsics.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/ImageIntrinsics.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/ImageIntrinsics.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/Params.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Params.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/Params.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/Params.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/Table.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Table.java similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/Table.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/Table.java diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/Text.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Text.java similarity index 99% rename from xsl/extensions/xalan2/com/nwalsh/xalan/Text.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/Text.java index 88c9603d5..9be943187 100644 --- a/xsl/extensions/xalan2/com/nwalsh/xalan/Text.java +++ b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Text.java @@ -15,7 +15,6 @@ import org.xml.sax.AttributeList; import org.xml.sax.ContentHandler; import org.w3c.dom.*; -import org.apache.xerces.dom.*; import org.apache.xpath.objects.XObject; import org.apache.xpath.XPath; diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Verbatim.java similarity index 99% rename from xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/Verbatim.java index 053063920..b9bc72a0d 100644 --- a/xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java +++ b/xsl/extensions/xalan2/src/com/nwalsh/xalan/Verbatim.java @@ -9,7 +9,6 @@ import org.xml.sax.*; import org.xml.sax.helpers.AttributesImpl; import org.w3c.dom.*; import org.w3c.dom.traversal.NodeIterator; -import org.apache.xerces.dom.*; import org.apache.xpath.objects.XObject; import org.apache.xpath.XPath; diff --git a/xsl/extensions/xalan2/com/nwalsh/xalan/package.html b/xsl/extensions/xalan2/src/com/nwalsh/xalan/package.html similarity index 100% rename from xsl/extensions/xalan2/com/nwalsh/xalan/package.html rename to xsl/extensions/xalan2/src/com/nwalsh/xalan/package.html diff --git a/xsl/extensions/xalan27/.cvsignore b/xsl/extensions/xalan27/.cvsignore deleted file mode 100644 index 9d0b71a3c..000000000 --- a/xsl/extensions/xalan27/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -build -dist