Package gov.nasa.worldwind.ogc.collada
Class ColladaTechniqueCommon
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
-
- gov.nasa.worldwind.ogc.collada.ColladaTechniqueCommon
-
- All Implemented Interfaces:
XMLEventParser
public class ColladaTechniqueCommon extends ColladaAbstractObject
Represents the COLLADA technique_common element and provides access to its contents.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ColladaInstanceMaterial>
materials
Materials contained by this technique.-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description ColladaTechniqueCommon(java.lang.String ns)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ColladaInstanceMaterial>
getMaterials()
Indicates the materials contained by this technique.void
setField(java.lang.String keyName, java.lang.Object value)
-
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
-
materials
protected java.util.List<ColladaInstanceMaterial> materials
Materials contained by this technique.
-
-
Method Detail
-
getMaterials
public java.util.List<ColladaInstanceMaterial> getMaterials()
Indicates the materials contained by this technique.- Returns:
- List of materials. May return an empty list, but never returns null.
-
setField
public void setField(java.lang.String keyName, java.lang.Object value)
- Overrides:
setField
in classAbstractXMLEventParser
-
-