[x3d-public] X3DJSAIL. Handling of MFStrings. using string constants, setting an array value with brackets?

Don Brutzman brutzman at nps.edu
Sun Feb 26 15:17:40 PST 2017


On 2/25/2017 10:57 PM, Don Brutzman wrote:
> MFStringObject now includes some additional static convenience methods for enumeration handling.
> [...]

Further variations added.  All quote stripping and enumeration-handling methods now start with "cleanup" for easy reference. See links at

	MFStringObject methods
	http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/fields/MFStringObject.html#method.summary

	cleanupEnclosingQuotes()
	Utility method to trim enclosing quotes and outer whitespace from an arbitrary String value.

	cleanupEnumerationValues()
	Utility method to trim enclosing quotes and outer whitespace from elements in an arbitrary String[] array.

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list