/libcore/luni/src/main/java/org/xml/sax/ext/ |
H A D | LexicalHandler.java | 194 * 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 D | DefaultHandler2.java | 70 public void comment (char ch [], int start, int length) method in class:DefaultHandler2
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | importNode03.java | 38 * 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 D | importNode04.java | 43 * comment value "descendant1". 74 Comment comment; 82 comment = aNewDoc.createComment("descendant1"); 83 aNode = docFrag.appendChild(comment);
|
H A D | nodenormalize01.java | 87 Comment comment; 105 comment = newDoc.createComment("comment"); 129 appendedChild = element5.appendChild(comment);
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | ZipEntry.java | 43 String name, comment; field in class:ZipEntry 83 * Gets the comment for this {@code ZipEntry}. 85 * @return the comment for this {@code ZipEntry}, or {@code null} if there 86 * is no comment. If we're reading an archive with 87 * {@code ZipInputStream} the comment is not available. 90 return comment; 180 * Sets the comment for this {@code ZipEntry}. 182 * @param comment 183 * the comment for this entry. 185 public void setComment(String comment) { argument [all...] |
H A D | ZipOutputStream.java | 79 private String comment; field in class:ZipOutputStream 245 if (comment != null) { 246 writeShort(cDir, comment.length()); 247 cDir.write(comment.getBytes()); 347 * Sets the {@code ZipFile} comment associated with the file being written. 349 * @param comment 350 * the comment associated with the file. 352 public void setComment(String comment) { argument 353 if (comment.length() > 0xFFFF) { 354 throw new IllegalArgumentException("Comment too long: " + comment [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
H A D | SimpleBuilderTest.java | 94 String comment = ""; 102 comment = comment + node.getNodeValue(); 107 assertEquals(" Fragile! Handle me with care! ", comment);
|
H A D | NormalizeTest.java | 510 Comment comment = document.createComment(""); 511 root.appendChild(comment); 514 comment.setData(new String(new char[] { 'A', 'B', (char) c}));
|
H A D | DomTest.java | 121 private Comment comment; field in class:DomTest 164 comment = (Comment) vitamins.getChildNodes().item(1); 181 vitaminsXmlnsA, comment, vitaminc, vitamincText)); 227 assertEquals("http://usda", comment.lookupNamespaceURI("a")); 259 assertEquals("http://food", comment.lookupNamespaceURI(null)); 297 assertEquals(null, comment.lookupPrefix("http://addons")); 341 assertEquals("a", comment.lookupPrefix("http://usda")); 373 assertTrue(comment.isDefaultNamespace("http://food")); 414 assertFalse(comment.isDefaultNamespace(null)); 512 comment [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 74 + " <!ELEMENT properties (comment?, entry*) >" 76 + " <!ELEMENT comment (#PCDATA) >" 256 * <li>Lines starting with either a "#" or a "!" are comment lines and are 261 * the lines. This does not apply to comment lines.</li> 480 * OutputStream}, putting the specified comment at the beginning. The output 485 * @param comment the comment to add at the beginning. 493 public void save(OutputStream out, String comment) { argument 495 store(out, comment); 519 * @param comment a 523 store(OutputStream out, String comment) argument 537 store(Writer writer, String comment) argument 668 storeToXML(OutputStream os, String comment) argument 690 storeToXML(OutputStream os, String comment, String encoding) argument [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | HttpCookie.java | 68 RESERVED_NAMES.add("comment"); // RFC 2109 RFC 2965 316 if (name.equals("comment") && cookie.comment == null) { 317 cookie.comment = value; 424 private String comment; field in class:HttpCookie 483 return comment; 580 public void setComment(String comment) { argument 581 this.comment = comment;
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | ImportNode.java | 159 Comment comment; 167 comment = aNewDoc.createComment("this is a comment"); 168 aNode = doc.importNode(comment, false); 176 assertEquals("nodeValue", "this is a comment", value); 182 Comment comment; 190 comment = aNewDoc.createComment("descendant1"); 191 aNode = docFrag.appendChild(comment);
|
H A D | NodeNormalize.java | 104 Comment comment; 123 comment = newDoc.createComment("comment"); 147 element5.appendChild(comment);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONTokener.java | 133 // skip a /* c-style comment */ 137 throw syntaxError("Unterminated comment"); 143 // skip a // end-of-line comment 154 * Skip a # hash end-of-line comment. The JSON RFC doesn't 499 * a comment. If the input is exhausted before such a character can be
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/ext/ |
H A D | DefaultHandler2Test.java | 84 h.comment("<!-- Comment -->".toCharArray(), 0, 15);
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlSerializer.java | 305 void comment (String text) method in interface:XmlSerializer
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DOMConfigurationImpl.java | 410 CommentImpl comment = (CommentImpl) node; 412 comment.getParentNode().removeChild(comment); 415 if (comment.containsDashDash()) { 418 checkTextValidity(comment.buffer);
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 567 public void comment(String comment) throws IOException { argument 570 writer.write(comment);
|
/libcore/luni/src/main/java/java/io/ |
H A D | StreamTokenizer.java | 25 * and different comment styles. The class can be used for limited processing 138 * '/' is a comment character. Single quote '\'' and double quote '"' 182 * be white space. '/' is a comment character.</li> 203 * Specifies that the character {@code ch} shall be treated as a comment 207 * the character to be considered a comment character. 468 // Check for comment character 486 * comment character, word component, white space, string delimiter or 501 * they have no special meaning as a comment character, word component, 572 * This kind of comment ends at the end of the line. 576 * of a comment, { [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
H A D | MockHandler.java | 119 public void comment(char[] ch, int start, int length) throws SAXException { method in class:MockHandler 120 logger.add("comment", ch, start, length);
|
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 665 * Called by Expat when it encounters a comment. Delegates to the same method 669 * @param comment 0-terminated 671 static void comment(void* data, const char* comment) { argument 672 bufferAndInvoke(commentMethod, data, comment, strlen(comment)); 979 XML_SetCommentHandler(parser, comment); 1322 commentMethod = env->GetMethodID(clazz, "comment", "([CI)V");
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatParser.java | 167 /*package*/ void comment(char[] text, int length) throws SAXException { method in class:ExpatParser 170 lexicalHandler.comment(text, 0, length);
|