NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaTechniqueCommon

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.ColladaTechniqueCommon
All Implemented Interfaces:
XMLEventParser

public class ColladaTechniqueCommon
extends ColladaAbstractObject

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


Field Summary
protected  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
ColladaTechniqueCommon(String ns)
          Construct an instance.
 
Method Summary
 List<ColladaInstanceMaterial> getMaterials()
          Indicates the materials contained by this technique.
 void setField(String keyName, 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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

materials

protected List<ColladaInstanceMaterial> materials
Materials contained by this technique.

Constructor Detail

ColladaTechniqueCommon

public ColladaTechniqueCommon(String ns)
Construct an instance.

Parameters:
ns - the qualifying namespace URI. May be null to indicate no namespace qualification.
Method Detail

getMaterials

public 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(String keyName,
                     Object value)

Overrides:
setField in class AbstractXMLEventParser

NASA World Wind