ptolemy.kernel.util
Interface MoMLExportable

All Superinterfaces:
Nameable
All Known Implementing Classes:
Absent, AbsoluteValue, AbsoluteValue, AbstractActionsAttribute, AbstractActionsAttribute, AbstractActionsAttribute, AbstractCalInterpreter, AbstractPlaceableActor, AbstractSettableAttribute, AbstractTextAttribute, Accumulator, Accumulator, Accumulator, Accumulator, Action, Action, ActionGUIProperty, ActionsAttribute, ActorGraphTableau, ActorGraphTableau.Factory, ActorNameIcon, ActorRecursion, AdaptiveMedian, AddSubtract, AddSubtract, AddSubtract, AddSubtract, AddSubtract, AnnotationEditorFactory, AnythingToDouble, ApplyFilterOverArray, ApplyFunction, ApplyFunctionOverSequence, ArrayAppend, ArrayAppend, ArrayAverage, ArrayAverage, ArrayContains, ArrayElement, ArrayElement, ArrayElementAsMatrix, ArrayElementAsMatrix, ArrayExtract, ArrayExtract, ArrayLength, ArrayLength, ArrayLevelCrossing, ArrayLevelCrossing, ArrayMaximum, ArrayMaximum, ArrayMinimum, ArrayMinimum, ArrayOfRecordsConfigureFactory, ArrayOfRecordsExporter, ArrayOfRecordsRecorder, ArrayPeakSearch, ArrayPeakSearch, ArrayPeakSearch, ArrayPlotter, ArrayPlotterXY, ArrayRemoveElement, ArraySort, ArraySum, ArrayToElements, ArrayToElements, ArrayToSequence, ArrayToSequence, ArrowAttribute, ArrowKeyProbe, ArrowKeySensor, AtomicActor, AtomicActorMatcher, AtomicWirelessChannel, Attribute, AttributeExpressionAttribute, AttributeMatcher, AttributeValueAttribute, AttributeValueIcon, AudioCapture, AudioPlayer, AudioPlayer, AudioPlayer, AudioReadBuffer, AudioReader, AudioReader, AudioSDLActor, AudioWriteBuffer, AudioWriter, AudioWriter, Autocorrelation, Autocorrelation, Average, Average, Average, AverageOverTime, BackDropQueue, Backtrack, BackwardEulerSolver, BandlimitedNoise, BarGraph, Barrier, Barrier, BaseSDFScheduler, BaseUnit, Bernoulli, Bernoulli, BinarySwitch, BitsToInt, BitsToInt, BooleanMultiplexor, BooleanMultiplexor, BooleanMultiplexor, BooleanSelect, BooleanSelect, BooleanSelect, BooleanSwitch, BooleanSwitch, BooleanSwitch, BooleanToAnything, BooleanToAnything, BoundedBufferNondeterministicDelay, BoundedBufferTimedDelay, Box2D, Box3D, BoxedValueIcon, BoxedValuesIcon, BrowserEffigy, BrowserEffigy.Factory, BrowserTableau, BrowserTableau.Factory, Buffer, Buffer, BusAssembler, BusDisassembler, Button, ButtonTime, CachedSDFScheduler, CalInterpreter, CartesianToComplex, CartesianToComplex, CartesianToPolar, CartesianToPolar, Case, Case, Case, Case, Case, CaseDirector, CaseDirector, CaseDirector, CaseGraphTableau, CaseGraphTableau, CaseGraphTableau.Factory, CaseGraphTableau.Factory, CausalityMarker, CCodeGenerator, CCodeGeneratorHelper, ChannelPort, CheckBoxStyle, ChoiceParameter, ChoiceStyle, Chop, Chop, Chop, CIActor, CIDirector, CipherActor, CircularSweep3D, ClassWrapper, ClipPlayer, Clock, Clock, ClockSensor, Clone, CodegenActor, CodegenActor, CodeGenerator, CodeGeneratorGUIFactory, CodeGeneratorHelper, CollisionDetector, ColorAttribute, ColorFinder, ColtBeta, ColtBinomial, ColtBinomial, ColtBinomial, ColtBinomialSelector, ColtBinomialSelector, ColtBinomialSelector, ColtBreitWigner, ColtChiSquare, ColtExponential, ColtExponentialPower, ColtGamma, ColtHyperGeometric, ColtLogarithmic, ColtNegativeBinomial, ColtNormal, ColtPoisson, ColtPoisson, ColtPoisson, ColtPoissonSlow, ColtRandomSource, ColtRandomSource, ColtRandomSource, ColtStudentT, ColtVonMises, ColtZeta, ComboBox, ComboBox.Item, ComboItem, CommitActionsAttribute, CommitActionsAttribute, Commutator, Commutator, Commutator, Commutator, Commutator.WidthDependentParameter, Commutator.WidthDependentParameter, Comparator, Comparator, Comparator, CompiledCompositeActor, CompiledCompositeActor, CompiledCompositeActor, CompiledCompositeActor, ComplexAddSubtract, ComplexToCartesian, ComplexToCartesian, ComplexToPolar, ComponentEntity, ComponentPort, ComponentRelation, CompositeActor, CompositeActorMatcher, CompositeEntity, CompositeProcessDirector, ComputeHistogram, ComputeHistogram, Concat, Cone3D, ConfigurableAttribute, Configuration, ConfigurationEffigy, ConfigurationSelect, ConfigurationSwitch, Configure, Configurer, Configurer, Configurer.ContainmentExtender, Configurer.ContainmentExtender, Const, Const, Const, Const, Constraint, ContainerIgnoringAttribute, ContainmentExtender, ContainmentExtender, ContextMenuFactoryCreator, ContinuousClock, ContinuousDirector, ContinuousIntegrator, ContinuousMerge, ContinuousScheduler, ContinuousTimeDelay, ContinuousTransferFunction, ContinuousTransferFunction, Converter, ConvolutionalCoder, CopyCatIcon, Counter, Counter, Counter, CountTrues, CountTrues, Course, CreationAttribute, CryptographyActor, CSPActor, CSPBuffer, CSPDirector, CSPMultiSink, CSPMultiSource, CSPSieve, CSPSink, CSPSource, CTBaseIntegrator, CTCase, CTCaseDirector, CTCompositeActor, CTCompositeActor, CTDirector, CTEmbeddedDirector, CTMixedSignalDirector, CTMultiSolverDirector, CTPeriodicSampler, CTRateLimiter, CTRefinement, CTScheduler, CTTriggeredSampler, Current, CurrentTime, CurrentTime, CurrentTime, CurrentTime, Cylinder3D, DatabaseInsert, DatabaseManager, DatabaseQuery, DatabaseSelect, DatagramReader, DatagramWriter, DB, DB, DCT2x2dc, DCT4x4dc, DCT8x8, DDEActor, DDEDirector, DDEIOPort, DDESink, DDFBooleanSelect, DDFDirector, DDFOrderedMerge, DDFSelect, DDFSingleTokenCommutator, DEActor, DebugController, DebuggerParameter, DebugListenerTableau, DecoratedAttributes, DecoratedAttributesImplementation, DEDirector, DEDirector, Default, DefaultDirectoryAttribute, DefaultModelAttribute, DelayChannel, DelayLine, DelayLine, DelayStart, DependencyDeclaration, DependencyHighlighter, DEReceiver, Derivative, DerivativeResolver, DeScrambler, DesignPatternIcon, DesignPatternImporter, DEThreadActor, DETransformer, DialogTableau, Differential, Differential, Differential, DifferentialSystem, DifferentialSystem, Director, Director, Director, DirectoryListing, DirectoryListing, Discard, Discard, Discard, DiscreteClock, DiscreteClock, DiscreteClock, DiscreteRandomSource, DiscreteRandomSource, Display, Display, Display, Display, Display.DisplayWindowTableau, DistributedDirector, DistributedLineWriter, DistributedSDFDirector, DistributedSDFScheduler, DistributedTypedCompositeActor, DistributedTypedIORelation, Distributor, Distributor, Distributor, Distributor, Distributor.WidthDependentParameter, Distributor.WidthDependentParameter, DocAttribute, DocBuilder, DocBuilderEffigy, DocBuilderEffigy.Factory, DocBuilderTableau, DocBuilderTableau.Factory, DocEffigy, DocEffigy.Factory, DocTableau, DocTableau.Factory, Documentation, DocumentationAttribute, DocumentationAttribute.DocumentationAttributeFactory, DocViewerFactory, DoNothingDirector, DotProduct, DotProduct, DoubleFork, DoubleMatrixToJAI, DoubleRangeParameter, DoubleReader, DoubleReader, DoubleToFix, DoubleToMatrix, DownSample, DownSample, DTDirector, DynamicEditorIcon, EditableChoiceStyle, EditIconTableau, EditIconTableau.Factory, EditorFactory, EditorIcon, EditorPaneFactory, Effigy, EffigyFactory, ElementsToArray, ElementsToArray, ElementsToArray, Ellipse2D, EllipseAttribute, EmbeddedCActor, EmbeddedCActor, EmbeddedCActor.EmbeddedActor, EmbeddedCActor.EmbeddedActor, EmbeddedCFileActor, EmbeddedCFileActor, EmbeddedCFileActor.EmbeddedFileActor, EmbeddedCFileActor.EmbeddedFileActor, EmbeddedJavaActor, EmbeddedJavaActor, EmbeddedJavaActor.EmbeddedActor, EmbeddedJavaActor.EmbeddedActor, EnabledComposite, Entity, Entity, EntityLibrary, Equals, Equals, ErasureChannel, Event, Event.EventParameter, EventButton, EventFilter, EventIcon, EventQueueDebugger, EventSource, EventSource, Exec, ExecShellEffigy, ExecShellEffigy.ShellFactory, ExecShellTableau, ExecShellTableau.Factory, Execute, ExecutionTime, Exit, Exit, ExpertParameter, ExplicitRK23Solver, ExplicitRK45Solver, Expression, Expression, Expression, Expression, Expression, ExpressionReader, ExpressionShellEffigy, ExpressionShellEffigy.ShellFactory, ExpressionShellTableau, ExpressionShellTableau.Factory, ExpressionToToken, ExpressionWriter, ExpressionWriter, ExternalTextEffigy, ExternalTextTableau, FeedBackDelay, FFT, FFT, FileAttribute, FileChooserStyle, FileEditorTableauFactory, FileOrURLEditorFactory, FileParameter, FilePortParameter, FileReader, FileReader, FileWriter, FilledShapeAttribute, FIR, FIR, FirstOrderHold, FixComparator, FixConst, FixCounter, FixedPointDirector, FixedPointScheduler, FixedStepSolver, FixSequence, FixToDouble, FixToFix, FixToString, FixTransformer, FmvAutomaton, FmvAutomaton, FmvAutomatonGraphTableau, FmvAutomatonGraphTableau, FmvAutomatonGraphTableau.Factory, FmvAutomatonGraphTableau.Factory, FmvState, FmvState, FmvStateIcon, FmvStateIcon, ForwardEulerSolver, FrontDropQueue, FSMActor, FSMActor, FSMActor, FSMActor, FSMActor, FSMActor, FSMDirector, FSMDirector, FSMDirector, FSMDirector, FSMDirector, FSMDirector, FSMDirector, FSMGraphTableau, FSMGraphTableau, FSMGraphTableau.Factory, FSMGraphTableau.Factory, FSMMatcher, Gaussian, Gaussian, Gaussian, GeneratorAttribute, GeneratorTableau, GeneratorTableau.Factory, GeneratorTableauAttribute, GeneratorTableauAttribute.GeneratorTableauEditorFactory, GetCausalityInterface, GetCurrentMicrostep, GetProperties, GiottoCodeGenerator, GiottoCodeGenerator.GiottoEditorFactory, GiottoDirector, GiottoDirector, GiottoDirector, GiottoScheduler, GRActor, GRActor2D, GRActor3D, GradientAdaptiveLattice, GradientAdaptiveLattice, GradientAdaptiveLattice, GraphicalLocator, GraphTransformer.ReplacementObjectAttribute, GRDirector, GRScheduler, GRShadedShape, GRShape2D, GRTransform, GRTransform2D, GTEvent, GTFrameTools.DelegatedUndoStackAttribute, GTGUIAction, GTIngredientsAttribute, GTIngredientsEditor.Factory, GTParameter, GTTableau, GTTableau.Factory, GTTableau.ModalTableauFactory, GUIAction, GUIProperty, HadamardCode, HammingCoder, HammingCoder, HammingDecoder, HammingDecoder, HDFDirector, HDFDirector, HDFFSMDirector, HDFFSMDirector, HiddenStyle, HierarchicalModeControllerFactory, HierarchicalStateControllerFactory, HierarchicalStateControllerFactory, HierarchyFlatteningAttribute, HighlightEntities, HighlightEntities.HighlightIcons, HistogramPlotter, HSFSMDirector, HSIFEffigyFactory, HSModalDirector, HTMLEffigy, HTMLEffigyFactory, HTMLViewerTableau, HTMLViewerTableau.Factory, HTVQEncode, HuffmanBasic, HuffmanCoder, HuffmanDecoder, HybridModalDirector, IDAttribute, IDCT4x4dc, IDCT8x8, IFFT, IFFT, IgnoringAttribute, IIR, IIR, Image2D, ImageAttribute, ImageContrast, ImageDisplay, ImageDisplay, ImageIcon, ImagePartition, ImageReader, ImageRotate, ImageSequence, ImageTableau, ImageTableau.Factory, ImageToJAI, ImageToJMF, ImageToString, ImageUnpartition, ImportAttribute, Inhibit, InitModel, InitModelWithContainer, InputModel, InsideEntityEditorPaneFactory, InstantaneousDialogGenerator, InstantiableNamedObj, IntArrayToString, IntegerCounter, Integrator, Integrator, Integrator, InteractiveShell, InteractiveShell.ShellTableau, InterfaceAutomaton, InterfaceAutomaton, InterfaceAutomatonGraphTableau, InterfaceAutomatonGraphTableau, InterfaceAutomatonGraphTableau.Factory, InterfaceAutomatonGraphTableau.Factory, InterfaceAutomatonTransition, InterfaceAutomatonTransition, InterfaceTableau, InterfaceTableau.Factory, Interpolator, Interpolator, Interpolator, IntRangeParameter, IntToBits, IntToBits, InUnitsOf, IOPort, IOPort, IOPort, IOPort, IORelation, IORelation, IsPresent, IsPresent, IterateOverArray, IterateOverArray.IterateComposite, IterateOverArray.IterateDirector, IterateOverArray.IteratePort, IterativeParameter, IterativeParameterIcon, JAIAffineTransform, JAIBandCombine, JAIBandSelect, JAIBMPWriter, JAIBorder, JAIBoxFilter, JAIConstant, JAIConvolve, JAICrop, JAIDataConvert, JAIDCT, JAIDFT, JAIEdgeDetection, JAIIDCT, JAIIDFT, JAIImageReader, JAIInvert, JAIJPEGWriter, JAILog, JAIMagnitude, JAIMedianFilter, JAIPeriodicShift, JAIPhase, JAIPNGWriter, JAIPNMWriter, JAIPolarToComplex, JAIRotate, JAIScale, JAITIFFWriter, JAIToDoubleMatrix, JAITranslate, JAITranspose, JAIWriter, JavaCodeGenerator, JavaCodeGeneratorHelper, JopReadPort, JopReadPort, JopSerialRead, JopSerialRead, JopSerialWrite, JopSerialWrite, JopWatchDog, JopWatchDog, JopWritePort, JopWritePort, JVMTableau, JVMTableau.Factory, KeplerDocumentationAttribute, KeyInput3D, KeyInput3DProbe, KeyReader, KeyStoreActor, KeyWriter, KielerLayoutTableau, KielerLayoutTableauFactory, Lattice, Lattice, LayoutTableau, LazyTypedCompositeActor, LEDMatrix, LEDMatrix, LempelZivCoder, LempelZivDecoder, LevelCrossingDetector, LevelCrossingDetector, LevelSkippingTableauFactory, LevinsonDurbin, LibraryAttribute, LifeCycleManager, LimitedFiringSource, LimitedRangeChannel, Limiter, Limiter, Limiter, Line2D, LinearDifferenceEquationSystem, LinearDifferenceEquationSystem, LinearStateSpace, LinearStateSpace, LineAttribute, LineCoder, LineReader, LineReader, LineStyle, LineWriter, LineWriter, LinkVisualizer, ListDirectory, LiveSoundActor, LMSAdaptive, LMSAdaptive, Location, LocationAttribute, LocationParameter, Locator, LogicalNot, LogicalNot, LogicalNot, LogicFunction, LogicFunction, LogicFunction, LogicFunction, LongToDouble, LookupTable, LookupTable, Manager, MapFileStorage, MapWorker, Match, MatchingAttribute, MatchResultTableau, MatchResultTableau.Factory, MathematicalModelConverter, MathematicalModelConverterGUIFactory, MathFunction, MatrixJoin, MatrixSplit, MatrixToDouble, MatrixTokenTableau, MatrixTokenTableau.Factory, MatrixToSequence, MatrixViewer, Maximum, Maximum, MaxIndex, Memory, Merge, Merge, MicaCompositeActor, MicaLeds, Minimum, Minimum, Minimum, MirrorComposite, MirrorComposite.MirrorCompositeContents, MirrorPort, MobileFunction, MobileModel, ModalController, ModalController, ModalController, ModalController, ModalDirector, ModalDirector, ModalModel, ModalModel, ModalModel, ModalModel, ModalModel, ModalModelMatcher, ModalPort, ModalPort, ModalPort, ModalPort, ModalRefinement, ModalRefinementPort, ModalTableauFactory, ModalTableauFactory, ModelCombine, ModelDirectory, ModelDisplay, ModelExecutor, ModelExecutor.Wrapper, ModelExecutor.Wrapper.WrapperDirector, ModelExecutor.WrapperPort, ModelGenerator, ModelIOPort, ModelParameter, ModelReference, ModelRepaintController, ModelView, MoMLAttribute, MoMLGenerator, MoMLModelAttribute, MoMLModelAttributeControllerFactory, MonitorImage, MonitorReceiverAttribute, MonitorReceiverContents, MonitorValue, MonitorValue, MonitorValue, MouseInput3D, MovableViewScreen3D, MovieReader, MovieWriter, MovingAverage, MovingAverage, MovingAverage, MovingMaximum, MultiCompositeActor, MultiCompositeActor, MultiCompositeActor, MultiCompositePort, MultiCompositePort, MultiCompositePort, MultiInstanceComposite, MultiInstanceComposite, Multiplexor, Multiplexor, Multiplexor, Multiplier, MultiplyDivide, MultiplyDivide, MultiplyDivide, MultirateFSMDirector, MultirateFSMDirector, MultirateFSMDirector, MultirateFSMDirector, MultirateFSMDirector, NamedObj, NamedObjVariable, NameIcon, NameParameter, NavigableActorGraphTableau, NavigableActorGraphTableau.Factory, NavigableEffigy, NavigableEffigy.Factory, NavigableEffigy.FactoryWithoutNew, NCComponentBase, NCCompositeActor, NCCompositeActorTableauFactory, NegationAttribute, NodeControllerFactory, NodeRandomizer, Noise, Noise, NondeterministicMerge, NondeterministicMerge.ChannelActor, NondeterministicMerge.MergeDirector, NonInterruptibleTimer, NonInterruptibleTimer, NonStrictDelay, NonStrictDelay, NonStrictDisplay, NonStrictDisplay, NonStrictFSMDirector, NonStrictFSMDirector, NonStrictLogicFunction, NonStrictLogicFunction, NonStrictTest, NonStrictTest, NonStrictThreeBitAdder, NotEditableLineStyle, Occupants, Occupants.OccupantsConfigureFactory, OctagonEventIcon, ODESolver, OpenRTOSTarget, OptionAttribute, Or, OrderedMerge, OrderedMerge, OrderedMerge, OrderedRecordAssembler, OutputActionsAttribute, OutputActionsAttribute, OutputModel, Panel, Parameter, ParameterEditorStyle, ParameterPort, ParameterPort, ParameterPort, ParameterPort, ParametersAttribute, ParameterSet, ParserAttribute, PasswordAttribute, Pattern, PatternObjectAttribute, PDFAttribute, PDFIcon, PeriodicSampler, PetriNetActor, PetriNetDirector, PhaseUnwrap, PhaseUnwrap, PID, Place, PlaySound, Plot, PlotEffigy, PlotEffigy.Factory, PlotTableau, PlotTableau.Factory, Plotter, PlotterBase, PlotterBase, PlotterBase.PlotWindowTableau, PNDirector, PNDirector, PNDirector, PoissonClock, PoissonClock, PolarToCartesian, PolarToCartesian, PolarToComplex, PolyCylinder3D, Port, PortMatcher, PortParameter, PosixTarget, PowerLossChannel, Pre, PreservationAttribute, Previous, Priority, PrivateKeyReader, ProcessDirector, PropertyParameter, PSDFDirector, PSDFScheduler, PSNR, PtalonActor, PtalonExpressionParameter, PtalonMatcher, PtalonMatcher.NestedPtalonActor, PtalonParameter, PteraController, PteraDirector, PteraGraphTableau, PteraGraphTableau.Factory, PteraModalModel, PtinyOSCompositeActor, PtinyOSDirector, PtinyOSNodeParameter, PtolemyEffigy, PtolemyEffigy.Factory, PtolemyEffigy.FactoryWithoutNew, PtolemyPreferences, PtolemyTableauFactory, PublicKeyReader, Publisher, Publisher, Publisher, PublisherNonStrictTest, PublisherTest, PublisherTest, PublisherTest, Pulse, Pulse, Pulse, Pulse, Pulse, PythonScript, PythonShellEffigy, PythonShellEffigy.ShellFactory, PythonShellTableau, PythonShellTableau.Factory, Quantizer, Quantizer, Queue, Queue, QueuedTypedIOPort, RaisedCosine, RaisedCosine, Ramp, Ramp, Ramp, Ramp, Ramp, RampNecessaryFiles, RandomSource, RandomSource, RandomSource, RandomSource, Reader, ReadModel, RealTimeComposite, RealTimeComposite.RealTimeDirector, RealTimePlotter, ReceiveInput, Receiver, RecordAssembler, RecordDisassembler, Recorder, Recorder, RecordUpdater, Rectangle2D, RectangleAttribute, RectangularFigure2D, RecursiveLattice, RecursiveLattice, RecursiveLattice, ReduceWorker, Refinement, Refinement, Refinement, Refinement, Refinement, Refinement, Refinement, RefinementExtender, RefinementExtender, RefinementPort, RefinementPort, RefinementPort, RefinementPort, RefinementPort, RefinementPort, RefinementPort, RefinementSuggestion, RefinementSuggestion, Region, Register, Register, RegisterSR, Relation, RelationCollapsingAttribute, RelationHidingAttribute, Remainder, Remainder, RemoveNilTokens, RendezvousDirector, Repeat, Repeat, Repeat, Replacement, Report, RequireVersion, ResettableTimer, ResizableAttributeControllerFactory, ResizablePolygonAttribute, ResourcePool, ResourcePool, Rician, Rician, ROM, Room, Rotate2D, Rotate3D, Round, Round, Round, RTMaudeAdaptor, RTMaudeCodeGenerator, RunCompositeActor, RunTableau, RunTableau.Factory, RunTableau.TopFactory, SaltAndPepper, SampleDelay, SampleDelay, SampleDelay, Sampler, Sampler, Scale, Scale, Scale, Scale, Scale2D, Scale3D, SchedulePlotter, SchedulePlotter.SchedulePlotterEditorFactory, Scheduler, SchedulingRelation, ScopeExtendingAttribute, Scrambler, SDFConverter, SDFDirector, SDFDirector, SDFDirector, SDFDirector, SDFDirector, SDFIOPort, SDFScheduler, SDFTransformer, SecretKey, SecretKeyReader, Select, Select, Separator, Sequence, Sequence, Sequence, Sequence, SequencePlotter, SequencePlotter, SequencePlotter, Sequencer, Sequencer, SequenceScope, SequenceScope, SequenceSource, SequenceToArray, SequenceToArray, SequenceToMatrix, SequentialClock, SequentialClock, SerialComm, Server, SetProperties, SetTableau, SetVariable, SetVariable, SetVariable, ShapeAttribute, ShapeIcon, SharedParameter, SharedQueue, SignatureActor, SignatureSigner, SignatureVerifier, SimpleALU, Simulator, SingleEvent, SingleEvent, SingleTokenCommutator, SingleTokenDistributor, SingletonAttribute, SingletonConfigurableAttribute, SingletonParameter, SingleWindowConfiguration, SingleWindowHTMLViewerTableau, SingleWindowHTMLViewerTableau.Factory, Sink, Sink, SizeAttribute, SketchedSource, Sleep, Sleep, Sleep, Slice, Slicer, SliderSource, SliderSource, SMVLegacyCodeActor, SoundActor, SoundPlayer, Source, Sphere3D, SplitReader, SQLStatement, SRDirector, SRDirector, SRDirector, SROptimizedScheduler, SRRandomizedScheduler, Starver, State, State, State.InvisibleModalModel, State.InvisibleModalModel, StateIcon, StateIcon, StateMatcher, StateMatcherController.Factory, StateMatcherIcon, StaticALU, StaticSchedulingCodeGenerator, StaticSchedulingDirector, StaticSchedulingDirector, StaticSchedulingDirector, Stop, Stop, Stop, StreamLoader, StringAttribute, StringCompare, StringCompare, StringConst, StringConst, StringConst, StringFunction, StringFunction, StringIndexOf, StringIndexOf, StringLength, StringLength, StringLength, StringMatches, StringMatches, StringParameter, StringReplace, StringSimpleReplace, StringSimpleReplace, StringSubstring, StringSubstring, StringToIntArray, StringToIntArray, StringToKeyValue, StringToUnsignedByteArray, StringToUnsignedByteArray, StringToXML, SubMatrix, Subscriber, Subscriber, Subscriber, SubscriptionAggregator, SubscriptionAggregator, SubscriptionAggregator, SumofAbsoluteDifferences, SuppressSimultaneousEvents, SurgeVisualizer, SVGIcon, Switch, Switch, SymmetricDecryption, SymmetricEncryption, Synchronizer, Synchronizer, SynchronizeToRealtime, SynchronousFixTransformer, SystemCommand, Tableau, TableauFactory, TableauParameter, TableIcon, TclShellEffigy, TclShellEffigy.ShellFactory, TclShellTableau, TclShellTableau.Factory, TDLActor, TDLCodeGenerator, TDLCodeGenerator.TDLEditorFactory, TDLController, TDLMode, TDLModule, TDLModuleDirector, TDLRefinement, TDLRefinementPort, TdlTableauFactory, TDLTask, TDLTaskPort, TdlTaskTableauFactory, TDLTransition, TemporaryVariable, TerrainProperty, Test, Test, Test, Test, TestActorPortDepth, TestCodeGeneratorHelper, TesterDirector, TestExceptionHandler, TestExpression, TestIcon, TextAttribute, TextEditorConfigureFactory, TextEditorTableau, TextEditorTableau.Factory, TextEditorTableauFactory, TextEffigy, TextEffigy.Factory, TextIcon, TextString3D, TextStyle, ThreadedComposite, ThreadedComposite.ThreadedDirector, ThresholdMonitor, ThrowException, ThrowException, ThrowModelError, ThrowModelError, TimeAdvanceEventIcon, TimeCompare, TimedDelay, TimedDelay, TimedDelay, TimeDelay, TimedPlotter, TimedPlotter, TimedPlotter, TimedPlotter, TimedPNDirector, TimedScope, TimedSource, TimeGap, Timer, Timer, TMCompositeFacade, TMDirector, TokenEffigy, TokenEffigy.Factory, TokenTableau, TokenTableau.Factory, TokenToExpression, TokenToExpression, TokenToExpression, ToolBar, TopLevelCurrentTime, Torus3D, Transform, Transform.EmbeddedConfigurer, TransformationAttribute, TransformationAttribute.TransformationListener, TransformationAttributeController.Factory, TransformationAttributeEditorFactory, TransformationAttributeIcon, TransformationMode, TransformationMode.WorkingCopyScopeExtender, TransformationRule, TransformationRule.TransformationDirector, Transformer, TransformEventController.Factory, TransientSingletonConfigurableAttribute, Transition, Transition, Transition, TransitionMatcher, TransitionRefinement, TransitionRefinement, TransitionRefinement, TransitionRefinement, TransitionRefinementPort, TransitionRefinementPort, TransitionRefinementPort, TransitionRefinementPort, Translate2D, Translate3D, TransmitPropertyTransformer, TrapezoidalRuleSolver, TreeTableau, TreeTableau.Factory, TrellisDecoder, Triangular, Triangulator, TrigFunction, TrigFunction, TrigFunction, TriggeredClock, TriggeredContinuousClock, TrueGate, TypeAttribute, TypedAtomicActor, TypedAtomicActor, TypedCompositeActor, TypedCompositeActor, TypedCompositeActor, TypedCompositeActor, TypedCompositeActor, TypedCompositeActor, TypedIOPort, TypedIOPort, TypedIOPort, TypedIORelation, TypeOpaqueCompositeActor, TypeOpaqueCompositeActorTableauFactory, TypeTest, UnaryMathFunction, UnaryMathFunction, UnaryMathFunction, Undefined, UndoStackAttribute, Uniform, Uniform, Uniform, UnionDisassembler, UnionMerge, UnitAttribute, UnitCategory, UnitSystem, UnsignedByteArrayToString, UpdatedValueIcon, UpSample, UpSample, URIAttribute, URLDirectoryReader, URLReader, URLToImage, ValueIcon, Variable, Variable, VariableClock, VariableDelay, VariableDelay, VariableFIR, VariableFIR, VariableLattice, VariableLattice, VariableRecursiveLattice, VariableRecursiveLattice, VariableSleep, VectorAssembler, VectorAssembler, VectorAssembler, VectorDisassembler, VectorDisassembler, VectorDisassembler, VersionAttribute, Vertex, VideoCamera, VideoPlayer, View, ViewScreen2D, ViewScreen3D, VisibleAttribute, VisibleParameterEditorFactory, VisualModelReference, VisualModelReference.LookInside, ViterbiDecoder, VQDecode, WaitingTime, WallClockTime, WallClockTime, WelcomeWindowTableau, When, WindowPropertiesAttribute, Wire, Wire, WiredToWireless, WirelessComposite, WirelessDirector, WirelessIOPort, WirelessToWired, WriteModel, Writer, XMLIcon, XMLInclusion, XSLTransformer, XYPlotter, XYPlotter, XYScope, XYScope, ZeroCrossingDetector, ZeroOrderHold, ZeroOrderHold

public interface MoMLExportable
extends Nameable

This is an interface for objects that have persistent MoML representations. MoML is an XML schema used to represent Ptolemy II models. The form of the MoML generated by an implementor of this interface should be:

 <elementName name="name" class="className" source="source">
 body, determined by the implementor
 </elementName>
 
or
 <class name="name" extends="className" source="source">
 body, determined by the implementor
 </class>
 
The elementName is the string returned by getElementName(). The name is the string returned by getName(). The className is the string returned by getClassName(). The source is the string returned by getSource(). If either of the last two methods returns null, then that XML attribute is omitted from the description.

If this object has no container (and for the exportMoML() methods that take a depth argument, if that argument is zero), then the exportMoML() methods prepend XML file header information, which is:

 <?xml version="1.0" standalone="no"?>
 <!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
 "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
 
In the above, "entity" may be replaced by "class", "property", or "port".

Since:
Ptolemy II 4.0
Version:
$Id: MoMLExportable.java 41477 2006-03-29 00:03:58Z cxh $
Author:
Edward A. Lee
See Also:
NamedObj
Accepted Rating:
Green (neuendor)
Proposed Rating:
Green (eal)

Method Summary
 java.lang.String exportMoML()
          Return a MoML description of this object.
 java.lang.String exportMoML(java.lang.String name)
          Return a MoML description of this object with its name replaced by the specified name.
 void exportMoML(java.io.Writer output)
          Write a MoML description of this object using the specified Writer.
 void exportMoML(java.io.Writer output, int depth)
          Write a MoML description of this entity with the specified depth in a hierarchy.
 void exportMoML(java.io.Writer output, int depth, java.lang.String name)
          Write a MoML description of this entity with the specified depth in a hierarchy and with the specified name substituting for the name of this object.
 java.lang.String getClassName()
          Return the class name.
 java.lang.String getElementName()
          Get the XML element name.
 java.lang.String getSource()
          Get the source, which gives an external URL associated with an entity (presumably from which the entity was defined).
 boolean isPersistent()
          Return true if this object is persistent.
 void setPersistent(boolean isPersistent)
          Set the persistence of this object.
 void setSource(java.lang.String source)
          Set the source, which gives an external URL associated with an entity (presumably from which the entity was defined).
 
Methods inherited from interface ptolemy.kernel.util.Nameable
description, getContainer, getDisplayName, getFullName, getName, getName, setName
 

Method Detail

exportMoML

java.lang.String exportMoML()
Return a MoML description of this object. This might be an empty string if there is no MoML description of this object or if this object is not persistent or if an implementor has some other reason that the object has no persistent description.

Returns:
A MoML description, or an empty string if there is none.
See Also:
isPersistent()

exportMoML

java.lang.String exportMoML(java.lang.String name)
Return a MoML description of this object with its name replaced by the specified name. The description might be an empty string if there is no MoML description of this object or if this object is not persistent, or if an implementor has some other reason that the object has no persistent description.

Parameters:
name - The name that is used as a replacement.
Returns:
A MoML description, or the empty string if there is none.
See Also:
isPersistent()

exportMoML

void exportMoML(java.io.Writer output)
                throws java.io.IOException
Write a MoML description of this object using the specified Writer. If there is no MoML description, or if the object is not persistent, or if an implementor has some other reason that the object has no persistent description, then nothing is written. To write to standard out, do
      exportMoML(new OutputStreamWriter(System.out))
  

Parameters:
output - The writer to write to.
Throws:
java.io.IOException - If an I/O error occurs.
See Also:
isPersistent()

exportMoML

void exportMoML(java.io.Writer output,
                int depth)
                throws java.io.IOException
Write a MoML description of this entity with the specified depth in a hierarchy. The depth in the hierarchy determines indenting of the output, but may also be used to indicate to an implementor whether this object is being exported as part of the export of its container (in which case depth > 0), or this object is being exported independently of its container (depth == 0). If there is no MoML description, or if the object is not persistent, or if an implementor has some other reason that the object has no persistent description, then nothing is written.

Parameters:
output - The output writer to write to.
depth - The depth in the hierarchy.
Throws:
java.io.IOException - If an I/O error occurs.
See Also:
isPersistent()

exportMoML

void exportMoML(java.io.Writer output,
                int depth,
                java.lang.String name)
                throws java.io.IOException
Write a MoML description of this entity with the specified depth in a hierarchy and with the specified name substituting for the name of this object. The depth in the hierarchy determines indenting of the output, but may also be used to indicate to an implementor whether this object is being exported as part of the export of its container (in which case depth > 0), or this object is being exported independently of its container (depth == 0). If there is no MoML description, or if the object is not persistent, or if an implementor has some other reason that the object has no persistent description, then nothing is written.

Parameters:
output - The output writer to write to.
depth - The depth in the hierarchy, to determine indenting.
name - The name to use in the exported MoML.
Throws:
java.io.IOException - If an I/O error occurs.
See Also:
isPersistent()

getClassName

java.lang.String getClassName()
Return the class name. This is either the name of the class of which this object is an instance, or if this object is itself a class, then the class that it extends. The class name could be a fully qualified Java class name or the name of the parent of this object if it has a parent.

Returns:
The MoML class name.
See Also:
Instantiable.getParent()

getElementName

java.lang.String getElementName()
Get the XML element name. Implementors should provide the appropriate XML element name to use when exporting MoML.

Returns:
The XML element name for this object.

getSource

java.lang.String getSource()
Get the source, which gives an external URL associated with an entity (presumably from which the entity was defined). This becomes the value in the "source" attribute of exported MoML.

Returns:
The source, or null if there is none.
See Also:
setSource(String)

isPersistent

boolean isPersistent()
Return true if this object is persistent. A persistent object has a MoML description that can be stored in a file and used to re-create the object. A non-persistent object has an empty MoML description.

Returns:
True if the object is persistent.
See Also:
setPersistent(boolean)

setPersistent

void setPersistent(boolean isPersistent)
Set the persistence of this object. If the persistence is not specified with this method, then by default the object will be persistent unless it is derivable by derivation from a class. A persistent object has a non-empty MoML description that can be used to re-create the object. To make an instance non-persistent, call this method with the argument false. To force it to always be persistent, irrespective of its relationship to a class, then call this with argument true. Note that this will have the additional effect that it no longer inherits properties from the class, so in effect, calling this with true overrides values given by the class.

Parameters:
isPersistent - False to make this object non-persistent.
See Also:
isPersistent()

setSource

void setSource(java.lang.String source)
Set the source, which gives an external URL associated with an entity (presumably from which the entity was defined). This becomes the value in the "source" attribute of exported MoML. Call this with null to prevent any source attribute from being generated.

Parameters:
source - The source, or null if there is none.
See Also:
getSource()