public class ColladaAccessor extends ColladaAbstractObject
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ColladaParam> |
params
Parameters used by this accessor.
|
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
ColladaAccessor(java.lang.String ns)
Create a new accessor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doAddEventAttribute(javax.xml.stream.events.Attribute attr,
XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.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.
|
java.lang.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(java.lang.String keyName,
java.lang.Object value) |
int |
size()
Indicates the number of tokens that the accessor can read.
|
getLocalExtent, getRoot
allocate, doAddCharacters, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setFields, setNamespaceURI, setParent
protected java.util.List<ColladaParam> params
public ColladaAccessor(java.lang.String ns)
ns
- Namespace.protected void doAddEventAttribute(javax.xml.stream.events.Attribute attr, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
doAddEventAttribute
in class AbstractXMLEventParser
javax.xml.stream.XMLStreamException
public int getCount()
public float[] getFloats()
public int getOffset()
public java.lang.String getSource()
public int getStride()
public void setField(java.lang.String keyName, java.lang.Object value)
setField
in class AbstractXMLEventParser
public int size()