AnnotatedString
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Verwenden Sie AnnotatedString
für Zeichenstrings. Sie fügt einem Element eine Annotation von bis zu 16 Zeichen hinzu.
Attribute
In der folgenden Tabelle werden die Attribute für AnnotatedString
beschrieben:
Attribut |
Erforderlich/Optional? |
Typ |
Beschreibung |
annotation |
Optional |
ShortString |
Eine Annotation mit bis zu 16 Zeichen, die mit einem Zeichenstring verknüpft ist. |
Beispiele
E-Mail
XML
<Email annotation="work">john.a.smith@26003.org</Email>
JSON
"Email": [
{
"annotation": "work",
"value": "john.a.smith@26003.org"
}
]
Fax
XML
<Fax annotation="cell">304-555-0971</Fax>
JSON
"Fax": [
{
"annotation": "cell",
"value": "304-555-0971"
}
]
Telefon
XML
<Phone annotation="office">304-555-1234</Phone>
JSON
"Phone": [
{
"annotation": "office",
"value": "304-555-1234"
}
]
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2023-12-01 (UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Benötigte Informationen nicht gefunden"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zu umständlich/zu viele Schritte"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nicht mehr aktuell"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem mit der Übersetzung"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem mit Beispielen/Code"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Sonstiges"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Leicht verständlich"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Mein Problem wurde gelöst"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Sonstiges"
}]