Package com.networknt.schema.resource
Class PrefixSchemaMapper
- java.lang.Object
-
- com.networknt.schema.resource.PrefixSchemaMapper
-
- All Implemented Interfaces:
SchemaMapper
public class PrefixSchemaMapper extends Object implements SchemaMapper
Prefix implementation ofSchemaMapper
.
-
-
Constructor Summary
Constructors Constructor Description PrefixSchemaMapper(String source, String replacement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteIri
map(AbsoluteIri absoluteIRI)
Maps an ID indicated by an absolute IRI to a retrieval IRI.
-
-
-
Method Detail
-
map
public AbsoluteIri map(AbsoluteIri absoluteIRI)
Description copied from interface:SchemaMapper
Maps an ID indicated by an absolute IRI to a retrieval IRI.- Specified by:
map
in interfaceSchemaMapper
- Parameters:
absoluteIRI
- the ID- Returns:
- the retrieval IRI or null if this mapper doesn't support the mapping
-
-