Package ro.sync.ecss.extensions.dita.id
Class AttributeReferenceValueDetector
java.lang.Object
ro.sync.ecss.extensions.dita.id.AttributeReferenceValueDetector
Detects the
AttrValue
of a node and the name of the attribute.-
Constructor Summary
ConstructorsConstructorDescriptionCreates the detector. -
Method Summary
Modifier and TypeMethodDescriptionDetects the reference attribute value of local elements.
-
Constructor Details
-
AttributeReferenceValueDetector
Creates the detector.- Parameters:
element
- The element to check for reference attributes.
-
-
Method Details
-
detectRefAttrValue
Detects the reference attribute value of local elements.- Returns:
- The
AttrValue
provided by the href, conref or others reference attributes.null
if nothing is detected or element has a non-local scope.
-
getDetectedRefAttrName
- Returns:
- The name of the attribute that contains the reference. Can be href, conref and others.
null
if the element does not have a reference.
-