public class SWIDTagCharacteristics extends Object
| Constructor and Description |
|---|
SWIDTagCharacteristics(TagType tagType,
boolean authoritative)
Construct a new SWID tag characteristics using the provided characteristics.
|
| Modifier and Type | Method and Description |
|---|---|
static SWIDTagCharacteristics |
getSWIDTagCharacteristics(gov.nist.secauto.decima.xml.document.XMLDocument doc)
Detects the SWID tag characteristics for the provided file.
|
TagType |
getTagType()
Retrieve the tag type.
|
boolean |
isAuthoritative()
Determine if the tag is authoritative or not.
|
public SWIDTagCharacteristics(TagType tagType, boolean authoritative)
tagType - the type of the tagauthoritative - true if the tag is authoritative, or false otherwisepublic static SWIDTagCharacteristics getSWIDTagCharacteristics(gov.nist.secauto.decima.xml.document.XMLDocument doc) throws XPathExpressionException, XPathFactoryConfigurationException
doc - the file to generate characteristics forXPathExpressionException - if an error occurred while evaluating the XPath expressions used to determine the
characteristicsXPathFactoryConfigurationException - if an error occurred while establishing the XPath evaluation environmentpublic TagType getTagType()
public boolean isAuthoritative()
true if the tag is authoritative, or false otherwiseCopyright © 2020 National Institute of Standards and Technology. All rights reserved.