Package 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.
-
-
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
Constructors Constructor Description ColladaProfileCommon(java.lang.String ns)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColladaExtra
getExtra()
Indicates the extra field of this profile.ColladaNewParam
getParam(java.lang.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, setNamespaceURI, setParent
-
-
-
-
Method Detail
-
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.
-
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(java.lang.String sid)
Find a NewParam item by scoped ID (the sid attribute of the param).- Overrides:
getParam
in classColladaAbstractParamContainer
- Parameters:
sid
- Id to search for.- Returns:
- The requested parameter, or null if no such parameter can be found.
-
-