@Override
    public TagHandler childElement(String localName) throws SAXException {

        if (localName.equals("param"))
            return new ParamTagHandler(config);

        if (localName.equals("protocol"))
            return new ProtocolTagHandler(config);

        return null;

    }
Creates a new ConnectionTagHandler that parses a Connection owned by
the given Authorization.

@param parent The Authorization that will own this Connection once
              parsed.
guacamole/src/main/java/org/apache/guacamole/auth/file/ConnectionTagHandler.java