Class TreeBuilderFactory


  • public class TreeBuilderFactory
    extends java.lang.Object
    A tree builder factory to load a parser dynamically
    Since:
    8.0.0
    Author:
    jumperchen
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TreeBuilder makeBuilder​(java.lang.String extension)
      Creates a tree builder depended on its file extension.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TreeBuilderFactory

        public TreeBuilderFactory()
    • Method Detail

      • makeBuilder

        public static TreeBuilder makeBuilder​(java.lang.String extension)
        Creates a tree builder depended on its file extension.

        If the file extension is missing in the LanguageDefinition, and the class of XmlTreeBuilder is assumed.