Uses of Class
org.nuxeo.common.xmap.Context
Package
Description
A framework used to map XML (config) files to Java objects attributes,
as specified using Java annotations.
-
Uses of Context in org.nuxeo.common.xmap
Modifier and TypeMethodDescriptionabstract Object
XValueFactory.deserialize
(Context context, String value) final Object
XValueFactory.getAttributeValue
(Context context, Node element, String name) final Object
XValueFactory.getElementValue
(Context context, Node element, boolean trim) protected Object
protected Object
protected Object
protected Object
protected Object
protected Object
static Object
XMap.load
(Context ctx, InputStream in) Processes the XML content from the given input stream using the given context.Processes the XML file at the given URL and using the given contexts.Processes the given DOM element and return the first mappable object found in the element.Object[]
XMap.loadAll
(Context ctx, InputStream in) Processes the XML from the given input stream using the given context.Object[]
Processes the XML file at the given URL using the given contextObject[]
Processes the given DOM element and return a list with all top-level mappable objects found in the element.void
XMap.loadAll
(Context ctx, Element root, Collection<Object> result) Same asXMap.loadAll(Context, Element)
but put collected objects in the given collection.XAnnotatedObject.newInstance
(Context ctx, Element element) void
abstract String
static void
DOMHelper.visitAttributes
(Context ctx, XAnnotatedList xam, Node base, String name, String attrName, DOMHelper.NodeVisitor visitor, Collection<Object> result) static void
DOMHelper.visitElements
(Context ctx, XAnnotatedList xam, Node base, String name, DOMHelper.NodeVisitor visitor, Collection<Object> result) static void
DOMHelper.visitMapAttributes
(Context ctx, XAnnotatedMap xam, Node base, String name, String attrName, DOMHelper.NodeMapVisitor visitor, Map<String, Object> result) static void
DOMHelper.visitMapElements
(Context ctx, XAnnotatedMap xam, Node base, String name, DOMHelper.NodeMapVisitor visitor, Map<String, Object> result) static void
DOMHelper.visitMapNodes
(Context ctx, XAnnotatedMap xam, Element base, Path path, DOMHelper.NodeMapVisitor visitor, Map<String, Object> result) void
DOMHelper.NodeMapVisitor.visitNode
(Context ctx, XAnnotatedMember xam, Node node, String key, Map<String, Object> result) void
DOMHelper.NodeVisitor.visitNode
(Context ctx, XAnnotatedMember xam, Node node, Collection<Object> result) static void
DOMHelper.visitNodes
(Context ctx, XAnnotatedList xam, Element base, Path path, DOMHelper.NodeVisitor visitor, Collection<Object> result) Visits the nodes selected by the given path using the given visitor. -
Uses of Context in org.nuxeo.ecm.webengine.model.impl
Modifier and TypeMethodDescriptionprotected static Context
ModuleManager.createXMapContext
(WebEngine engine) -
Uses of Context in org.nuxeo.runtime.model.impl