| Package | Description | 
|---|---|
| javax.xml.stream | |
| javax.xml.stream.events | |
| javax.xml.stream.util | 
| Modifier and Type | Field and Description | 
|---|---|
protected Location | 
XMLStreamException.location  | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
XMLStreamException.getLocation()
Gets the location of the exception 
 | 
Location | 
XMLStreamReader.getLocation()
Return the current location of the processor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
XMLReporter.report(String message,
      String errorType,
      Object relatedInformation,
      Location location)
Report the desired message in an application specific format. 
 | 
abstract void | 
XMLEventFactory.setLocation(Location location)
This method allows setting of the Location on each event that
 is created by this factory. 
 | 
| Constructor and Description | 
|---|
XMLStreamException(String msg,
                  Location location)
Construct an exception with the assocated message, exception and location. 
 | 
XMLStreamException(String msg,
                  Location location,
                  Throwable th)
Construct an exception with the assocated message, exception and location. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
XMLEvent.getLocation()
Return the location of this event. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
StreamReaderDelegate.getLocation()  | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.