public static class XMLManipulationHelper.TagDescription extends Object
Constructor and Description |
---|
TagDescription() |
Modifier and Type | Method and Description |
---|---|
void |
addCssClass(String cssClass) |
boolean |
equals(Object obj) |
String |
getAttribute(String key,
String defaultValue) |
Map<String,String> |
getAttributes() |
int |
getCloseEnd() |
int |
getCloseStart() |
String |
getInside(String content) |
String |
getName() |
int |
getOpenEnd() |
int |
getOpenStart() |
boolean |
isAutoClose() |
String |
render(String inside)
return the tag rendered in HTML
|
String |
renderOpen()
return the tag rendered in HTML
|
void |
setCloseEnd(int closeEnd) |
void |
setCloseStart(int closeStart) |
void |
setName(String name) |
void |
setOpenEnd(int openEnd) |
void |
setOpenStart(int openStart) |
String |
toString() |
public int getCloseEnd()
public int getCloseStart()
public String getName()
public int getOpenEnd()
public int getOpenStart()
public boolean isAutoClose()
public String render(String inside)
inside
- the content (null for autoclose tag)public String renderOpen()
inside
- the content (null for autoclose tag)public void setCloseEnd(int closeEnd)
public void setCloseStart(int closeStart)
public void setName(String name)
public void setOpenEnd(int openEnd)
public void setOpenStart(int openStart)
public void addCssClass(String cssClass)
Copyright © 2012-2018. All Rights Reserved.