com.day.cq.replication.content.durbo
Class DurboImporter

java.lang.Object
  extended by com.day.cq.replication.content.durbo.DurboImporter

public class DurboImporter
extends Object

This class implements the deserialization of a Durbo replication post.


Field Summary
static String NS_SV_PREFIX
           
static String NS_SV_URI
           
 
Constructor Summary
DurboImporter()
           
 
Method Summary
 Node createPage(org.apache.sling.api.SlingHttpServletRequest request, String origPath)
          Creates the page from a durbo request.
protected  void endElement(ContentHandler handler, String name)
           
protected  void property(ContentHandler handler, String name, String type, String value)
           
protected  void startElement(ContentHandler handler, String name, Attributes atts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_SV_PREFIX

public static final String NS_SV_PREFIX
See Also:
Constant Field Values

NS_SV_URI

public static final String NS_SV_URI
See Also:
Constant Field Values
Constructor Detail

DurboImporter

public DurboImporter()
Method Detail

createPage

public Node createPage(org.apache.sling.api.SlingHttpServletRequest request,
                       String origPath)
                throws ReplicationException
Creates the page from a durbo request.

Parameters:
request - the request
path - the target path
Throws:
ReplicationException - if an error occurrs

property

protected void property(ContentHandler handler,
                        String name,
                        String type,
                        String value)
                 throws SAXException
Throws:
SAXException

startElement

protected void startElement(ContentHandler handler,
                            String name,
                            Attributes atts)
                     throws SAXException
Throws:
SAXException

endElement

protected void endElement(ContentHandler handler,
                          String name)
                   throws SAXException
Throws:
SAXException


Copyright © 2008 Day Management AG. All Rights Reserved.