public class ColladaLibrary<T> extends ColladaAbstractObject
| Modifier and Type | Field and Description | 
|---|---|
| protected String | elementNameLocal name of the elements in the library. | 
| protected List<T> | elementsElements in the library. | 
CHARACTERS_CONTENT, fields, namespaceURI, parent| Constructor and Description | 
|---|
| ColladaLibrary(String ns)Construct an instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getElementName(String libraryName) | 
| List<T> | getElements()Indicates the elements in the library. | 
| Object | parse(XMLEventParserContext context,
     XMLEvent event,
     Object... args)Parse the event and initialize the parser's values to those found in the event. | 
| void | setField(String keyName,
        Object value) | 
getLocalExtent, getRootallocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parseCharacterContent, removeField, setField, setFields, setNamespaceURI, setParentprotected String elementName
public ColladaLibrary(String ns)
ns - the qualifying namespace URI. May be null to indicate no namespace qualification.public List<T> getElements()
public Object parse(XMLEventParserContext context, XMLEvent event, Object... args) throws XMLStreamException
parse in interface XMLEventParserparse in class AbstractXMLEventParsercontext - a current parser context.event - the event to parse.args - an optional list of arguments that may by used by subclasses.this, otherwise returns null.XMLStreamException - if an exception occurs during event-stream reading.public void setField(String keyName, Object value)
setField in class AbstractXMLEventParser