當前位置: 首頁>>代碼示例>>Java>>正文


Java OgcPropertyImpl類代碼示例

本文整理匯總了Java中net.opengis.OgcPropertyImpl的典型用法代碼示例。如果您正苦於以下問題:Java OgcPropertyImpl類的具體用法?Java OgcPropertyImpl怎麽用?Java OgcPropertyImpl使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


OgcPropertyImpl類屬於net.opengis包,在下文中一共展示了OgcPropertyImpl類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: DataList

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
public DataList()
{
    // special property object to correctly set parent
    elementType = new OgcPropertyImpl<DataComponent>()
    {
        private static final long serialVersionUID = -1548152803152171355L;

        @Override
        public void setValue(DataComponent value)
        {
            super.setValue(value);
            ((AbstractDataComponentImpl)value).setName(this.name);
            ((AbstractDataComponentImpl)value).setParent(DataList.this);
            tempComponent = ((AbstractDataComponentImpl)value).copy();
        }    
    };
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:18,代碼來源:DataList.java

示例2: getLocationProperty

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Gets extra info (name, xlink, etc.) carried by the location property
 */
@Override
public OgcProperty<AbstractGeometry> getLocationProperty()
{
    if (location == null)
        location = new OgcPropertyImpl<AbstractGeometry>();
    return location;
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:AbstractFeatureImpl.java

示例3: setLocation

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Sets the locationAsAbstractGeometry property
 */
@Override
public void setLocation(AbstractGeometry location)
{
    if (this.location == null)
        this.location = new OgcPropertyImpl<AbstractGeometry>();
    this.location.setValue(location);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:AbstractFeatureImpl.java

示例4: getBeginProperty

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Gets extra info (name, xlink, etc.) carried by the begin property
 */
@Override
public OgcProperty<TimeInstant> getBeginProperty()
{
    if (begin == null)
        begin = new OgcPropertyImpl<TimeInstant>();
    return begin;
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:TimePeriodImpl.java

示例5: setBegin

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Sets the begin property
 */
@Override
public void setBegin(TimeInstant begin)
{
    if (this.begin == null)
        this.begin = new OgcPropertyImpl<TimeInstant>();
    this.begin.setValue(begin);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:TimePeriodImpl.java

示例6: getEndProperty

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Gets extra info (name, xlink, etc.) carried by the end property
 */
@Override
public OgcProperty<TimeInstant> getEndProperty()
{
    if (end == null)
        end = new OgcPropertyImpl<TimeInstant>();
    return end;
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:TimePeriodImpl.java

示例7: setEnd

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Sets the end property
 */
@Override
public void setEnd(TimeInstant end)
{
    if (this.end == null)
        this.end = new OgcPropertyImpl<TimeInstant>();
    this.end.setValue(end);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:TimePeriodImpl.java

示例8: readFeatureCollectionTypeElements

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Reads elements of AbstractFeatureCollectionType complex type
 */
public void readFeatureCollectionTypeElements(XMLStreamReader reader, FeatureCollection bean) throws XMLStreamException
{
    this.readAbstractFeatureTypeElements(reader, bean);
    
    boolean found;
    
    // featureMember
    do
    {
        found = checkElementName(reader, "featureMember");
        if (found)
        {
            OgcProperty<AbstractFeature> featureMemberProp = new OgcPropertyImpl<AbstractFeature>();
            readPropertyAttributes(reader, featureMemberProp);
            
            if (featureMemberProp.getHref() == null)
            {
                reader.nextTag();
                featureMemberProp.setValue(this.readAbstractFeature(reader));
            }
            bean.getFeatureMemberList().add(featureMemberProp);
            
            reader.nextTag(); // end property tag
            reader.nextTag();
        }
    }
    while (found);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:32,代碼來源:XMLStreamBindings.java

示例9: readAbstractTimePrimitiveTypeElements

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Reads elements of AbstractTimePrimitiveType complex type
 */
public void readAbstractTimePrimitiveTypeElements(XMLStreamReader reader, AbstractTimePrimitive bean) throws XMLStreamException
{
    this.readAbstractGMLTypeElements(reader, bean);
    
    boolean found;
    
    // relatedTime
    do
    {
        found = checkElementName(reader, "relatedTime");
        if (found)
        {
            OgcProperty<AbstractTimePrimitive> relatedTimeProp = new OgcPropertyImpl<AbstractTimePrimitive>();
            readPropertyAttributes(reader, relatedTimeProp);
            
            if (relatedTimeProp.getHref() == null)
            {
                reader.nextTag();
                relatedTimeProp.setValue(this.readAbstractTimeGeometricPrimitive(reader));
            }
            bean.getRelatedTimeList().add(relatedTimeProp);
            
            reader.nextTag(); // end property tag
            reader.nextTag();
        }
    }
    while (found);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:32,代碼來源:XMLStreamBindings.java

示例10: getConstraintProperty

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Gets extra info (name, xlink, etc.) carried by the constraint property
 */
@Override
public OgcProperty<AllowedTokens> getConstraintProperty()
{
    if (constraint == null)
        constraint = new OgcPropertyImpl<AllowedTokens>();
    return constraint;
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:CategoryImpl.java

示例11: setConstraint

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Sets the constraint property
 */
@Override
public void setConstraint(AllowedTokens constraint)
{
    if (this.constraint == null)
        this.constraint = new OgcPropertyImpl<AllowedTokens>();
    this.constraint.setValue(constraint);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:CategoryImpl.java

示例12: getNilValuesProperty

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Gets extra info (name, xlink, etc.) carried by the nilValues property
 */
@Override
public OgcProperty<NilValues> getNilValuesProperty()
{
    if (nilValues == null)
        nilValues = new OgcPropertyImpl<NilValues>();
    return nilValues;
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:AbstractSimpleComponentImpl.java

示例13: setNilValues

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
/**
 * Sets the nilValues property
 */
@Override
public void setNilValues(NilValues nilValues)
{
    if (this.nilValues == null)
        this.nilValues = new OgcPropertyImpl<NilValues>();
    this.nilValues.setValue(nilValues);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:AbstractSimpleComponentImpl.java

示例14: AbstractArrayImpl

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
public AbstractArrayImpl()
{
    // special property object to correctly set parent and name
    elementType = new OgcPropertyImpl<DataComponent>() 
    {
        private static final long serialVersionUID = 3604877033013079886L;

        @Override
        public void setValue(DataComponent value)
        {
            ((AbstractDataComponentImpl)value).setName(this.name);
            ((AbstractDataComponentImpl)value).setParent(AbstractArrayImpl.this);
            super.setValue(value);
        }
    };
    
    // special property object to correctly set element count name
    elementCount = new OgcPropertyImpl<Count>() 
    {
        private static final long serialVersionUID = -5136432942948581877L;

        @Override
        public void setValue(Count value)
        {
            ((CountImpl)value).setName(AbstractArrayImpl.ELT_COUNT_NAME);
            super.setValue(value);
        }
    };        
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:30,代碼來源:AbstractArrayImpl.java

示例15: add

import net.opengis.OgcPropertyImpl; //導入依賴的package包/類
@Override
public void add(int index, ComponentType component)
{
    ((AbstractDataComponentImpl)component).setParent(parent);
    String name = component.getName();
    checkName(name);
    OgcPropertyImpl<ComponentType> prop = new OgcPropertyImpl<>(name, component);
    items.add(index, prop);
    nameMap.put(name, prop);
}
 
開發者ID:sensiasoft,項目名稱:lib-swe-common,代碼行數:11,代碼來源:DataComponentPropertyList.java


注:本文中的net.opengis.OgcPropertyImpl類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。