Examples of serialize()

  • org.apache.directory.shared.ldap.entry.DefaultServerEntry.serialize()
  • org.apache.hadoop.fs.HarProperties.serialize()
  • org.apache.hadoop.hive.accumulo.serde.AccumuloRowSerializer.serialize()
  • org.apache.hadoop.hive.serde2.SerDe.serialize()
  • org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe.serialize()
  • org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.serialize()
    Serialize a row of data. @param obj The row object @param objInspector The ObjectInspector for the row object @return The serialized Writable object @see SerDe#serialize(Object,ObjectInspector)
  • org.apache.hadoop.io.serializer.Serializer.serialize()

    Serialize t to the underlying output stream.

  • org.apache.hadoop.nfs.NfsTime.serialize()
  • org.apache.hadoop.nfs.nfs3.FileHandle.serialize()
  • org.apache.hadoop.nfs.nfs3.request.CREATE3Request.serialize()
  • org.apache.hadoop.nfs.nfs3.request.READ3Request.serialize()
  • org.apache.hadoop.nfs.nfs3.request.WRITE3Request.serialize()
  • org.apache.hadoop.record.RecRecord1.serialize()
  • org.apache.helix.controller.serializer.StringSerializer.serialize()
    Convert an object instance to a String @param data instance of an arbitrary type @return String representing the object
  • org.apache.helix.manager.zk.ZNRecordSerializer.serialize()
  • org.apache.helix.manager.zk.ZNRecordStreamingSerializer.serialize()
  • org.apache.helix.store.ZNRecordJsonSerializer.serialize()
  • org.apache.http.entity.EntitySerializer.serialize()
  • org.apache.jackrabbit.oak.kernel.BlobSerializer.serialize()
  • org.apache.jackrabbit.oak.kernel.JsonSerializer.serialize()
  • org.apache.james.mailbox.model.MailboxACL.MailboxACLRights.serialize()
  • org.apache.jcs.engine.behavior.IElementSerializer.serialize()
    Turns an object into a byte array. @param obj @return @throws IOException
  • org.apache.jcs.utils.serialization.StandardSerializer.serialize()
    Serializes an object using default serilaization.
  • org.apache.jute.Record.serialize()
  • org.apache.lenya.cms.publication.DefaultSiteTree.serialize()
  • org.apache.lucene.replicator.SessionToken.serialize()
    Serialize the token data for communication between server and client.
  • org.apache.mahout.classifier.naivebayes.NaiveBayesModel.serialize()
  • org.apache.myfaces.tobago.layout.Measure.serialize()
  • org.apache.neethi.Assertion.serialize()
    Serialize this Assertion into its XML infoset using XMLStreamWriter.
  • org.apache.neethi.Policy.serialize()
    Serializes the Policy to a XMLStreamWriter.
  • org.apache.neethi.builders.PrimitiveAssertion.serialize()
  • org.apache.ojb.broker.Identity.serialize()
    Return the serialized form of this Identity. @return The serialized representation @see #fromByteArray @deprecated
  • org.apache.openejb.client.serializer.EJBDSerializer.serialize()
  • org.apache.openjpa.jdbc.schema.SchemaSerializer.serialize()
  • org.apache.openjpa.jdbc.schema.XMLSchemaSerializer.serialize()
  • org.apache.openjpa.jdbc.sql.DBDictionary.serialize()
    Return the serialized bytes for the given object.
  • org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.serialize()
  • org.apache.openjpa.persistence.jdbc.XMLPersistenceMappingSerializer.serialize()
  • org.apache.pig.impl.util.UDFContext.serialize()
    Serialize the UDF specific information into an instance of JobConf. This function is intended to be called on the front end in preparation for sending the data to the backend. @param conf JobConf to serialize into @throws IOException if underlying serialization throws it
  • org.apache.poi.ddf.EscherRecord.serialize()
    Serializes to a new byte array. This is done by delegating to serialize(int, byte[]); @return the serialized record. @see #serialize(int,byte[])
  • org.apache.poi.hssf.record.BOFRecord.serialize()
  • org.apache.poi.hssf.record.DBCellRecord.serialize()
  • org.apache.poi.hssf.record.EOFRecord.serialize()
  • org.apache.poi.hssf.record.EscherAggregate.serialize()
    Serializes this aggregate to a byte array. Since this is an aggregate record it will effectively serialize the aggregated records. @param offset The offset into the start of the array. @param data The byte array to serialize to. @return The number of bytes serialized.
  • org.apache.poi.hssf.record.HyperlinkRecord.GUID.serialize()
  • org.apache.poi.hssf.record.ObjRecord.serialize()
  • org.apache.poi.hssf.record.Record.serialize()
    called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array. @return byte array containing instance data
  • org.apache.poi.hssf.record.RowRecord.serialize()
  • org.apache.poi.hssf.record.SupBookRecord.serialize()
    called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array. @param offset to begin writing at @param data byte array containing instance data @return number of bytes written
  • org.apache.poi.hssf.record.TextObjectRecord.serialize()
  • org.apache.poi.hssf.record.UnicodeString.serialize()
  • org.apache.poi.hssf.record.common.UnicodeString.serialize()
    Serialises out the String. There are special rules about where we can and can't split onto Continue records.
  • org.apache.poi.hssf.record.common.UnicodeString.ExtRst.serialize()
  • org.apache.poi.hssf.record.common.UnicodeString.FormatRun.serialize()
  • org.apache.poi.hssf.record.pivottable.ExtendedPivotTableViewFieldsRecord.serialize()
  • org.apache.poi.hssf.record.pivottable.PageItemRecord.serialize()
  • org.apache.poi.hssf.record.pivottable.ViewFieldsRecord.serialize()
  • org.apache.poi.hssf.util.CellRangeAddress8Bit.serialize()
    @deprecated use {@link #serialize(LittleEndianOutput)}
  • org.apache.poi.ss.util.CellRangeAddress.serialize()
    @deprecated use {@link #serialize(LittleEndianOutput)}
  • org.apache.s4.base.SerializerDeserializer.serialize()
  • org.apache.s4.serialize.KryoSerDeser.serialize()
  • org.apache.shindig.gadgets.parse.DefaultHtmlSerializer.serialize()
    {@inheritDoc}
  • org.apache.shindig.gadgets.parse.HtmlSerializer.serialize()
  • org.apache.stanbol.enhancer.nlp.json.AnalyzedTextSerializer.serialize()
    Serializes the parsed {@link AnalysedText} to the {@link OutputStream} byusing the {@link Charset}. @param at the {@link AnalysedText} to serialize @param out the {@link OutputStream} @param charset the {@link Charset}. UTF-8 is used as default if null is parsed
  • org.apache.stanbol.enhancer.nlp.json.valuetype.ValueTypeSerializer.serialize()
  • org.apache.struts2.json.annotations.JSON.serialize()
    Serializes an object into JSON. @param object to be serialized @return JSON string @throws JSONException
  • org.apache.synapse.commons.evaluators.config.EvaluatorSerializer.serialize()
    Serialze an Evaluator configuration to a XML element. @param parent if not null the serialize element will be added to the parent @param evaluator The Evaluator object to be serialized @return OMElement containing the configuration @throws org.apache.synapse.commons.evaluators.EvaluatorException if an erroroccurs while serializing
  • org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serialize()
    Serializes the given SynapseConfiguration to the file system. This method is NOT thread safe and hence it must not be called by multiple concurrent threads. This method will first serialize the configuration to a temporary directory at the same level as the rootDirectory and then rename/move it as the new rootDirectory. If an error occurs while saving the configuration, the temporary files will be not be removed from the file system. @param synapseConfig configuration to be serialized
  • org.apache.thrift.TSerializer.serialize()
    Serialize the Thrift object into a byte array. The process is simple, just clear the byte array output, write the object into it, and grab the raw bytes. @param base The object to serialize @return Serialized object in byte[] format
  • org.apache.thrift7.TSerializer.serialize()
    Serialize the Thrift object into a byte array. The process is simple, just clear the byte array output, write the object into it, and grab the raw bytes. @param base The object to serialize @return Serialized object in byte[] format
  • org.apache.tuscany.sca.common.xml.stax.impl.XMLStreamSerializer.serialize()
    Method serialize. @param node @param writer @throws XMLStreamException
  • org.apache.tuscany.sca.databinding.xml.XMLStreamSerializer.serialize()
    Method serialize. @param node @param writer @throws XMLStreamException
  • org.apache.uima.cas.impl.BinaryCasSerDes6.serialize()
    S E R I A L I Z E @return null or serialization measurements (depending on setting of doMeasurements) @throws IOException
  • org.apache.uima.cas.impl.XCASSerializer.serialize()
    Write the CAS data to a SAX content handler. @param cas The CAS to be serialized. @param contentHandler The SAX content handler the data is written to. @throws IOException @throws SAXException
  • org.apache.uima.cas.impl.XmiCasSerializer.serialize()
    Write the CAS data to a SAX content handler. @param cas The CAS to be serialized. @param contentHandler The SAX content handler the data is written to. should be inserted into the XCAS output @throws IOException @throws SAXException
  • org.apache.uima.caseditor.editor.DocumentUimaImpl.serialize()
    Serializes the {@link CAS} to the given {@link OutputStream} in the XCAS format.
  • org.apache.wicket.serialize.ISerializer.serialize()
    Converts the object to byte array @param object the object to serialize @return the serialized page as byte array
  • org.apache.wicket.serialize.java.JavaSerializer.serialize()
  • org.apache.ws.commons.om.OMElement.serialize()
  • org.apache.ws.commons.om.OMNode.serialize()
    Serializes the node with caching. @param output @param format @throws XMLStreamException
  • org.apache.ws.commons.om.impl.OMNodeEx.serialize()
    Serializes the node with caching. @param omOutput @throws javax.xml.stream.XMLStreamException @see #serialize(org.apache.ws.commons.om.impl.OMOutputImpl)
  • org.apache.ws.commons.om.impl.serialize.StreamingOMSerializer.serialize()
    Method serialize. @param node @param writer @throws XMLStreamException
  • org.apache.ws.commons.serialize.DOMSerializer.serialize()
    Converts the given node pNode into a stream of SAX events, which are fired into the content handler pHandler. @param pNode The node being serialized. @param pHandler The target handler. @throws SAXException The target handler reported an error.
  • org.apache.ws.commons.soap.SOAPBody.serialize()
  • org.apache.ws.commons.soap.SOAPEnvelope.serialize()
  • org.apache.ws.jaxme.util.DOMSerializer.serialize()
  • org.apache.ws.secpolicy.model.AbstractSecurityAssertion.serialize()
  • org.apache.ws.secpolicy.model.AlgorithmSuite.serialize()
  • org.apache.ws.secpolicy.model.SignedEncryptedParts.serialize()
  • org.apache.ws.secpolicy.model.X509Token.serialize()
  • org.apache.xalan.serialize.DOMSerializer.serialize()
    Serializes the DOM node. Throws an exception only if an I/O exception occured while serializing. @param elem The element to serialize @throws IOException An I/O exception occured while serializing
  • org.apache.xml.serialize.DOMSerializer.serialize()
    Serialized the DOM element. Throws an exception only if an I/O exception occured while serializing. @param elem The element to serialize @throws IOException An I/O exception occured whileserializing
  • org.apache.xml.serialize.HTMLSerializer.serialize()
  • org.apache.xml.serialize.XML11Serializer.serialize()
  • org.apache.xml.serialize.XMLSerializer.serialize()
  • org.apache.xml.serializer.DOMSerializer.serialize()
    Serializes the DOM node. Throws an exception only if an I/O exception occured while serializing. This interface is a public API. @param node the DOM node to serialize @throws IOException if an I/O exception occured while serializing
  • org.apache.xmpbox.xml.XmpSerializer.serialize()
  • org.apache.zookeeper.MultiTransactionRecord.serialize()
  • org.apache.zookeeper.proto.ConnectRequest.serialize()
  • org.apache.zookeeper.proto.ConnectResponse.serialize()
  • org.apache.zookeeper.proto.CreateRequest.serialize()
  • org.apache.zookeeper.proto.GetDataRequest.serialize()
  • org.apache.zookeeper.proto.RequestHeader.serialize()
  • org.apache.zookeeper.proto.SyncRequest.serialize()
  • org.apache.zookeeper.server.DataTree.serialize()
  • org.apache.zookeeper.txn.CreateTxn.serialize()
  • org.apache.zookeeper.txn.TxnHeader.serialize()
  • org.apache.zookeeper_voltpatches.proto.ConnectRequest.serialize()
  • org.apache.zookeeper_voltpatches.proto.ConnectResponse.serialize()
  • org.apache.zookeeper_voltpatches.server.persistence.FileHeader.serialize()
  • org.auraframework.def.AttributeDef.serialize()
  • org.auraframework.def.LibraryDef.serialize()
  • org.auraframework.def.ResourceDef.serialize()
  • org.axonframework.serializer.Serializer.serialize()
    Serialize the given object into a Serialized Object containing the given expectedRepresentation.

    Use {@link #canSerializeTo(Class)} to detect whether the expectedRepresentation is supported bythis serializer. @param object The object to serialize @param expectedRepresentation The expected data type representing the serialized object @param < T> The expected data type representing the serialized object @return the instance representing the serialized object.

  • org.axonframework.serializer.xml.XStreamSerializer.serialize()
  • org.bukkit.configuration.serialization.ConfigurationSerializable.serialize()
    Creates a Map representation of this class.

    This class must provide a method to restore this class, as defined in the {@link ConfigurationSerializable} interface javadocs. @return Map containing the current state of this class

  • org.bukkit.inventory.ItemStack.serialize()
  • org.butor.json.JsonHelper.serialize()
  • org.caffinitas.mapper.core.codec.TypeCodec.serialize()
  • org.carrot2.core.ProcessingResult.serialize()
    Serializes this {@link ProcessingResult} to an XML string.
  • org.carrot2.util.attribute.AttributeValueSets.serialize()
    Serializes this collection of {@link AttributeValueSet}s to an XML stream. @param stream the stream to serialize this {@link AttributeValueSets} to. The streamwill not be closed. @throws Exception in case of any problems with serialization
  • org.codehaus.dna.impl.SAXConfigurationSerializer.serialize()
    Serialize the configuration to as a Document to the specified ContentHandler. The serialization writes out an Element for each configuration object. @param handler the ContentHandler to write Configuration out to @param configuration the Configuration @throws SAXException if the handler throws an exception
  • org.codehaus.jackson.map.JsonSerializer.serialize()
    Method that can be called to ask implementation to serialize values of type this serializer handles. @param value Value to serialize; can not be null. @param jgen Generator used to output resulting Json content @param provider Provider that can be used to get serializers forserializing Objects value contains, if any.
  • org.codehaus.jackson.node.ObjectNode.serialize()
    Method that can be called to serialize this node and all of its descendants using specified JSON generator.
  • org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigTypeAdapter.serialize()
  • org.dhcp4java.DHCPPacket.serialize()
    Converts the object to a byte array ready to be sent on the wire.

    Default max size of resulting packet is 576, which is the maximum size a client can accept without explicit notice (option XXX) @return a byte array with information from DHCPMessage object. @throws DHCPBadPacketException the datagram would be malformed (too small, too big...)

  • org.eclipse.core.commands.ParameterizedCommand.serialize()
    Returns a {@link String} containing the command id, parameter ids andparameter values for this {@link ParameterizedCommand}. The returned {@link String} can be stored by a client and later used to reconstruct anequivalent {@link ParameterizedCommand} using the{@link CommandManager#deserialize(String)} method.

    The syntax of the returned {@link String} is as follows:

    serialization = commandId [ '(' parameters ')' ]
    parameters = parameter [ ',' parameters ]
    parameter = parameterId [ '=' parameterValue ]

    In the syntax above, sections inside square-brackets are optional. The characters in single quotes ((, ), , and =) indicate literal characters.

    commandId represents the command id encoded with separator characters escaped. parameterId and parameterValue represent the parameter ids and values encoded with separator characters escaped. The separator characters (, ), , and = are escaped by prepending a %. This requires % to be escaped, which is also done by prepending a %.

    The order of the parameters is not defined (and not important). A missing parameterValue indicates that the value of the parameter is null.

    For example, the string shown below represents a serialized parameterized command that can be used to show the Resource perspective:

    org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.ui.resourcePerspective)

    This example shows the more general form with multiple parameters, null value parameters, and escaped = in the third parameter value.

    command.id(param1.id=value1,param2.id,param3.id=esc%=val3)

    @return A string containing the escaped command id, parameter ids andparameter values; never null. @see CommandManager#deserialize(String) @since 3.2
  • org.eclipse.nebula.widgets.nattable.serializing.ISerializer.serialize()
  • org.eclipse.orion.server.core.resources.JSONSerializer.serialize()
  • org.eclipse.persistence.sessions.serializers.Serializer.serialize()
  • org.eclipse.php.debug.core.debugger.messages.IDebugRequestMessage.serialize()
  • org.eclipse.php.debug.core.debugger.messages.IDebugResponseMessage.serialize()
  • org.eclipse.tycho.p2.metadata.MetadataSerializable.serialize()
  • org.exist.storage.serializers.Serializer.serialize()
  • org.exist.util.serializer.DOMSerializer.serialize()
  • org.exist.util.serializer.DOMStreamer.serialize()
    Serialize the given node and all its descendants to SAX. @param node @throws SAXException
  • org.exist.util.serializer.ExtendedDOMSerializer.serialize()
  • org.fcrepo.server.config.ServerConfiguration.serialize()
  • org.fcrepo.server.storage.translation.AtomDOSerializer.serialize()
    {@inheritDoc}
  • org.fcrepo.server.storage.translation.DOSerializer.serialize()
    Serializes the given object. @param obj the object to serialize. @param out where to send the output to (auto-closed when finished). @param encoding the character encoding if the format is text-based. @param transContext the translation context. @throws ObjectIntegrityException if the given object is in such a state that serialization can't be performed. @throws StreamIOException if there is an error writing to the stream. @throws UnsupportedEncodingException if the encoding is not supported by the JVM. @see DOTranslationUtility#SERIALIZE_EXPORT_ARCHIVE @see DOTranslationUtility#SERIALIZE_EXPORT_PUBLIC @see DOTranslationUtility#SERIALIZE_EXPORT_MIGRATE @see DOTranslationUtility#SERIALIZE_STORAGE_INTERNAL
  • org.fcrepo.server.storage.translation.DOTranslator.serialize()
    Serializes the given object. @param obj the object to serialize. @param out where to send the output to (auto-closed when finished). @param encoding the character encoding if the format is text-based. @param transContext the translation context. @throws ObjectIntegrityException if the given object is in such a state that serialization can't be performed. @throws StreamIOException if there is an error writing to the stream. @throws ServerException if the translator is unable to serialize for any other reason. @throws UnsupportedEncodingException if the encoding is not supported by the JVM. @see DOTranslationUtility#SERIALIZE_EXPORT_ARCHIVE @see DOTranslationUtility#SERIALIZE_EXPORT_PUBLIC @see DOTranslationUtility#SERIALIZE_EXPORT_MIGRATE @see DOTranslationUtility#SERIALIZE_STORAGE_INTERNAL
  • org.fcrepo.server.storage.translation.DOTranslatorImpl.serialize()
    {@inheritDoc}
  • org.fcrepo.server.storage.translation.FOXML1_1DOSerializer.serialize()
  • org.fcrepo.server.utilities.RuntimeWSDL.serialize()
    Serialize the final WSDL document to the given writer.
  • org.fcrepo.utilities.Foxml11Document.serialize()
  • org.fenixedu.academic.domain.accessControl.SearchDegreeStudentsGroup.serialize()
  • org.fireflow.model.io.Dom4JFPDLSerializer.serialize()
  • org.geomajas.global.Json.serialize()
  • org.globus.workspace.service.InstanceResource.serialize()
  • org.hibernate.engine.spi.EntityKey.serialize()
    Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance. @param oos The stream to which we should write the serial data. @throws IOException Thrown by Java I/O
  • org.hibernate.search.indexes.serialization.codex.spi.Serializer.serialize()
  • org.hibernate.search.indexes.serialization.spi.Serializer.serialize()
  • org.huihoo.workflow.impl.xpdl.serializer.DefaultXPDLSerializer.serialize()
  • org.huihoo.workflow.xpdl.serializer.XPDLSerializer.serialize()
  • org.infinispan.marshall.core.MarshalledValue.serialize()
    Should only be called from a synchronized method
  • org.jahia.services.render.Template.serialize()
  • org.jasig.portal.serialize.XMLSerializer.serialize()
  • org.jboss.seam.remoting.wrapper.BaseWrapper.serialize()
    Default implementation does nothing @param out OutputStream @throws IOException
  • org.jboss.seam.remoting.wrapper.Wrapper.serialize()
  • org.jboss.ws.core.binding.SerializerSupport.serialize()
  • org.jboss.ws.core.jaxws.JAXBSerializer.serialize()
  • org.jboss.ws.extensions.json.BadgerFishDOMDocumentSerializer.serialize()
  • org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping.serialize()
    Serialize the model as a String (Should return the mapping file) @return
  • org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.serialize()
  • org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.serialize()
    Serialize the SchemaModel into a Writer @param xsmodel Schema Model which needs to be serialized @param writer a Writer to which serialization should happen @throws IOException
  • org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData.serialize()
  • org.jitterbit.integration.client.entity.settings.FileResource.serialize()
    Serializes an object to this file resource. This will overwrite the current contents.
  • org.jscsi.target.scsi.IResponseData.serialize()
  • org.jsmpp.bean.OptionalParameter.serialize()
  • org.kie.services.client.serialization.JaxbSerializationProvider.serialize()
  • org.mockserver.client.serialization.ExpectationSerializer.serialize()
  • org.neo4j.webadmin.backup.BackupLogEntry.serialize()
  • org.openrdf.http.protocol.transaction.TransactionWriter.serialize()
    serialize the passed list of operations to the passed writer. @param txn the operations @param out the output stream to write to @throws IllegalArgumentException when one of the parameters is null
  • org.pentaho.reporting.libraries.resourceloader.ResourceLoader.serialize()
    Serializes the resource key to a String representation which can be recreated using the deserialize(ResourceKey) method. @return a String which is a serialized version of the ResourceKey @throws ResourceException indicates an error serializing the resource key @param bundleKey @param key
  • org.pentaho.reporting.libraries.resourceloader.ResourceManager.serialize()
    Creates a String version of the ResourceKey that can be deserialized with the deserialize() method. @param bundleKey the key to the bundle containing the resource, or null if no bundle exists. @param key the key to be serialized @throws ResourceException indicates an error trying to serialize the key @throws NullPointerException indicates the supplied key is null
  • org.perl6.nqp.sixmodel.SerializationWriter.serialize()
  • org.persvr.remote.Client.IndividualRequest.serialize()
  • org.platformlayer.UntypedItemXml.serialize()
  • org.qi4j.api.json.JSONObjectSerializer.serialize()
  • org.qi4j.api.json.JSONWriterSerializer.serialize()
  • org.qi4j.api.value.ValueSerialization.serialize()
  • org.qi4j.library.rdf.model.ApplicationSerializer.serialize()
  • org.red5.io.object.Serializer.serialize()
    Serializes output to a core data type object @param out Output writer @param any Object to serialize
  • org.renjin.primitives.io.serialization.RDataWriter.serialize()
  • org.rhq.test.ObjectCollectionSerializer.serialize()
    Serializes the objects added to this serialize to the given output. @param output the output stream to serialize to @throws IOException @throws JAXBException
  • org.springframework.data.redis.serializer.StringRedisSerializer.serialize()
  • org.surfnet.oaaas.auth.principal.AuthenticatedPrincipal.serialize()
  • org.switchyard.serial.Serializer.serialize()
    Serializes an object of a type to a byte array. @param < T> the type of object @param obj the object @param type the type @return the byte array @throws IOException something wicked this way comes
  • org.terasology.persistence.serializers.EntitySerializer.serialize()
    @param entityRef @return The serialized entity
  • org.terasology.persistence.typeHandling.Serializer.serialize()
    Serializes a field of a provided container @param field The metadata for the field to serialize @param container The object containing the field @param context The current serialization context @return The serialized value of the field
  • org.terasology.persistence.typeHandling.TypeHandler.serialize()
    Serializes a single value. This method should return null if the value cannot or should not be serialized. An example would be if value itself is null. @param value The value to serialize - may be null @param context The persistence context to serialize into @return The serialized value.
  • org.tmatesoft.hg.internal.DataSerializer.DataSource.serialize()
  • org.tmatesoft.hg.internal.DirstateBuilder.serialize()
  • org.tmatesoft.hg.internal.Patch.PatchDataSource.serialize()
  • org.uengine.kernel.Serializer.serialize()
  • org.untmpl.Template.serialize()
    Serializes this template. @param writer @throws IOException @throws IOException
  • org.voltcore.utils.DeferredSerialization.serialize()
    Serialize the Object contained in this DeferredSerialization @return Serialized representation of the object stored @throws IOException Thrown here because FastSerialzier throws IOException
  • org.voltdb.catalog.Catalog.serialize()
    Serialize the catalog to a string representation. This actually creates a set of catalog commands which, re-run in order on an empty catalog, will recreate this catalog exactly. @return The serialized string representation of the catalog.
  • org.voltdb.utils.DeferredSerialization.serialize()
    Serialize the Object contained in this DeferredSerialization @param p A memory pool to provide memory for storing the serialized output @return Serialized representation of the object stored in a ByteBuffer provided by the memory pool. @throws IOException Thrown here because FastSerialzier throws IOException
  • org.waveprotocol.wave.communication.json.RawStringData.serialize()
    Serialize the table into a string. The format of the string is as follow: '[' numEntries ',' baseStringStart ',' baseStringEnd ']' RawString RawString = A concatenated string containing all the stored data in order.
  • org.wikier.trioo.jtrioo.ResourceManager.serialize()
    All objects as RDF serialized using RDF/XML
  • org.wso2.carbon.mediator.service.builtin.SequenceMediator.serialize()
  • org.wso2.carbon.rulecep.commons.descriptions.service.ExtensionSerializer.serialize()
    Creates an XML representation of the given ExtensibleConfiguration @param configuration ExtensibleConfiguration to be serialized @param xPathSerializer serializer to serialize XPaths @param parent parent configuration element @return XML representation of the given PropertyDescription
  • org.wymiwyg.rdf.molecules.diff.MoleculeDiff.serialize()
  • org.wymiwyg.rdf.molecules.diff.MoleculeDiffImpl.serialize()
  • org.xtreemfs.babudb.log.LogEntry.serialize()
  • org.xtreemfs.babudb.lsmdb.BabuDBTransaction.serialize()
  • org.yaml.snakeyaml.Yaml.serialize()
    g/spec/1.1/#id859333">Processing Overview @param data representation tree @return Event list
  • org.yaml.snakeyaml.serializer.Serializer.serialize()
  • org.zorbaxquery.api.Item.serialize()
  • railo.runtime.converter.JSConverter.serialize()
    serialize a CFML object to a JavaScript Object @param object object to serialize @param clientVariableName name of the variable to create @return vonverte Javascript Code as String @throws ConverterException
  • railo.runtime.converter.JSONConverter.serialize()
    serialize a Object to his literal Format @param object Object to serialize @param serializeQueryByColumns @return serialized wddx package @throws ConverterException
  • railo.runtime.converter.ScriptConverter.serialize()
    serialize a Object to his literal Format @param object Object to serialize @return serialized wddx package @throws ConverterException
  • railo.runtime.converter.WDDXConverter.serialize()
    serialize a Object to his xml Format represenation and create a valid wddx representation @param object Object to serialize @return serialized wddx package @throws ConverterException
  • railo.runtime.converter.XMLConverter.serialize()
    serialize a Object to his xml Format represenation and create a valid wddx representation @param object Object to serialize @return serialized wddx package @throws ConverterException
  • rouge.serializer.RougeSeeFormatSerializer.serialize()
  • ru.kai.assistantschedule.core.xml.DOMSerializer.serialize()
  • siena.remote.XmlSerializer.serialize()
  • test.javax.management.compliance.serialization.support.Serializer.serialize()

  • Examples of com.bubble.serializer.SerializationContext.serialize()

      public void testBubbleSpeedSingle()  {
        Pojo pojo = new Pojo(TEST_VALUE);
        SerializationContext context = new SerializationContext();
        ByteBuffer buffer = ByteBuffer.allocate(1024);
        long startTime = System.currentTimeMillis();
        context.serialize(pojo, buffer);
        long endTime = System.currentTimeMillis();
        long delay = endTime-startTime;
        System.out.println("Bubble time: "+delay+"ms");
      }

    Examples of com.calclab.emite.browser.AutoConfigBoot.SerializableMap.serialize()

      @Test
      public void shouldSerialize() {
        final SerializableMap original = new SerializableMap();
        original.put("name1", "value1");
        original.put("name2", "value2");
        final String serialized = original.serialize();
        final SerializableMap copy = SerializableMap.restore(serialized);
        assertEquals(original, copy);
      }
    }

    Examples of com.carrotsearch.ant.tasks.junit4.events.Serializer.serialize()

      }

      private void check(byte[] bytes) throws Exception {
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        Serializer s = new Serializer(baos);
        s.serialize(new AppendStdErrEvent(bytes, 0, bytes.length));
        s.flush();
        s.close();

        Deserializer deserializer = new Deserializer(new ByteArrayInputStream(baos.toByteArray()),
            Thread.currentThread().getContextClassLoader());

    Examples of com.caucho.distcache.CacheSerializer.serialize()

          os = new TempOutputStream();

          Sha256OutputStream mOut = new Sha256OutputStream(os);
          DeflaterOutputStream gzOut = new DeflaterOutputStream(mOut);

          serializer.serialize(value, gzOut);

          gzOut.finish();
          mOut.close();

          byte[] hash = mOut.getDigest();

    Examples of com.comcast.cns.model.CNSEndpointPublishJob.serialize()

          try {
            CNSMessage p1 = CNSMessageTest.getMessage("test", null, "test", "test-arn", "test-pub-userId");
              CNSEndpointPublishJob.CNSEndpointSubscriptionInfo subInfo = new CNSEndpointPublishJob.CNSEndpointSubscriptionInfo(CnsSubscriptionProtocol.cqs, "test-endpoint1", "test-sub-arn", false);
              CNSEndpointPublishJob j1 = new CNSEndpointPublishJob(p1, Arrays.asList(subInfo));
     
              String str = j1.serialize();
              CNSEndpointPublishJob rec = CNSEndpointPublishJob.parseInstance(str);
              if (!j1.equals(rec)) {
                  fail("orig != rec. orig=" + j1 + " rec=" + rec);
              }
             

    Examples of com.comcast.cns.model.CNSMessage.serialize()

         
            // otherwise pick publish job queue

            logger.debug("event=going_through_job_queue_town_center");
           
            String handle = sendMessageOnRandomShardAndCreateQueueIfAbsent(CNS_PUBLISH_QUEUE_NAME_PREFIX, CMBProperties.getInstance().getCNSNumPublishJobQueues(), cnsMessage.serialize(), cnsInternalUser.getUserId());
            if (handle != null && !handle.equals("")) {
              receiptHandles.add(handle);
            } else {
              success = false;
            }

    Examples of com.comcast.cns.persistence.CNSCachedEndpointPublishJob.serialize()

        @Test
        public void serializeDeserializeNoSubUsingCache() throws CMBException {
            CNSMessage p1 = CNSMessageTest.getMessage("test", null, "test", "test-arn", "test-pub-userId");
            CNSCachedEndpointPublishJob job = new CNSCachedEndpointPublishJob(p1, Collections.EMPTY_LIST);
           
            String str = job.serialize();
            logger.debug("serializedFOrm=" + str);
           
            CNSEndpointPublishJob rec = CNSCachedEndpointPublishJob.parseInstance(str);
            if (!job.equals(rec)) {
                fail("orig!=rec. orig=" + job + " rec=" + rec);

    Examples of com.datasalt.pangool.io.Schema.Field.FieldSerializer.serialize()

            FieldSerializer customSer = customSerializers[i];
            DataOutputBuffer buffer = buffers[i];
            buffer.reset();
            if (customSer != null){
              customSer.open(buffer);
              customSer.serialize(obj);
              customSer.close(); //TODO is this safe ?
            } else {
              hadoopSer.ser(obj, buffer);
            }
            //TODO this byteBuffer instances should be cached and reused

    Examples of com.dragome.services.interfaces.SerializationService.serialize()

            ServiceLocator.getInstance().getDomHandler().setDocument(new BrowserHtmlDocument()); //TODO revisar!!

            SerializationService serializationService= ServiceLocator.getInstance().getSerializationService();

            Object result= ((ServiceInvocation) serializationService.deserialize(parameter)).invoke();
            executeService[0]= serializationService.serialize(result);
            ServerToClientServiceInvoker.finalizeMethodInvocationsInClient();
          }
        });

        return executeService[0];

    Examples of com.facebook.thrift.TSerializer.serialize()

        b.type = 5;
        b.message = "nevermore";
        hm.bonks.put("poe", stage2);


        byte[] binaryCopy = binarySerializer.serialize(hm);
        HolyMoley hmCopy = new HolyMoley();
        binaryDeserializer.deserialize(hmCopy, binaryCopy);
        HolyMoley hmCopy2 = new HolyMoley(hm);

        if (!hm.equals(hmCopy))
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.