|
||||||||||
| 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.ParamValue
public class ParamValue
Represents a value for a Newparm or Setparam element.
| Nested Class Summary | |
|---|---|
static class |
ParamValue.Type
Param types, like Sampler1D, ParamArray, ValueType etc. |
| Field Summary | |
|---|---|
private ParamArray |
array
|
private Sampler1D |
sampler1D
|
private Sampler2D |
sampler2D
|
private Sampler3D |
sampler3D
|
private Surface |
surface
|
private ParamValue.Type |
type
|
private Usertype |
usertype
|
private ValueType |
valueType
|
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 | |
|---|---|
ParamValue()
|
|
ParamValue(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. |
ParamArray |
getParamArray()
|
Sampler1D |
getSampler1D()
|
Sampler2D |
getSampler2D()
|
Sampler3D |
getSampler3D()
|
Surface |
getSurface()
|
ParamValue.Type |
getType()
|
Usertype |
getUsertype()
|
ValueType |
getValueType()
|
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, 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 ValueType valueType
private Usertype usertype
private ParamArray array
private Surface surface
private Sampler1D sampler1D
private Sampler2D sampler2D
private Sampler3D sampler3D
private ParamValue.Type type
private static final String XMLTAG
| Constructor Detail |
|---|
public ParamValue()
public ParamValue(Collada collada,
XMLTokenizer tokenizer)
throws IOException
IOException| Method Detail |
|---|
public ValueType getValueType()
public Sampler1D getSampler1D()
public Sampler2D getSampler2D()
public Sampler3D getSampler3D()
public Surface getSurface()
public Usertype getUsertype()
public ParamArray getParamArray()
public ParamValue.Type getType()
public 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 | |||||||||