XmlModify.setNewEncoding

API Ref

import com.sleepycat.dbxml.*;

public void setNewEncoding(String newEncoding);


Description: XmlModify.setNewEncoding

The XmlModify.setNewEncoding method sets a new character encoding to be used for documents modified by calls to XmlContainer.modifyDocument or XmlDocument.modifyDocument. It operates on the XmlModify object used for these calls. The encoding must be a valid encoding for an XML document, such as "UTF-8" or "ISO-8859-1". Errors or invalid encodings may not be detected until the modification operation is performed.

Parameters

newEncoding
Specifies the encoding to use. This string must be encoded as UTF-8.

Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue

APIRef

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.