/libcore/luni/src/main/java/javax/xml/transform/ |
H A D | TransformerConfigurationException.java | 76 * @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 D | TransformerException.java | 31 /** 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 D | SAXParseException.java | 54 * @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 D | DocumentHandler.java | 55 * 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 D | ContentHandler.java | 65 * 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 D | HandlerBase.java | 140 * 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 D | Locator2Impl.java | 46 * @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 D | LocatorImpl.java | 22 * 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 D | XMLFilterImpl.java | 440 * 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 D | ParserAdapter.java | 419 * 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 D | XMLReaderAdapter.java | 253 * 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 D | DefaultHandler.java | 160 * 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 D | ExpatParser.java | 53 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 D | ExpatSaxParserTest.java | 187 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 D | SimpleParserTest.java | 141 public void setDocumentLocator(Locator locator) {}
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
H A D | XMLReaderAdapterTest.java | 188 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 D | DocumentBuilderImpl.java | 139 LocatorImpl locator = new LocatorImpl(); 141 locator.setPublicId(source.getPublicId()); 142 locator.setSystemId(systemId); 143 locator.setLineNumber(ex.getLineNumber()); 144 locator.setColumnNumber(ex.getColumnNumber()); 146 SAXParseException newEx = new SAXParseException(ex.getMessage(), locator);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MockHandler.java | 85 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 D | SAXParserTestSupport.java | 290 public void setDocumentLocator(Locator locator) { argument 291 // data_documentLocators.append(locator); 455 public void setDocumentLocator(Locator locator) { argument
|