Package net.sourceforge.pmd.lang.jsp.ast
Class OpenTagRegister
- java.lang.Object
-
- net.sourceforge.pmd.lang.jsp.ast.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 Summary
Constructors Constructor Description OpenTagRegister()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
closeTag(String closingTagName)
Deprecated.void
closeTag(ASTElement z)
Deprecated.void
openTag(ASTElement elm)
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.
-
-