Class 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>
     
    • 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 set method 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()
      • append

        public StringBuilder append​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        append in interface org.jvnet.jaxb.lang.ToString
        Overrides:
        append in class OrientableSurfaceType
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb.lang.ToString
        Overrides:
        appendFields in class OrientableSurfaceType
      • 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:
        equals in interface org.jvnet.jaxb.lang.Equals
        Overrides:
        equals in class OrientableSurfaceType
      • hashCode

        public int hashCode​(org.jvnet.jaxb.locator.ObjectLocator locator,
                            org.jvnet.jaxb.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb.lang.HashCode
        Overrides:
        hashCode in class OrientableSurfaceType
      • copyTo

        public Object copyTo​(org.jvnet.jaxb.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb.lang.CopyStrategy strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb.lang.CopyTo
        Overrides:
        copyTo in class OrientableSurfaceType
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
        Overrides:
        createNewInstance in class OrientableSurfaceType
      • 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:
        mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
        Overrides:
        mergeFrom in class OrientableSurfaceType