hmi.xml
Interface XMLStructure

All Known Subinterfaces:
Head, XMLWrapper<T>
All Known Implementing Classes:
Accessor, After, Alpha, Ambient, Animation, AnimationClip, Annotate, Argument, AspectRatio, Asset, AudioPlannerSpecLoader, Before, Behaviour, BehaviourBlock, Bind, BindMaterial, BindShapeMatrix, BindVertexInput, Blinn, BMLElement, BMLRealizerSpecLoader, BMLTAudioFileBehaviour, BMLTBehaviour, BMLTBlinkModelChangeBehaviour, BMLTControllerBehaviour, BMLTGazePatternChangeBehaviour, BMLTInterruptBehaviour, BMLTInterruptSpec, BMLTKeyframeBehaviour, BMLTParameter, BMLTProcAnimationBehaviour, BMLTTransitionBehaviour, BodySpecHmiLoader, BodySpecLoader, BoolArray, BorderColor, Box, Camera, Capsule, Channel, Code, Collada, ColladaElement, ColladaFloat, ColladaFloatVector, ColladaImage, ColladaVertexWeights, CollisionModel, ColorClear, ColorTarget, CommonColor, CommonColorOrTextureType, CommonFloatOrParamType, CommonTexture, CompilerOptions, CompilerTarget, CompoundController, ConfigList, ConnectParam, Constant, ConstantAttenuation, ConstraintBlock, Contributor, Controller, ControlVertices, Data, DebugSpecHmiLoader, Deformer, DepthClear, DepthTarget, Description, Diffuse, Directional, Draw, EaseDeformer, Effect, Emission, EndEffector, Extra, EyePair, Face, FaceBehaviour, FaceBinding, FaceSpecHmiLoader, FaceSpecLoader, FaceUnitAssembler, FaceUnitParameter, FaceUnitParameterDefault, FaceUnitSpec, FaceUnitSpecConstraint, FaceUnitSpecConstraints, FACSConfiguration, FalloffAngle, FalloffExponent, FBParameterDefaults, FBParameterMap, FColladaBump, FColladaEmissionLevel, FColladaEndTime, FColladaIntensity, FColladaProfile, FColladaSpecLevel, FColladaStartTime, FixedFunctionShader, FloatArray, ForceField, FormatHint, FXAll, GazeBehaviour, Generator, Geometry, GestureBehaviour, GestureBinding, GestureBindingSpecLoader, GLHead, GMaterial, GMesh, GNode, GScene, GShape, GSkin, GSkinnedMesh, GSphere, GTexture, H, HalfExtends, HeadBehaviour, Height, IDBranchAssembler, IDREFArray, IDSegmentAssembler, Imager, Include, IncludeSpecLoader, IndexOfRefraction, InitFrom, InitVolume, Input, InstanceAnimation, InstanceCamera, InstanceController, InstanceEffect, InstanceGeometry, InstanceLight, InstanceMaterial, InstanceNode, InstanceVisualScene, IntArray, Joints, Keyframe, Keyframes, KeyPosition, Lambert, Library, LibraryAnimationClips, LibraryAnimations, LibraryCameras, LibraryControllers, LibraryEffects, LibraryForceFields, LibraryGeometries, LibraryImages, LibraryLights, LibraryMaterials, LibraryNodes, LibraryPhysicsMaterials, LibraryPhysicsModels, LibraryPhysicsScenes, LibraryVisualScenes, Light, LinearAttenuation, Lines, LineStrips, LipsBehaviour, LocomotionBehaviour, LookAt, MaryAllophonesBehaviour, MaryWordsBehaviour, MaryXMLBehaviour, Material, Matrix, Max3DBoundingMax, Max3DBoundingMin, Max3DFrameRate, Max3DHelper, Max3DProfile, MayaProfile, Mesh, MixedSystemAssembler, Modifier, Morph, MotionUnitAssembler, MotionUnitParameter, MotionUnitParameterDefault, MotionUnitSpec, MotionUnitSpecConstraint, MotionUnitSpecConstraints, MPEG4Configuration, MSApiBehaviour, Name, NameArray, Newparam, Node, Optics, Orthographic, P, Param, ParamArray, Parameter, ParameterDefaults, ParameterMap, ParamValue, Pass, Perspective, PH, Phong, PhysicalHumanoidAssembler, PhysicalSegmentAssembler, PhysicsMaterial, PhysicsModel, PhysicsScene, PhysicsSpecLoader, Point, Polygons, PolyList, PostureBehaviour, Primitive, PrimitiveMeshElement, ProcAnimationMU, ProfileCG, ProfileCOMMON, ProfileGLES, ProfileGLSL, QuadraticAttenuation, Radius, Reflective, Reflectivity, RenderMonkeyProfile, RenderState, RequiredBlock, RGB, Rotate, Rotation, Sampler, Sampler1D, Sampler2D, Sampler3D, SamplerCUBE, SamplerDEPTH, SamplerRECT, SamplerState, Scale, Scene, Semantic, Setparam, Shader, ShaderInclude, Shape, Shininess, Skeleton, Skeleton, Skeleton.VJointXML, SkeletonInterpolator, SkeletonPose, Skew, Skin, SmoothDeformer, Source, SpecLoader, Specular, SpeechBehaviour, SpeechBehaviour.SpeechText, SpeechBinding, SpeechBindingSpecLoader, Sphere, Spline, Spot, SSMLBehaviour, StencilClear, StencilTarget, Surface, Sync, Synchronize, Targets, TechniqueCommon, TechniqueCommonBindMaterial, TechniqueCommonLight, TechniqueCommonSource, TechniqueCore, TechniqueFX, TechniqueHint, Texcombiner, Texenv, TexturePipeline, TextureUnit, TransformNode, Translate, Transparency, Transparent, Triangles, Trifans, Tristrips, Usertype, V, ValueType, VCount, VertexAttribute, VertexWeights, Vertices, VirtualHumanSpec, VirtualHumanSpecHmi, VisemeToMorphMapping, VisimeSpec, VisualScene, VJoint, VoiceSpecLoader, WaitBehaviour, XFov, XMag, XMLAttributeMap, XMLBasicValue, XMLBMLExceptionFeedback, XMLBMLPerformanceStartFeedback, XMLBMLPerformanceStopFeedback, XMLBMLSyncPointProgressFeedback, XMLBMLTPlanningFinishedFeedback, XMLBMLTPlanningStartFeedback, XMLBMLWarningFeedback, XMLController, XMLInteger, XMLPhonemeToVisemeMapping, XMLStructureAdapter, YFov, YMag, ZFar, ZNear

public interface XMLStructure

XMLStructure is an extension of XMLizable, that makes some extra assumptions, and also requires a few more methods. The most important assumption is that XMLStructures have an XMLEncoding that consists of proper XML (unlike XMLizable, which does not require this). In particular, it is required that "CharData" contents do not contain forbidden characters, like '<'. Moreover, the XML encoding should start with an opening STag of the form "

Author:
Job Zwiers

Method Summary
 StringBuilder appendXML(StringBuilder buf)
          like writeXML(PrintWriter), except that the XML encoding is appended to a StringBuilder.
 StringBuilder appendXML(StringBuilder buf, int tab)
          like writeXML(PrintWriter ,int), except that the XML encoding is appended to a StringBuilder.
 StringBuilder appendXML(StringBuilder buf, XMLFormatting fmt)
          like writeXML(PrintWriter ,int), except that the XML encoding is appended to a StringBuilder.
 String getXMLTag()
          returns the XML tag that is used to encode this type of XMLStructure.
 XMLStructure readXML(Reader in)
          reconstructs this XMLizable object by reading and parsing XML encoded text from a Reader.
 XMLStructure readXML(String s)
          reconstructs this XMLizable object by parsing an XML encoded String s.
 XMLStructure readXML(XMLTokenizer tokenizer)
          reconstructs this XMLizable object by parsing a stream of XML tokens, that are delivered by a XMLTokenizer.
 String toXMLString()
          yields an XML encoded String of this XMLIzable object.
 String toXMLString(int tab)
          yields an XML encoded String of this XMLizable object.
 String toXMLString(XMLFormatting fmt)
          yields an XML encoded String of this XMLizable object.
 void writeXML(PrintWriter out)
          writes an XML encoded String to "out".
 void writeXML(PrintWriter out, int tab)
          writes an XML encoded String to "out".
 void writeXML(PrintWriter out, XMLFormatting fmt)
          writes an XML encoded String to "out".
 

Method Detail

readXML

XMLStructure readXML(Reader in)
                     throws IOException
reconstructs this XMLizable object by reading and parsing XML encoded text from a Reader. This method can throw an (unchecked) ScanException in case of incorrectly formatted XML.

Throws:
IOException

readXML

XMLStructure readXML(String s)
reconstructs this XMLizable object by parsing an XML encoded String s. This method can throw an (unchecked) ScanException in case of incorrectly formatted XML.


readXML

XMLStructure readXML(XMLTokenizer tokenizer)
                     throws IOException
reconstructs this XMLizable object by parsing a stream of XML tokens, that are delivered by a XMLTokenizer. This method need not be supported, in which case the method should throw a java.lang.UnsupportedOperationException. This method can throw an (unchecked) ScanException in case of incorrectly formatted XML.

Throws:
IOException

toXMLString

String toXMLString()
yields an XML encoded String of this XMLIzable object. The readXML() methods should be able to reconstruct this object from the String delivered by toXMLString().


toXMLString

String toXMLString(int tab)
yields an XML encoded String of this XMLizable object. The readXML() methods should be able to reconstruct this object from the String delivered by toXMLString().


toXMLString

String toXMLString(XMLFormatting fmt)
yields an XML encoded String of this XMLizable object. The readXML() methods should be able to reconstruct this object from the String delivered by toXMLString().


appendXML

StringBuilder appendXML(StringBuilder buf)
like writeXML(PrintWriter), except that the XML encoding is appended to a StringBuilder. the latter must be returned.


appendXML

StringBuilder appendXML(StringBuilder buf,
                        int tab)
like writeXML(PrintWriter ,int), except that the XML encoding is appended to a StringBuilder. The latter must be returned.


appendXML

StringBuilder appendXML(StringBuilder buf,
                        XMLFormatting fmt)
like writeXML(PrintWriter ,int), except that the XML encoding is appended to a StringBuilder. The latter must be returned.


writeXML

void writeXML(PrintWriter out,
              int tab)
writes an XML encoded String to "out". The int "tab" can be used as a hint for indentation, and denotes the indentation to be applied to the XML code as a whole. This String should equal the result of toXMLString(tab).


writeXML

void writeXML(PrintWriter out,
              XMLFormatting fmt)
writes an XML encoded String to "out". The int "tab" can be used as a hint for indentation, and denotes the indentation to be applied to the XML code as a whole. This String should equal the result of toXMLString(tab).


writeXML

void writeXML(PrintWriter out)
writes an XML encoded String to "out". This String should equal the result of toXMLString().


getXMLTag

String getXMLTag()
returns the XML tag that is used to encode this type of XMLStructure.