org.docx4j.JcrNodeMapper
Class JackrabbitJcrNodeMapper

java.lang.Object
  extended by org.docx4j.JcrNodeMapper.JackrabbitJcrNodeMapper
All Implemented Interfaces:
NodeMapper

public class JackrabbitJcrNodeMapper
extends java.lang.Object
implements NodeMapper


Constructor Summary
JackrabbitJcrNodeMapper()
           
 
Method Summary
 javax.jcr.Node addFileNode(javax.jcr.Node baseNode, java.lang.String partName)
           
 javax.jcr.Node getContentNode(javax.jcr.Node node)
           
 javax.jcr.Node getFrozenNode(javax.jcr.version.Version version)
           
 javax.jcr.Property getJcrData(javax.jcr.Node contentNode)
           
 void setJcrDataProperty(javax.jcr.Node cmContentNode, java.io.InputStream is)
           
 void setJcrDataProperty(javax.jcr.Node cmContentNode, java.lang.String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JackrabbitJcrNodeMapper

public JackrabbitJcrNodeMapper()
Method Detail

addFileNode

public javax.jcr.Node addFileNode(javax.jcr.Node baseNode,
                                  java.lang.String partName)
                           throws javax.jcr.PathNotFoundException,
                                  javax.jcr.RepositoryException
Specified by:
addFileNode in interface NodeMapper
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getContentNode

public javax.jcr.Node getContentNode(javax.jcr.Node node)
                              throws javax.jcr.PathNotFoundException,
                                     javax.jcr.RepositoryException
Specified by:
getContentNode in interface NodeMapper
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getFrozenNode

public javax.jcr.Node getFrozenNode(javax.jcr.version.Version version)
                             throws javax.jcr.PathNotFoundException,
                                    javax.jcr.RepositoryException
Specified by:
getFrozenNode in interface NodeMapper
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getJcrData

public javax.jcr.Property getJcrData(javax.jcr.Node contentNode)
                              throws javax.jcr.PathNotFoundException,
                                     javax.jcr.RepositoryException
Specified by:
getJcrData in interface NodeMapper
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

setJcrDataProperty

public void setJcrDataProperty(javax.jcr.Node cmContentNode,
                               java.io.InputStream is)
                        throws java.lang.Exception
Specified by:
setJcrDataProperty in interface NodeMapper
Throws:
java.lang.Exception

setJcrDataProperty

public void setJcrDataProperty(javax.jcr.Node cmContentNode,
                               java.lang.String str)
                        throws java.lang.Exception
Specified by:
setJcrDataProperty in interface NodeMapper
Throws:
java.lang.Exception