Class DataKeyMatcher


  • public class DataKeyMatcher
    extends java.lang.Object
    Utility class used for matching data keys.
    Since:
    3.4
    Author:
    Nick Smith
    • Constructor Summary

      Constructors 
      Constructor Description
      DataKeyMatcher​(org.alfresco.service.namespace.NamespaceService namespaceService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataKeyInfo match​(java.lang.String dataKey)
      Attempts to match the dataKey to either a property or association pattern.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataKeyMatcher

        public DataKeyMatcher​(org.alfresco.service.namespace.NamespaceService namespaceService)
    • Method Detail

      • match

        public DataKeyInfo match​(java.lang.String dataKey)
        Attempts to match the dataKey to either a property or association pattern. If no match can be found then returns null.
        Parameters:
        dataKey - the dataKey to be matched.
        Returns:
        a DataKeyInfo representation or null.