Package edu.mit.simile.fresnel.selection

Examples of edu.mit.simile.fresnel.selection.PropertySelector


        if (domainNode instanceof Resource) {
          if (((Resource) domainNode).equals(AllPropertiesSet.getSchemaResource())) {
            domain = new AllPropertiesSelector();
          } else {
            // This is a property selector
            domain = new PropertySelector((URI) domainNode);
          }
        } else if (domainNode instanceof Literal) {
          Literal domainL = (Literal) domainNode;
          // TODO: catch bad expressions?  throw exceptions?
          if (domainL.getDatatype().equals(FresnelCoreTypes.fslSelector)) {
View Full Code Here


          if (AllPropertiesSelector.isAllProperties(selector)) {
            // get all properties and check if in hidden properties
            while (focusProperties.hasNext() || focusPropertiesInverse.hasNext()) {
              Statement st = (focusProperties.hasNext() ? focusProperties.next() : focusPropertiesInverse.next());
              URI maybeAdd = FresnelUtilities.dupURI(st.getPredicate());
              PropertySelector maybeAddSelector = new PropertySelector(maybeAdd);
              if (hide.size() > 0) {
                if (!hide.containsSelector(maybeAddSelector)
                    && !properties.containsSelector(maybeAddSelector)) {
                  properties.addSelector(maybeAddSelector);
                }
View Full Code Here

TOP

Related Classes of edu.mit.simile.fresnel.selection.PropertySelector

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.