public void setMarkerSuffix(final BasedSequence markerSuffix) { assert markerSuffix.isNull() || openingMarker.getBase() == markerSuffix.getBase(); this.markerSuffix = markerSuffix; }
public boolean isImplicitName() { return (value.isNotNull() && attributeSeparator.isNull() && name.isNotNull()); }
if (segment.isNull()) continue;
@Override public void updateNodeElements(final Document document, final Node node) { assert (node instanceof WikiNode); final WikiNode wikiNode = (WikiNode) node; if (node instanceof WikiLink && WikiLinkExtension.ALLOW_INLINES.getFrom(document)) { // need to update link and pageRef with plain text versions if (wikiNode.getText().isNull()) { BasedSequence link = new TextCollectingVisitor().collectAndGetSequence(node); wikiNode.setLink(link, WikiLinkExtension.ALLOW_ANCHORS.getFrom(document), WikiLinkExtension.ALLOW_ANCHOR_ESCAPE.getFrom(document)); } } }
if (options.group(GROUP_OPTIONS_CLOSE) != null && !options.group(GROUP_OPTIONS_CLOSE).trim().isEmpty()){optionsClosingMarker = optionsChars.subSequence(options.start(GROUP_OPTIONS_CLOSE), options.end(GROUP_OPTIONS_CLOSE)).trim(WHITESPACE_NBSP_CHARS);} if (section.isNotNull() && optionsKeyword.isNull() && numberSeparator.isNull() && coordOpeningMarker.isNull() && section.matchChars("options")) { if (optionsText.isNull()) { if (optionsClosingMarker.isNotNull()) { optionsText = optionsClosingMarker.subSequence(0, 0);
if (node.getTitle().isNull()) { title = this.options.qualifierTitleMap.get(info); if (title == null) {
if (chars.isNull()) { setChars(spanningChars); } else {
switch (context.getRenderPurpose()) { case TRANSLATION_SPANS: if (node.getOpeningMarker().isNull()) {
public void setMarkerSuffix(final BasedSequence markerSuffix) { assert markerSuffix.isNull() || openingMarker.getBase() == markerSuffix.getBase(); this.markerSuffix = markerSuffix; }
public boolean isImplicitName() { return (value.isNotNull() && attributeSeparator.isNull() && name.isNotNull()); }
if (node.getOpeningMarker().isNull()) break;
if (segment.isNull()) continue;
if (options.group(GROUP_OPTIONS_CLOSE) != null && !options.group(GROUP_OPTIONS_CLOSE).trim().isEmpty()){optionsClosingMarker = optionsChars.subSequence(options.start(GROUP_OPTIONS_CLOSE), options.end(GROUP_OPTIONS_CLOSE)).trim(WHITESPACE_NBSP_CHARS);} if (section.isNotNull() && optionsKeyword.isNull() && numberSeparator.isNull() && coordOpeningMarker.isNull() && section.matchChars("options")) { if (optionsText.isNull()) { if (optionsClosingMarker.isNotNull()) { optionsText = optionsClosingMarker.subSequence(0, 0);
switch (context.getRenderPurpose()) { case TRANSLATION_SPANS: if (node.getOpeningMarker().isNull()) {
if (chars.isNull()) { setChars(spanningChars); } else {
if (node.getOpeningMarker().isNull()) break;