public class ColladaAccessor extends ColladaAbstractObject
| Modifier and Type | Field and Description | 
|---|---|
| protected List<ColladaParam> | paramsParameters used by this accessor. | 
CHARACTERS_CONTENT, fields, namespaceURI, parent| Constructor and Description | 
|---|
| ColladaAccessor(String ns)Create a new accessor. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
getLocalExtent, getRootallocate, doAddCharacters, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setFields, setNamespaceURI, setParentprotected List<ColladaParam> params
public ColladaAccessor(String ns)
ns - Namespace.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()