org.jboss.metadata.generic
Class GenericMatcher
java.lang.Object
org.jboss.metadata.generic.GenericMatcher
public final class GenericMatcher
- extends Object
GenericMatcher.
- Version:
- $Revision: 69888 $
- Author:
- Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericMatcher
public GenericMatcher()
matchObject
public static final Object matchObject(Object[] objects,
String name)
- Match an object class
- Parameters:
objects
- the objectsname
- the type name
- Returns:
- the matched object or null if no match
matchMetaDataItem
public static final MetaDataItem<?> matchMetaDataItem(MetaDataItem<?>[] metaDatas,
String name)
- Match a meta data item
- Parameters:
metaDatas
- the meta data itemsname
- the type name
- Returns:
- the matched meta data item or null if no match
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.