Examples of PropertyType


Examples of org.apache.tika.metadata.Property.PropertyType

                    }
                    else if (key.equals( DublinCore.CREATOR.getName() )) {
                        createArrayProperty( key, uri, keyParts[1], PropertyOptions.ARRAY_ORDERED );
                    }
                    else {
                        PropertyType type = Property.getPropertyType( key );
                        if (type != null) {
                            switch (type) {
                                case SIMPLE:
                                    createProperty( key, uri, keyParts[1] );
                                    break;
View Full Code Here

Examples of org.apache.xml.security.configuration.PropertyType

    protected static synchronized void init(PropertiesType propertiesType,
            Class<?> callingClass) throws Exception {
        properties = new Properties();
        List<PropertyType> handlerList = propertiesType.getProperty();
        for (int i = 0; i < handlerList.size(); i++) {
            PropertyType propertyType = handlerList.get(i);
            properties.setProperty(propertyType.getNAME(), propertyType.getVAL());
        }
        ConfigurationProperties.callingClass = callingClass;
    }
View Full Code Here

Examples of org.apache.xmpbox.type.PropertyType

                                    // all fields are mandatory
                                    throw new XmpParsingException(ErrorType.RequiredProperty,
                                            "Missing field in property definition");
                                }
                                // check ptype existance
                                PropertyType pt = transformValueType(tm, ptype);
                                if (pt.type() == null)
                                {
                                    throw new XmpParsingException(ErrorType.NoValueType, "Type not defined : " + ptype);
                                }
                                else if (pt.type().isSimple() || pt.type().isStructured()
                                        || pt.type() == Types.DefinedType)
                                {
                                    xsf.getPropertyDefinition().addNewProperty(pname, pt);
                                }
                                else
                                {
View Full Code Here

Examples of org.dmg.pmml._40.PropertyType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setProperty(PropertyType newProperty) {
    PropertyType oldProperty = property;
    property = newProperty == null ? PROPERTY_EDEFAULT : newProperty;
    boolean oldPropertyESet = propertyESet;
    propertyESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.VALUE_TYPE__PROPERTY, oldProperty, property, !oldPropertyESet));
View Full Code Here

Examples of org.jboss.dna.graph.property.PropertyType

    }

    @SuppressWarnings( "unchecked" )
    private static <T> ValueFactory<T> getFactory( Map<PropertyType, ValueFactory<?>> factories,
                                                   ValueFactory<T> defaultFactory ) {
        PropertyType type = defaultFactory.getPropertyType();
        ValueFactory<?> factory = factories.get(type);
        if (factory == null) {
            factory = defaultFactory;
            factories.put(type, factory);
        }
View Full Code Here

Examples of org.mindswap.pellet.PropertyType

        else if( isObjectRestriction.isFalse() ) {
          c = node2term( qualification );
          defineDatatypeProperty( pt );
        }
        else {
          PropertyType propType = kb.getPropertyType( pt );
          if( propType == PropertyType.OBJECT ) {
                      c = ATermUtils.TOP;
                    }
                    else if( propType == PropertyType.DATATYPE ) {
                      c = ATermUtils.TOP_LIT;
View Full Code Here

Examples of org.modeshape.jcr.value.PropertyType

        }

        @Override
        public ValueFactory<?> getValueFactory( Object prototype ) {
            CheckArg.isNotNull(prototype, "prototype");
            PropertyType inferredType = PropertyType.discoverType(prototype);
            assert inferredType != null;
            return getValueFactory(inferredType);
        }
View Full Code Here

Examples of org.neo4j.kernel.impl.nioneo.store.PropertyType

            if ( byteChannel.read( buffer ) != buffer.limit() )
            {
                return null;
            }
            buffer.flip();
            PropertyType type = getType( buffer.getInt() );
            if ( type == null )
            {
                return null;
            }
            record.setType( type );
View Full Code Here

Examples of org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.PropertyType

        }
        m_schemaType = schemaType;
        SchemaProperty[] elemTypes = m_schemaType.getElementProperties()[0].getType().getElementProperties();
        for ( int i = 0; i < elemTypes.length; i++ )
        {
            PropertyType propDesc = getPropertyDesc( metaDataDesc, elemTypes[i].getName() );
            m_propMetaDatas.put( elemTypes[i].getName(),
                    new XmlBeansResourcePropertyMetaData( elemTypes[i], propDesc ) );
        }
    }
View Full Code Here

Examples of org.opengis.feature.type.PropertyType

        return sampleShape;
    }

    public static boolean isGridLayer(final SimpleFeatureType layer) {
    for(PropertyDescriptor descriptor : layer.getDescriptors()){
      final PropertyType type = descriptor.getType();
      if (type.getBinding().isAssignableFrom(AbstractGridCoverage2DReader.class)) {
        return true;
      }
    }

        return false;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.