Class DocumentViewExporter


  • public class DocumentViewExporter
    extends Exporter
    Document view exporter.
    Since:
    Jackrabbit JCR Commons 1.5
    • Constructor Detail

      • DocumentViewExporter

        public DocumentViewExporter​(Session session,
                                    ContentHandler handler,
                                    boolean recurse,
                                    boolean binary)
        Creates a document view exporter.
        Parameters:
        session - current session
        handler - SAX event handler for the export
        recurse - whether to recursively export the whole subtree
        binary - whether to export binary values
    • Method Detail

      • exportProperty

        protected void exportProperty​(String uri,
                                      String local,
                                      int type,
                                      Value[] values)
        Does nothing. Multi-valued properties are skipped for the time being until a way of properly handling/detecting multi-valued properties on re-import is found. Skipping multi-valued properties entirely is legal according to "6.4.2.5 Multi-value Properties" of the JSR 170 specification.
        Specified by:
        exportProperty in class Exporter
        Parameters:
        uri - property namespace
        local - property name
        type - property type
        values - property values
        See Also:
        JCR-325