NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaVertices

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

public class ColladaVertices
extends ColladaAbstractObject

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


Field Summary
protected  List<ColladaInput> inputs
          Inputs to the vertices element.
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
ColladaVertices(String ns)
          Construct an instance.
 
Method Summary
 List<ColladaInput> getInputs()
          Indicates the vertex inputs.
 ColladaInput getPositionInput()
          Indicates the input with the semantic "POSITION".
 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

inputs

protected List<ColladaInput> inputs
Inputs to the vertices element.

Constructor Detail

ColladaVertices

public ColladaVertices(String ns)
Construct an instance.

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

getInputs

public List<ColladaInput> getInputs()
Indicates the vertex inputs.

Returns:
Vertex inputs. May return an empty list, but never returns null.

getPositionInput

public ColladaInput getPositionInput()
Indicates the input with the semantic "POSITION".

Returns:
The input labeled with semantic "POSITION", or null if no such input is set.

setField

public void setField(String keyName,
                     Object value)

Overrides:
setField in class AbstractXMLEventParser

NASA World Wind