Interface QNamePattern

All Known Implementing Classes:
QName, RegexQNamePattern

@AlfrescoPublicApi public interface QNamePattern
Provides pattern matching against qnames.

Implementations will use different mechanisms to match against the namespace and {@link org.alfresco.service.namespace.QName#getLocalName()() localname}.

Author:
Derek Hulley
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isMatch(QName qname)
    Checks if the given qualified name matches the pattern represented by this instance
  • Method Details

    • isMatch

      boolean isMatch(QName qname)
      Checks if the given qualified name matches the pattern represented by this instance
      Parameters:
      qname - the instance to check
      Returns:
      Returns true if the qname matches this pattern