public interface SDRManagerFactory
Title: Structured Data Objects
Description: Defines a factory creating ReferencePathManager
instances.
An SDR manager factory allows users to create instances of a
ReferencePathManager
.
This facility presents general methods for working with object (SDO) content. It should be
noted that a Java Class
is considered an SDO when it is registered with the
runtime. No special coding or other preparation of the object needs to be done. When an
object is registered it is added to the runtime AliasManager
which acts as an object
dictionary, resolving abstract names to class instances.
The factory allows users to pass in their own AliasManager
so that references may
be overloaded. Alias names are used to generate element tags during serialization. For
example, the class com.myclass.EmployeeImpl
may be aliased as Employee
.
When serialized to JSON
the object tag becomes { Employee: object }.
As such, users may create their own alias managers and develop their own data dictionaries
depending on application needs. SDR paths allow users to cast and validate data references
based on Semantic Types
in the available alias manager, allowing users to adapt
the path syntax based on the supplied data dictionary. See ReferencePathManager
for
syntax details.
The utility is part of the Object Mediation Framework
. See JSerializerFactory
,
XSerializerFactory
and JSONSerializerFactory
for
more information on how aliasing and data dictionaries function.
Copyright: Copyright (c) 2012
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
ReferencePathManager |
createManager()
Creates and returns an instance if
ReferencePathManager . |
ReferencePathManager |
createManager(AliasManager aliasManager)
Creates and returns an instance if
ReferencePathManager . |
ReferencePathManager createManager()
ReferencePathManager
.
The default Alias Manager from the active Fabric Context will be passed to this instance.ReferencePathManager
.ReferencePathManager createManager(AliasManager aliasManager)
ReferencePathManager
.
The specified Alias Manager will be passed to this instance.aliasManager
- the alias manager to be passed to a newly created instance.ReferencePathManager
.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.