Package gov.nist.secauto.cpe.naming.util
Class CPEFactory
java.lang.Object
gov.nist.secauto.cpe.naming.util.CPEFactory
public class CPEFactory
extends java.lang.Object
This factory creates new
CPEName
instances that represent unbound CPE URIs or formatted
strings.-
Method Summary
Modifier and Type Method Description static CPEName
newCPEName(java.lang.String name)
Creates a newCPEName
instance based on the unbound form provided by the argument.
-
Method Details
-
newCPEName
Creates a newCPEName
instance based on the unbound form provided by the argument.- Parameters:
name
- an unbound CPE Name- Returns:
- a CPEName instance representing the provided name
- Throws:
java.text.ParseException
- if the name argument is malformed
-