Package org.attoparser.dom
Class AbstractNode
- java.lang.Object
-
- org.attoparser.dom.AbstractNode
-
- All Implemented Interfaces:
INode
- Direct Known Subclasses:
AbstractNestableNode
,Comment
,DocType
,ProcessingInstruction
,Text
,XmlDeclaration
abstract class AbstractNode extends java.lang.Object implements INode
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Integer
col
private java.lang.Integer
line
private INestableNode
parent
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getCol()
java.lang.Integer
getLine()
INestableNode
getParent()
boolean
hasCol()
boolean
hasLine()
boolean
hasParent()
void
setCol(java.lang.Integer col)
void
setLine(java.lang.Integer line)
void
setParent(INestableNode parent)
-
-
-
Field Detail
-
line
private java.lang.Integer line
-
col
private java.lang.Integer col
-
parent
private INestableNode parent
-
-
Method Detail
-
getParent
public INestableNode getParent()
-
setParent
public void setParent(INestableNode parent)
-
-