com.alphasystem.docbook.util.Utils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docbook-2-docx Show documentation
Show all versions of docbook-2-docx Show documentation
Alpha system commons library
The newest version!
package com.alphasystem.docbook.util;
import com.alphasystem.commons.util.AppUtil;
import org.docbook.model.Emphasis;
import org.docbook.model.Phrase;
import org.docbook.model.Superscript;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
import static com.alphasystem.xml.UnmarshallerConstants.*;
public class Utils {
private static final Logger LOGGER = LoggerFactory.getLogger("com.alphasystem.docbook");
private Utils() {
}
public static String getId(Object source) {
return (String) AppUtil.invokeMethod(source, "getId");
}
public static String getLinkText(List