Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.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
Constructors Constructor Description ColladaInstanceMaterial(java.lang.String ns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ColladaBindVertexInput>
getBindVertexInputs()
Indicates the bind_vertex_input element.java.lang.String
getSymbol()
java.lang.String
getTarget()
java.lang.String
getUrl()
Instance_material uses a "target" attribute instead of the "url" attribute used by other instance elements.void
setField(java.lang.String keyName, java.lang.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, setNamespaceURI, setParent
-
-
-
-
Field Detail
-
bindVertexInputs
protected java.util.List<ColladaBindVertexInput> bindVertexInputs
-
-
Method Detail
-
getTarget
public java.lang.String getTarget()
-
getSymbol
public java.lang.String getSymbol()
-
getUrl
public java.lang.String getUrl()
Instance_material uses a "target" attribute instead of the "url" attribute used by other instance elements.- Overrides:
getUrl
in classColladaAbstractInstance<ColladaMaterial>
- Returns:
- URL field.
-
getBindVertexInputs
public java.util.List<ColladaBindVertexInput> getBindVertexInputs()
Indicates the bind_vertex_input element.- Returns:
- The bind_vertex_input elements, if present. Otherwise null.
-
setField
public void setField(java.lang.String keyName, java.lang.Object value)
- Overrides:
setField
in classAbstractXMLEventParser
-
-