org.nuxeo.ecm.webengine.util
Class JSonDocumentExporter
java.lang.Object
org.nuxeo.ecm.webengine.util.JSonDocumentExporter
- All Implemented Interfaces:
- PropertyVisitor
public class JSonDocumentExporter
- extends java.lang.Object
- implements PropertyVisitor
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSonDocumentExporter
public JSonDocumentExporter()
getResult
public net.sf.json.JSONObject getResult()
run
public net.sf.json.JSONObject 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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.