Examples of OMDocument


Examples of org.apache.axiom.om.OMDocument

                                     XMLStreamWriter writer)
    throws XMLStreamException {
        StAXOMBuilder builder = new StAXOMBuilder(reader);
        builder.releaseParserOnClose(true);
        try {
            OMDocument omDocument = builder.getDocument();
            Iterator it = omDocument.getChildren();
            while (it.hasNext()) {
                OMNode omNode = (OMNode) it.next();
                omNode.serializeAndConsume(writer);
            }
        } finally {
View Full Code Here

Examples of org.apache.axis2.om.OMDocument

        } else {
            factory = OMAbstractFactory.getSOAP11Factory();
        }
        try {
            OMDocument soapFaultDocument = factory.createOMDocument();
            SOAPEnvelope faultEnvelope = factory.getDefaultFaultEnvelope();
            soapFaultDocument.addChild(faultEnvelope);
            smc.setEnvelope(faultEnvelope);
        } catch (Exception e) {
            throw new SynapseException(e);
        }
        smc.setResponse(true);
View Full Code Here

Examples of org.apache.axis2.om.impl.llom.OMDocument

     * @param ombuilderFactory
     * @param parser
     */
    public StAXOMBuilder(OMFactory ombuilderFactory, XMLStreamReader parser) {
        super(ombuilderFactory, parser);
        document = new OMDocument(this);
        omfactory = OMAbstractFactory.getOMFactory();
    }
View Full Code Here

Examples of org.vectomatic.dom.svg.OMDocument

    String pipeId = pipelineInfo.getId();
   
    if (pipeId == null || pipeId.isEmpty()) {
      logger.log(Level.SEVERE, "Empty or null pipe id");
    }
    OMDocument doc = mSVG.getOwnerDocument();
    OMElement e = null;
   
    // Workaround for apparent bug in svg-gwt's getElementById when there
    // is no element with the id. Apparently due to a mozilla bug.
    try {
      e = doc.getElementById(pipeId);
    } catch (Exception ex) {
      //Don't want to do anything, just don't have a hissy fit :)
      logger.log(Level.WARNING,
          "No pipe with id " + pipeId + " in workflow "
          + mWorkflowId);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.