|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
gov.nasa.worldwind.ogc.collada.ColladaAccessor
public class ColladaAccessor
Represents the COLLADA accessor element and provides access to its contents.
| Field Summary | |
|---|---|
protected List<ColladaParam> |
params
Parameters used by this accessor. |
| Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
|---|
CHARACTERS_CONTENT, fields, namespaceURI, parent |
| Constructor Summary | |
|---|---|
ColladaAccessor(String ns)
Create a new accessor. |
|
| Method Summary | |
|---|---|
protected void |
doAddEventAttribute(Attribute attr,
XMLEventParserContext ctx,
XMLEvent event,
Object... args)
|
int |
getCount()
Indicates the number of elements that this accessor can read. |
float[] |
getFloats()
Copies this accessor's content to a buffer. |
int |
getOffset()
Indicates the offset into the source data at which the accessor starts reading. |
String |
getSource()
Get the identifier of this accessor's source. |
int |
getStride()
Indicates the number of tokens in the source data to advance between elements. |
void |
setField(String keyName,
Object value)
|
int |
size()
Indicates the number of tokens that the accessor can read. |
| Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractObject |
|---|
getLocalExtent, getRoot |
| Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
|---|
allocate, doAddCharacters, 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 |
|---|
protected List<ColladaParam> params
| Constructor Detail |
|---|
public ColladaAccessor(String ns)
ns - Namespace.| Method Detail |
|---|
protected void doAddEventAttribute(Attribute attr,
XMLEventParserContext ctx,
XMLEvent event,
Object... args)
throws XMLStreamException
doAddEventAttribute in class AbstractXMLEventParserXMLStreamExceptionpublic int getCount()
public float[] getFloats()
public int getOffset()
public String getSource()
public int getStride()
public void setField(String keyName,
Object value)
setField in class AbstractXMLEventParserpublic int size()
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||