// Check to see if the protocol supports the markup and
// the conditions for processing the element have been
// satisfied
if (protocol.supportsNativeMarkup() &&
continueProcessing(context, papiAttributes)) {
NativeMarkupAttributes attributes =
(NativeMarkupAttributes) papiAttributes;
String paneName = attributes.getPane();
// Get the value of the targetLocation attribute, which could be
// a text component.
PolicyReferenceResolver resolver =
pageContext.getPolicyReferenceResolver();
TextAssetReference reference = resolver.resolveQuotedTextExpression(
attributes.getTargetLocation());
String target;
if (reference != null) {
target = reference.getText(TextEncoding.PLAIN);
} else {
target = null;