NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaProfileCommon

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

public class ColladaProfileCommon
extends ColladaAbstractParamContainer

Represents the COLLADA profile_COMMON 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
ColladaProfileCommon(String ns)
          Construct an instance.
 
Method Summary
 ColladaExtra getExtra()
          Indicates the extra field of this profile.
 ColladaNewParam getParam(String sid)
          Find a NewParam item by scoped ID (the sid attribute of the param).
 ColladaTechnique getTechnique()
          Indicates the technique field of this profile.
 
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
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

ColladaProfileCommon

public ColladaProfileCommon(String ns)
Construct an instance.

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

getExtra

public ColladaExtra getExtra()
Indicates the extra field of this profile.

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

getParam

public ColladaNewParam getParam(String sid)
Find a NewParam item by scoped ID (the sid attribute of the param).

Overrides:
getParam in class ColladaAbstractParamContainer
Parameters:
sid - Id to search for.
Returns:
The requested parameter, or null if no such parameter can be found.

getTechnique

public ColladaTechnique getTechnique()
Indicates the technique field of this profile.

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

NASA World Wind