xml.indent
Class XmlIndenterPlugin
java.lang.Object
xml.indent.XmlIndenterPlugin
public class XmlIndenterPlugin
- extends java.lang.Object
EditPlugin implementation for the XML Indenter plugin.
- Author:
- Robert McKinnon - robmckinnon@users.sourceforge.net
|
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 |
XmlIndenterPlugin
public XmlIndenterPlugin()
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)