gov.nasa.worldwind.ogc.collada
Class ColladaInstanceMaterial
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
gov.nasa.worldwind.ogc.collada.ColladaAbstractInstance<ColladaMaterial>
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.
| 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 |
bindVertexInputs
protected List<ColladaBindVertexInput> bindVertexInputs
ColladaInstanceMaterial
public ColladaInstanceMaterial(String ns)
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