Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.rendering.template
Class DocumentValueExporter

java.lang.Object
  extended by org.nuxeo.ecm.platform.rendering.template.DocumentValueExporter
All Implemented Interfaces:
PropertyVisitor

public class DocumentValueExporter
extends java.lang.Object
implements PropertyVisitor

Author:
Bogdan Stefanescu

Constructor Summary
DocumentValueExporter()
           
 
Method Summary
 boolean acceptPhantoms()
           
 java.util.Map<java.lang.String,java.io.Serializable> getResult()
           
 java.util.Map<java.lang.String,java.io.Serializable> run(DocumentPart dp)
           
 java.lang.Object visit(DocumentPart property, java.lang.Object arg)
           
 java.lang.Object visit(ListProperty property, java.lang.Object arg)
           
 java.lang.Object visit(MapProperty property, java.lang.Object arg)
           
 java.lang.Object visit(ScalarProperty property, java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentValueExporter

public DocumentValueExporter()
Method Detail

getResult

public java.util.Map<java.lang.String,java.io.Serializable> getResult()

run

public java.util.Map<java.lang.String,java.io.Serializable> run(DocumentPart dp)
                                                         throws PropertyException
Throws:
PropertyException

acceptPhantoms

public boolean acceptPhantoms()
Specified by:
acceptPhantoms in interface PropertyVisitor

visit

public java.lang.Object visit(DocumentPart property,
                              java.lang.Object arg)
                       throws PropertyException
Specified by:
visit in interface PropertyVisitor
Throws:
PropertyException

visit

public java.lang.Object visit(MapProperty property,
                              java.lang.Object arg)
                       throws PropertyException
Specified by:
visit in interface PropertyVisitor
Throws:
PropertyException

visit

public java.lang.Object visit(ListProperty property,
                              java.lang.Object arg)
                       throws PropertyException
Specified by:
visit in interface PropertyVisitor
Throws:
PropertyException

visit

public java.lang.Object visit(ScalarProperty property,
                              java.lang.Object arg)
                       throws PropertyException
Specified by:
visit in interface PropertyVisitor
Throws:
PropertyException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.