public boolean hasClosingTag() throws NullPointerException
{
if (itemName.equals("ScriptItem") || itemName.equals("FunctionInfo")) {
return false;
}
Tag tag = syntax.getTag(itemName);
if(tag == null)
{
if (itemName.indexOf("_") != 2) {
//System.err.println("TagItem::hasClosingTag() - The tag I've retrieved is null! Tag name is \'" + itemName + "\' Line number: " + this.lineNumber);
//
// Should really raise an exception?
this.isUnknownTag = true;
parseMessages.addMessage(new ParseWarning(lineNumber, startPosition, endPosition, itemData,
"Unknown cf tag \'<" + itemName + ">\'."));
}
return true; // Let's say it's a single tag.
}
return !tag.isSingle();
}