/** * If the label contains 'unsafe' chars, escape them. */ @Override public String getExpression() { return escape(name); }
/** * Gets the textual representation of the assigned label as it was entered by the user. */ @Exported(name="labelExpression") public String getAssignedLabelString() { if (canRoam || assignedNode==null) return null; try { LabelExpression.parseExpression(assignedNode); return assignedNode; } catch (ANTLRException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(assignedNode); } }
/** * If the label contains 'unsafe' chars, escape them. */ @Override public String getExpression() { return escape(name); }
/** * If the label contains 'unsafe' chars, escape them. */ @Override public String getExpression() { return escape(name); }
/** * If the label contains 'unsafe' chars, escape them. */ @Override public String getExpression() { return escape(name); }
/** * If the label contains 'unsafe' chars, escape them. */ @Override public String getExpression() { return escape(name); }
/** * If the label contains 'unsafe' chars, escape them. */ @Override public String getExpression() { return escape(name); }
/** * Gets the textual representation of the assigned label as it was entered by the user. */ public String getAssignedLabelString() { if (canRoam || assignedNode==null) return null; try { LabelExpression.parseExpression(assignedNode); return assignedNode; } catch (ANTLRException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(assignedNode); } }
/** * Gets the textual representation of the assigned label as it was entered by the user. * @return Assigned label string */ @Override public String getAssignedLabelString() { if (assignedLabel == null) return null; try { LabelExpression.parseExpression(assignedLabel); return assignedLabel; } catch (ANTLRException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(assignedLabel); } }
/** * Gets the textual representation of the assigned label as it was entered by the user. * * @return assigned label as string */ public String getAssignedLabelString() { if (canRoam || nodeName == null) { return null; } try { LabelExpression.parseExpression(nodeName); return nodeName; } catch (ANTLRException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(nodeName); } }
/** * Gets the textual representation of the assigned label as it was entered by the user. * * @return assigned label as string */ public String getAssignedLabelString() { if (canRoam || nodeName == null) { return null; } try { LabelExpression.parseExpression(nodeName); return nodeName; } catch (ANTLRException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(nodeName); } }
/** * Gets the textual representation of the assigned label as it was entered by the user. * * @return assigned label as string */ public String getAssignedLabelString() { if (canRoam || nodeName == null) { return null; } try { LabelExpression.parseExpression(nodeName); return nodeName; } catch (ANTLRException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(nodeName); } }
/** * Gets the textual representation of the assigned label as it was entered * by the user. * * @return assigned label as string */ public String getAssignedLabelString() { if (canRoam || nodeName == null) { return null; } try { LabelExpression.parseExpression(nodeName); return nodeName; } catch (RecognitionException e) { // must be old label or host name that includes whitespace or other unsafe chars return LabelAtom.escape(nodeName); } }