## Uses of Interface
javax.xml.stream.Location

- Packages that use Location
  Package | Description
  --- | ---
  javax.xml.stream |
  javax.xml.stream.events |
  javax.xml.stream.util |

- - ### Uses of Location in javax.xml.stream

    Fields in javax.xml.stream declared as Location
    Modifier and Type | Field and Description
    --- | ---
    `protected Location` | XMLStreamException.`location`

    Methods in javax.xml.stream that return Location
    Modifier and Type | Method and Description
    --- | ---
    `Location` | XMLStreamReader.`getLocation()` Return the current location of the processor.
    `Location` | XMLStreamException.`getLocation()` Gets the location of the exception

    Methods in javax.xml.stream with parameters of type Location
    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.

    Constructors in javax.xml.stream with parameters of type Location
    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.

  - ### Uses of Location in javax.xml.stream.events

    Methods in javax.xml.stream.events that return Location
    Modifier and Type | Method and Description
    --- | ---
    `Location` | XMLEvent.`getLocation()` Return the location of this event.

  - ### Uses of Location in javax.xml.stream.util

    Methods in javax.xml.stream.util that return Location
    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, 2019, Oracle and/or its affiliates. All rights reserved.