Package org.apache.pivot.beans
Interface Resolvable
-
- All Known Implementing Classes:
BXMLSerializer
public interface Resolvable
Interface representing a resolvable include. Serializers that want to support BXML's resolution operators should implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URL
getLocation()
Map<java.lang.String,java.lang.Object>
getNamespace()
Access the serializer's namespace.Resources
getResources()
void
setLocation(java.net.URL location)
Sets the serializer's location.void
setNamespace(Map<java.lang.String,java.lang.Object> namespace)
Sets the serializer's namespace.void
setResources(Resources resources)
Sets the serializer's resource bundle.
-
-
-
Method Detail
-
getNamespace
Map<java.lang.String,java.lang.Object> getNamespace()
Access the serializer's namespace.- Returns:
- The namespace of the serializer (namely the mapping of names to values).
-
setNamespace
void setNamespace(Map<java.lang.String,java.lang.Object> namespace)
Sets the serializer's namespace. This is used for variable resolution.- Parameters:
namespace
- The new namespace to use for this serializer.
-
getLocation
java.net.URL getLocation()
- Returns:
- The serializer's location.
-
setLocation
void setLocation(java.net.URL location)
Sets the serializer's location. This is used for URL resolution.- Parameters:
location
- Where we are to load resources for this serializer.
-
getResources
Resources getResources()
- Returns:
- The serializer's resource bundle.
-
setResources
void setResources(Resources resources)
Sets the serializer's resource bundle. This is used for resource resolution.- Parameters:
resources
- Resource bundle to use to resolve text resources.
-
-