Interface AuthorUtilAccess
- All Superinterfaces:
UtilAccess
Provides access to utility methods related to author access.
-
Method Summary
Modifier and TypeMethodDescriptionescapeAttributeValue
(String attributeValue) Deprecated.Use the method from the AuthorXMLUtilAccess class.Deprecated.Use the method from the AuthorXMLUtilAccess class.void
Deprecated.Use the method from the AuthorXMLUtilAccess class.resolvePath
(URL baseURL, String relativeLocation, boolean entityResolve, boolean uriResolve) Deprecated.Use the method from the AuthorXMLUtilAccess class.Methods inherited from interface ro.sync.exml.workspace.api.util.UtilAccess
addCustomEditorVariablesResolver, convertFileToURL, correctURL, createImage, createReader, decrypt, encrypt, expandEditorVariables, expandEditorVariables, getContentType, getExtension, getFileName, isSupportedImageURL, isUnhandledBinaryResourceURL, locateFile, makeRelative, optimizeImage, removeCustomEditorVariablesResolver, removeUserCredentials, uncorrectURL
-
Method Details
-
escapeAttributeValue
Deprecated.Use the method from the AuthorXMLUtilAccess class.Escape an attribute value so that the XML document remains well-formed.- Parameters:
attributeValue
- The attribute value.- Returns:
- The escaped value. It does not return
null
.
-
newNonValidatingXMLReader
Deprecated.Use the method from the AuthorXMLUtilAccess class.Creates anXMLReader
without validation.- Returns:
- A new XML Reader.
-
resolvePath
@Deprecated URL resolvePath(URL baseURL, String relativeLocation, boolean entityResolve, boolean uriResolve) Deprecated.Use the method from the AuthorXMLUtilAccess class.Try to resolve a relative location to an absolute path by using the XML catalogs.- Parameters:
baseURL
- The URL of the current opened XML file.relativeLocation
- The relative location to be resolved.entityResolve
-true
if the catalog entity resolver should be used.uriResolve
-true
if the catalog URI resolver should be used.- Returns:
- The absolute URL. It does not return
null
.
-
resetXMLCatalogs
Deprecated.Use the method from the AuthorXMLUtilAccess class.Reset the loaded XML catalogs. This way next time the catalogs are needed they will first be rebuilt.
-