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 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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface DOMConnector
    public Document getAsDOM(DocumentBuilder factory, String viewId) 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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLEventConnector
    public void writeToOutputXMLEvent(OutputXMLEvent out, String viewId) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a OutputStreamConnector

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface OutputStreamConnector
    public void writeToOutputStream(OutputStream out, String viewId) throws Exception {
        //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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface InputStreamConnector
    public InputStream getAsInputStream(String viewId) throws Exception {
        return null; //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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface DOM4JConnector
    public Document getAsDOM4J(DocumentFactory factory, String viewId) throws Exception {
        return null; //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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface SAXConnector
    public void writeToContentHandler(String viewId, XMLEventHandler 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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface JAXBConnector
    public void setBean(String viewId) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Connector
    

Developing a Serializer

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

Developing a XMLStreamSerializer

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLStreamSerializer
    public void write(int in, OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void endData(OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    

Developing a DOMSerializer

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface DOMSerializer
    public void write(byte[] in, int offset, int length) throws Exception {
        //todo: this method MUST be implemented!
    }
    public Document getAsDOM() throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    

Developing a XMLEventSerializer

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLEventSerializer
    public void start(XMLEventHandler out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void write(byte[] in, int offset, int length, XMLEventHandler out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void end(XMLEventHandler out) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    

Developing a DOM4JSerializer

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Serializer
    
    // methods of interface DOM4JSerializer
    public void write(byte[] in, int offset, int length) throws Exception {
        //todo: this method MUST be implemented!
    }
    public Document getAsDOM4J() throws Exception {
        return null; //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 DOMEventProcessor

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface DOMEventProcessor
    public Document endElement(Document in) throws ValidationException, SAXException {
        return null; //todo: this method MUST be implemented!
    }
    
    // methods of interface Processor
    

Developing a XMLEventProcessor

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLEventProcessor
    public Object createContext() {
        return null; //todo: this method MUST be implemented!
    }
    public void startDocument() {
        //todo: this method MUST be implemented!
    }
    public TreeAction startElement(XMLElement in, OutputXMLEvent out) throws ValidationException, SAXException {
        return null; //todo: this method MUST be implemented!
    }
    public void endElement(XMLElement in, OutputXMLEvent out) throws ValidationException, SAXException {
        //todo: this method MUST be implemented!
    }
    public void addText(XMLText in, OutputXMLEvent out) throws ValidationException, SAXException {
        //todo: this method MUST be implemented!
    }
    public void addComment(XMLComment in, OutputXMLEvent out) throws ValidationException, SAXException {
        //todo: this method MUST be implemented!
    }
    public void endDocument(OutputXMLEvent out) throws ValidationException, SAXException {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Processor
    

Developing a SAXProcessor

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLEventHandler
    public void addToXMLReader(XMLReader reader) throws SAXNotSupportedException, SAXNotRecognizedException {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface SAXProcessor
    public void setOutput(XMLEventHandler out) {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Processor
    

Developing a DOM4JEventProcessor

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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface Processor
    
    // methods of interface DOM4JEventProcessor
    public Document endElement(Document in) throws ValidationException, SAXException {
        return null; //todo: this method MUST be implemented!
    }
    

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 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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface SimpleCache
    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 boolean isAvailable() {
        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!
    }
    

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 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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // 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, boolean isCacheAvailable, long lastRefreshDate) {
        //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 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(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(Configuration configuration) throws Exception {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface XMLEventHandler
    public void addToXMLReader(XMLReader reader) throws SAXNotSupportedException, SAXNotRecognizedException {
        //todo: this method MUST be implemented!
    }
    
    // methods of interface SAXRenderer
    public void setOutput(OutputStream out) {
        //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 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(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(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 XMLEventRenderer
    public Object createContext() {
        return null; //todo: this method MUST be implemented!
    }
    public void startDocument(OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void endDocument(OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public TreeAction startElement(XMLElement in, OutputStream out) throws Exception {
        return null; //todo: this method MUST be implemented!
    }
    public void endElement(XMLElement in, OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void addText(XMLText in, OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }
    public void addComment(XMLComment in, OutputStream out) throws Exception {
        //todo: this method MUST be implemented!
    }