buildCanonicalUrl(DocumentFactory factory, DocumentLocator locator) Builds an URL corresponding to a CMS document.
Parameters: factory - The document factory. Parameters: locator - The locator.
getLocator(DocumentFactory factory, String webappUrl) Returns a document for a web application URL.
Parameters: factory - The factory. Parameters: webappUrl - The web application URL.
boolean
isDocument(DocumentFactory factory, String url) Checks if an URL corresponds to a CMS document.
Parameters: factory - The document factory. Parameters: url - The URL of the form /{publication-id}/...
boolean
isValidDocumentName(String documentName) Checks if a document name is valid.
Parameters: documentName - The document name.
Builds an URL corresponding to a CMS document.
Parameters: factory - The document factory. Parameters: locator - The locator. a String The corresponding URL.
Returns a document for a web application URL.
Parameters: factory - The factory. Parameters: webappUrl - The web application URL. A document identifier. throws: DocumentBuildException - if an error occurs.
Checks if an URL corresponds to a CMS document.
Parameters: factory - The document factory. Parameters: url - The URL of the form /{publication-id}/... A boolean value. throws: DocumentBuildException - when something went wrong.