List of usage examples for javax.xml.registry.infomodel LocalizedString setCharsetName
void setCharsetName(String charsetName) throws JAXRException;
From source file:it.cnr.icar.eric.client.xml.registry.LifeCycleManagerImpl.java
/** * Creates a LocalizedString instance using the specified Locale, String, * and character set parameters.// w w w. j a v a 2 s .c om * * * <p> * <DL> * <DT><B>Capability Level: 0 </B> * </DL> * * @param l * the Locale in which to create the LocalizedString * @param s * the String from which to create the LocalizedString * @param charSetName * the name of the character set to use * * @return the LocalizedString instance created * * @throws JAXRException * if the JAXR provider encounters an internal error */ public LocalizedString createLocalizedString(Locale l, String s, String charSetName) throws JAXRException { LocalizedString lString = createLocalizedString(l, s); lString.setCharsetName(charSetName); return lString; }