pageContext.pushIMDAPIElement(this);
// Create the base URL builder.
PolicyFactory factory = PolicyFactory.getDefaultInstance();
BaseURLPolicyBuilder builder = factory.createBaseURLPolicyBuilder();
builder.setName(attrs.getName());
String locationTypeAsString = attrs.getLocationType();
BaseLocation baseLocation = getBaseLocation(locationTypeAsString);
builder.setBaseLocation(baseLocation);
builder.setBaseURL(attrs.getPrefixURL());
// Add it to the map.
IMDPolicyFetcher fetcher = pageContext.getPagePolicyFetcher();
fetcher.addInlinePolicyBuilder(builder);
}