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.java95 * &lt;!ELEMENT properties ( comment?, entry* ) &gt;
99 * &lt;!ELEMENT comment (#PCDATA) &gt;
176 * a comment line, or hold all or some of a key-element pair. A logical
180 * <code>\</code>. Note that a comment line cannot be extended
181 * in this manner; every natural line that is a comment must have
182 * its own comment indicator, as described below. Lines are read from
187 * considered blank and is ignored. A comment line has an ASCII
189 * space character; comment lines are also ignored and do not
397 /* Read in a "logical line" from an InputStream/Reader, skip all comment
699 * <code>storeToXML(OutputStream os, String comment)</cod
893 storeToXML(OutputStream os, String comment) argument
932 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.java47 String comment; // optional comment string for entry field in class:ZipEntry
63 public ZipEntry(String name, String comment, long crc, long compressedSize, argument
67 this.comment = comment;
112 comment = e.comment;
270 * Sets the optional comment string for the entry.
273 * specified comment string is greater than 0xFFFF bytes after encoding, only
276 * @param comment th
280 setComment(String comment) argument
[all...]
H A DZipOutputStream.java62 private byte[] comment; field in class:ZipOutputStream
127 * Sets the ZIP file comment.
128 * @param comment the comment string
130 * ZIP file comment is greater than 0xFFFF bytes
132 public void setComment(String comment) { argument
133 if (comment != null) {
134 this.comment = zc.getBytes(comment);
135 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.java167 /*package*/ void comment(char[] text, int length) throws SAXException { method in class:ExpatParser
170 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.java71 RESERVED_NAMES.add("comment"); // RFC 2109 RFC 2965 RFC 6265
98 private String comment; // Comment=VALUE ... describes cookie's use field in class:HttpCookie
297 * Specifies a comment that describes a cookie's purpose.
298 * The comment is useful if the browser presents the cookie
302 * @param purpose a <code>String</code> specifying the comment
310 comment = purpose;
317 * Returns the comment describing the purpose of this cookie, or
318 * <code>null</code> if the cookie has no comment.
320 * @return a <code>String</code> containing the comment,
328 return comment;
[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 */
165 char *comment; /* optional zip file comment */ member in struct:jzentry
222 char *comment; /* zip file comment */ member in struct:jzfile
223 jint clen; /* length of the zip file comment */
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp681 * Called by Expat when it encounters a comment. Delegates to the same method
685 * @param comment 0-terminated
687 static void comment(void* data, const char* comment) { argument
688 bufferAndInvoke(commentMethod, data, comment, strlen(comment));
995 XML_SetCommentHandler(parser, comment);
1306 commentMethod = env->GetMethodID(clazz, "comment", "([CI)V");

Completed in 640 milliseconds