/usr/share/doc/libjenkins-dom4j-java/api/org/dom4j/io/OutputFormat.html is in libjenkins-dom4j-java-doc 1.6.1-hudson-3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Thu Oct 20 11:18:52 UTC 2011 -->
<TITLE>
OutputFormat (dom4j API)
</TITLE>
<META NAME="date" CONTENT="2011-10-20">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../javadoc.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OutputFormat (dom4j API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OutputFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/dom4j/io/HTMLWriter.html" title="class in org.dom4j.io"><B>PREV CLASS</B></A>
<A HREF="../../../org/dom4j/io/SAXContentHandler.html" title="class in org.dom4j.io"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/dom4j/io/OutputFormat.html" target="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.dom4j.io</FONT>
<BR>
Class OutputFormat</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.dom4j.io.OutputFormat</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>OutputFormat</B><DT>extends java.lang.Object<DT>implements java.lang.Cloneable</DL>
</PRE>
<P>
<p>
<code>OutputFormat</code> represents the format configuration used by
and its base classes to format the XML output
</p>
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Revision: 1.17 $</DD>
<DT><B>Author:</B></DT>
<DD><a href="mailto:james.strachan@metastuff.com">James Strachan </a></DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#STANDARD_INDENT">STANDARD_INDENT</A></B></CODE>
<BR>
standard value to indent by, if we are indenting</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#OutputFormat()">OutputFormat</A></B>()</CODE>
<BR>
Creates an <code>OutputFormat</code> with no additional whitespace
(indent or new lines) added.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#OutputFormat(java.lang.String)">OutputFormat</A></B>(java.lang.String indent)</CODE>
<BR>
Creates an <code>OutputFormat</code> with the given indent added but no
new lines added.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#OutputFormat(java.lang.String, boolean)">OutputFormat</A></B>(java.lang.String indent,
boolean newlines)</CODE>
<BR>
Creates an <code>OutputFormat</code> with the given indent added with
optional newlines between the Elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#OutputFormat(java.lang.String, boolean, java.lang.String)">OutputFormat</A></B>(java.lang.String indent,
boolean newlines,
java.lang.String encoding)</CODE>
<BR>
Creates an <code>OutputFormat</code> with the given indent added with
optional newlines between the Elements and the given encoding format.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../org/dom4j/io/OutputFormat.html" title="class in org.dom4j.io">OutputFormat</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#createCompactFormat()">createCompactFormat</A></B>()</CODE>
<BR>
A static helper method to create the default compact format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../org/dom4j/io/OutputFormat.html" title="class in org.dom4j.io">OutputFormat</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#createPrettyPrint()">createPrettyPrint</A></B>()</CODE>
<BR>
A static helper method to create the default pretty printing format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#getAttributeQuoteCharacter()">getAttributeQuoteCharacter</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#getEncoding()">getEncoding</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#getIndent()">getIndent</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#getLineSeparator()">getLineSeparator</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#getNewLineAfterNTags()">getNewLineAfterNTags</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isExpandEmptyElements()">isExpandEmptyElements</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isNewLineAfterDeclaration()">isNewLineAfterDeclaration</A></B>()</CODE>
<BR>
DOCUMENT ME!</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isNewlines()">isNewlines</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isOmitEncoding()">isOmitEncoding</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isPadText()">isPadText</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isSuppressDeclaration()">isSuppressDeclaration</A></B>()</CODE>
<BR>
DOCUMENT ME!</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isTrimText()">isTrimText</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#isXHTML()">isXHTML</A></B>()</CODE>
<BR>
Whether or not to use the XHTML standard: like HTML but passes an XML
parser with real, closed tags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#parseOptions(java.lang.String[], int)">parseOptions</A></B>(java.lang.String[] args,
int i)</CODE>
<BR>
Parses command line arguments of the form <code>-omitEncoding
-indentSize 3 -newlines -trimText</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setAttributeQuoteCharacter(char)">setAttributeQuoteCharacter</A></B>(char quoteChar)</CODE>
<BR>
Sets the character used to quote attribute values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
<BR>
DOCUMENT ME!</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setExpandEmptyElements(boolean)">setExpandEmptyElements</A></B>(boolean expandEmptyElements)</CODE>
<BR>
This will set whether empty elements are expanded from
<code><tagName></code> to
<code><tagName></tagName></code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setIndent(boolean)">setIndent</A></B>(boolean doIndent)</CODE>
<BR>
Set the indent on or off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setIndent(java.lang.String)">setIndent</A></B>(java.lang.String indent)</CODE>
<BR>
This will set the indent <code>String</code> to use; this is usually a
<code>String</code> of empty spaces.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setIndentSize(int)">setIndentSize</A></B>(int indentSize)</CODE>
<BR>
This will set the indent <code>String</code>'s size; an indentSize of
4 would result in the indention being equivalent to the
<code>String</code> " " (four space characters).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setLineSeparator(java.lang.String)">setLineSeparator</A></B>(java.lang.String separator)</CODE>
<BR>
This will set the new-line separator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setNewLineAfterDeclaration(boolean)">setNewLineAfterDeclaration</A></B>(boolean newLineAfterDeclaration)</CODE>
<BR>
This will set whether a new line is printed after the XML declaration
(assuming it is not supressed.)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setNewLineAfterNTags(int)">setNewLineAfterNTags</A></B>(int tagCount)</CODE>
<BR>
Controls output of a line.separator every tagCount tags when isNewlines
is false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setNewlines(boolean)">setNewlines</A></B>(boolean newlines)</CODE>
<BR>
DOCUMENT ME!</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setOmitEncoding(boolean)">setOmitEncoding</A></B>(boolean omitEncoding)</CODE>
<BR>
This will set whether the XML declaration (<code><?xml version="1.0"
encoding="UTF-8"?></code>)
includes the encoding of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setPadText(boolean)">setPadText</A></B>(boolean padText)</CODE>
<BR>
Ensure that text immediately preceded by or followed by an element will
be "padded" with a single space.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setSuppressDeclaration(boolean)">setSuppressDeclaration</A></B>(boolean suppressDeclaration)</CODE>
<BR>
This will set whether the XML declaration (<code><?xml version="1.0"
encoding="UTF-8"?></code>)
is included or not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setTrimText(boolean)">setTrimText</A></B>(boolean trimText)</CODE>
<BR>
This will set whether the text is output verbatim (false) or with
whitespace stripped as per <code><A HREF="../../../org/dom4j/Element.html#getTextTrim()"><CODE>Element.getTextTrim()</CODE></A></code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/dom4j/io/OutputFormat.html#setXHTML(boolean)">setXHTML</A></B>(boolean xhtml)</CODE>
<BR>
This will set whether or not to use the XHTML standard: like HTML but
passes an XML parser with real, closed tags.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="STANDARD_INDENT"><!-- --></A><H3>
STANDARD_INDENT</H3>
<PRE>
protected static final java.lang.String <B>STANDARD_INDENT</B></PRE>
<DL>
<DD>standard value to indent by, if we are indenting
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.dom4j.io.OutputFormat.STANDARD_INDENT">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="OutputFormat()"><!-- --></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>()</PRE>
<DL>
<DD>Creates an <code>OutputFormat</code> with no additional whitespace
(indent or new lines) added. The whitespace from the element text content
is fully preserved.
<P>
</DL>
<HR>
<A NAME="OutputFormat(java.lang.String)"><!-- --></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>(java.lang.String indent)</PRE>
<DL>
<DD>Creates an <code>OutputFormat</code> with the given indent added but no
new lines added. All whitespace from element text will be included.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>indent</CODE> - is the indent string to be used for indentation (usually a
number of spaces).</DL>
</DL>
<HR>
<A NAME="OutputFormat(java.lang.String, boolean)"><!-- --></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>(java.lang.String indent,
boolean newlines)</PRE>
<DL>
<DD>Creates an <code>OutputFormat</code> with the given indent added with
optional newlines between the Elements. All whitespace from element text
will be included.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>indent</CODE> - is the indent string to be used for indentation (usually a
number of spaces).<DD><CODE>newlines</CODE> - whether new lines are added to layout the</DL>
</DL>
<HR>
<A NAME="OutputFormat(java.lang.String, boolean, java.lang.String)"><!-- --></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>(java.lang.String indent,
boolean newlines,
java.lang.String encoding)</PRE>
<DL>
<DD>Creates an <code>OutputFormat</code> with the given indent added with
optional newlines between the Elements and the given encoding format.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>indent</CODE> - is the indent string to be used for indentation (usually a
number of spaces).<DD><CODE>newlines</CODE> - whether new lines are added to layout the<DD><CODE>encoding</CODE> - is the text encoding to use for writing the XML</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getLineSeparator()"><!-- --></A><H3>
getLineSeparator</H3>
<PRE>
public java.lang.String <B>getLineSeparator</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setLineSeparator(java.lang.String)"><!-- --></A><H3>
setLineSeparator</H3>
<PRE>
public void <B>setLineSeparator</B>(java.lang.String separator)</PRE>
<DL>
<DD><p>
This will set the new-line separator. The default is <code>\n</code>.
Note that if the "newlines" property is false, this value is irrelevant.
To make it output the system default line ending string, call
<code>setLineSeparator(System.getProperty("line.separator"))</code>
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>separator</CODE> - <code>String</code> line separator to use.<DT><B>See Also:</B><DD><A HREF="../../../org/dom4j/io/OutputFormat.html#setNewlines(boolean)"><CODE>setNewlines(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isNewlines()"><!-- --></A><H3>
isNewlines</H3>
<PRE>
public boolean <B>isNewlines</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setNewlines(boolean)"><!-- --></A><H3>
setNewlines</H3>
<PRE>
public void <B>setNewlines</B>(boolean newlines)</PRE>
<DL>
<DD>DOCUMENT ME!
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newlines</CODE> - <code>true</code> indicates new lines should be printed,
else new lines are ignored (compacted).<DT><B>See Also:</B><DD><A HREF="../../../org/dom4j/io/OutputFormat.html#setLineSeparator(java.lang.String)"><CODE>setLineSeparator(String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getEncoding()"><!-- --></A><H3>
getEncoding</H3>
<PRE>
public java.lang.String <B>getEncoding</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
setEncoding</H3>
<PRE>
public void <B>setEncoding</B>(java.lang.String encoding)</PRE>
<DL>
<DD>DOCUMENT ME!
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>encoding</CODE> - encoding format</DL>
</DD>
</DL>
<HR>
<A NAME="isOmitEncoding()"><!-- --></A><H3>
isOmitEncoding</H3>
<PRE>
public boolean <B>isOmitEncoding</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setOmitEncoding(boolean)"><!-- --></A><H3>
setOmitEncoding</H3>
<PRE>
public void <B>setOmitEncoding</B>(boolean omitEncoding)</PRE>
<DL>
<DD><p>
This will set whether the XML declaration (<code><?xml version="1.0"
encoding="UTF-8"?></code>)
includes the encoding of the document. It is common to suppress this in
protocols such as WML and SOAP.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>omitEncoding</CODE> - <code>boolean</code> indicating whether or not the XML
declaration should indicate the document encoding.</DL>
</DD>
</DL>
<HR>
<A NAME="setSuppressDeclaration(boolean)"><!-- --></A><H3>
setSuppressDeclaration</H3>
<PRE>
public void <B>setSuppressDeclaration</B>(boolean suppressDeclaration)</PRE>
<DL>
<DD><p>
This will set whether the XML declaration (<code><?xml version="1.0"
encoding="UTF-8"?></code>)
is included or not. It is common to suppress this in protocols such as
WML and SOAP.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>suppressDeclaration</CODE> - <code>boolean</code> indicating whether or not the XML
declaration should be suppressed.</DL>
</DD>
</DL>
<HR>
<A NAME="isSuppressDeclaration()"><!-- --></A><H3>
isSuppressDeclaration</H3>
<PRE>
public boolean <B>isSuppressDeclaration</B>()</PRE>
<DL>
<DD>DOCUMENT ME!
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the output of the XML declaration (<code><?xml
version="1.0"?></code>)
should be suppressed else false.</DL>
</DD>
</DL>
<HR>
<A NAME="setNewLineAfterDeclaration(boolean)"><!-- --></A><H3>
setNewLineAfterDeclaration</H3>
<PRE>
public void <B>setNewLineAfterDeclaration</B>(boolean newLineAfterDeclaration)</PRE>
<DL>
<DD><p>
This will set whether a new line is printed after the XML declaration
(assuming it is not supressed.)
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newLineAfterDeclaration</CODE> - <code>boolean</code> indicating whether or not to print new
line following the XML declaration. The default is true.</DL>
</DD>
</DL>
<HR>
<A NAME="isNewLineAfterDeclaration()"><!-- --></A><H3>
isNewLineAfterDeclaration</H3>
<PRE>
public boolean <B>isNewLineAfterDeclaration</B>()</PRE>
<DL>
<DD>DOCUMENT ME!
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if a new line should be printed following XML declaration</DL>
</DD>
</DL>
<HR>
<A NAME="isExpandEmptyElements()"><!-- --></A><H3>
isExpandEmptyElements</H3>
<PRE>
public boolean <B>isExpandEmptyElements</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setExpandEmptyElements(boolean)"><!-- --></A><H3>
setExpandEmptyElements</H3>
<PRE>
public void <B>setExpandEmptyElements</B>(boolean expandEmptyElements)</PRE>
<DL>
<DD><p>
This will set whether empty elements are expanded from
<code><tagName></code> to
<code><tagName></tagName></code>.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>expandEmptyElements</CODE> - <code>boolean</code> indicating whether or not empty
elements should be expanded.</DL>
</DD>
</DL>
<HR>
<A NAME="isTrimText()"><!-- --></A><H3>
isTrimText</H3>
<PRE>
public boolean <B>isTrimText</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setTrimText(boolean)"><!-- --></A><H3>
setTrimText</H3>
<PRE>
public void <B>setTrimText</B>(boolean trimText)</PRE>
<DL>
<DD><p>
This will set whether the text is output verbatim (false) or with
whitespace stripped as per <code><A HREF="../../../org/dom4j/Element.html#getTextTrim()"><CODE>Element.getTextTrim()</CODE></A></code>.
</p>
<p>
</p>
<p>
Default: false
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>trimText</CODE> - <code>boolean</code> true=>trim the whitespace, false=>use
text verbatim</DL>
</DD>
</DL>
<HR>
<A NAME="isPadText()"><!-- --></A><H3>
isPadText</H3>
<PRE>
public boolean <B>isPadText</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setPadText(boolean)"><!-- --></A><H3>
setPadText</H3>
<PRE>
public void <B>setPadText</B>(boolean padText)</PRE>
<DL>
<DD><p>
Ensure that text immediately preceded by or followed by an element will
be "padded" with a single space. This is used to allow make
browser-friendly HTML, avoiding trimText's transformation of, e.g.,
<code>The quick <b>brown</b> fox</code> into <code>The
quick<b>brown</b>fox</code>
(the latter will run the three separate words together into a single
word). This setting is not too useful if you haven't also called
<A HREF="../../../org/dom4j/io/OutputFormat.html#setTrimText(boolean)"><CODE>setTrimText(boolean)</CODE></A>.
</p>
<p>
The padding string will only be added if the text itself starts or ends
with some whitespace characters.
</p>
<p>
Default: false
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>padText</CODE> - <code>boolean</code> if true, pad string-element boundaries</DL>
</DD>
</DL>
<HR>
<A NAME="getIndent()"><!-- --></A><H3>
getIndent</H3>
<PRE>
public java.lang.String <B>getIndent</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setIndent(java.lang.String)"><!-- --></A><H3>
setIndent</H3>
<PRE>
public void <B>setIndent</B>(java.lang.String indent)</PRE>
<DL>
<DD><p>
This will set the indent <code>String</code> to use; this is usually a
<code>String</code> of empty spaces. If you pass null, or the empty
string (""), then no indentation will happen.
</p>
Default: none (null)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>indent</CODE> - <code>String</code> to use for indentation.</DL>
</DD>
</DL>
<HR>
<A NAME="setIndent(boolean)"><!-- --></A><H3>
setIndent</H3>
<PRE>
public void <B>setIndent</B>(boolean doIndent)</PRE>
<DL>
<DD>Set the indent on or off. If setting on, will use the value of
STANDARD_INDENT, which is usually two spaces.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doIndent</CODE> - if true, set indenting on; if false, set indenting off</DL>
</DD>
</DL>
<HR>
<A NAME="setIndentSize(int)"><!-- --></A><H3>
setIndentSize</H3>
<PRE>
public void <B>setIndentSize</B>(int indentSize)</PRE>
<DL>
<DD><p>
This will set the indent <code>String</code>'s size; an indentSize of
4 would result in the indention being equivalent to the
<code>String</code> " " (four space characters).
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>indentSize</CODE> - <code>int</code> number of spaces in indentation.</DL>
</DD>
</DL>
<HR>
<A NAME="isXHTML()"><!-- --></A><H3>
isXHTML</H3>
<PRE>
public boolean <B>isXHTML</B>()</PRE>
<DL>
<DD><p>
Whether or not to use the XHTML standard: like HTML but passes an XML
parser with real, closed tags. Also, XHTML CDATA sections will be output
with the CDATA delimiters: ( " <b><![CDATA[ </b>" and "
<b>]]> </b>" ) otherwise, the class HTMLWriter will output the
CDATA text, but not the delimiters.
</p>
<p>
Default is <code>false</code>
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
</DD>
</DL>
<HR>
<A NAME="setXHTML(boolean)"><!-- --></A><H3>
setXHTML</H3>
<PRE>
public void <B>setXHTML</B>(boolean xhtml)</PRE>
<DL>
<DD><p>
This will set whether or not to use the XHTML standard: like HTML but
passes an XML parser with real, closed tags. Also, XHTML CDATA sections
will be output with the CDATA delimiters: ( " <b><[CDATA[
</b>" and " <b>]]< </b>) otherwise, the class HTMLWriter
will output the CDATA text, but not the delimiters.
</p>
<p>
Default: false
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>xhtml</CODE> - <code>boolean</code> true=>conform to XHTML, false=>conform
to HTML, can have unclosed tags, etc.</DL>
</DD>
</DL>
<HR>
<A NAME="getNewLineAfterNTags()"><!-- --></A><H3>
getNewLineAfterNTags</H3>
<PRE>
public int <B>getNewLineAfterNTags</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setNewLineAfterNTags(int)"><!-- --></A><H3>
setNewLineAfterNTags</H3>
<PRE>
public void <B>setNewLineAfterNTags</B>(int tagCount)</PRE>
<DL>
<DD>Controls output of a line.separator every tagCount tags when isNewlines
is false. If tagCount equals zero, it means don't do anything special. If
greater than zero, then a line.separator will be output after tagCount
tags have been output. Used when you would like to squeeze the html as
much as possible, but some browsers don't like really long lines. A tag
count of 10 would produce a line.separator in the output after 10 close
tags (including single tags).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagCount</CODE> - DOCUMENT ME!</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributeQuoteCharacter()"><!-- --></A><H3>
getAttributeQuoteCharacter</H3>
<PRE>
public char <B>getAttributeQuoteCharacter</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setAttributeQuoteCharacter(char)"><!-- --></A><H3>
setAttributeQuoteCharacter</H3>
<PRE>
public void <B>setAttributeQuoteCharacter</B>(char quoteChar)</PRE>
<DL>
<DD>Sets the character used to quote attribute values. The specified
character must be a valid XML attribute quote character, otherwise an
<code>IllegalArgumentException</code> will be thrown.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>quoteChar</CODE> - The character to use when quoting attribute values.
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - If the specified character is not a valid XML attribute quote
character.</DL>
</DD>
</DL>
<HR>
<A NAME="parseOptions(java.lang.String[], int)"><!-- --></A><H3>
parseOptions</H3>
<PRE>
public int <B>parseOptions</B>(java.lang.String[] args,
int i)</PRE>
<DL>
<DD>Parses command line arguments of the form <code>-omitEncoding
-indentSize 3 -newlines -trimText</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>args</CODE> - is the array of command line arguments<DD><CODE>i</CODE> - is the index in args to start parsing options
<DT><B>Returns:</B><DD>the index of first parameter that we didn't understand</DL>
</DD>
</DL>
<HR>
<A NAME="createPrettyPrint()"><!-- --></A><H3>
createPrettyPrint</H3>
<PRE>
public static <A HREF="../../../org/dom4j/io/OutputFormat.html" title="class in org.dom4j.io">OutputFormat</A> <B>createPrettyPrint</B>()</PRE>
<DL>
<DD>A static helper method to create the default pretty printing format. This
format consists of an indent of 2 spaces, newlines after each element and
all other whitespace trimmed, and XMTML is false.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
</DD>
</DL>
<HR>
<A NAME="createCompactFormat()"><!-- --></A><H3>
createCompactFormat</H3>
<PRE>
public static <A HREF="../../../org/dom4j/io/OutputFormat.html" title="class in org.dom4j.io">OutputFormat</A> <B>createCompactFormat</B>()</PRE>
<DL>
<DD>A static helper method to create the default compact format. This format
does not have any indentation or newlines after an alement and all other
whitespace trimmed
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OutputFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/dom4j/io/HTMLWriter.html" title="class in org.dom4j.io"><B>PREV CLASS</B></A>
<A HREF="../../../org/dom4j/io/SAXContentHandler.html" title="class in org.dom4j.io"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/dom4j/io/OutputFormat.html" target="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />
</BODY>
</HTML>
|