|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.graphics.collada.ColladaElement
hmi.graphics.collada.InstanceController
public class InstanceController
Instantiation of a Collada Controller resource.
| Field Summary | |
|---|---|
private BindMaterial |
bindMaterial
|
private ArrayList<Extra> |
extras
|
private ArrayList<Skeleton> |
skeletons
|
private String |
url
|
private static String |
XMLTAG
|
| Fields inherited from class hmi.graphics.collada.ColladaElement |
|---|
COLLADANAMESPACE |
| Fields inherited from class hmi.xml.XMLStructureAdapter |
|---|
ATTRIBUTE_TOKEN_DELIMITERS, COMMA_SEPARATOR, DECODEDARRAYSIZE, DEFAULT_RECOVER_MODE, NEWLINE, SYSTEMNEWLINE, TAB, TAB_STRING |
| Constructor Summary | |
|---|---|
InstanceController()
|
|
InstanceController(Collada collada,
XMLTokenizer tokenizer)
|
|
| Method Summary | |
|---|---|
StringBuilder |
appendAttributes(StringBuilder buf)
appends a String of attributes to buf. |
StringBuilder |
appendContent(StringBuilder buf,
XMLFormatting fmt)
Appends a String to buf that encodes the contents for the XML encoding. |
void |
decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
decodes the XML attributes |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
BindMaterial |
getBindMaterial()
Returns the BindMaterial, which could be null |
Controller |
getController()
Returns the Controller referenced by the url, from a getCollada() library_controllers. |
String[] |
getSkeletonIds()
|
List<Skeleton> |
getSkeletons()
Returns the list of skeletons |
List<String> |
getSkeletonURLs()
Returns the list of Skeleton urls |
String |
getURL()
returns the url |
String |
getXMLTag()
returns the XML Stag for XML encoding |
boolean |
hasContent()
returns true false, to denote whether there are any child elements. |
static String |
xmlTag()
The XML Stag for XML encoding |
| Methods inherited from class hmi.graphics.collada.ColladaElement |
|---|
addColladaNode, addColladaNodes, addToIdMap, getCollada, getColladaNodes, getId, getIdMap, getIdOrName, getIds, getName, getNamespace, getRecursiveColladaNodes, getRecursiveColladaNodes, getResources, getSid, report, reportNode, setCollada, setId, setName, setSid, urlToId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String url
private BindMaterial bindMaterial
private ArrayList<Skeleton> skeletons
private ArrayList<Extra> extras
private static final String XMLTAG
| Constructor Detail |
|---|
public InstanceController()
public InstanceController(Collada collada,
XMLTokenizer tokenizer)
throws IOException
IOException| Method Detail |
|---|
public String getURL()
public Controller getController()
public BindMaterial getBindMaterial()
public List<Skeleton> getSkeletons()
public String[] getSkeletonIds()
public List<String> getSkeletonURLs()
public boolean hasContent()
hasContent in class XMLStructureAdapterpublic StringBuilder appendAttributes(StringBuilder buf)
appendAttributes in class ColladaElement
public void decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
decodeAttributes in class ColladaElement
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
XMLStructureAdapter
appendContent in class XMLStructureAdapter
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
XMLStructureAdapter
decodeContent in class XMLStructureAdapterIOExceptionpublic static String xmlTag()
public String getXMLTag()
getXMLTag in interface XMLStructuregetXMLTag in class XMLStructureAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||