| java.lang.Object org.apache.cocoon.xml.XMLBaseSupport
XMLBaseSupport | public class XMLBaseSupport (Code) | | Helper class for handling xml:base attributes.
Usage:
External entities are not yet taken into account when determing the current base.
|
Constructor Summary | |
public | XMLBaseSupport(SourceResolver resolver, Logger logger) |
XMLBASE_ATTRIBUTE | final public static String XMLBASE_ATTRIBUTE(Code) | | |
XMLBASE_NAMESPACE_URI | final public static String XMLBASE_NAMESPACE_URI(Code) | | |
XMLBaseSupport | public XMLBaseSupport(SourceResolver resolver, Logger logger)(Code) | | |
makeAbsolute | public Source makeAbsolute(String spec) throws SAXException(Code) | | Makes the given path absolute based on the current base URL. Do not forget to release
the returned source object!
Parameters: spec - any URL (relative or absolute, containing a scheme or not) |
|
|