Module dev.metaschema.core
Package dev.metaschema.core.qname
Interface IEnhancedQName.PrefixToNamespaceResolver
- Enclosing interface:
- IEnhancedQName
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a callback for resolving namespace prefixes.
-
Method Summary
Modifier and TypeMethodDescriptionGet the URI string for the provided namespace prefix.
-
Method Details
-
resolve
Get the URI string for the provided namespace prefix.- Parameters:
name- the name to resolve- Returns:
- the URI string or
nullif the prefix is unbound - Throws:
StaticMetapathException- with the codeStaticMetapathException.PREFIX_NOT_EXPANDABLEif a non-empty prefix is provided
-