public class ImmutableLocation
extends java.lang.Object
implements javax.xml.stream.Location
An immutable StAX Location
.
Constructor and Description |
---|
ImmutableLocation(int characterOffset,
int columnNumber,
int lineNumber,
java.lang.String publicId,
java.lang.String systemId) |
ImmutableLocation(javax.xml.stream.Location location) |
Modifier and Type | Method and Description |
---|---|
int |
getCharacterOffset() |
int |
getColumnNumber() |
int |
getLineNumber() |
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
public ImmutableLocation(javax.xml.stream.Location location)
public ImmutableLocation(int characterOffset, int columnNumber, int lineNumber, java.lang.String publicId, java.lang.String systemId)
public int getCharacterOffset()
getCharacterOffset
in interface javax.xml.stream.Location
public int getColumnNumber()
getColumnNumber
in interface javax.xml.stream.Location
public int getLineNumber()
getLineNumber
in interface javax.xml.stream.Location
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.stream.Location
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.stream.Location
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.