public class XHTML extends Object
Constructor and Description |
---|
XHTML() |
Modifier and Type | Method and Description |
---|---|
static String |
getAttr(String tag,
String attr)
Retrieves the attribute of the tag
|
static String |
getBody(String tag,
String content) |
static String |
getTag(String tag)
Retrieves the tag's name
|
static String |
removeAttr(String tag,
String attr)
Removes the attribute from the tag
|
static String |
setAttr(String tag,
String attr,
String value)
Sets the attribute of the tag
|
static String |
setBody(String tag,
String value)
Sets the body content for the tag
|
public static String removeAttr(String tag, String attr)
tag
- attr
- public static String setAttr(String tag, String attr, String value)
tag
- attr
- value
- public static String setBody(String tag, String value)
tag
- value
- public static String getAttr(String tag, String attr)
tag
- attr
- Copyright © 2011–2020 aiticon GmbH. All rights reserved.