MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getText

Method getText

CodenameOne/src/com/codename1/xml/Element.java:735–740  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

733 ///
734 /// - `IllegalStateException`: if this is not a text element
735 public String getText() {
736 if (!textElement) {
737 throw new IllegalStateException("Only text elements can get text");
738 }
739 return name;
740 }
741
742 /// Sets the text of this element to the specified string (For text elements only)
743 ///

Callers 5

fromXmlMethod · 0.95
parseMethod · 0.95
newComponentMethod · 0.95

Calls

no outgoing calls

Tested by 1