public class PropertyManagerImpl extends Object implements PropertyManager
PropertyManagerImpl
...Constructor and Description |
---|
PropertyManagerImpl()
Create a new
PropertyManagerImpl . |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyHandler(PropertyHandler propertyHandler) |
Map<? extends PropEntry,?> |
alterProperties(PropertyImportContext context,
boolean isCollection) |
boolean |
exportProperties(PropertyExportContext context,
boolean isCollection) |
static PropertyManager |
getDefaultManager() |
PropertyHandler[] |
getPropertyHandlers() |
public PropertyManagerImpl()
PropertyManagerImpl
.
Note, that this manager does not define any PropertyHandler
s by
default. Use addPropertyHandler(PropertyHandler)
in order to populate the
internal list of handlers that are called for importProperties
and
exportProperties
respectively. See getDefaultManager()
for an instance of this class populated with default handlers.public boolean exportProperties(PropertyExportContext context, boolean isCollection) throws RepositoryException
exportProperties
in interface PropertyManager
RepositoryException
PropertyManager.exportProperties(PropertyExportContext, boolean)
public Map<? extends PropEntry,?> alterProperties(PropertyImportContext context, boolean isCollection) throws RepositoryException
alterProperties
in interface PropertyManager
RepositoryException
PropertyManager.alterProperties(PropertyImportContext, boolean)
public void addPropertyHandler(PropertyHandler propertyHandler)
addPropertyHandler
in interface PropertyManager
PropertyManager.addPropertyHandler(PropertyHandler)
public PropertyHandler[] getPropertyHandlers()
getPropertyHandlers
in interface PropertyManager
PropertyManager.getPropertyHandlers()
public static PropertyManager getDefaultManager()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.