|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mitre.cpe.matching.CPENameMatcher
public class CPENameMatcher
The CPENameMatcher is an implementation of the CPE Matching algorithm, as specified in the CPE Matching Standard version 2.3.
Constructor Summary | |
---|---|
CPENameMatcher()
|
Method Summary | |
---|---|
java.util.Hashtable |
compareWFNs(WellFormedName source,
WellFormedName target)
Compares each attribute value pair in two Well Formed Names. |
boolean |
isDisjoint(WellFormedName source,
WellFormedName target)
Tests two Well Formed Names for disjointness. |
boolean |
isEqual(WellFormedName source,
WellFormedName target)
Tests two Well Formed Names for equality. |
boolean |
isSubset(WellFormedName source,
WellFormedName target)
Tests if the target Well Formed Name is a subset of the source Well Formed Name. |
boolean |
isSuperset(WellFormedName source,
WellFormedName target)
Tests if the target Well Formed name is a superset of the source Well Formed Name. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CPENameMatcher()
Method Detail |
---|
public boolean isDisjoint(WellFormedName source, WellFormedName target)
source
- Source WFNtarget
- Target WFN
public boolean isEqual(WellFormedName source, WellFormedName target)
source
- Source WFNtarget
- Target WFN
public boolean isSubset(WellFormedName source, WellFormedName target)
source
- Source WFNtarget
- Target WFN
public boolean isSuperset(WellFormedName source, WellFormedName target)
source
- Source WFNtarget
- Target WFN
public java.util.Hashtable compareWFNs(WellFormedName source, WellFormedName target)
source
- Source WFNtarget
- Target WFN
public static void main(java.lang.String[] args) throws java.text.ParseException
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |