Documentation Center

getPrettyName

Description

Get the pretty name in the current interface language for this node as specified in the schema or in the nodeConfig configuration.

Configuration Example

<x:node match="crypticElementName">
  <x:name xml:lang="en">Friendly Name</x:name>
</x:node>

Schema Example

<xs:element name="crypticElementName" type="someType">
  <xs:annotation>
    <xs:appinfo xmlns:xopus="http://www.xopus.com/xmlns/xsd">
      <xopus:documentation>
        <xopus:name xml:lang="en">Friendly Name</xopus:name>
        <xopus:name xml:lang="de">Freundlicher Name</xopus:name>
        <xopus:name xml:lang="nl">Vriendelijke Naam</xopus:name>
        <xopus:name xml:lang="fr">Nom Amical</xopus:name>
        <xopus:name xml:lang="it">Nome Amichevole</xopus:name>
        <xopus:name xml:lang="es">Nombre Amistoso</xopus:name>
      </xopus:documentation>
    </xs:appinfo>
  </xs:annotation>
</xs:element>

Syntax

XopusNode.getPrettyName () : String

Return Value

String. The pretty name for this node.