prettyxml
1.2.0

dk.hippogrif.prettyxml.jedit
Class PrettyXMLPlugin

java.lang.Object
  extended byEditPlugin
      extended bydk.hippogrif.prettyxml.jedit.PrettyXMLPlugin

public class PrettyXMLPlugin
extends EditPlugin

Plugin for jEdit.

See Also:
Serialized Form

Constructor Summary
PrettyXMLPlugin()
           
 
Method Summary
static boolean diff(View view, java.util.Properties prop)
          Diff two files which are opened, prettyprinted and diffed in current view with JDiffPlugin.
static java.lang.String getStackTrace(java.lang.Throwable e)
           
static boolean prettyPrint(View view, boolean newBuffer, java.util.Properties prop)
          Prettyprint current buffer.
 void start()
          Sets default options if error in saved properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyXMLPlugin

public PrettyXMLPlugin()
Method Detail

start

public void start()
Sets default options if error in saved properties.


prettyPrint

public static boolean prettyPrint(View view,
                                  boolean newBuffer,
                                  java.util.Properties prop)
Prettyprint current buffer.

Parameters:
view - holds current view and buffer
newBuffer - to print in same or new buffer
prop - holds prettyprint properties to use or null to use jedit options

diff

public static boolean diff(View view,
                           java.util.Properties prop)
Diff two files which are opened, prettyprinted and diffed in current view with JDiffPlugin.

Parameters:
view - holds current view
prop - holds prettyprint properties to use or null to use jedit options

getStackTrace

public static java.lang.String getStackTrace(java.lang.Throwable e)

prettyxml
1.2.0

Copyright © 2005 Jesper Goertz. All Rights Reserved.