public abstract class AbstractJahiaObjectBean extends Object
Title: Abstract class that is the parent class of all bean wrappers for JahiaObject classes.
Description: This class is the parent class for all the JavaBean compliant wrappers that are part of the new template tools available since Jahia 4. Using this common abstract class we can instantiate any wrapper by using the corresponding JahiaObject and ProcessingContext objects.
Copyright: Copyright (c) 2002
Company: Jahia Ltd
| Constructor and Description |
|---|
AbstractJahiaObjectBean() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerType(String jahiaObjectClassName,
String beanClassName)
Registers a new mapping for a sub class of JahiaObject in the factory
hash table.
|
static void |
unregisterType(String jahiaObjectClassName)
Removes a JahiaObject mapping registration.
|
public static void registerType(String jahiaObjectClassName, String beanClassName)
jahiaObjectClassName - the source JahiaObject class name that will
be mapped to the beanClassNamebeanClassName - the target AbstractJahiaObjectBean class name that
will be mapped to.public static void unregisterType(String jahiaObjectClassName)
jahiaObjectClassName - the name of the JahiaObject class nameCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.