Package speculoos.jndi.mappers

Examples of speculoos.jndi.mappers.RenameMapperImpl


  public class RenameHandler implements TagHandler {

    public void startElement(String uri, String localName, String qName,
        Attributes attributes) throws SAXException {
      if ("rename".equals(localName)) {
        RenameMapperImpl smi = new RenameMapperImpl(attributes
            .getValue("name"));
        smi.setTypeHelper(typeHelper);
        push(smi);
      }
    }
View Full Code Here


    }

    public void endElement(String uri, String localName, String qName) {
      if ("rename".equals(localName)) {
        // add mapper to source
        RenameMapperImpl smi = (RenameMapperImpl) pop();
        add(smi.getName(), smi);
        ((JNDISource) current).add(smi.getName(), smi);
        link(smi.getName(), ((JNDISource) current).getName());
      } else if ("newRDN".equals(localName)) {
        StringVariable flt = new StringVariable(localName,
            new VariableString(getBuffer()));
        ((JNDIMapper) current).getInputChain().addMapper(flt);
      }
View Full Code Here

TOP

Related Classes of speculoos.jndi.mappers.RenameMapperImpl

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.