public class Element extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,String> |
attributes |
List<Element> |
children |
String |
name |
Element |
parent |
String |
text |
| Constructor and Description |
|---|
Element(Element parent,
String name,
Map<String,String> attributes,
List<Element> children,
String text) |
Element(Element parent,
String name,
Map<String,String> attributes,
String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendChild(Element child) |
Element |
attribute(String name,
String value) |
Element |
child(Element child) |
static Element |
element(String name) |
Element |
text(String text) |
Copyright © 2018. All rights reserved.