Package ghidra.trace.model.target.schema
Interface SchemaContext
- All Known Implementing Classes:
DefaultSchemaContext,PrimitiveTraceObjectSchema.MinimalSchemaContext,XmlSchemaContext
public interface SchemaContext
A collection of related schemas all for the same trace or target
-
Method Summary
Modifier and TypeMethodDescriptionCollect all schemas in this contextResolve a schema in this context by nameResolve a schema in this context by name
-
Method Details
-
getSchema
Resolve a schema in this context by nameNote that resolving a name generated outside of this context may have undefined results.
- Parameters:
name- the schema's name- Returns:
- the schema or
PrimitiveTraceObjectSchema.ANYif no schema by the given name exists
-
getSchemaOrNull
Resolve a schema in this context by name- Parameters:
name- the schema's name- Returns:
- the schema, or null if no schema by the given name exists
-
getAllSchemas
SequencedSet<TraceObjectSchema> getAllSchemas()Collect all schemas in this context- Returns:
- the set of all schemas
-