/** * Notify a comment. Comments are only notified if they are outside the DTD. * * @param content The content of the comment * @param locationId an integer which can be interpreted using a LocationMap to return * information such as line number and system ID. If no location information is available, * the value zero is supplied. * @param properties Additional information about the comment. The following bits are * defined: * <dt>CHECKED</dt> <dd>Comment is known to be legal (e.g. doesn't contain "--")</dd> * @throws IllegalArgumentException: the content is invalid for an XML comment */ public void comment(CharSequence content, int locationId, int properties) throws XPathException { seq1.comment(content, locationId, properties); seq2.comment(content, locationId, properties); }
/** * Notify a comment. Comments are only notified if they are outside the DTD. * * @param content The content of the comment * @param locationId an integer which can be interpreted using a LocationMap to return * information such as line number and system ID. If no location information is available, * the value zero is supplied. * @param properties Additional information about the comment. The following bits are * defined: * <dt>CHECKED</dt> <dd>Comment is known to be legal (e.g. doesn't contain "--")</dd> * @throws IllegalArgumentException: the content is invalid for an XML comment */ public void comment(CharSequence content, int locationId, int properties) throws XPathException { seq1.comment(content, locationId, properties); seq2.comment(content, locationId, properties); }
/** * Process this instruction, to output a Comment Node * @param context the dynamic context for this transformation * @return a TailCall representing a call delegated to the caller. Always * returns null in this implementation */ public TailCall processLeavingTail(XPathContext context) throws XPathException { String comment = expandChildren(context).toString(); comment = checkContent(comment, context); SequenceReceiver out = context.getReceiver(); out.comment(comment, locationId, 0); return null; }
/** * Process this instruction, to output a Comment Node * @param context the dynamic context for this transformation * @return a TailCall representing a call delegated to the caller. Always * returns null in this implementation */ public TailCall processLeavingTail(XPathContext context) throws XPathException { String comment = expandChildren(context).toString(); comment = checkContent(comment, context); SequenceReceiver out = context.getReceiver(); out.comment(comment, locationId, 0); return null; }
out.comment(source.getStringValueCS(), locationId, 0); break;
out.comment(source.getStringValueCS(), locationId, 0); break;
out.comment(source.getStringValueCS(), locationId, 0); break;
out.comment(source.getStringValueCS(), locationId, 0); break;
out.comment(source.getStringValueCS(), locationId, 0); break;