Choose the type of adaptor you need:

Developing a Connector

Choose the interfaces to implement according to the technology used by your legacy API:

Developing a SimpleCache

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface SimpleCache
    public boolean isXPathSupported() {
        return null; //todo: this method MUST be implemented!
    }
    public void setViewId(String viewId) {
        //todo: this method MUST be implemented!
    }
    public void startDocument() throws Exception {
        //todo: this method MUST be implemented!
    }
    public void endDocument() throws Exception {
        //todo: this method MUST be implemented!
    }
    public void startElement(XMLElement in) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void endElement(XMLElement in) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void addText(XMLText in) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void addComment(XMLComment in) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void publish() throws Exception {
        //todo: this method MUST be implemented!
    }
    public long getLastRefreshDate() {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a SAXConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface SAXConnector
    public void writeToContentHandler(XMLEventHandler out) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a DOM4JConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface DOM4JConnector
    public Document getAsDOM4J(DocumentFactory factory) throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a XMLEventConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLEventConnector
    public void writeToOutputXMLEvent(OutputXMLEvent out) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a JAXBConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface JAXBConnector
    public void setBean() throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a CancelableConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface CancelableConnector
    public void cancel() throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a DOMConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface DOMConnector
    public Document getAsDOM(DocumentBuilder factory) throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a InputStreamConnector

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    
    // methods of interface InputStreamConnector
    public InputStream getAsInputStream() throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    

Developing a Serializer

Choose the interfaces to implement according to the technology used by your legacy API:

Developing a XMLEventSerializer

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface XMLEventSerializer
    public void write(InputStream in, XMLEventHandler out) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    

Developing a XMLStreamSerializer

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface XMLStreamSerializer
    public void setInputStream(InputStream input) throws IOException {
        //todo: this method MUST be implemented!
    }
    public ReadBuffer read() throws IOException {
        return null; //todo: this method MUST be implemented!
    }
    public ReadBuffer read(byte[] bytes, int offset, int requestedLength) throws IOException {
        return null; //todo: this method MUST be implemented!
    }
    public void close() throws IOException {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    

Developing a DOM4JSerializer

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface DOM4JSerializer
    public Document getAsDOM4J(InputStream input) throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    

Developing a DOMSerializer

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface DOMSerializer
    public Document getAsDOM(InputStream input) throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    

Developing a BufferedSerializerAbstract

Copy-paste required methods to your adaptor class, and implement them.
    // methods of interface Serializer
    
    // methods of interface BufferedSerializerAbstract
    protected String readFully(InputStream in) throws IOException {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Adaptor
    public String getDescription() {
        return null; //todo: this method MUST be implemented!
    }
    public Parameter[] getUsage() {
        return null; //todo: this method MUST be implemented!
    }
    public void init(String viewId, Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    

Developing a Processor

Choose the interfaces to implement according to the technology used by your legacy API:

    Developing a SimpleCache

    Choose the interfaces to implement according to the technology used by your legacy API:

    Developing a IndexedCache

    Copy-paste required methods to your adaptor class, and implement them.
        // methods of interface SimpleCache
        public boolean isXPathSupported() {
            return null; //todo: this method MUST be implemented!
        }
        public void setViewId(String viewId) {
            //todo: this method MUST be implemented!
        }
        public void startDocument() throws Exception {
            //todo: this method MUST be implemented!
        }
        public void endDocument() throws Exception {
            //todo: this method MUST be implemented!
        }
        public void startElement(XMLElement in) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void endElement(XMLElement in) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void addText(XMLText in) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void addComment(XMLComment in) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void publish() throws Exception {
            //todo: this method MUST be implemented!
        }
        public long getLastRefreshDate() {
            return null; //todo: this method MUST be implemented!
        }
        
        // methods of interface IndexedCache
        public int getIndexDepth() {
            return null; //todo: this method MUST be implemented!
        }
        public void startIndex() throws Exception {
            //todo: this method MUST be implemented!
        }
        public void endIndex() throws Exception {
            //todo: this method MUST be implemented!
        }
        public void startKey(XMLElement in) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void endKey(XMLElement in) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface Adaptor
        public String getDescription() {
            return null; //todo: this method MUST be implemented!
        }
        public Parameter[] getUsage() {
            return null; //todo: this method MUST be implemented!
        }
        public void init(String viewId, Configuration configuration) throws Exception {
            //todo: this method MUST be implemented!
        }
        

    Developing a Trigger

    Choose the interfaces to implement according to the technology used by your legacy API:

    Developing a ViewEventCallback

    Copy-paste required methods to your adaptor class, and implement them.
        // methods of interface Trigger
        public void start(CacheBuilder cache) throws ConfigurationException {
            //todo: this method MUST be implemented!
        }
        public void stop() {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface ViewEventCallback
        public void run(String dependency, Map views) {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface Adaptor
        public String getDescription() {
            return null; //todo: this method MUST be implemented!
        }
        public Parameter[] getUsage() {
            return null; //todo: this method MUST be implemented!
        }
        public void init(String viewId, Configuration configuration) throws Exception {
            //todo: this method MUST be implemented!
        }
        

    Developing a Renderer

    Choose the interfaces to implement according to the technology used by your legacy API:

    Developing a DOMEventRenderer

    Copy-paste required methods to your adaptor class, and implement them.
        // methods of interface Adaptor
        public String getDescription() {
            return null; //todo: this method MUST be implemented!
        }
        public Parameter[] getUsage() {
            return null; //todo: this method MUST be implemented!
        }
        public void init(String viewId, Configuration configuration) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface DOMEventRenderer
        public void endElement(Document in, OutputStream out) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface Renderer
        public MimeType getMimeType() {
            return null; //todo: this method MUST be implemented!
        }
        public QName getExpectedRoot() {
            return null; //todo: this method MUST be implemented!
        }
        

    Developing a XMLEventRenderer

    Copy-paste required methods to your adaptor class, and implement them.
        // methods of interface Adaptor
        public String getDescription() {
            return null; //todo: this method MUST be implemented!
        }
        public Parameter[] getUsage() {
            return null; //todo: this method MUST be implemented!
        }
        public void init(String viewId, Configuration configuration) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface XMLEventRenderer
        public Object createContext() {
            return null; //todo: this method MUST be implemented!
        }
        public Closeable createOutput(OutputStream out) throws IOException {
            return null; //todo: this method MUST be implemented!
        }
        public void startDocument(Closeable out) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void endDocument(Closeable out) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void startElement(XMLElement in, Closeable out) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void endElement(XMLElement in, Closeable out) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void addText(XMLText in, Closeable out) throws Exception {
            //todo: this method MUST be implemented!
        }
        public void addComment(XMLComment in, Closeable out) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface Renderer
        public MimeType getMimeType() {
            return null; //todo: this method MUST be implemented!
        }
        public QName getExpectedRoot() {
            return null; //todo: this method MUST be implemented!
        }
        

    Developing a DOM4JEventRenderer

    Copy-paste required methods to your adaptor class, and implement them.
        // methods of interface Adaptor
        public String getDescription() {
            return null; //todo: this method MUST be implemented!
        }
        public Parameter[] getUsage() {
            return null; //todo: this method MUST be implemented!
        }
        public void init(String viewId, Configuration configuration) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface DOM4JEventRenderer
        public void endElement(Document in, OutputStream out) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface Renderer
        public MimeType getMimeType() {
            return null; //todo: this method MUST be implemented!
        }
        public QName getExpectedRoot() {
            return null; //todo: this method MUST be implemented!
        }
        

    Developing a SAXRenderer

    Copy-paste required methods to your adaptor class, and implement them.
        // methods of interface Adaptor
        public String getDescription() {
            return null; //todo: this method MUST be implemented!
        }
        public Parameter[] getUsage() {
            return null; //todo: this method MUST be implemented!
        }
        public void init(String viewId, Configuration configuration) throws Exception {
            //todo: this method MUST be implemented!
        }
        
        // methods of interface Renderer
        public MimeType getMimeType() {
            return null; //todo: this method MUST be implemented!
        }
        public QName getExpectedRoot() {
            return null; //todo: this method MUST be implemented!
        }
        
        // methods of interface SAXRenderer
        public void setOutput(OutputStream out) throws IOException {
            //todo: this method MUST be implemented!
        }