Examples of appendXml()


Examples of org.apache.cocoon.webapps.session.context.SessionContext.appendXML()

                                || child.getNodeValue().trim().length() > 0) {
                                fragment.appendChild(child);
                                appendedNode = true;
                            }
                        }
                        temp.appendXML("/", fragment);
                    } catch ( ServiceException se ) {
                        throw new ProcessingException("Unable to lookup session manager.", se);
                    } finally {
                        this.manager.release( contextManager );
                    }
View Full Code Here

Examples of org.apache.cocoon.webapps.session.context.SessionContext.appendXML()

        // check context
        if (context == null) {
            throw new ProcessingException("SessionManager.appendContextFragment: Context '" + contextName + "' not found.");
        }

        context.appendXML(path, fragment);

        if (this.getLogger().isDebugEnabled() ) {
            this.getLogger().debug("END appendContextFragment");
        }
    }
View Full Code Here

Examples of org.apache.cocoon.webapps.session.context.SessionContext.appendXML()

            // now set this information in the temporary context
            ContextManager sessionManager = null;
            try {
                sessionManager = (ContextManager) this.manager.lookup( ContextManager.ROLE );
                SessionContext temp = sessionManager.getContext( SessionConstants.TEMPORARY_CONTEXT );
                temp.appendXML("/", authenticationFragment);
            } catch ( ServiceException se ) {
                throw new ProcessingException("Unable to lookup session manager.", se);
            } finally {
                this.manager.release( sessionManager );
            }
View Full Code Here

Examples of org.apache.cocoon.webapps.session.context.SessionContext.appendXML()

        // check context
        if (context == null) {
            throw new ProcessingException("SessionManager.appendContextFragment: Context '" + contextName + "' not found.");
        }

        context.appendXML(path, fragment);

        if (this.getLogger().isDebugEnabled() ) {
            this.getLogger().debug("END appendContextFragment");
        }
    }
View Full Code Here

Examples of org.apache.cocoon.webapps.session.context.SessionContext.appendXML()

            // now set this information in the temporary context
            ContextManager sessionManager = null;
            try {
                sessionManager = (ContextManager) this.manager.lookup( ContextManager.ROLE );
                SessionContext temp = sessionManager.getContext( SessionConstants.TEMPORARY_CONTEXT );
                temp.appendXML("/", authenticationFragment);
            } catch ( ServiceException se ) {
                throw new ProcessingException("Unable to lookup session manager.", se);
            } finally {
                this.manager.release( (Component)sessionManager );
            }
View Full Code Here

Examples of org.blync.client.XmlBuffer.appendXml()

    public String toString() {
        XmlBuffer buffer = new XmlBuffer();
        Hashtable attributes = new Hashtable();
        attributes.put("name", name);
        buffer.appendXml("attachment", attributes, "");
        return buffer.toString();
    }
}
View Full Code Here

Examples of org.waveprotocol.wave.model.document.Document.appendXml()

    Conversation conversation = convView.createRoot();
    // Force empty document.
    ConversationBlip blip = conversation.getRootThread().appendBlip(
        new DocInitializationBuilder().build());
    Document document = blip.getContent();
    document.appendXml(Blips.INITIAL_BODY);
    return conversation;
  }
}
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.