NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaTechnique

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.ColladaAbstractParamContainer
              extended by gov.nasa.worldwind.ogc.collada.ColladaTechnique
All Implemented Interfaces:
XMLEventParser

public class ColladaTechnique
extends ColladaAbstractParamContainer

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


Field Summary
 
Fields inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
newParams
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
ColladaTechnique(String ns)
          Construct an instance.
 
Method Summary
 String getProfile()
          Indicates the value of the profile field.
 ColladaAbstractShader getShader()
          Indicates the shader contained by the technique.
 
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
getParam, setField
 
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
 

Constructor Detail

ColladaTechnique

public ColladaTechnique(String ns)
Construct an instance.

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

getProfile

public String getProfile()
Indicates the value of the profile field.

Returns:
The value of the profile field, or null if the field is not set.

getShader

public ColladaAbstractShader getShader()
Indicates the shader contained by the technique. Supported shaders are lambert and phong.

Returns:
The shader for this technique, or null if the shader is not set, or is not supported.

NASA World Wind