FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
ConstSFString.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
ConstSFString
extends
ConstField
{
11
String s;
12
13
public
ConstSFString
() { }
14
15
public
ConstSFString
(String s) {
16
this.s = s;
17
}
18
19
public
String getValue() {
20
__updateRead();
21
return
s;
22
}
23
24
public
String toString() {
25
__updateRead();
26
return
vrml.FWHelper.quote(s);
27
}
28
29
public
void
__fromPerl(BufferedReader in)
throws
IOException {
30
31
//System.out.println ("fromPerl, String");
32
s = in.readLine();
33
}
34
35
public
void
__toPerl(PrintWriter out)
throws
IOException {
36
out.print(s);
37
//out.println();
38
}
39
//public void setOffset(String offs) { this.offset = offs; } //JAS2
40
//public String getOffset() { return this.offset; } //JAS2
41
}
vrml.field.ConstSFString
Definition:
ConstSFString.java:10
vrml.ConstField
Definition:
ConstField.java:3
src
java
vrml
field
ConstSFString.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6