public class XMLWriterImpl.XMLElement extends Object
Constructor and Description |
---|
XMLElement(String name,
int indentation) |
Modifier and Type | Method and Description |
---|---|
void |
setAttribute(String attribute,
String value) |
void |
setText(String content) |
void |
setWrapAttributes(boolean b) |
void |
writeElementEnd()
Write end element.
|
void |
writeElementStart(boolean close) |
public void setWrapAttributes(boolean b)
b
- bpublic void setAttribute(String attribute, String value)
attribute
- attributevalue
- valuepublic void setText(String content)
content
- contentpublic void writeElementStart(boolean close)
close
- closepublic void writeElementEnd()
Copyright © 2020 The University of Manchester. All rights reserved.