本文整理汇总了Java中com.sun.xml.internal.ws.developer.SerializationFeature类的典型用法代码示例。如果您正苦于以下问题:Java SerializationFeature类的具体用法?Java SerializationFeature怎么用?Java SerializationFeature使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SerializationFeature类属于com.sun.xml.internal.ws.developer包,在下文中一共展示了SerializationFeature类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: MtomCodec
import com.sun.xml.internal.ws.developer.SerializationFeature; //导入依赖的package包/类
MtomCodec(SOAPVersion version, StreamSOAPCodec codec, WSFeatureList features){
super(version, features);
this.codec = codec;
sf = features.get(SerializationFeature.class);
MTOMFeature mtom = features.get(MTOMFeature.class);
if(mtom == null)
this.mtomFeature = new MTOMFeature();
else
this.mtomFeature = mtom;
}
示例2: StreamSOAPCodec
import com.sun.xml.internal.ws.developer.SerializationFeature; //导入依赖的package包/类
StreamSOAPCodec(WSBinding binding) {
this(binding.getSOAPVersion(), binding.getFeature(SerializationFeature.class));
}