|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.PropertyTypeRegistry
public class PropertyTypeRegistry
The PropertyTypeRegistry keeps track of registered node type
definitions and its property types. It provides a fast type lookup for a
given property name.
| Nested Class Summary | |
|---|---|
static class |
PropertyTypeRegistry.TypeMapping
|
| Constructor Summary | |
|---|---|
PropertyTypeRegistry(NodeTypeRegistry reg)
Creates a new PropertyTypeRegistry instance. |
|
| Method Summary | |
|---|---|
PropertyTypeRegistry.TypeMapping[] |
getPropertyTypes(Name propName)
Returns an array of type mappings for a given property name propName. |
void |
nodeTypeRegistered(Name ntName)
Called when a node type has been registered. |
void |
nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered. |
void |
nodeTypeUnregistered(Name ntName)
Called when a node type has been deregistered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyTypeRegistry(NodeTypeRegistry reg)
PropertyTypeRegistry instance. This instance
is *not* registered as listener to the NodeTypeRegistry in the constructor!
reg - the NodeTypeRegistry where to read the property
type information.| Method Detail |
|---|
public PropertyTypeRegistry.TypeMapping[] getPropertyTypes(Name propName)
propName. If propName is not defined as a property
in any registered node type an empty array is returned.
propName - the name of the property.
TypeMapping instances.public void nodeTypeRegistered(Name ntName)
NodeTypeRegistryListener
nodeTypeRegistered in interface NodeTypeRegistryListenerntName - name of the node type that has been registeredpublic void nodeTypeReRegistered(Name ntName)
NodeTypeRegistryListener
nodeTypeReRegistered in interface NodeTypeRegistryListenerntName - name of the node type that has been registeredpublic void nodeTypeUnregistered(Name ntName)
NodeTypeRegistryListener
nodeTypeUnregistered in interface NodeTypeRegistryListenerntName - name of the node type that has been unregistered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||