Package edu.stanford.bmir.protege.web.shared.crud.supplied

Examples of edu.stanford.bmir.protege.web.shared.crud.supplied.WhiteSpaceTreatment


        return entity;
    }

    private IRI createEntityIRI(EntityShortForm shortForm, PrefixedNameExpander prefixedNameExpander) {
        try {
            WhiteSpaceTreatment whiteSpaceTreatment = suffixSettings.getWhiteSpaceTreatment();
            String transformedShortForm = whiteSpaceTreatment.transform(shortForm.getShortForm());
            Optional<IRI> expandedPrefixName = prefixedNameExpander.getExpandedPrefixName(transformedShortForm);
            if (expandedPrefixName.isPresent()) {
                return expandedPrefixName.get();
            }
            String escapedShortForm = URLEncoder.encode(transformedShortForm, "UTF-8");
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.crud.supplied.WhiteSpaceTreatment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.