/libcore/luni/src/main/java/javax/xml/transform/ |
TransformerConfigurationException.java | 69 * Create a new TransformerConfigurationException from a message and a Locator. 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);
|
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/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...] |
DocumentHandler.java | 34 * the location of any document event using the Locator interface 44 * @see org.xml.sax.Locator 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 74 * @see org.xml.sax.Locator 76 public abstract void setDocumentLocator (Locator locator) [all...] |
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 86 * @see org.xml.sax.Locator 88 public void setDocumentLocator (Locator locator); 295 * must come from the same external entity so that the Locator [all...] |
HandlerBase.java | 137 * Receive a Locator object for document events. 140 * method in a subclass if they wish to store the locator for use 143 * @param locator A locator for all SAX document events. 145 * @see org.xml.sax.Locator 147 public void setDocumentLocator (Locator locator)
|
/external/apache-xml/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...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMConfigurationException.java | 72 * Create a new DTMConfigurationException from a message and a Locator. 79 * @param locator The locator object for the error or warning. 82 SourceLocator locator) { 83 super(message, locator); 91 * @param locator The locator object for the error or warning. 95 SourceLocator locator, 97 super(message, locator, e);
|
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/xml/sax/ext/ |
Locator2Impl.java | 8 import org.xml.sax.Locator; 36 * of this class is to make a snapshot of an existing Locator. 41 * Copy an existing Locator or Locator2 object. 46 * @param locator The existing Locator object. 48 public Locator2Impl (Locator locator) 50 super (locator); 51 if (locator instanceof Locator2) { 52 Locator2 l2 = (Locator2) locator; [all...] |
/frameworks/base/sax/java/android/sax/ |
BadXmlException.java | 20 import org.xml.sax.Locator; 27 public BadXmlException(String message, Locator locator) { 28 super(message, locator);
|
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/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...] |
/external/chromium_org/v8/src/ |
effects.h | 84 Locator locator; local 85 return this->Find(var, &locator) 86 ? locator.value() : Effect::Unknown(Base::zone()); 97 Locator locator; local 98 if (!this->Insert(var, &locator)) { 99 effect = Effect::Seq(locator.value(), effect, Base::zone()); 101 locator.set_value(effect); 111 Locator locator local 153 Locator locator; local [all...] |
splay-tree-inl.h | 23 Locator* locator) { 34 locator->bind(root_); 41 locator->bind(root_); 77 bool SplayTree<Config, Allocator>::Find(const Key& key, Locator* locator) { 79 locator->bind(root_); 89 Locator* locator) { 99 locator->bind(root_) [all...] |
splay-tree.h | 36 class Locator; 60 // true if a node was inserted, otherwise false. If found the locator 62 bool Insert(const Key& key, Locator* locator); 65 // otherwise false. If the node is found the locator is enabled and 67 bool Find(const Key& key, Locator* locator); 71 bool FindGreatestLessThan(const Key& key, Locator* locator); 74 bool FindGreatest(Locator* locator) [all...] |
profile-generator.cc | 365 CodeTree::Locator locator; local 366 tree_.Insert(addr, &locator); 367 locator.set_value(CodeEntryInfo(entry, size)); 375 CodeTree::Locator locator; local 376 if (!tree_.FindGreatestLessThan(addr, &locator)) break; 377 Address start2 = locator.key(), end2 = start2 + locator.value().size; 386 CodeTree::Locator locator local 402 CodeTree::Locator locator; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AndroidLaunch.java | 35 * @param locator 38 ISourceLocator locator) { 39 super(launchConfiguration, mode, locator);
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
XPathFactory.java | 39 * @param locator The location of the expression string, mainly for diagnostic 48 XPath create(String exprString, SourceLocator locator,
|
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...] |
XPath.java | 155 * @param locator The location of the expression, may be null. 164 String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, 174 XPathParser parser = new XPathParser(errorListener, locator); 175 Compiler compiler = new Compiler(errorListener, locator, m_funcTable); 190 if((null != locator) && locator instanceof ExpressionNode) 192 expr.exprSetParent((ExpressionNode)locator); 203 * @param locator The location of the expression, may be null. 212 String exprString, SourceLocator locator, 223 XPathParser parser = new XPathParser(errorListener, locator); [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemTemplate.java | 93 * @param locator SourceLocator holding location information 95 public void setLocaterInfo(SourceLocator locator) 98 m_publicId = locator.getPublicId(); 99 m_systemId = locator.getSystemId(); 101 super.setLocaterInfo(locator);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatParser.java | 31 import org.xml.sax.Locator; 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); local 515 throw new ParseException(e.getMessage(), this.locator); 728 super(makeMessage(message, locator), locator); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/sax/ |
_exceptions.py | 59 def __init__(self, msg, exception, locator): 62 self._locator = locator
|