| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ea02d1d commit 6063fff
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -721,7 +721,6 @@ public double getDouble(String name) { | |||
| 721 | 721 | * | |
| 722 | 722 | * @param name the non-null full name of the attribute. | |
| 723 | 723 | * @param defaultValue the default value of the attribute. | |
| 724 | - * | ||
| 725 | 724 | * @return the value, or defaultValue if the attribute does not exist. | |
| 726 | 725 | */ | |
| 727 | 726 | public double getDouble(String name, double defaultValue) { | |
@@ -761,7 +760,12 @@ public void setContent(String text) { | |||
| 761 | 760 | ||
| 762 | 761 | /** | |
| 763 | 762 | * Format this XML data as a String. | |
| 763 | + * | ||
| 764 | + * @webref xml:method | ||
| 765 | + * @brief Formats XML data as a String | ||
| 764 | 766 | * @param indent -1 for a single line (and no declaration), >= 0 for indents and newlines | |
| 767 | + * @return the content | ||
| 768 | + * @see XML#toString() | ||
| 765 | 769 | */ | |
| 766 | 770 | public String format(int indent) { | |
| 767 | 771 | try { | |
@@ -847,6 +851,11 @@ public String format(int indent) { | |||
| 847 | 851 | * Return the XML document formatted with two spaces for indents. | |
| 848 | 852 | * Chosen to do this since it's the most common case (e.g. with println()). | |
| 849 | 853 | * Same as format(2). Use the format() function for more options. | |
| 854 | + * | ||
| 855 | + * @webref xml:method | ||
| 856 | + * @brief Gets XML data as a String using default formatting | ||
| 857 | + * @return the content | ||
| 858 | + * @see XML#format(int) | ||
| 850 | 859 | */ | |
| 851 | 860 | @Override | |
| 852 | 861 | public String toString() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments