Package org.gnome.gtk
Class BuildableParser
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gtk.BuildableParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFunctional interface declaration of theEndElementCallbackcallback.static interfaceFunctional interface declaration of theErrorCallbackcallback.static interfaceFunctional interface declaration of theStartElementCallbackcallback.static interfaceFunctional interface declaration of theTextCallbackcallback. -
Constructor Summary
ConstructorsConstructorDescriptionAllocate a new BuildableParser.BuildableParser(Arena arena) Allocate a new BuildableParser.BuildableParser(MemorySegment address) Create a BuildableParser proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideEndElement(BuildableParser.EndElementCallback endElement, Arena _arena) Write a value in the fieldend_element.voidoverrideError(BuildableParser.ErrorCallback error, Arena _arena) Write a value in the fielderror.voidoverrideStartElement(BuildableParser.StartElementCallback startElement, Arena _arena) Write a value in the fieldstart_element.voidoverrideText(BuildableParser.TextCallback text, Arena _arena) Write a value in the fieldtext.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
BuildableParser
Create a BuildableParser proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
BuildableParser
Allocate a new BuildableParser.- Parameters:
arena- to control the memory allocation scope
-
BuildableParser
public BuildableParser()Allocate a new BuildableParser. The memory is allocated withArena.ofAuto().
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideStartElement
Write a value in the fieldstart_element.- Parameters:
startElement- The new value for the fieldstart_element_arena- to control the memory allocation scope
-
overrideEndElement
Write a value in the fieldend_element.- Parameters:
endElement- The new value for the fieldend_element_arena- to control the memory allocation scope
-
overrideText
Write a value in the fieldtext.- Parameters:
text- The new value for the fieldtext_arena- to control the memory allocation scope
-
overrideError
Write a value in the fielderror.- Parameters:
error- The new value for the fielderror_arena- to control the memory allocation scope
-