@Override protected XMLStreamReader getStreamReader(OMElement payloadElement) { return payloadElement.getXMLStreamReaderWithoutCaching(); }
@Override protected XMLStreamReader getStreamReader(OMElement payloadElement) { return payloadElement.getXMLStreamReaderWithoutCaching(); }
@Override protected XMLStreamReader getStreamReader(OMElement payloadElement) { return payloadElement.getXMLStreamReaderWithoutCaching(); }
@Override protected XMLStreamReader getStreamReader(OMElement payloadElement) { return payloadElement.getXMLStreamReaderWithoutCaching(); }
/** * Creates a {@link XMLStreamReader} out of an {@link OMElement} * * @param omElement the omElement to convert, never <code>null</code> * @return the omElement as {@link XMLStreamReader} the START_DOCUMENT node is skipped, never <code>null</code> * @throws XMLStreamException if an error occurred creating the {@link XMLStreamReader} */ public static XMLStreamReader getAsXmlStrem( OMElement omElement ) throws XMLStreamException { XMLStreamReader bodyXmlStream = omElement.getXMLStreamReaderWithoutCaching(); skipStartDocument( bodyXmlStream ); return bodyXmlStream; }
@SuppressWarnings("rawtypes") private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (com.fincatto.documentofiscal.nfe400.webservices.statusservico.consulta.NfeStatusServico4Stub.NfeDadosMsg.class.equals(type)) { return com.fincatto.documentofiscal.nfe400.webservices.statusservico.consulta.NfeStatusServico4Stub.NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (com.fincatto.documentofiscal.nfe400.webservices.statusservico.consulta.NfeStatusServico4Stub.NfeResultMsg.class.equals(type)) { return com.fincatto.documentofiscal.nfe400.webservices.statusservico.consulta.NfeStatusServico4Stub.NfeResultMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
@SuppressWarnings("rawtypes") private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (CadConsultaCadastro4Stub.NfeDadosMsg.class.equals(type)) { return CadConsultaCadastro4Stub.NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (CadConsultaCadastro4Stub.NfeResultMsg.class.equals(type)) { return CadConsultaCadastro4Stub.NfeResultMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
@SuppressWarnings("rawtypes") private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (NfeConsultaNFResult.class.equals(type)) { return NfeConsultaNFResult.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (NfeDadosMsg.class.equals(type)) { return NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
@SuppressWarnings("rawtypes") private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (NfeDadosMsg.class.equals(type)) { return NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (NfeResultMsg.class.equals(type)) { return NfeResultMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type, final java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault { try { if (NFeDistDFeInteresse.class.equals(type)) { return NFeDistDFeInteresse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (NFeDistDFeInteresseResponse.class.equals(type)) { return NFeDistDFeInteresseResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; } }
@SuppressWarnings("rawtypes") private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (NfeDadosMsg.class.equals(type)) { return NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (NfeResultMsg.class.equals(type)) { return NfeResultMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM(org.apache.axiom.om.OMElement param, java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (com.fincatto.documentofiscal.nfe310.webservices.statusservico.consulta.NfeStatusServicoStub.NfeCabecMsgE.class.equals(type)) { return com.fincatto.documentofiscal.nfe310.webservices.statusservico.consulta.NfeStatusServicoStub.NfeCabecMsgE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (com.fincatto.documentofiscal.nfe310.webservices.statusservico.consulta.NfeStatusServicoStub.NfeDadosMsg.class.equals(type)) { return com.fincatto.documentofiscal.nfe310.webservices.statusservico.consulta.NfeStatusServicoStub.NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (com.fincatto.documentofiscal.nfe310.webservices.statusservico.consulta.NfeStatusServicoStub.NfeStatusServicoNFResult.class.equals(type)) { return com.fincatto.documentofiscal.nfe310.webservices.statusservico.consulta.NfeStatusServicoStub.NfeStatusServicoNFResult.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type, final java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault { try { if (com.fincatto.documentofiscal.cte.webservices.distribuicao.CTeDistribuicaoDFeSoapStub.CteDistDFeInteresse.class.equals(type)) { return com.fincatto.documentofiscal.cte.webservices.distribuicao.CTeDistribuicaoDFeSoapStub.CteDistDFeInteresse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (com.fincatto.documentofiscal.cte.webservices.distribuicao.CTeDistribuicaoDFeSoapStub.CteDistDFeInteresseResponse.class.equals(type)) { return com.fincatto.documentofiscal.cte.webservices.distribuicao.CTeDistribuicaoDFeSoapStub.CteDistDFeInteresseResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; } }
@SuppressWarnings("rawtypes") private java.lang.Object fromOM(final org.apache.axiom.om.OMElement param, final java.lang.Class type) throws org.apache.axis2.AxisFault { try { if (NfeDadosMsg.class.equals(type)) { return NfeDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (NfeResultMsg.class.equals(type)) { return NfeResultMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (final java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM( org.apache.axiom.om.OMElement param, java.lang.Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { if (org.wso2.carbon.um.ws.api.stub.GetRealmConfigurationResponse.class.equals(type)){ return org.wso2.carbon.um.ws.api.stub.GetRealmConfigurationResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (org.wso2.carbon.um.ws.api.stub.UserStoreExceptionE.class.equals(type)){ return org.wso2.carbon.um.ws.api.stub.UserStoreExceptionE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM( org.apache.axiom.om.OMElement param, java.lang.Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { if (org.wso2.carbon.identity.authenticator.saml2.sso.stub.Login.class.equals(type)){ return org.wso2.carbon.identity.authenticator.saml2.sso.stub.Login.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } if (org.wso2.carbon.identity.authenticator.saml2.sso.stub.LoginResponse.class.equals(type)){ return org.wso2.carbon.identity.authenticator.saml2.sso.stub.LoginResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM( org.apache.axiom.om.OMElement param, java.lang.Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { if (org.wso2.carbon.application.mgt.stub.upload.UploadApp.class.equals(type)){ return org.wso2.carbon.application.mgt.stub.upload.UploadApp.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM( org.apache.axiom.om.OMElement param, java.lang.Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { if (org.apache.stratos.lb.agent.GetLoadAverageResponse.class.equals(type)){ return org.apache.stratos.lb.agent.GetLoadAverageResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
private java.lang.Object fromOM( org.apache.axiom.om.OMElement param, java.lang.Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { if (RegistryServiceStub.IsRegistryServiceStartedResponse.class.equals(type)){ return RegistryServiceStub.IsRegistryServiceStartedResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } return null; }
/** * Creates a new OMElement from the given element and build it and return. * * @param result The object to be cloned and built * @return The new cloned and built OMElement */ public static OMElement cloneAndReturnBuiltElement(OMElement result) { StAXOMBuilder builder = new StAXOMBuilder(result.getXMLStreamReaderWithoutCaching()); result = builder.getDocumentElement(); result.build(); return result; }