本文整理了Java中org.apache.axis.MessageContext.isHighFidelity()
方法的一些代码示例,展示了MessageContext.isHighFidelity()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MessageContext.isHighFidelity()
方法的具体详情如下:
包路径:org.apache.axis.MessageContext
类名称:MessageContext
方法名:isHighFidelity
[英]Read the high fidelity property.
Some behavior may be apropreate for high fidelity contexts that is not relevant for low fidelity ones or vica-versa.
[中]阅读高保真属性。
有些行为可能适合高保真的环境,而与低保真的环境无关,反之亦然。
代码示例来源:origin: stackoverflow.com
MessageContext mc = getMessage().getMessageContext();
if(mc != null)
if(mc.isHighFidelity())
代码示例来源:origin: axis/axis
/**
* Construct Deserializer using MessageContext and EnvelopeBuilder handler
* @param ctx is the MessageContext
* @param initialHandler is the EnvelopeBuilder handler
*/
public DeserializationContext(MessageContext ctx,
SOAPHandler initialHandler)
{
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
if (initialHandler instanceof EnvelopeBuilder) {
envelope = ((EnvelopeBuilder)initialHandler).getEnvelope();
envelope.setRecorder(recorder);
}
pushElementHandler(new EnvelopeHandler(initialHandler));
}
代码示例来源:origin: org.apache.axis/axis
/**
* Construct Deserializer using MessageContext and EnvelopeBuilder handler
* @param ctx is the MessageContext
* @param initialHandler is the EnvelopeBuilder handler
*/
public DeserializationContext(MessageContext ctx,
SOAPHandler initialHandler)
{
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
if (initialHandler instanceof EnvelopeBuilder) {
envelope = ((EnvelopeBuilder)initialHandler).getEnvelope();
envelope.setRecorder(recorder);
}
pushElementHandler(new EnvelopeHandler(initialHandler));
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Construct Deserializer using MessageContext and EnvelopeBuilder handler
* @param ctx is the MessageContext
* @param initialHandler is the EnvelopeBuilder handler
*/
public DeserializationContext(MessageContext ctx,
SOAPHandler initialHandler)
{
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
if (initialHandler instanceof EnvelopeBuilder) {
envelope = ((EnvelopeBuilder)initialHandler).getEnvelope();
envelope.setRecorder(recorder);
}
pushElementHandler(new EnvelopeHandler(initialHandler));
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Construct Deserializer
* @param is is the InputSource
* @param ctx is the MessageContext
* @param messageType is the MessageType to construct an EnvelopeBuilder
* @param env is the SOAPEnvelope to construct an EnvelopeBuilder
*/
public DeserializationContext(InputSource is,
MessageContext ctx,
String messageType,
SOAPEnvelope env)
{
EnvelopeBuilder builder = new EnvelopeBuilder(env, messageType);
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));
inputSource = is;
}
代码示例来源:origin: axis/axis
/**
* Construct Deserializer
* @param is is the InputSource
* @param ctx is the MessageContext
* @param messageType is the MessageType to construct an EnvelopeBuilder
* @param env is the SOAPEnvelope to construct an EnvelopeBuilder
*/
public DeserializationContext(InputSource is,
MessageContext ctx,
String messageType,
SOAPEnvelope env)
{
EnvelopeBuilder builder = new EnvelopeBuilder(env, messageType);
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));
inputSource = is;
}
代码示例来源:origin: org.apache.axis/axis
/**
* Construct Deserializer
* @param is is the InputSource
* @param ctx is the MessageContext
* @param messageType is the MessageType to construct an EnvelopeBuilder
* @param env is the SOAPEnvelope to construct an EnvelopeBuilder
*/
public DeserializationContext(InputSource is,
MessageContext ctx,
String messageType,
SOAPEnvelope env)
{
EnvelopeBuilder builder = new EnvelopeBuilder(env, messageType);
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));
inputSource = is;
}
代码示例来源:origin: axis/axis
if (msgContext != null && !msgContext.isHighFidelity() &&
(operations == null || operations.length == 1)) {
((RPCElement)element).setNeedDeser(false);
代码示例来源:origin: org.apache.axis/axis
if (msgContext != null && !msgContext.isHighFidelity() &&
(operations == null || operations.length == 1)) {
((RPCElement)element).setNeedDeser(false);
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
if (msgContext != null && !msgContext.isHighFidelity() &&
(operations == null || operations.length == 1)) {
((RPCElement)element).setNeedDeser(false);
代码示例来源:origin: org.apache.axis/axis
/**
* Construct Deserializer
* @param is is the InputSource
* @param ctx is the MessageContext
* @param messageType is the MessageType to construct an EnvelopeBuilder
*/
public DeserializationContext(InputSource is,
MessageContext ctx,
String messageType)
{
msgContext = ctx;
EnvelopeBuilder builder = new EnvelopeBuilder(messageType, ctx != null ? ctx.getSOAPConstants() : null);
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));
inputSource = is;
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Construct Deserializer
* @param is is the InputSource
* @param ctx is the MessageContext
* @param messageType is the MessageType to construct an EnvelopeBuilder
*/
public DeserializationContext(InputSource is,
MessageContext ctx,
String messageType)
{
msgContext = ctx;
EnvelopeBuilder builder = new EnvelopeBuilder(messageType, ctx != null ? ctx.getSOAPConstants() : null);
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));
inputSource = is;
}
代码示例来源:origin: axis/axis
/**
* Construct Deserializer
* @param is is the InputSource
* @param ctx is the MessageContext
* @param messageType is the MessageType to construct an EnvelopeBuilder
*/
public DeserializationContext(InputSource is,
MessageContext ctx,
String messageType)
{
msgContext = ctx;
EnvelopeBuilder builder = new EnvelopeBuilder(messageType, ctx != null ? ctx.getSOAPConstants() : null);
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));
inputSource = is;
}
内容来源于网络,如有侵权,请联系作者删除!