/** * The end tags of HTML EMPTY content type, such as IMG, and HTML * undefined tags are parsed separately from the start tags. So inserting * the missing start tag is useless and even harmful. */ protected boolean isStartTagRequired(IDOMNode node) { if (node == null) return false; return node.isContainer(); }
private boolean isEndTagRequired(IDOMNode node) { if (node == null) return false; return node.isContainer(); }
/** * The end tags of HTML EMPTY content type, such as IMG, and HTML * undefined tags are parsed separately from the start tags. So inserting * the missing start tag is useless and even harmful. */ private boolean isStartTagRequired(IDOMNode node) { if (node == null) return false; return node.isContainer(); }
protected boolean isEndTagRequired(IDOMNode node) { if (node == null) return false; return node.isContainer(); }
result = false; else if (!xmlNode.isContainer()) { result = false;
int length = 0; if (xmlNode.isContainer()) { IStructuredDocumentRegion endRegion = xmlNode.getEndStructuredDocumentRegion(); if (endRegion == null) {