Class: WirisPlugin::SerializableImpl

Inherits:
Object
  • Object
show all
Includes:
Wiris
Defined in:
lib/com/wiris/util/xml/SerializableImpl.rb

Instance Method Summary collapse

Constructor Details

#initializeSerializableImpl

Returns a new instance of SerializableImpl.



7
8
9
# File 'lib/com/wiris/util/xml/SerializableImpl.rb', line 7

def initialize()
    super()
end

Instance Method Details

#newInstanceObject



12
13
14
# File 'lib/com/wiris/util/xml/SerializableImpl.rb', line 12

def newInstance()
    return SerializableImpl.new()
end

#onSerialize(s) ⇒ Object



10
11
# File 'lib/com/wiris/util/xml/SerializableImpl.rb', line 10

def onSerialize(s)
end

#serializeObject



15
16
17
18
# File 'lib/com/wiris/util/xml/SerializableImpl.rb', line 15

def serialize()
    s = XmlSerializer.new()
    return s::write(self)
end