public class Element extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Element.Type |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String name,
String value) |
String |
getAttribute(String name) |
Element |
getParent() |
String |
getText() |
Element.Type |
getType() |
boolean |
isBlockElement() |
boolean |
isSpanElement() |
void |
setChildren(Element[] children) |
void |
setParent(Element element) |
int |
size() |
public Element(String text, int type)
public void setParent(Element element)
public void setChildren(Element[] children)
public Element getParent()
public String getText()
public int size()
public Element.Type getType()
public boolean isBlockElement()
public boolean isSpanElement()
Copyright © 2013 Uncodin. All Rights Reserved.