Package org.oddjob.arooa.parsing
Interface PrefixMapping
- All Known Subinterfaces:
ArooaDescriptor,NamespaceMappings,PrefixMappings
- All Known Implementing Classes:
ArooaDescriptorDescriptor,BaseArooaDescriptor,ClassesOnlyDescriptor,EmptyDescriptor,FallbackPrefixMappings,LinkedDescriptor,ListDescriptor,SimplePrefixMappings,StandardArooaDescriptor
- 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 mapping from a namespace prefix to the URI.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ArooaElementelementFor(String qName) Use this mappings to find the uri for anArooaElement.default QTagUse this mappings to find the uri for anQTag.
-
Method Details
-
getUriFor
-
qTagFor
Use this mappings to find the uri for anQTag.- Parameters:
qName- A qualified name.- Returns:
- An element. Never null.
-
elementFor
Use this mappings to find the uri for anArooaElement.- Parameters:
qName- A qualified name.- Returns:
- An element. Never null.
-