Searched defs:comment (Results 1 - 15 of 15) 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/ojluni/src/main/java/java/util/
H A DXMLUtils.java57 "<!ELEMENT properties ( comment?, entry* ) >"+
60 "<!ELEMENT comment (#PCDATA) >" +
116 entries.item(0).getNodeName().equals("comment") ? 1 : 0;
131 static void save(Properties props, OutputStream os, String comment, argument
146 if (comment != null) {
148 doc.createElement("comment"));
149 comments.appendChild(doc.createTextNode(comment));
H A DProperties.java97 * &lt;!ELEMENT properties ( comment?, entry* ) &gt;
101 * &lt;!ELEMENT comment (#PCDATA) &gt;
175 * a comment line, or hold all or some of a key-element pair. A logical
179 * {@code \}. Note that a comment line cannot be extended
180 * in this manner; every natural line that is a comment must have
181 * its own comment indicator, as described below. Lines are read from
186 * considered blank and is ignored. A comment line has an ASCII
188 * space character; comment lines are also ignored and do not
394 /* Read in a "logical line" from an InputStream/Reader, skip all comment
703 * {@code storeToXML(OutputStream os, String comment)} metho
910 storeToXML(OutputStream os, String comment) argument
955 storeToXML(OutputStream os, String comment, String encoding) argument
[all...]
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java305 void comment (String text) method in interface:XmlSerializer
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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/ojluni/src/main/java/java/util/zip/
H A DZipEntry.java59 String comment; // optional comment string for entry field in class:ZipEntry
79 public ZipEntry(String name, String comment, long crc, long compressedSize, argument
83 this.comment = comment;
154 comment = e.comment;
565 * Sets the optional comment string for the entry.
568 * specified comment string is greater than 0xFFFF bytes after encoding, only
571 * @param comment th
575 setComment(String comment) argument
[all...]
H A DZipOutputStream.java78 private byte[] comment; field in class:ZipOutputStream
143 * Sets the ZIP file comment.
144 * @param comment the comment string
146 * ZIP file comment is greater than 0xFFFF bytes
148 public void setComment(String comment) { argument
149 if (comment != null) {
150 this.comment = zc.getBytes(comment);
151 if (this.comment
[all...]
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java616 public void comment(String comment) throws IOException { argument
619 append(comment);
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java171 /*package*/ void comment(char[] text, int length) throws SAXException { method in class:ExpatParser
174 lexicalHandler.comment(text, 0, length);
/libcore/luni/src/test/java/libcore/xml/
H A DXmlPullParserFactoryTest.java215 public void comment(String text) throws IOException { method in class:XmlPullParserFactoryTest.XmlSerializerStub
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...]
/libcore/ojluni/src/main/java/java/net/
H A DHttpCookie.java64 RESERVED_NAMES.add("comment"); // RFC 2109 RFC 2965 RFC 6265
85 private String comment; // Comment=VALUE ... describes cookie's use field in class:HttpCookie
101 // Android-changed: Fixed units, s/seconds/milliseconds/, in comment below.
269 * Specifies a comment that describes a cookie's purpose.
270 * The comment is useful if the browser presents the cookie
274 * a {@code String} specifying the comment to display to the user
279 comment = purpose;
283 * Returns the comment describing the purpose of this cookie, or
284 * {@code null} if the cookie has no comment.
286 * @return a {@code String} containing the comment, o
[all...]
/libcore/ojluni/src/main/native/
H A Dzip_util.h104 #define CENCOM(b) SH(b, 32) /* file comment length */
117 #define ENDCOM(b) SH(b, 20) /* size of zip file comment */
166 char *comment; /* optional zip file comment */ member in struct:jzentry
224 char *comment; /* zip file comment */ member in struct:jzfile
225 jint clen; /* length of the zip file comment */
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp683 * Called by Expat when it encounters a comment. Delegates to the same method
687 * @param comment 0-terminated
689 static void comment(void* data, const char* comment) { argument
690 bufferAndInvoke(commentMethod, data, comment, strlen(comment));
997 XML_SetCommentHandler(parser, comment);
1308 commentMethod = env->GetMethodID(clazz, "comment", "([CI)V");

Completed in 552 milliseconds