Interface ICustomReferencePolicy<TYPE>
- All Superinterfaces:
IReferencePolicy<TYPE>
- All Known Implementing Classes:
AbstractCustomReferencePolicy,AbstractMultiItemTypeReferencePolicy,AnchorReferencePolicy,InsertReferencePolicy,LinkReferencePolicy,PropertyReferencePolicy
-
Field Summary
Fields inherited from interface gov.nist.secauto.oscal.lib.profile.resolver.policy.IReferencePolicy
IGNORE_POLICY -
Method Summary
Modifier and TypeMethodDescriptionGet the parser to use to parse an entity identifier from the reference text.getReferenceText(TYPE reference) Retrieve the reference text from thereferenceobject.voidsetReferenceText(TYPE reference, String newReferenceText) Update the reference text used in thereferenceobject.Methods inherited from interface gov.nist.secauto.oscal.lib.profile.resolver.policy.IReferencePolicy
handleReference
-
Method Details
-
getIdentifierParser
Get the parser to use to parse an entity identifier from the reference text.- Returns:
- the parser
-
getReferenceText
Retrieve the reference text from thereferenceobject.- Parameters:
reference- the reference object- Returns:
- the reference text or
nullif there is no text
-
setReferenceText
Update the reference text used in thereferenceobject.- Parameters:
reference- the reference objectnewReferenceText- the reference text replacement
-