org.exoplatform.services.html
Class HTMLNode
java.lang.Object
org.exoplatform.services.html.HTMLNode
- All Implemented Interfaces:
- Node<Name>
- Direct Known Subclasses:
- NodeImpl
public abstract class HTMLNode
- extends java.lang.Object
- implements Node<Name>
Author : Nhu Dinh Thuan
Email:nhudinhthuan@yahoo.com
Aug 3, 2006
|
Constructor Summary |
protected |
HTMLNode(char[] value,
Name name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
protected char[] value
name
protected Name name
parent
protected HTMLNode parent
children
protected java.util.List<HTMLNode> children
HTMLNode
protected HTMLNode(char[] value,
Name name)
getValue
public char[] getValue()
- Specified by:
getValue in interface Node<Name>
setValue
public void setValue(char[] value)
- Specified by:
setValue in interface Node<Name>
getConfig
public NodeConfig getConfig()
isNode
public boolean isNode(java.lang.String nodeName)
isNode
public boolean isNode(Name n)
getName
public Name getName()
- Specified by:
getName in interface Node<Name>
setName
public void setName(Name name)
getParent
public HTMLNode getParent()
setParent
public void setParent(HTMLNode parent)
addChild
public void addChild(HTMLNode ele)
getChildren
public java.util.List<HTMLNode> getChildren()
getChildrenNode
public java.util.List<HTMLNode> getChildrenNode()
getTextValue
public java.lang.String getTextValue()
buildValue
public abstract java.lang.StringBuilder buildValue(java.lang.StringBuilder builder)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.