Class XmlPrettifyAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, SyntaxAction

    public class XmlPrettifyAction
    extends DefaultSyntaxAction
    Attempt to prettify an XML document.
    See Also:
    Serialized Form
    • Constructor Detail

      • XmlPrettifyAction

        public XmlPrettifyAction()
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        Overrides:
        actionPerformed in class DefaultSyntaxAction
      • getTransformer

        public static javax.xml.transform.Transformer getTransformer()
      • setIndent

        public void setIndent​(java.lang.String text)
      • setStandAlone

        public void setStandAlone​(java.lang.String text)
      • setSOmitDeclaration

        public void setSOmitDeclaration​(java.lang.String text)
      • setIndentAmount

        public void setIndentAmount​(java.lang.String text)
      • setIgnoreComments

        public void setIgnoreComments​(java.lang.String ic)
      • setIgnoreWhiteSpace

        public void setIgnoreWhiteSpace​(java.lang.String value)
      • getDocBuilderFactory

        public static javax.xml.parsers.DocumentBuilderFactory getDocBuilderFactory()
      • getDocBuilder

        public javax.xml.parsers.DocumentBuilder getDocBuilder()