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.Integercolprivate java.lang.Integerlineprivate INestableNodeparent
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCol()java.lang.IntegergetLine()INestableNodegetParent()booleanhasCol()booleanhasLine()booleanhasParent()voidsetCol(java.lang.Integer col)voidsetLine(java.lang.Integer line)voidsetParent(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)
-
-