gov.nasa.worldwind.ogc.collada
Class ColladaProfileCommon
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
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.
| 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 |
ColladaProfileCommon
public ColladaProfileCommon(String ns)
- Construct an instance.
- Parameters:
ns - the qualifying namespace URI. May be null to indicate no namespace qualification.
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.