Examples of removeXml()


Examples of org.apache.cocoon.sunshine.context.SessionContext.removeXML()

            // cached?
            if (context.getAttribute("SUNRISE_ISAUTHENTICATED:" + logoutHandlerName) != null) {
                context.setAttribute("SUNRISE_ISAUTHENTICATED:" + logoutHandlerName, null);
            }
            // remove context
            context.removeXML(logoutHandlerName);
            ((SessionContextImpl)this.getSunShineComponent().getContext(Constants.SESSION_CONTEXT_NAME)).cleanParametersCache(logoutHandlerName);
            Handler logoutHandler = (Handler)this.getHandler(logoutHandlerName);

            // reset application load status
            logoutHandler.setApplicationsLoaded(context, false);
View Full Code Here

Examples of org.apache.cocoon.sunshine.context.SessionContext.removeXML()

        // check context
        if (context == null) {
            throw new IllegalArgumentException("sunShine.removeContextFragment: Context " + contextName + "not found.");
        }

        context.removeXML(path);

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

Examples of org.apache.cocoon.sunshine.context.SessionContext.removeXML()

            // cached?
            if (context.getAttribute("SUNRISE_ISAUTHENTICATED:" + logoutHandlerName) != null) {
                context.setAttribute("SUNRISE_ISAUTHENTICATED:" + logoutHandlerName, null);
            }
            // remove context
            context.removeXML(logoutHandlerName);
            ((SessionContextImpl)this.getSunShineComponent().getContext(Constants.SESSION_CONTEXT_NAME)).cleanParametersCache(logoutHandlerName);
            Handler logoutHandler = (Handler)this.getHandler(logoutHandlerName);

            // reset application load status
            logoutHandler.setApplicationsLoaded(context, false);
View Full Code Here

Examples of org.apache.cocoon.sunshine.context.SessionContext.removeXML()

        // check context
        if (context == null) {
            throw new IllegalArgumentException("sunShine.removeContextFragment: Context '" + contextName + "' not found.");
        }

        context.removeXML(path);

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

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

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

        context.removeXML(path);

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

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

        SessionContext context = this.getAuthenticationSessionContext(false);

        if (context != null && logoutHandlerName != null) {

            // remove context
            context.removeXML(logoutHandlerName);
            // FIXME (CZ): The sessionContextImpl should not be null, but
            //             it is sometimes. Why?
            SessionContextImpl sessionContextImpl = (SessionContextImpl)
                        (this.getSessionManager().getContext(AuthenticationConstants.SESSION_CONTEXT_NAME));
            if (sessionContextImpl != null) {
View Full Code Here

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

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

        context.removeXML(path);

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

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

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

        context.removeXML(path);

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

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

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

        context.removeXML(path);

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

Examples of org.apache.xmlbeans.XmlCursor.removeXml()

              }
            }
            textPos++;
          }
          else if(o instanceof CTProofErr){
            c.removeXml();
          }
          else if(o instanceof CTRPr);
            //do nothing
          else
            candCharPos=0;
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.