org.attoparser.markup.dom.impl
Class AbstractNode

Object
  extended by org.attoparser.markup.dom.impl.AbstractNode
All Implemented Interfaces:
INode
Direct Known Subclasses:
AbstractNestableNode, Comment, DocType, ProcessingInstruction, Text, XmlDeclaration

public abstract class AbstractNode
extends Object
implements INode

Base abstract class for all nodes in a attoDOM tree.

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
protected AbstractNode()
           
 
Method Summary
 Integer getCol()
           
 Integer getLine()
           
 INestableNode getParent()
           
 boolean hasCol()
           
 boolean hasLine()
           
 boolean hasParent()
           
 void setCol(Integer col)
           
 void setLine(Integer line)
           
 void setParent(INestableNode parent)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.attoparser.markup.dom.INode
cloneNode
 

Constructor Detail

AbstractNode

protected AbstractNode()
Method Detail

hasLine

public boolean hasLine()
Specified by:
hasLine in interface INode

getLine

public Integer getLine()
Specified by:
getLine in interface INode

setLine

public void setLine(Integer line)
Specified by:
setLine in interface INode

hasCol

public boolean hasCol()
Specified by:
hasCol in interface INode

getCol

public Integer getCol()
Specified by:
getCol in interface INode

setCol

public void setCol(Integer col)
Specified by:
setCol in interface INode

hasParent

public boolean hasParent()
Specified by:
hasParent in interface INode

getParent

public INestableNode getParent()
Specified by:
getParent in interface INode

setParent

public void setParent(INestableNode parent)
Specified by:
setParent in interface INode


Copyright © 2013 The ATTOPARSER team. All Rights Reserved.