Package nu.validator.htmlparser.impl
Class PushedLocation
- java.lang.Object
-
- nu.validator.htmlparser.impl.PushedLocation
-
public class PushedLocation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
col
private int
colPrev
private int
line
private int
linePrev
private PushedLocation
next
private boolean
nextCharOnNewLine
private java.lang.String
publicId
private java.lang.String
systemId
-
Constructor Summary
Constructors Constructor Description PushedLocation(int line, int linePrev, int col, int colPrev, boolean nextCharOnNewLine, java.lang.String publicId, java.lang.String systemId, PushedLocation next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCol()
Returns the col.int
getColPrev()
Returns the colPrev.int
getLine()
Returns the line.int
getLinePrev()
Returns the linePrev.PushedLocation
getNext()
Returns the next.java.lang.String
getPublicId()
Returns the publicId.java.lang.String
getSystemId()
Returns the systemId.boolean
isNextCharOnNewLine()
Returns the nextCharOnNewLine.
-
-
-
Field Detail
-
line
private final int line
-
linePrev
private final int linePrev
-
col
private final int col
-
colPrev
private final int colPrev
-
nextCharOnNewLine
private final boolean nextCharOnNewLine
-
publicId
private final java.lang.String publicId
-
systemId
private final java.lang.String systemId
-
next
private final PushedLocation next
-
-
Constructor Detail
-
PushedLocation
public PushedLocation(int line, int linePrev, int col, int colPrev, boolean nextCharOnNewLine, java.lang.String publicId, java.lang.String systemId, PushedLocation next)
- Parameters:
line
-linePrev
-col
-colPrev
-nextCharOnNewLine
-publicId
-systemId
-next
-
-
-
Method Detail
-
getLine
public int getLine()
Returns the line.- Returns:
- the line
-
getLinePrev
public int getLinePrev()
Returns the linePrev.- Returns:
- the linePrev
-
getCol
public int getCol()
Returns the col.- Returns:
- the col
-
getColPrev
public int getColPrev()
Returns the colPrev.- Returns:
- the colPrev
-
isNextCharOnNewLine
public boolean isNextCharOnNewLine()
Returns the nextCharOnNewLine.- Returns:
- the nextCharOnNewLine
-
getPublicId
public java.lang.String getPublicId()
Returns the publicId.- Returns:
- the publicId
-
getSystemId
public java.lang.String getSystemId()
Returns the systemId.- Returns:
- the systemId
-
getNext
public PushedLocation getNext()
Returns the next.- Returns:
- the next
-
-