org.alfresco.repo.search
Class NodeServiceXPath.JCRPatternMatch

java.lang.Object
  extended by org.alfresco.repo.search.NodeServiceXPath.JCRPatternMatch
All Implemented Interfaces:
QNamePattern
Enclosing class:
NodeServiceXPath

public static class NodeServiceXPath.JCRPatternMatch
extends java.lang.Object
implements QNamePattern


Constructor Summary
NodeServiceXPath.JCRPatternMatch(java.lang.String pattern, NamespacePrefixResolver resolver)
          Construct
 
Method Summary
 boolean isMatch(QName qname)
          Checks if the given qualified name matches the pattern represented by this instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeServiceXPath.JCRPatternMatch

public NodeServiceXPath.JCRPatternMatch(java.lang.String pattern,
                                        NamespacePrefixResolver resolver)
Construct

Parameters:
pattern - JCR Pattern
resolver - Namespace Prefix Resolver
Method Detail

isMatch

public boolean isMatch(QName qname)
Description copied from interface: QNamePattern
Checks if the given qualified name matches the pattern represented by this instance

Specified by:
isMatch in interface QNamePattern
Parameters:
qname - the instance to check
Returns:
Returns true if the qname matches this pattern


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.