Class TexturedSurfaceType
- java.lang.Object
-
- net.opengis.gml.v_3_1_1.AbstractGMLType
-
- net.opengis.gml.v_3_1_1.AbstractGeometryType
-
- net.opengis.gml.v_3_1_1.AbstractGeometricPrimitiveType
-
- net.opengis.gml.v_3_1_1.AbstractSurfaceType
-
- net.opengis.gml.v_3_1_1.OrientableSurfaceType
-
- net.opengis.citygml.texturedsurface.v_2_0.TexturedSurfaceType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class TexturedSurfaceType extends OrientableSurfaceType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Deprecated since CityGML version 0.4.0. Use the concepts of the CityGML Appearance module instead. The concept of positioning textures on surfaces complies with the standard X3D. Because there has been no appropriate texturing concept in GML3, CityGML adds the class TexturedSurface to the geometry model of GML 3. A texture is specified as a raster image referenced by an URI, and can be an arbitrary resource, even in the internet. Textures are positioned by employing the concept of texture coordinates, i.e. each texture coordinate matches with exactly one 3D coordinate of the TexturedSurface. The use of texture coordinates allows an exact positioning and trimming of the texture on the surface geometry. Each surface may be assigned one or more appearances, each refering to one side of the surface.Java class for TexturedSurfaceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TexturedSurfaceType"> <complexContent> <extension base="{http://www.opengis.net/gml}OrientableSurfaceType"> <sequence> <element ref="{http://www.opengis.net/citygml/texturedsurface/2.0}appearance" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AppearancePropertyType>appearance-
Fields inherited from class net.opengis.gml.v_3_1_1.OrientableSurfaceType
baseSurface, orientation
-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGeometryType
axisLabels, gid, srsDimension, srsName, uomLabels
-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description TexturedSurfaceType()Default no-arg constructorTexturedSurfaceType(List<AppearancePropertyType> appearance)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<AppearancePropertyType>getAppearance()Gets the value of the appearance property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetAppearance()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetAppearance(List<AppearancePropertyType> value)StringtoString()voidunsetAppearance()TexturedSurfaceTypewithAppearance(Collection<AppearancePropertyType> values)TexturedSurfaceTypewithAppearance(List<AppearancePropertyType> value)TexturedSurfaceTypewithAppearance(AppearancePropertyType... values)-
Methods inherited from class net.opengis.gml.v_3_1_1.OrientableSurfaceType
getBaseSurface, getOrientation, isSetBaseSurface, isSetOrientation, setBaseSurface, setOrientation, withAxisLabels, withAxisLabels, withAxisLabels, withBaseSurface, withDescription, withGid, withId, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName, withOrientation, withSrsDimension, withSrsName, withUomLabels, withUomLabels, withUomLabels
-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetGid, isSetSrsDimension, isSetSrsName, isSetUomLabels, setAxisLabels, setGid, setSrsDimension, setSrsName, setUomLabels, unsetAxisLabels, unsetUomLabels
-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
-
-
-
-
Field Detail
-
appearance
protected List<AppearancePropertyType> appearance
-
-
Constructor Detail
-
TexturedSurfaceType
public TexturedSurfaceType()
Default no-arg constructor
-
TexturedSurfaceType
public TexturedSurfaceType(List<AppearancePropertyType> appearance)
Fully-initialising value constructor
-
-
Method Detail
-
getAppearance
public List<AppearancePropertyType> getAppearance()
Gets the value of the appearance property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the appearance property.For example, to add a new item, do as follows:
getAppearance().add(newItem);Objects of the following type(s) are allowed in the list
AppearancePropertyType
-
isSetAppearance
public boolean isSetAppearance()
-
unsetAppearance
public void unsetAppearance()
-
toString
public String toString()
- Overrides:
toStringin classOrientableSurfaceType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classOrientableSurfaceType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classOrientableSurfaceType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classOrientableSurfaceType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classOrientableSurfaceType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classOrientableSurfaceType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classOrientableSurfaceType
-
clone
public Object clone()
- Overrides:
clonein classOrientableSurfaceType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classOrientableSurfaceType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classOrientableSurfaceType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classOrientableSurfaceType
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classOrientableSurfaceType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classOrientableSurfaceType
-
setAppearance
public void setAppearance(List<AppearancePropertyType> value)
-
withAppearance
public TexturedSurfaceType withAppearance(AppearancePropertyType... values)
-
withAppearance
public TexturedSurfaceType withAppearance(Collection<AppearancePropertyType> values)
-
withAppearance
public TexturedSurfaceType withAppearance(List<AppearancePropertyType> value)
-
-