NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaInstanceMaterial

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
          extended by gov.nasa.worldwind.ogc.collada.ColladaAbstractInstance<ColladaMaterial>
              extended by gov.nasa.worldwind.ogc.collada.ColladaInstanceMaterial
All Implemented Interfaces:
XMLEventParser

public class ColladaInstanceMaterial
extends ColladaAbstractInstance<ColladaMaterial>

Represents the COLLADA instance_material element and provides access to its contents.


Field Summary
protected  List<ColladaBindVertexInput> bindVertexInputs
           
 
Fields inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractInstance
instance
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
ColladaInstanceMaterial(String ns)
           
 
Method Summary
 List<ColladaBindVertexInput> getBindVertexInputs()
          Indicates the bind_vertex_input element.
 String getSymbol()
           
 String getTarget()
           
 String getUrl()
          Instance_material uses a "target" attribute instead of the "url" attribute used by other instance elements.
 void setField(String keyName, Object value)
          
 
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractInstance
get
 
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
getLocalExtent, getRoot
 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setFields, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bindVertexInputs

protected List<ColladaBindVertexInput> bindVertexInputs
Constructor Detail

ColladaInstanceMaterial

public ColladaInstanceMaterial(String ns)
Method Detail

getBindVertexInputs

public List<ColladaBindVertexInput> getBindVertexInputs()
Indicates the bind_vertex_input element.

Returns:
The bind_vertex_input elements, if present. Otherwise null.

getSymbol

public String getSymbol()

getTarget

public String getTarget()

getUrl

public String getUrl()
Instance_material uses a "target" attribute instead of the "url" attribute used by other instance elements.

Overrides:
getUrl in class ColladaAbstractInstance<ColladaMaterial>
Returns:
URL field.

setField

public void setField(String keyName,
                     Object value)

Overrides:
setField in class AbstractXMLEventParser

NASA World Wind