public class VrmlBuffer
extends java.lang.Object
Constructor and Description |
---|
VrmlBuffer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Get the internal buffer.
|
void |
init()
Initialize the internal buffer.
|
void |
write(double double1)
Append a double to the internal buffer.
|
void |
write(double double1,
double double2)
Append two double to the internal buffer, separated by a space.
|
void |
write(double double1,
double double2,
double double3)
Append three double to the internal buffer, separated by a space.
|
void |
write(int int1)
Append an int to the internal buffer.
|
void |
write(int int1,
int int2)
Append two int to the internal buffer, separated by a space.
|
void |
write(int int1,
int int2,
int int3)
Append three int to the internal buffer, separated by spaces.
|
void |
write(java.lang.String s)
Append a string to the internal buffer.
|
void |
writeDefNodeName(java.lang.String nodeName)
Write the node name to the internal buffer, as a VRML DEF.
|
void |
writeNodeName(java.lang.String nodeName)
Write the node name to the internal buffer.
|
void |
writeQuote()
Write a double quote character to the internal buffer.
|
public void init()
public java.lang.String get()
public void write(java.lang.String s)
s
- The string to append.public void write(int int1)
int1
- The int to append.public void write(int int1, int int2)
int1
- The first int.int2
- The second int.public void write(int int1, int int2, int int3)
int1
- The first int.int2
- The second int.int3
- The third int.public void write(double double1)
double1
- The double to append.public void write(double double1, double double2)
double1
- The first double.double2
- The second double.public void write(double double1, double double2, double double3)
double1
- The first double.double2
- The second double.double3
- The third double.public void writeQuote()
public void writeNodeName(java.lang.String nodeName)
nodeName
- The node name.public void writeDefNodeName(java.lang.String nodeName)
nodeName
- The node name.