javanet.staxutils
Interface ExtendedLocation

All Superinterfaces:
javax.xml.stream.Location
All Known Implementing Classes:
SimpleLocation

public interface ExtendedLocation
extends javax.xml.stream.Location

Extended the Location interface that exposes nested Locations.

Version:
$Revision: 1.1 $
Author:
Christian Niles

Method Summary
 javax.xml.stream.Location getNestedLocation()
          Returns a nested Location.
 
Methods inherited from interface javax.xml.stream.Location
getCharacterOffset, getColumnNumber, getLineNumber, getPublicId, getSystemId
 

Method Detail

getNestedLocation

javax.xml.stream.Location getNestedLocation()
Returns a nested Location. Nested locations can be used to locate errors in linked files. This is useful when working with external entities, included files, and so forth.

Returns:
The nested Location, or null.


Copyright © 2013. All Rights Reserved.