|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xmlmatcher.matcher.RegistryMatchingStrategySelector
public class RegistryMatchingStrategySelector
Simple MatchingStrategySelector that has a sequence of supported strategies. This selector returns the first appropriate strategy in order they appear in the sequence.
Field Summary | |
---|---|
protected java.util.List<MatchingStrategy> |
mStrategies
|
Constructor Summary | |
---|---|
RegistryMatchingStrategySelector()
|
|
RegistryMatchingStrategySelector(java.util.List<MatchingStrategy> strategies)
|
Method Summary | |
---|---|
MatchingStrategy |
select(org.w3c.dom.Element template)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.List<MatchingStrategy> mStrategies
Constructor Detail |
---|
public RegistryMatchingStrategySelector()
public RegistryMatchingStrategySelector(java.util.List<MatchingStrategy> strategies)
Method Detail |
---|
public MatchingStrategy select(org.w3c.dom.Element template) throws InvalidTemplateException
select
in interface MatchingStrategySelector
InvalidTemplateException
- when no compatible strategy exists for given element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |