Interface: IPHXType2
Last update: 16.07.2025Package: com.phoenix_int.aserver.types
All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
- PHXBoolean
- PHXBooleanArray
- PHXDouble
- PHXDoubleArray
- PHXFile
- PHXGeometry
- PHXInteger
- PHXLong
- PHXLongArray
- PHXObjectArray
- PHXRawFile
- PHXRawFileArray
- PHXReference
- PHXScriptObject
- PHXSimpleArray
- PHXSimpleType
- PHXString
- PHXStringArray
Declaration
public interface IPHXType2
extends IPHXType
The interface for Phoenix types which use PHXStringBuffer instead of String for performance.
See Also:
Nested Class Summary
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IPHXType2.IVisitor<T> The interface of a visitor into an IPHXType2. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Accept(IPHXType2.IVisitor<T> visitor) Accept a Visitor. |
void |
fromString2(PHXStringBuffer sb) Configures the type based on a PHXStringBuffer representation of the type |
PHXStringBuffer |
toString2() Gets a PHXStringBuffer representation of the type |
Methods inherited from interface com.phoenix_int.aserver.types.IPHXType
fromStringtoString
Method Detail
toString2
PHXStringBuffer toString2()
throws java.io.IOException
Gets a PHXStringBuffer representation of the type
Returns:
- PHXStringBuffer representation of the type
Throws:
java.io.IOException
fromString2
void fromString2(PHXStringBuffer sb)
throws java.io.IOException, PHXGetByUrlException
Configures the type based on a PHXStringBuffer representation of the type
Parameters:
sb- representation of the type to use
Throws:
java.io.IOExceptionPHXGetByUrlException
Accept
<T> T Accept(IPHXType2.IVisitor<T> visitor)
Accept a Visitor.
Type Parameters:
T- Type of the result of the visit.
Parameters:
visitor- The visitor to accept.
Returns:
- The results of the visit.