Interface AuthorUtilAccess
-
- All Superinterfaces:
UtilAccess
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorUtilAccess extends UtilAccess
Provides access to utility methods related to author access.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
escapeAttributeValue(java.lang.String attributeValue)
Deprecated.Use the method from the AuthorXMLUtilAccess class.org.xml.sax.XMLReader
newNonValidatingXMLReader()
Deprecated.Use the method from the AuthorXMLUtilAccess class.void
resetXMLCatalogs()
Deprecated.Use the method from the AuthorXMLUtilAccess class.java.net.URL
resolvePath(java.net.URL baseURL, java.lang.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 Detail
-
escapeAttributeValue
@Deprecated java.lang.String escapeAttributeValue(java.lang.String attributeValue)
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 org.xml.sax.XMLReader newNonValidatingXMLReader()
Deprecated.Use the method from the AuthorXMLUtilAccess class.Creates anXMLReader
without validation.- Returns:
- A new XML Reader.
-
resolvePath
@Deprecated java.net.URL resolvePath(java.net.URL baseURL, java.lang.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 void 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.
-
-