OpenAPI 1.0

com.aquafold.openapi.io
Interface AQXmlWriter

All Superinterfaces:
AQDataWriter, Closeable

public interface AQXmlWriter
extends AQDataWriter

This interface allows writing row-oriented data to an XML file.


Method Summary
 String getEncoding()
          Returns output file encoding.
 String getNullString()
          Returns null string.
 String getQuoteIdentifier()
          Returns current quote identifier or null if none is set.
 void setEncoding(String encoding)
          Set output file encoding.
 void setFile(String filename)
          Sets output file name.
 void setNullString(String nullString)
          Sets string to be printed if the data is null.
 void setQuoteIdentifier(String quote)
          Sets default quote identifier.
 
Methods inherited from interface com.aquafold.openapi.io.AQDataWriter
close, write, write, write, write
 

Method Detail

setFile

void setFile(String filename)
Sets output file name.

Parameters:
filename - File name.

setEncoding

void setEncoding(String encoding)
Set output file encoding. Set to null to set default platform encoding.

Parameters:
encoding - Encoding (Default value: UTF-8)

getEncoding

String getEncoding()
Returns output file encoding.


setQuoteIdentifier

void setQuoteIdentifier(String quote)
Sets default quote identifier.

Parameters:
quote - Quote identifier string (only the first character specifies the quote identifier character).

getQuoteIdentifier

String getQuoteIdentifier()
Returns current quote identifier or null if none is set.


setNullString

void setNullString(String nullString)
Sets string to be printed if the data is null.

Parameters:
nullString -

getNullString

String getNullString()
Returns null string.


OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.