@Override public void comment(CharSequence content, Location location, int properties) throws XPathException { written = true; super.comment(content, location, properties); }
@Override public void comment(CharSequence content, Location location, int properties) throws XPathException { written = true; super.comment(content, location, properties); }
@Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { MatchContext context = matchContext.getLast(); if (context.matchedElement && context.matchesComment) { super.comment(chars, locationId, properties); } }
@Override public void comment(CharSequence chars, int locationId, int properties) throws XPathException { MatchContext context = matchContext.getLast(); if (context.matchedElement && context.matchesComment) { super.comment(chars, locationId, properties); } }
@Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { MatchContext context = matchContext.getLast(); if (context.matchedElement && context.matchesComment) { super.comment(chars, locationId, properties); } }
@Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { start(); super.comment(chars, locationId, properties); }
@Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { start(); super.comment(chars, locationId, properties); }
/** * Output a comment */ @Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.comment(chars, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Output a comment */ @Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.comment(chars, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }