xml.indent
Class XmlIndenterPlugin

java.lang.Object
  extended by xml.indent.XmlIndenterPlugin

public class XmlIndenterPlugin
extends java.lang.Object

EditPlugin implementation for the XML Indenter plugin.

Author:
Robert McKinnon - robmckinnon@users.sourceforge.net

Constructor Summary
XmlIndenterPlugin()
           
 
Method Summary
static java.util.List getEnumeratedProperty(java.lang.String key)
           
protected static java.lang.String indent(java.lang.String inputString, int indentAmount, boolean indentWithTabs)
           
static void indentXml(org.gjt.sp.jedit.View view)
          Indents XML in current buffer.
 void start()
           
static void toggleSplitAttributes(org.gjt.sp.jedit.View view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlIndenterPlugin

public XmlIndenterPlugin()
Method Detail

start

public void start()

toggleSplitAttributes

public static void toggleSplitAttributes(org.gjt.sp.jedit.View view)

indentXml

public static void indentXml(org.gjt.sp.jedit.View view)
Indents XML in current buffer.

Parameters:
view -

indent

protected static java.lang.String indent(java.lang.String inputString,
                                         int indentAmount,
                                         boolean indentWithTabs)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getEnumeratedProperty

public static java.util.List getEnumeratedProperty(java.lang.String key)