|
||||||||||
| 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.BindMaterial
public class BindMaterial
Declaration of generic control information, for either Skins or Morphs. binds a specific material to a piece of geometry, binding varying uniform parameters at the same time.
| Field Summary | |
|---|---|
private ArrayList<Extra> |
extras
|
private ArrayList<Param> |
params
|
private TechniqueCommonBindMaterial |
techniqueCommon
|
private ArrayList<TechniqueCore> |
techniques
|
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 | |
|---|---|
BindMaterial()
Default constructor |
|
BindMaterial(Collada collada,
XMLTokenizer tokenizer)
Constructor used to create a BindMaterial Object from XML |
|
| Method Summary | |
|---|---|
StringBuilder |
appendContent(StringBuilder buf,
XMLFormatting fmt)
Appends a String to buf that encodes the contents for the XML encoding. |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
InstanceMaterial |
getInstanceMaterial(String materialId)
returns the InstanceMaterial (from the TechniqueCommon) for the specified material symbol, or null, when there is no such InstanceMaterial |
String |
getMaterialTarget(String symbol)
Returns the material target for the specified symbol, from the list of InstanceMaterial inside the TechniqueCommon element. |
String |
getXMLTag()
returns the XML Stag for XML encoding |
static String |
xmlTag()
The XML Stag for XML encoding |
| Methods inherited from class hmi.graphics.collada.ColladaElement |
|---|
addColladaNode, addColladaNodes, addToIdMap, appendAttributes, decodeAttributes, 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 ArrayList<Param> params
private ArrayList<Extra> extras
private TechniqueCommonBindMaterial techniqueCommon
private ArrayList<TechniqueCore> techniques
private static final String XMLTAG
| Constructor Detail |
|---|
public BindMaterial()
public BindMaterial(Collada collada,
XMLTokenizer tokenizer)
throws IOException
IOException| Method Detail |
|---|
public InstanceMaterial getInstanceMaterial(String materialId)
public String getMaterialTarget(String symbol)
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 | |||||||||