Lines Matching defs:is

5  * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
54 * Once an instance of this class is obtained, XML can be parsed from
63 * to create is named <code>&quot;javax.xml.parsers.SAXParserFactory&quot;</code>.
64 * This property names a class that is a concrete subclass of this
65 * abstract class. If no property is defined, a platform default
68 * As the content is parsed by the underlying parser, methods of the
92 * <p><code>SAXParser</code> is reset to the same state as when it was created with
94 * <code>reset()</code> is designed to allow the reuse of existing <code>SAXParser</code>s
97 * <p>The reset <code>SAXParser</code> is not guaranteed to have the same {@link Schema}
98 * <code>Object</code>, e.g. {@link Object#equals(Object obj)}. It is guaranteed to have a functionally equal
119 * <i> Use of the DefaultHandler version of this method is recommended as
122 * @param is InputStream containing the content to be parsed.
125 * @throws IllegalArgumentException If the given InputStream is null.
132 public void parse(InputStream is, HandlerBase hb)
134 if (is == null) {
138 InputSource input = new InputSource(is);
145 * <i> Use of the DefaultHandler version of this method is recommended as
148 * @param is InputStream containing the content to be parsed.
150 * @param systemId The systemId which is needed for resolving relative URIs.
152 * @throws IllegalArgumentException If the given <code>InputStream</code> is
161 InputStream is,
165 if (is == null) {
169 InputSource input = new InputSource(is);
179 * @param is InputStream containing the content to be parsed.
182 * @throws IllegalArgumentException If the given InputStream is null.
188 public void parse(InputStream is, DefaultHandler dh)
190 if (is == null) {
194 InputSource input = new InputSource(is);
203 * @param is InputStream containing the content to be parsed.
205 * @param systemId The systemId which is needed for resolving relative URIs.
207 * @throws IllegalArgumentException If the given InputStream is null.
214 InputStream is,
218 if (is == null) {
222 InputSource input = new InputSource(is);
231 * <i> Use of the DefaultHandler version of this method is recommended as
237 * @throws IllegalArgumentException If the uri is null.
261 * @throws IllegalArgumentException If the uri is null.
280 * <i> Use of the DefaultHandler version of this method is recommended as
286 * @throws IllegalArgumentException If the File object is null.
312 * @throws IllegalArgumentException If the File object is null.
335 * <i> Use of the DefaultHandler version of this method is recommended as
338 * @param is The InputSource containing the content to be parsed.
342 * is <code>null</code>.
348 public void parse(InputSource is, HandlerBase hb)
350 if (is == null) {
361 parser.parse(is);
369 * @param is The InputSource containing the content to be parsed.
373 * is <code>null</code>.
379 public void parse(InputSource is, DefaultHandler dh)
381 if (is == null) {
392 reader.parse(is);
396 * Returns the SAX parser that is encapsultated by the
399 * @return The SAX parser that is encapsultated by the
407 * Returns the {@link org.xml.sax.XMLReader} that is encapsulated by the
410 * @return The XMLReader that is encapsulated by the
419 * Indicates whether or not this parser is configured to
422 * @return true if this parser is configured to
429 * Indicates whether or not this parser is configured to
432 * @return true if this parser is configured to
454 * the protocols specified by the property. If access is denied during parsing
461 * the protocols specified by the property. If access is denied during parsing
511 * <p>If no schema is being used, <code>null</code> is returned.</p>