Class OpenTagRegister


  • @Deprecated
    @InternalApi
    public class OpenTagRegister
    extends Object
    Deprecated.
    Utility class to keep track of unclosed tags. The mechanism is rather simple. If a end tag (</x>) is encountered, it will iterate through the open tag list and it will mark the first tag named 'x' as closed. If other tags have been opened after 'x' ( <x> <y> <z> </x>) it will mark y and z as unclosed.
    Author:
    Victor Bucutea
    • Constructor Detail

      • OpenTagRegister

        public OpenTagRegister()
        Deprecated.
    • Method Detail

      • openTag

        public void openTag​(ASTElement elm)
        Deprecated.
      • closeTag

        public boolean closeTag​(String closingTagName)
        Deprecated.
        Parameters:
        closingTagName -
        Returns:
        true if a matching tag was found. False if no tag with this name was ever opened ( or registered )
      • closeTag

        public void closeTag​(ASTElement z)
        Deprecated.