|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.ui.app.Prefs
org.fife.rtext.plugins.tidy.XmlOptions
Options for tidying XML.
While all fields in this class are public, please use the getters and setters for accessing them for bounds checking, etc.
| Field Summary | |
boolean |
addXmlDeclaration
|
int |
xmlSpaceCount
|
int |
xmlWrapLength
|
| Constructor Summary | |
XmlOptions()
|
|
| Method Summary | |
boolean |
getAddXmlDeclaration()
Returns whether the XML declaration should be added. |
int |
getSpaceCount()
Returns the number of spaces to use for indentation when formatting XML. |
int |
getWrapLength()
Returns how long formatted lines can be before they are wrapped. |
void |
setAddXmlDeclaration(boolean add)
Sets whether the XML declaration should be added. |
void |
setDefaults()
Sets all fields in this class to their default values. |
void |
setSpaceCount(int count)
Sets the number of spaces to use for indentation when formatting XML. |
void |
setWrapLength(int length)
Sets how long formatted lines can be before they are wrapped. |
| Methods inherited from class org.fife.ui.app.Prefs |
load, load, save, save |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean addXmlDeclaration
public int xmlSpaceCount
public int xmlWrapLength
| Constructor Detail |
public XmlOptions()
| Method Detail |
public boolean getAddXmlDeclaration()
setAddXmlDeclaration(boolean)public int getSpaceCount()
setSpaceCount(int)public int getWrapLength()
setWrapLength(int)public void setAddXmlDeclaration(boolean add)
add - Whether the XML declaration should be added.getAddXmlDeclaration()public void setDefaults()
setDefaults in class Prefspublic void setSpaceCount(int count)
count - The number of spaces.getSpaceCount()public void setWrapLength(int length)
length - The maximum length of a formatted line, or "0" for no
limit.getWrapLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||