Class XmlFoldParser
- java.lang.Object
-
- org.fife.ui.rsyntaxtextarea.folding.XmlFoldParser
-
- All Implemented Interfaces:
FoldParser
public class XmlFoldParser extends Object implements FoldParser
Fold parser for XML. Any tags that span more than one line, as well as comment regions spanning more than one line, are identified as foldable regions.
-
-
Constructor Summary
Constructors Constructor Description XmlFoldParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Fold>
getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
-
-
-
Method Detail
-
getFolds
public List<Fold> getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.- Specified by:
getFolds
in interfaceFoldParser
- Parameters:
textArea
- The text area whose contents should be analyzed.- Returns:
- The list of folds. If this method returns
null
, it is treated as if no folds were found.
-
-