Package ghidra.trace.model.target.schema
Class DefaultSchemaContext
java.lang.Object
ghidra.trace.model.target.schema.DefaultSchemaContext
- All Implemented Interfaces:
SchemaContext
- Direct Known Subclasses:
PrimitiveTraceObjectSchema.MinimalSchemaContext,XmlSchemaContext
The default implementation of a schema context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder(TraceObjectSchema schema) booleanCollect all schemas in this contextResolve a schema in this context by nameResolve a schema in this context by nameinthashCode()voidputSchema(TraceObjectSchema schema) voidreplaceSchema(TraceObjectSchema schema) toString()
-
Constructor Details
-
DefaultSchemaContext
public DefaultSchemaContext() -
DefaultSchemaContext
-
-
Method Details
-
builder
-
builder
-
modify
-
putSchema
-
replaceSchema
-
getSchemaOrNull
Description copied from interface:SchemaContextResolve a schema in this context by name- Specified by:
getSchemaOrNullin interfaceSchemaContext- Parameters:
name- the schema's name- Returns:
- the schema, or null if no schema by the given name exists
-
getSchema
Description copied from interface:SchemaContextResolve a schema in this context by nameNote that resolving a name generated outside of this context may have undefined results.
- Specified by:
getSchemain interfaceSchemaContext- Parameters:
name- the schema's name- Returns:
- the schema or
PrimitiveTraceObjectSchema.ANYif no schema by the given name exists
-
getAllSchemas
Description copied from interface:SchemaContextCollect all schemas in this context- Specified by:
getAllSchemasin interfaceSchemaContext- Returns:
- the set of all schemas
-
toString
-
equals
-
hashCode
public int hashCode()
-