Searched refs:comment (Results 1 - 25 of 48) sorted by relevance

12

/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DExtendedLexicalHandler.java33 * This method is used to notify of a comment
34 * @param comment the comment, but unlike the SAX comment() method this
38 public void comment(String comment) throws SAXException; argument
H A DToSAXHandler.java132 * Receive notification of a comment.
134 * @see ExtendedLexicalHandler#comment(String)
136 public void comment(String comment) throws SAXException argument
143 final int len = comment.length();
148 comment.getChars(0,len, m_charsBuff, 0);
149 m_lexHandler.comment(m_charsBuff, 0, len);
150 // time to fire off comment event
H A DToTextSAXHandler.java80 public void comment(char ch[], int start, int length) method in class:ToTextSAXHandler
87 public void comment(String data) throws org.xml.sax.SAXException method in class:ToTextSAXHandler
95 comment(m_charsBuff, 0, length);
H A DToTextStream.java466 * @param data The comment data.
470 public void comment(String data) throws org.xml.sax.SAXException method in class:ToTextStream
478 comment(m_charsBuff, 0, length);
482 * Report an XML comment anywhere in the document.
488 * @param ch An array holding the characters in the comment.
493 public void comment(char ch[], int start, int length) method in class:ToTextStream
H A DToUnknownStream.java525 * @see ExtendedLexicalHandler#comment(String)
527 public void comment(String comment) throws SAXException argument
539 m_handler.comment(comment);
886 * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int)
888 public void comment(char[] ch, int start, int length) throws SAXException method in class:ToUnknownStream
895 m_handler.comment(ch, start, length);
/dalvik/libcore/xml/src/main/java/org/xml/sax/ext/
H A DLexicalHandler.java194 * Report an XML comment anywhere in the document.
202 * @param ch An array holding the characters in the comment.
207 public abstract void comment (char ch[], int start, int length) method in interface:LexicalHandler
H A DDefaultHandler2.java70 public void comment (char ch [], int start, int length) method in class:DefaultHandler2
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DimportNode03.java38 * Create a comment node with value being the string "this is a comment" in
40 * this document. Method should return a comment node whose value matches
72 Comment comment;
80 comment = aNewDoc.createComment("this is a comment");
81 aNode = doc.importNode(comment, false);
88 assertEquals("nodeValue", "this is a comment", value);
H A DimportNode04.java43 * comment value "descendant1".
74 Comment comment;
82 comment = aNewDoc.createComment("descendant1");
83 aNode = docFrag.appendChild(comment);
H A Dnodenormalize01.java87 Comment comment;
105 comment = newDoc.createComment("comment");
129 appendedChild = element5.appendChild(comment);
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DZipEntry.java41 String name, comment; field in class:ZipEntry
81 * Gets the comment for this {@code ZipEntry}.
83 * @return the comment for this {@code ZipEntry}, or {@code null} if there
84 * is no comment. If we're reading an archive with
85 * {@code ZipInputStream} the comment is not available.
88 return comment;
178 * Sets the comment for this {@code ZipEntry}.
181 * the comment for this entry.
185 comment = string;
308 comment
[all...]
H A DZipOutputStream.java61 private String comment; field in class:ZipOutputStream
221 if (comment != null) {
222 writeShort(cDir, comment.length());
223 cDir.write(comment.getBytes());
325 * Sets the {@code ZipFile} comment associated with the file being written.
327 * @param comment
328 * the comment associated with the file.
330 public void setComment(String comment) { argument
331 if (comment.length() > 0xFFFF) {
334 this.comment
[all...]
/dalvik/libcore/xml/src/test/java/tests/xml/
H A DSimpleBuilderTest.java110 String comment = "";
118 comment = comment + node.getNodeValue();
123 assertEquals(" Fragile! Handle me with care! ", comment);
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/
H A DElemComment.java29 * Implement xsl:comment.
31 * <!ELEMENT xsl:comment %char-template;>
32 * <!ATTLIST xsl:comment %space-att;>
63 * Execute the xsl:comment transformation
80 // | xsl:comment
86 transformer.getResultTreeHandler().comment(data);
/dalvik/libcore/luni/src/main/java/java/util/
H A DProperties.java73 + " <!ELEMENT properties (comment?, entry*) >"
75 + " <!ELEMENT comment (#PCDATA) >"
266 * <li>Lines starting with either a "#" or a "!" are comment lines and are
271 * the lines. This does not apply to comment lines.</li>
485 * OutputStream}, putting the specified comment at the beginning. The output
490 * @param comment the comment to add at the beginning.
498 public void save(OutputStream out, String comment) { argument
500 store(out, comment);
523 * OutputStream}, putting the specified comment a
534 store(OutputStream out, String comment) argument
677 storeToXML(OutputStream os, String comment) argument
699 storeToXML(OutputStream os, String comment, String encoding) argument
[all...]
/dalvik/libcore/json/src/main/java/org/json/
H A DJSONTokener.java129 // skip a /* c-style comment */
133 throw syntaxError("Unterminated comment");
139 // skip a // end-of-line comment
150 * Skip a # hash end-of-line comment. The JSON RFC doesn't
495 * a comment. If the input is exhausted before such a character can be
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/
H A DXStringForChars.java148 * comment method on the passed LexicalHandler for the
158 lh.comment((char[])m_obj, m_start, m_length);
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java305 void comment (String text) method in interface:XmlSerializer
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/
H A DNodeNormalize.java116 Comment comment;
135 comment = newDoc.createComment("comment");
159 element5.appendChild(comment);
H A DImportNode.java183 Comment comment;
191 comment = aNewDoc.createComment("this is a comment");
192 aNode = doc.importNode(comment, false);
200 assertEquals("nodeValue", "this is a comment", value);
212 Comment comment;
220 comment = aNewDoc.createComment("descendant1");
221 aNode = docFrag.appendChild(comment);
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
H A DDOMConfigurationImpl.java412 CommentImpl comment = (CommentImpl) node;
414 comment.getParentNode().removeChild(comment);
417 if (comment.containsDashDash()) {
420 checkTextValidity(comment.buffer);
/dalvik/dx/src/com/android/dx/dex/code/
H A DInsnFormat.java48 String comment = insnCommentString(insn, noteIndices);
58 if (comment.length() != 0) {
60 sb.append(comment);
80 * Returns the associated comment for the given instruction, if any.
82 * has no comment, then the result should be {@code ""}, not
207 * Helper method to return a literal bits comment string.
212 * @return {@code non-null;} the comment
256 * Helper method to return the comment for a branch.
259 * @return {@code non-null;} the comment
282 * Helper method to return an instruction comment fo
[all...]
/dalvik/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java577 public void comment(String comment) throws IOException { argument
580 writer.write(comment);
/dalvik/libcore/luni/src/main/java/java/io/
H A DStreamTokenizer.java23 * and different comment styles. The class can be used for limited processing
136 * '/' is a comment character. Single quote '\'' and double quote '"'
180 * be white space. '/' is a comment character.</li>
201 * Specifies that the character {@code ch} shall be treated as a comment
205 * the character to be considered a comment character.
464 // Check for comment character
482 * comment character, word component, white space, string delimiter or
497 * they have no special meaning as a comment character, word component,
568 * This kind of comment ends at the end of the line.
572 * of a comment, {
[all...]
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/ext/
H A DDefaultHandler2Test.java124 method = "comment",
129 h.comment("<!-- Comment -->".toCharArray(), 0, 15);

Completed in 612 milliseconds

12