public class LocString extends Object implements Cloneable, Formattable, Serializable
Modifier and Type | Field and Description |
---|---|
static Function<LocString,Location<XMLDocumentIdentifier>> |
get_loc
Deprecated.
Use new '::' method reference instead.
|
static Function<LocString,String> |
get_text
Deprecated.
Use new '::' method reference instead.
|
protected Location<XMLDocumentIdentifier> |
loc
Generated by umod; model author's documentation MISSING.
|
protected String |
text
Generated by umod; model author's documentation MISSING.
|
format
Constructor and Description |
---|
LocString(String text,
Location<XMLDocumentIdentifier> loc)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
LocString |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
Location<XMLDocumentIdentifier> |
get_loc()
Generated by umod; model author's documentation MISSING.
|
String |
get_text()
Generated by umod; model author's documentation MISSING.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
LocString |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_loc(Location<XMLDocumentIdentifier> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_text(String val)
Generated by umod; model author's documentation MISSING.
|
protected String text
get_text()
,
set_text(java.lang.String)
@Deprecated public static final Function<LocString,String> get_text
protected Location<XMLDocumentIdentifier> loc
Location
(never
null)@Deprecated public static final Function<LocString,Location<XMLDocumentIdentifier>> get_loc
public LocString(String text, Location<XMLDocumentIdentifier> loc)
public LocString doclone()
Cloneable
is known to
be implemented.public static String getFormatHint()
text
public Format format()
format
in interface Formattable
public LocString initFrom(Object o0)
public String get_text()
public boolean set_text(String val)
val
- the new value of type java.lang.String(never null)text
public Location<XMLDocumentIdentifier> get_loc()
Location
(never null)public boolean set_loc(Location<XMLDocumentIdentifier> val)
see also the complete user documentation .