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 org.apache.hadoop.hive.accumulo.serde.AccumuloRowSerializer.serialize()

        ByteArrayRef bytes = new ByteArrayRef();
        bytes.setData("row value1 value2".getBytes());
        struct.init(bytes, 0, bytes.getData().length);

        // Serialize the struct into a mutation
        Mutation m = serializer.serialize(struct, structOI);

        // Write the mutation
        recordWriter.write(new Text(table), m);

        // Close the writer

    Examples of org.apache.hadoop.hive.serde2.SerDe.serialize()

        HiveOutputFormat<?, ?> outFormat = new OrcOutputFormat();
        FileSinkOperator.RecordWriter writer =
            outFormat.getHiveRecordWriter(conf, testFilePath, MyRow.class, true,
                properties, Reporter.NULL);
        ReaderWriterProfiler.setProfilerOptions(conf);
        writer.write(serde.serialize(new MyRow(1,2), inspector));
        writer.write(serde.serialize(new MyRow(2,2), inspector));
        writer.write(serde.serialize(new MyRow(3,2), inspector));
        writer.close(true);
        serde = new OrcSerde();
        properties.setProperty("columns", "x,y");

    Examples of org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe.serialize()

            ObjectInspector oi = serde.getObjectInspector();
            System.out.println("TypeName = " + oi.getTypeName());

           
            // Try to serialize
            BytesWritable bytes = (BytesWritable) serde.serialize(struct, oi);
            System.out.println("bytes =" + hexString(bytes));
          
            if (!isBinary) {
              System.out.println("bytes in text =" + new String(bytes.get(), 0, bytes.getSize()));
            }

    Examples of org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.serialize()

                // serialize using another serde, and read out that object repr.
                LazySimpleSerDe testSD = new LazySimpleSerDe();
                testSD.initialize(conf, tblProps);

                Writable s3 = testSD.serialize(s, hrsd.getObjectInspector());
                LOG.info("THREE: {}", s3);
                Object o3 = testSD.deserialize(s3);
                Assert.assertFalse(r.getClass().equals(o3.getClass()));

                // then serialize again using hrsd, and compare results

    Examples of org.apache.hadoop.io.serializer.Serializer.serialize()

                sf.getSerializer(wrappedSplits[0].getClass());
            s.open((OutputStream) os);
            for (int i = 0; i < wrappedSplits.length; i++)
            {
                // The correct call sequence for Serializer is, we shall open, then serialize, but we shall not close
                s.serialize(wrappedSplits[i]);
            }
           
        }

        private void writeObject(Serializable obj, DataOutput os)

    Examples of org.apache.hadoop.nfs.NfsTime.serialize()

      @Test
      public void testSerializeDeserialize() {
        // Serialize NfsTime
        NfsTime t1 = new NfsTime(1001);
        XDR xdr = new XDR();
        t1.serialize(xdr);
       
        // Deserialize it back
        NfsTime t2 = NfsTime.deserialize(xdr.asReadOnlyWrap());
       
        // Ensure the NfsTimes are equal

    Examples of org.apache.hadoop.nfs.nfs3.FileHandle.serialize()

    public class TestFileHandle {
      @Test
      public void testConstructor() {
        FileHandle handle = new FileHandle(1024);
        XDR xdr = new XDR();
        handle.serialize(xdr);
        Assert.assertEquals(handle.getFileId(), 1024);

        // Deserialize it back
        FileHandle handle2 = new FileHandle();
        handle2.deserialize(xdr.asReadOnlyWrap());

    Examples of org.apache.hadoop.nfs.nfs3.request.CREATE3Request.serialize()

          FileHandle rootHandle = new FileHandle(status.getFileId());
          // Create file1
          CREATE3Request createReq = new CREATE3Request(rootHandle, "file1",
              Nfs3Constant.CREATE_UNCHECKED, new SetAttr3(), 0);
          XDR createXdr = new XDR();
          createReq.serialize(createXdr);
          CREATE3Response createRsp = nfsd.create(createXdr.asReadOnlyWrap(),
              securityHandler, new InetSocketAddress("localhost", 1234));
          FileHandle handle = createRsp.getObjHandle();

          // Test DATA_SYNC

    Examples of org.apache.hadoop.nfs.nfs3.request.READ3Request.serialize()

          waitWrite(nfsd, handle, 60000);

          // Readback
          READ3Request readReq = new READ3Request(handle, 0, 10);
          XDR readXdr = new XDR();
          readReq.serialize(readXdr);
          READ3Response readRsp = nfsd.read(readXdr.asReadOnlyWrap(),
              securityHandler, new InetSocketAddress("localhost", 1234));

          assertTrue(Arrays.equals(buffer, readRsp.getData().array()));

    Examples of org.apache.hadoop.nfs.nfs3.request.WRITE3Request.serialize()

            buffer[i] = (byte) i;
          }
          WRITE3Request writeReq = new WRITE3Request(handle, 0, 10,
              WriteStableHow.DATA_SYNC, ByteBuffer.wrap(buffer));
          XDR writeXdr = new XDR();
          writeReq.serialize(writeXdr);
          nfsd.write(writeXdr.asReadOnlyWrap(), null, 1, securityHandler,
              new InetSocketAddress("localhost", 1234));

          waitWrite(nfsd, handle, 60000);
    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.