org.attoparser.markup.dom.impl
Class Text

Object
  extended by org.attoparser.markup.dom.impl.AbstractNode
      extended by org.attoparser.markup.dom.impl.Text
All Implemented Interfaces:
Serializable, INode, IText
Direct Known Subclasses:
CDATASection

public class Text
extends AbstractNode
implements IText, Serializable

Default implementation of the IText interface.

Since:
1.1
Author:
Daniel Fernández
See Also:
Serialized Form

Constructor Summary
Text(String content)
           
 
Method Summary
 Text cloneNode(INestableNode parent)
           
 String getContent()
           
 void setContent(char[] buffer, int offset, int len)
           
 void setContent(String content)
           
 
Methods inherited from class org.attoparser.markup.dom.impl.AbstractNode
getCol, getLine, getParent, hasCol, hasLine, hasParent, setCol, setLine, setParent
 
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
getCol, getLine, getParent, hasCol, hasLine, hasParent, setCol, setLine, setParent
 

Constructor Detail

Text

public Text(String content)
Method Detail

getContent

public String getContent()
Specified by:
getContent in interface IText

setContent

public void setContent(String content)
Specified by:
setContent in interface IText

setContent

public void setContent(char[] buffer,
                       int offset,
                       int len)
Specified by:
setContent in interface IText

cloneNode

public Text cloneNode(INestableNode parent)
Specified by:
cloneNode in interface INode


Copyright © 2012 The ATTOPARSER team. All Rights Reserved.