Searched defs:comment (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/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
/libcore/luni/src/main/java/java/util/zip/
H A DZipOutputStream.java79 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...]
H A DZipEntry.java43 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...]
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java305 void comment (String text) method in interface:XmlSerializer
/libcore/luni/src/main/java/java/util/
H A DProperties.java74 + " <!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/test/java/tests/api/org/xml/sax/support/
H A DMockHandler.java119 public void comment(char[] ch, int start, int length) throws SAXException { method in class:MockHandler
120 logger.add("comment", ch, start, length);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java567 public void comment(String comment) throws IOException { argument
570 writer.write(comment);
/libcore/luni/src/main/java/java/net/
H A DHttpCookie.java68 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/main/java/org/apache/harmony/xml/
H A DExpatParser.java167 /*package*/ void comment(char[] text, int length) throws SAXException { method in class:ExpatParser
170 lexicalHandler.comment(text, 0, length);
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp665 * 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/test/java/libcore/xml/
H A DDomTest.java121 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...]

Completed in 489 milliseconds