Searched refs:locator (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/main/java/javax/xml/transform/
H A DTransformerConfigurationException.java76 * @param locator The locator object for the error or warning.
79 SourceLocator locator) {
80 super(message, locator);
88 * @param locator The locator object for the error or warning.
92 SourceLocator locator,
94 super(message, locator, e);
78 TransformerConfigurationException(String message, SourceLocator locator) argument
91 TransformerConfigurationException(String message, SourceLocator locator, Throwable e) argument
H A DTransformerException.java31 /** Field locator specifies where the error occurred */
32 SourceLocator locator; field in class:TransformerException
41 return locator;
51 locator = location;
129 this.locator = null;
142 this.locator = null;
162 this.locator = null;
173 * @param locator The locator object for the error or warning.
175 public TransformerException(String message, SourceLocator locator) { argument
191 TransformerException(String message, SourceLocator locator, Throwable e) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DSAXParseException.java54 * @param locator The locator object for the error or warning (may be
58 public SAXParseException (String message, Locator locator) {
60 if (locator != null) {
61 init(locator.getPublicId(), locator.getSystemId(),
62 locator.getLineNumber(), locator.getColumnNumber());
79 * @param locator The locator objec
57 SAXParseException(String message, Locator locator) argument
83 SAXParseException(String message, Locator locator, Exception e) argument
[all...]
H A DDocumentHandler.java55 * required) to supply a locator: if it does so, it must supply
56 * the locator to the application by invoking this method before
60 * <p>The locator allows the application to determine the end
65 * business rules). The information returned by the locator
68 * <p>Note that the locator will return correct information only
72 * @param locator An object that can return the location of
76 public abstract void setDocumentLocator (Locator locator); argument
H A DContentHandler.java65 * required) to supply a locator: if it does so, it must supply
66 * the locator to the application by invoking this method before
70 * <p>The locator allows the application to determine the end
75 * business rules). The information returned by the locator
78 * <p>Note that the locator will return correct information only
84 * @param locator an object that can return the location of
88 public void setDocumentLocator (Locator locator); argument
H A DHandlerBase.java140 * method in a subclass if they wish to store the locator for use
143 * @param locator A locator for all SAX document events.
147 public void setDocumentLocator (Locator locator)
144 setDocumentLocator(Locator locator) argument
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DLocator2Impl.java46 * @param locator The existing Locator object.
48 public Locator2Impl (Locator locator) argument
50 super (locator);
51 if (locator instanceof Locator2) {
52 Locator2 l2 = (Locator2) locator;
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DLocatorImpl.java22 * can use it to make a persistent snapshot of a locator at any
26 * Locator locator;
29 * public void setLocator (Locator locator)
31 * // note the locator
32 * this.locator = locator;
39 * Locator startloc = new LocatorImpl(locator);
70 * <p>Create a persistent copy of the current state of a locator.
71 * When the original locator changes, this copy will still keep
75 * @param locator Th
77 LocatorImpl(Locator locator) argument
[all...]
H A DXMLFilterImpl.java440 * Filter a new document locator event.
442 * @param locator The document locator.
444 public void setDocumentLocator (Locator locator)
446 this.locator = locator;
448 contentHandler.setDocumentLocator(locator);
713 private Locator locator = null;
438 setDocumentLocator(Locator locator) argument
704 private Locator locator = null; field in class:XMLFilterImpl
H A DParserAdapter.java419 * Adapt a SAX1 document locator event.
421 * @param locator A document locator.
424 public void setDocumentLocator (Locator locator)
426 this.locator = locator;
428 contentHandler.setDocumentLocator(locator);
723 locator = null;
780 if (locator != null) {
781 return new SAXParseException(message, locator);
422 setDocumentLocator(Locator locator) argument
831 Locator locator; field in class:ParserAdapter
[all...]
H A DXMLReaderAdapter.java253 * Set a document locator.
255 * @param locator The document locator.
258 public void setDocumentLocator (Locator locator)
261 documentHandler.setDocumentLocator(locator);
256 setDocumentLocator(Locator locator) argument
H A DDefaultHandler.java160 * method in a subclass if they wish to store the locator for use
163 * @param locator A locator for all SAX document events.
167 public void setDocumentLocator (Locator locator)
164 setDocumentLocator(Locator locator) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java53 private final Locator locator = new ExpatLocator(); field in class:ExpatParser
279 + " '" + this.systemId + "' at " + locator, e);
372 throw new ParseException("No input specified.", locator);
408 throw new ParseException(e.getMessage(), this.locator);
429 throw new ParseException(e.getMessage(), this.locator);
461 throw new ParseException(e.getMessage(), this.locator);
499 throw new ParseException(e.getMessage(), locator);
515 throw new ParseException(e.getMessage(), this.locator);
523 contentHandler.setDocumentLocator(this.locator);
545 throw new ParseException(e.getMessage(), this.locator);
727 ParseException(String message, Locator locator) argument
731 makeMessage(String message, Locator locator) argument
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DExpatSaxParserTest.java187 Locator locator; field in class:ExpatSaxParserTest.NamespaceHandler
201 public void setDocumentLocator(Locator locator) { argument
202 this.locator = locator;
207 assertNotNull(locator);
235 assertEquals(1, locator.getLineNumber());
300 assertEquals(3, locator.getLineNumber());
424 Locator locator; field in class:ExpatSaxParserTest.TestDtdHandler
439 public void setDocumentLocator(Locator locator) { argument
440 this.locator
[all...]
H A DSimpleParserTest.java141 public void setDocumentLocator(Locator locator) {}
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DXMLReaderAdapterTest.java188 LocatorImpl locator = new LocatorImpl();
189 adapter.setDocumentLocator(locator);
192 assertEquals(new Object[] { locator }, logger.getArgs());
196 adapter.setDocumentLocator(locator);
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DDocumentBuilderImpl.java140 LocatorImpl locator = new LocatorImpl();
142 locator.setPublicId(source.getPublicId());
143 locator.setSystemId(systemId);
144 locator.setLineNumber(ex.getLineNumber());
145 locator.setColumnNumber(ex.getColumnNumber());
147 SAXParseException newEx = new SAXParseException(ex.getMessage(), locator);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockHandler.java85 public void setDocumentLocator(Locator locator) { argument
86 logger.add("setDocumentLocator", locator);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserTestSupport.java290 public void setDocumentLocator(Locator locator) { argument
291 // data_documentLocators.append(locator);
455 public void setDocumentLocator(Locator locator) { argument

Completed in 301 milliseconds