21 lines
527 B
Java
21 lines
527 B
Java
|
package org.simpleframework.xml.stream;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
class InputPosition implements Position {
|
||
|
private EventNode source;
|
||
|
|
||
|
public InputPosition(EventNode eventNode) {
|
||
|
this.source = eventNode;
|
||
|
}
|
||
|
|
||
|
@Override // org.simpleframework.xml.stream.Position
|
||
|
public int getLine() {
|
||
|
return this.source.getLine();
|
||
|
}
|
||
|
|
||
|
@Override // org.simpleframework.xml.stream.Position
|
||
|
public String toString() {
|
||
|
return String.format("line %s", Integer.valueOf(getLine()));
|
||
|
}
|
||
|
}
|