HomeSort by relevance Sort by last modified time
    Searched defs:locator (Results 1 - 25 of 28) sorted by null

1 2

  /libcore/luni/src/main/java/org/apache/xml/utils/
SAXSourceLocator.java 27 import org.xml.sax.Locator;
34 * and thus can be both a SourceLocator and a SAX Locator.
40 /** The SAX Locator object.
43 Locator m_locator;
55 * @param locator Source locator
57 public SAXSourceLocator(Locator locator)
59 m_locator = locator;
60 this.setColumnNumber(locator.getColumnNumber())
    [all...]
DefaultErrorHandler.java 280 // SourceLocator locator = exception.getLocator();
281 SourceLocator locator = null; local
284 // Try to find the locator closest to the cause.
289 locator = new SAXSourceLocator((SAXParseException)cause);
295 locator = causeLocator;
307 exception.setLocator(locator);
322 SourceLocator locator = null; local
325 // Try to find the locator closest to the cause.
330 locator = new SAXSourceLocator((SAXParseException)cause);
336 locator = causeLocator
    [all...]
  /libcore/luni/src/main/java/org/xml/sax/
SAXParseException.java 19 * in the original XML document, as if it came from a {@link Locator}
34 * @see org.xml.sax.Locator
47 * Create a new SAXParseException from a message and a Locator.
54 * @param locator The locator object for the error or warning (may be
56 * @see org.xml.sax.Locator
58 public SAXParseException (String message, Locator locator) {
60 if (locator != null) {
61 init(locator.getPublicId(), locator.getSystemId()
    [all...]
  /libcore/luni/src/main/java/org/xml/sax/helpers/
LocatorImpl.java 1 // SAX default implementation for Locator.
8 import org.xml.sax.Locator;
12 * Provide an optional convenience implementation of Locator.
22 * can use it to make a persistent snapshot of a locator at any
26 * Locator locator;
27 * Locator startloc;
29 * public void setLocator (Locator locator)
31 * // note the locator
    [all...]
XMLFilterImpl.java 16 import org.xml.sax.Locator;
442 * Filter a new document locator event.
444 * @param locator The document locator.
446 public void setDocumentLocator (Locator locator)
448 this.locator = locator;
450 contentHandler.setDocumentLocator(locator);
715 private Locator locator = null
706 private Locator locator = null; field in class:XMLFilterImpl
    [all...]
ParserAdapter.java 20 import org.xml.sax.Locator;
421 * Adapt a SAX1 document locator event.
423 * @param locator A document locator.
426 public void setDocumentLocator (Locator locator)
428 this.locator = locator;
430 contentHandler.setDocumentLocator(locator);
726 locator = null
834 Locator locator; field in class:ParserAdapter
    [all...]
  /external/webkit/WebCore/rendering/
break_lines.cpp 100 TextBreakLocatorRef locator = 0; local
101 UCCreateTextBreakLocator(0, 0, kUCTextBreakLineMask, &locator);
102 return locator;
  /libcore/luni/src/main/java/org/apache/xalan/processor/
ProcessorLRE.java 42 import org.xml.sax.Locator;
101 // ***** Note that we're assigning an empty locator. Is this necessary?
103 Locator locator = handler.getLocator(); local
104 if(null != locator)
106 slocator.setLineNumber(locator.getLineNumber());
107 slocator.setColumnNumber(locator.getColumnNumber());
108 slocator.setPublicId(locator.getPublicId());
109 slocator.setSystemId(locator.getSystemId());
StylesheetHandler.java 55 import org.xml.sax.Locator;
399 * Receive a Locator object for document events.
400 * This is called by the parser to push a locator for the
405 * @param locator A locator for all SAX document events.
407 * @see org.xml.sax.Locator
409 public void setDocumentLocator(Locator locator)
412 // System.out.println("pushing locator for: "+locator.getSystemId())
855 SAXSourceLocator locator = getLocator(); local
901 SAXSourceLocator locator = getLocator(); local
968 SAXSourceLocator locator = getLocator(); local
996 SAXSourceLocator locator = getLocator(); local
1024 SAXSourceLocator locator = getLocator(); local
1426 SourceLocator locator = getLocator(); local
1450 SAXSourceLocator locator = new SAXSourceLocator(); local
1664 SAXSourceLocator locator = getLocator(); local
1673 throw new org.xml.sax.SAXParseException(te.getMessage(), locator, te); local
    [all...]
  /frameworks/base/sax/java/android/sax/
RootElement.java 23 import org.xml.sax.Locator;
99 Locator locator; field in class:RootElement.Handler
105 public void setDocumentLocator(Locator locator) {
106 this.locator = locator;
124 locator);
147 + Element.toString(uri, localName), locator);
184 current.checkRequiredChildren(locator);
    [all...]
  /libcore/luni/src/main/java/javax/xml/transform/
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;
166 * Create a new TransformerException from a message and a Locator.
173 * @param locator The locator object for the error or warning
    [all...]
  /libcore/luni/src/main/java/org/apache/xml/dtm/
DTMException.java 40 /** Field locator specifies where the error occured.
42 SourceLocator locator; field in class:DTMException
51 return locator;
61 locator = location;
140 this.locator = null;
153 this.locator = null;
173 this.locator = null;
177 * Create a new DTMException from a message and a Locator.
184 * @param locator The locator object for the error or warning
    [all...]
  /libcore/luni/src/main/java/org/apache/xalan/templates/
FuncDocument.java 326 SourceLocator locator = spe2.getLocator(); local
327 if ((null != locator) && (null != locator.getSystemId()))
328 diagnosticsWriter.println(" ID: " + locator.getSystemId()
329 + " Line #" + locator.getLineNumber()
331 + locator.getColumnNumber());
  /libcore/luni/src/main/java/org/apache/xpath/
SourceTreeManager.java 119 String base, String urlString, SourceLocator locator)
230 * @param locator The location of the caller, for diagnostic purposes.
238 String base, String urlString, SourceLocator locator, XPathContext xctxt)
245 Source source = this.resolveURI(base, urlString, locator);
248 return getSourceTree(source, locator, xctxt);
252 throw new TransformerException(ioe.getMessage(), locator, ioe); local
257 throw new TransformerException(te.getMessage(), locator, te);
265 * @param locator The location of the caller, for diagnostic purposes.
272 public int getSourceTree(Source source, SourceLocator locator, XPathContext xctxt)
281 n = parseToNode(source, locator, xctxt)
322 throw new TransformerException(e.getMessage(), locator, e); local
387 throw new TransformerException(se.getMessage(), locator, se); local
    [all...]
  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
XMLReaderAdapterTest.java 31 import org.xml.sax.Locator;
239 args = { Locator.class }
243 LocatorImpl locator = new LocatorImpl(); local
244 adapter.setDocumentLocator(locator);
247 assertEquals(new Object[] { locator }, logger.getArgs());
251 adapter.setDocumentLocator(locator);
  /libcore/luni/src/main/java/org/apache/harmony/xml/
ExpatParser.java 32 import org.xml.sax.Locator;
55 private final Locator locator = new ExpatLocator(); field in class:ExpatParser
282 + " '" + this.systemId + "' at " + locator, e);
377 throw new ParseException("No input specified.", locator);
413 throw new ParseException(e.getMessage(), this.locator);
434 throw new ParseException(e.getMessage(), this.locator);
466 throw new ParseException(e.getMessage(), this.locator);
504 throw new ParseException(e.getMessage(), locator); local
520 throw new ParseException(e.getMessage(), this.locator);
733 super(makeMessage(message, locator), locator); local
    [all...]
  /external/v8/src/
ic.cc 373 StackFrameLocator locator; local
374 JavaScriptFrame* frame = locator.FindJavaScriptFrame(0);
388 StackFrameLocator locator; local
389 JavaScriptFrame* frame = locator.FindJavaScriptFrame(0);
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DocumentBuilderImpl.java 144 LocatorImpl locator = new LocatorImpl(); local
146 locator.setPublicId(source.getPublicId());
147 locator.setSystemId(systemId);
148 locator.setLineNumber(ex.getLineNumber());
149 locator.setColumnNumber(ex.getColumnNumber());
152 locator);
  /frameworks/base/media/libmediaplayerservice/
MediaPlayerService.cpp 705 EAS_FILE locator; local
706 locator.path = NULL;
707 locator.fd = fd;
708 locator.offset = offset;
709 locator.length = length;
711 if (EAS_OpenFile(easdata, &locator, &eashandle) == EAS_SUCCESS) {
    [all...]
  /libcore/luni/src/main/java/org/apache/xalan/transformer/
TransformerHandlerImpl.java 43 import org.xml.sax.Locator;
313 * Filter a new document locator event.
315 * @param locator The document locator.
318 public void setDocumentLocator(Locator locator)
323 + locator.getSystemId());
325 this.m_locator = locator;
329 setSystemId(locator.getSystemId());
334 m_contentHandler.setDocumentLocator(locator);
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/xml/
ExpatParserTest.java 25 import org.xml.sax.Locator;
329 Locator locator; field in class:ExpatParserTest.NamespaceHandler
343 public void setDocumentLocator(Locator locator) {
344 this.locator = locator;
349 assertNotNull(locator);
377 assertEquals(1, locator.getLineNumber());
442 assertEquals(3, locator.getLineNumber())
566 Locator locator; field in class:ExpatParserTest.TestDtdHandler
    [all...]
  /external/openssl/crypto/ocsp/
ocsp.h 346 * locator AuthorityInfoAccessSyntax OPTIONAL }
351 STACK_OF(ACCESS_DESCRIPTION) *locator; member in struct:ocsp_service_locator_st
  /external/openssl/include/openssl/
ocsp.h 346 * locator AuthorityInfoAccessSyntax OPTIONAL }
351 STACK_OF(ACCESS_DESCRIPTION) *locator; member in struct:ocsp_service_locator_st
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/4/
android.jar 

Completed in 927 milliseconds

1 2