public AttributesAttributeProvider(LinkResolverContext context) { DataHolder options = context.getOptions(); nodeAttributeRepository = AttributesExtension.NODE_ATTRIBUTES.getFrom(options); }
public WikiLinkLinkResolver(LinkResolverContext context) { this.options = new WikiLinkOptions(context.getOptions()); }
public DocxLinkResolver(final LinkResolverContext context) { // can use context for custom settings // context.getDocument(); // context.getHtmlOptions(); String docRelativeURL = DocxRenderer.DOC_RELATIVE_URL.getFrom(context.getOptions()); if (docRelativeURL != null) { docRelativeURL = Utils.removeStart(docRelativeURL, '/'); } String docRootURL = DocxRenderer.DOC_ROOT_URL.getFrom(context.getOptions()); if (docRootURL != null) { docRootURL = Utils.removeStart(docRootURL, '/'); } this.docRelativeURL = docRelativeURL; this.docRootURL = docRootURL; relativeParts = docRelativeURL.split("/"); prefixWwwLinks = DocxRenderer.PREFIX_WWW_LINKS.getFrom(context.getOptions()); }
public ZzzzzzAttributeProvider(LinkResolverContext context) { DataHolder options = context.getOptions(); this.localOnlyTargetClass = options.get(ZzzzzzExtension.LOCAL_ONLY_TARGET_CLASS); this.missingTargetClass = options.get(ZzzzzzExtension.MISSING_TARGET_CLASS);
public AttributesAttributeProvider(LinkResolverContext context) { DataHolder options = context.getOptions(); nodeAttributeRepository = AttributesExtension.NODE_ATTRIBUTES.getFrom(options); }
public FlexmarkLinkResolver(LinkResolverContext context) { DataHolder options = context.getOptions(); this.inputFileExtensions = options.get(PageGeneratorExtension.INPUT_FILE_EXTENSIONS).trim().split("\\s*,\\s*"); }