Package speculoos.jndi.mappers

Examples of speculoos.jndi.mappers.ModificationsVariables


    handlers.put("modify", new ModifyHandler());
    handlers.put("operations", new TagHandler() {

      public void endElement(String uri, String localName, String qName)
          throws SAXException {
        ModificationsVariables mods = (ModificationsVariables) pop();
        ((JNDIMapper) current).getInputChain().addMapper(mods);
      }

      public void startElement(String uri, String localName,
          String qName, Attributes attributes) throws SAXException {
        push(new ModificationsVariables(((Map) maps.get(attributes
            .getValue("output")))));
      }

    });
    handlers.put("operation", new OperationHandler());


      if (output != null) {
        try {
          if (input != null)
            smi.setOutput((Class) input, (Map) output);
          else
            smi.setOperations(new ModificationsVariables(
                (Map) output));
        } catch (ClassCastException e) {
          throw new SAXException(
              "Incorrect types for input/output attributes in search map. Output should be a map and input a bean.");
        }

TOP

Related Classes of speculoos.jndi.mappers.ModificationsVariables

Copyright © 2018 www.massapicom. 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.