FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
SFString.java
1
//AUTOMATICALLY GENERATED BY genfields.pl.
2
//DO NOT EDIT!!!!
3
4
package
vrml.field;
5
import
vrml.*;
6
import
java.io.BufferedReader;
7
import
java.io.PrintWriter;
8
import
java.io.IOException;
9
10
public
class
SFString
extends
Field
{
11
String s;
12
13
public
SFString
() { }
14
15
public
SFString
(String s) {
16
this.s = s;
17
}
18
19
public
String getValue() {
20
__updateRead();
21
return
s;
22
}
23
24
public
void
setValue(String s) {
25
this.s = s;
26
__updateWrite();
27
}
28
29
30
public
void
setValue(
ConstSFString
sfString) {
31
sfString.__updateRead();
32
s = sfString.s;
33
__updateWrite();
34
}
35
36
public
void
setValue(
SFString
sfString) {
37
sfString.__updateRead();
38
s = sfString.s;
39
__updateWrite();
40
}
41
42
43
public
String toString() {
44
__updateRead();
45
return
vrml.FWHelper.quote(s);
46
}
47
48
public
void
__fromPerl(BufferedReader in)
throws
IOException {
49
50
//System.out.println ("fromPerl, String");
51
s = in.readLine();
52
}
53
54
public
void
__toPerl(PrintWriter out)
throws
IOException {
55
out.print(s);
56
//out.println();
57
}
58
//public void setOffset(String offs) { this.offset = offs; } //JAS2
59
//public String getOffset() { return this.offset; } //JAS2
60
}
vrml.field.ConstSFString
Definition:
ConstSFString.java:10
vrml.Field
Definition:
Field.java:4
vrml.field.SFString
Definition:
SFString.java:10
src
java
vrml
field
SFString.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6