Package nu.validator.htmlparser.impl
Class PushedLocation
java.lang.Object
nu.validator.htmlparser.impl.PushedLocation
public class PushedLocation
extends java.lang.Object
-
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
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.
-
Constructor Details
-
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 Details
-
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
Returns the next.- Returns:
- the next
-