| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.webobjects.foundation.xml.NSXMLOutputFormat
This simple class specifies an output format to control the XML output and is based on the XSLT specification for output format.
| Constructor Summary | |
NSXMLOutputFormat()
Creates an output format that has the following properties: indentation is on UTF-8 encoding XML 1.0 version not a standalone document XML declaration is written out  | 
|
NSXMLOutputFormat(boolean on)
Creates an output format that has the same properties as an default NSXMLOutputFormat except that for the identation property.  | 
|
| Method Summary | |
 String | 
encoding()
Returns the specified encoding.  | 
 boolean | 
indenting()
Returns true if indentation was specified.  | 
 boolean | 
omitXMLDeclaration()
Returns true if the XML document declaration should be ommited.  | 
 void | 
setEncoding(String encoding)
Sets the encoding for this output method.  | 
 void | 
setIndenting(boolean on)
Sets the indentation on and off.  | 
 void | 
setOmitXMLDeclaration(boolean omit)
Sets XML declaration omitting on and off.  | 
 void | 
setVersion(String version)
Sets the version for this XML output.  | 
 String | 
version()
Returns the version for this output method.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public NSXMLOutputFormat()
public NSXMLOutputFormat(boolean on)
on - true if indentation should be on| Method Detail | 
public String encoding()
public boolean indenting()
public boolean omitXMLDeclaration()
public void setEncoding(String encoding)
public void setIndenting(boolean on)
on - true if indentation should be onpublic void setOmitXMLDeclaration(boolean omit)
public void setVersion(String version)
public String version()
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||