|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.clazzes.jdbc2xml.sax.XmlPrettyConfig
public class XmlPrettyConfig
Configuration for XmlPretty
.
Constructor Summary | |
---|---|
XmlPrettyConfig()
Create a new instance and set active = true width = 2 maxDepth = 8 . |
|
XmlPrettyConfig(int width,
int maxDepth)
Create a new instance. |
Method Summary | |
---|---|
void |
addSingleLineTag(String tagName)
All data inside the passed tag will be formatted as a single line (without line breaks). |
int |
getMaxDepth()
|
List<String> |
getSingleLineTags()
|
int |
getWidth()
|
boolean |
isActive()
|
void |
setActive(boolean active)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlPrettyConfig()
active = true
width = 2
maxDepth = 8
.
public XmlPrettyConfig(int width, int maxDepth)
width
- Indentation.maxDepth
- Maximum depth to indent.Method Detail |
---|
public void addSingleLineTag(String tagName)
tagName
- The tag to omit line breaks for.public int getWidth()
public int getMaxDepth()
public List<String> getSingleLineTags()
public boolean isActive()
public void setActive(boolean active)
active
- the active to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |