/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerException.java | 32 SourceLocator locator; field in TransformerException 41 return locator; in getLocator() 51 locator = location; in setLocator() 129 this.locator = null; in TransformerException() 142 this.locator = null; in TransformerException() 162 this.locator = null; in TransformerException() 175 public TransformerException(String message, SourceLocator locator) { in TransformerException() argument 180 this.locator = locator; in TransformerException() 191 public TransformerException(String message, SourceLocator locator, in TransformerException() argument 197 this.locator = locator; in TransformerException() [all …]
|
D | TransformerConfigurationException.java | 79 SourceLocator locator) { in TransformerConfigurationException() argument 80 super(message, locator); in TransformerConfigurationException() 92 SourceLocator locator, in TransformerConfigurationException() argument 94 super(message, locator, e); in TransformerConfigurationException()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | SAXParseException.java | 59 public SAXParseException (String message, Locator locator) { in SAXParseException() argument 61 if (locator != null) { in SAXParseException() 62 init(locator.getPublicId(), locator.getSystemId(), in SAXParseException() 63 locator.getLineNumber(), locator.getColumnNumber()); in SAXParseException() 85 public SAXParseException (String message, Locator locator, in SAXParseException() argument 88 if (locator != null) { in SAXParseException() 89 init(locator.getPublicId(), locator.getSystemId(), in SAXParseException() 90 locator.getLineNumber(), locator.getColumnNumber()); in SAXParseException()
|
D | DocumentHandler.java | 76 public abstract void setDocumentLocator (Locator locator); in setDocumentLocator() argument
|
D | ContentHandler.java | 88 public void setDocumentLocator (Locator locator); in setDocumentLocator() argument
|
D | HandlerBase.java | 144 public void setDocumentLocator (Locator locator) in setDocumentLocator() argument
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | LocatorImpl.java | 79 public LocatorImpl (Locator locator) in LocatorImpl() argument 81 setPublicId(locator.getPublicId()); in LocatorImpl() 82 setSystemId(locator.getSystemId()); in LocatorImpl() 83 setLineNumber(locator.getLineNumber()); in LocatorImpl() 84 setColumnNumber(locator.getColumnNumber()); in LocatorImpl()
|
D | ParserAdapter.java | 426 public void setDocumentLocator (Locator locator) in setDocumentLocator() argument 428 this.locator = locator; in setDocumentLocator() 430 contentHandler.setDocumentLocator(locator); in setDocumentLocator() 725 locator = null; in setupParser() 785 if (locator != null) { in makeException() 786 return new SAXParseException(message, locator); in makeException() 850 Locator locator; field in ParserAdapter
|
D | XMLFilterImpl.java | 441 public void setDocumentLocator (Locator locator) in setDocumentLocator() argument 443 this.locator = locator; in setDocumentLocator() 445 contentHandler.setDocumentLocator(locator); in setDocumentLocator() 710 private Locator locator = null; field in XMLFilterImpl
|
D | XMLReaderAdapter.java | 261 public void setDocumentLocator (Locator locator) in setDocumentLocator() argument 264 documentHandler.setDocumentLocator(locator); in setDocumentLocator()
|
D | DefaultHandler.java | 164 public void setDocumentLocator (Locator locator) in setDocumentLocator() argument
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
D | Locator2Impl.java | 52 public Locator2Impl (Locator locator) in Locator2Impl() argument 54 super (locator); in Locator2Impl() 55 if (locator instanceof Locator2) { in Locator2Impl() 56 Locator2 l2 = (Locator2) locator; in Locator2Impl()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 61 private final Locator locator = new ExpatLocator(); field in ExpatParser 290 + " '" + this.systemId + "' at " + locator, e); in handleExternalEntity() 383 throw new ParseException("No input specified.", locator); in parseExternalEntity() 419 throw new ParseException(e.getMessage(), this.locator); in append() 441 throw new ParseException(e.getMessage(), this.locator); in append() 474 throw new ParseException(e.getMessage(), this.locator); in append() 512 throw new ParseException(e.getMessage(), locator); in parseFragment() 528 throw new ParseException(e.getMessage(), this.locator); in parseFragment() 536 contentHandler.setDocumentLocator(this.locator); in startDocument() 559 throw new ParseException(e.getMessage(), this.locator); in finish() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | ExpatSaxParserTest.java | 187 Locator locator; field in ExpatSaxParserTest.NamespaceHandler 201 public void setDocumentLocator(Locator locator) { in setDocumentLocator() argument 202 this.locator = locator; in setDocumentLocator() 207 assertNotNull(locator); in startDocument() 235 assertEquals(1, locator.getLineNumber()); in startElement() 300 assertEquals(3, locator.getLineNumber()); in endElement() 424 Locator locator; field in ExpatSaxParserTest.TestDtdHandler 439 public void setDocumentLocator(Locator locator) { in setDocumentLocator() argument 440 this.locator = locator; in setDocumentLocator()
|
D | SimpleParserTest.java | 141 public void setDocumentLocator(Locator locator) {}
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | DocumentBuilderImpl.java | 140 LocatorImpl locator = new LocatorImpl(); in parse() 142 locator.setPublicId(source.getPublicId()); in parse() 143 locator.setSystemId(systemId); in parse() 144 locator.setLineNumber(ex.getLineNumber()); in parse() 145 locator.setColumnNumber(ex.getColumnNumber()); in parse() 147 SAXParseException newEx = new SAXParseException(ex.getMessage(), locator); in parse()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | XMLReaderAdapterTest.java | 188 LocatorImpl locator = new LocatorImpl(); in testSetDocumentLocator() local 189 adapter.setDocumentLocator(locator); in testSetDocumentLocator() 192 assertEquals(new Object[] { locator }, logger.getArgs()); in testSetDocumentLocator() 196 adapter.setDocumentLocator(locator); in testSetDocumentLocator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | MockHandler.java | 85 public void setDocumentLocator(Locator locator) { in setDocumentLocator() argument 86 logger.add("setDocumentLocator", locator); in setDocumentLocator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserTestSupport.java | 290 public void setDocumentLocator(Locator locator) { in setDocumentLocator() argument 455 public void setDocumentLocator(Locator locator) { in setDocumentLocator() argument
|