|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(URISUPPORT_HEADER_GUARD_1357924680)
19 #define URISUPPORT_HEADER_GUARD_1357924680
28 #include <xercesc/util/XMLURL.hpp>
66 MemoryManager& theManager)
68 return getURLFromString(urlString.
c_str(), theManager);
81 MemoryManager& theManager)
83 getURLFromString(urlString.
c_str(), url, theManager);
93 getURLFromString(
const XalanDOMChar* urlString,
94 MemoryManager& theManager);
104 const XalanDOMChar* urlString,
106 MemoryManager& theManager)
110 getURLStringFromString(urlString, buffer);
112 url.setURL(buffer.
c_str());
122 static URLAutoPtrType
126 MemoryManager& theManager)
130 getURLStringFromString(urlString, base, theResult);
132 return getURLFromString(theResult, theManager);
142 static URLAutoPtrType
144 const XalanDOMChar* urlString,
145 const XalanDOMChar* base);
159 getURLStringFromString(urlString.
c_str(), urlString.
length(), theNormalizedURI);
171 const XalanDOMChar* urlString,
174 assert(urlString != 0);
176 getURLStringFromString(
190 getURLStringFromString(
191 const XalanDOMChar* urlString,
208 getURLStringFromString(urlString.
c_str(), base.
c_str(), theNormalizedURI);
221 const XalanDOMChar* urlString,
222 const XalanDOMChar* base,
225 assert(urlString != 0 && base != 0);
227 getURLStringFromString(
243 getURLStringFromString(
244 const XalanDOMChar* urlString,
246 const XalanDOMChar* base,
280 MemoryManager& theManager,
281 const Locator* theLocator);
290 MemoryManager& theManager);
295 virtual const XalanDOMChar*
302 static const XalanDOMChar s_fileProtocolString1[];
304 static const XalanDOMChar s_fileProtocolString2[];
313 #endif // URISUPPORT_HEADER_GUARD_1357924680
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
XalanAutoPtr< XMLURLType > URLAutoPtrType
static void getURLStringFromString(const XalanDOMChar *urlString, const XalanDOMChar *base, XalanDOMString &theNormalizedURI)
Determine the fully qualified URI for a string.
static URLAutoPtrType getURLFromString(const XalanDOMString &urlString, MemoryManager &theManager)
Determine the fully qualified URI for a string.
static void getURLStringFromString(const XalanDOMString &urlString, XalanDOMString &theNormalizedURI)
Determine the fully qualified URI for a string.
Normalizes the string passed in, replacing \ with /.
static void getURLFromString(const XalanDOMChar *urlString, XMLURLType &url, MemoryManager &theManager)
Determine the fully qualified URI for a string.
static void getURLStringFromString(const XalanDOMChar *urlString, XalanDOMString &theNormalizedURI)
Determine the fully qualified URI for a string.
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
xercesc::XMLURL XMLURLType
const XalanDOMChar * c_str() const
static void getURLFromString(const XalanDOMString &urlString, XMLURLType &url, MemoryManager &theManager)
Determine the fully qualified URI for a string.
static URLAutoPtrType getURLFromString(const XalanDOMString &urlString, const XalanDOMString &base, MemoryManager &theManager)
Determine the fully qualified URI for a string.
static void getURLStringFromString(const XalanDOMString &urlString, const XalanDOMString &base, XalanDOMString &theNormalizedURI)
Determine the fully qualified URI for a string.