return (decl.getContentType() == CMElementDeclaration.EMPTY);
}
protected IDOMNode insertEndTag(IDOMNode node) {
IDOMElement element = (IDOMElement) node;
int startTagStartOffset = node.getStartOffset();
IDOMModel structuredModel = node.getModel();
IDOMNode newNode = null;
if (element.isCommentTag()) {
// do nothing
}
else if (isEmptyElement(element)) {
IStructuredDocument structuredDocument = structuredModel.getStructuredDocument();
IStructuredDocumentRegion startStructuredDocumentRegion = node.getStartStructuredDocumentRegion();