Home
last modified time | relevance | path

Searched refs:marshaller (Results 1 – 25 of 1101) sorted by relevance

12345678910>>...45

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.oxm/src/test/java/org/springframework/oxm/jaxb/
H A DJaxb2MarshallerTests.java63 private Jaxb2Marshaller marshaller; field in Jaxb2MarshallerTests
71 marshaller.afterPropertiesSet(); in createMarshaller()
72 return marshaller; in createMarshaller()
113 marshaller.setLazyInit(true); in lazyInit()
114 marshaller.afterPropertiesSet(); in lazyInit()
128 marshaller.afterPropertiesSet(); in properties()
134 marshaller.afterPropertiesSet(); in noContextPathOrClassesToBeBound()
140 marshaller.setContextPath("ab"); in testInvalidContextPath()
141 marshaller.afterPropertiesSet(); in testInvalidContextPath()
148 marshaller.afterPropertiesSet(); in marshalInvalidClass()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.jms/src/main/java/org/springframework/jms/support/converter/
H A DMarshallingMessageConverter.java54 private Marshaller marshaller; field in MarshallingMessageConverter
79 public MarshallingMessageConverter(Marshaller marshaller) { in MarshallingMessageConverter() argument
80 Assert.notNull(marshaller, "Marshaller must not be null"); in MarshallingMessageConverter()
81 if (!(marshaller instanceof Unmarshaller)) { in MarshallingMessageConverter()
88 this.marshaller = marshaller; in MarshallingMessageConverter()
89 this.unmarshaller = (Unmarshaller) marshaller; in MarshallingMessageConverter()
102 this.marshaller = marshaller; in MarshallingMessageConverter()
110 public void setMarshaller(Marshaller marshaller) { in setMarshaller() argument
111 this.marshaller = marshaller; in setMarshaller()
212 marshaller.marshal(object, result); in marshalToTextMessage()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.oxm/src/test/java/org/springframework/oxm/jibx/
H A DJibxMarshallerTests.java36 JibxMarshaller marshaller = new JibxMarshaller(); in createMarshaller() local
38 marshaller.afterPropertiesSet(); in createMarshaller()
39 return marshaller; in createMarshaller()
53 JibxMarshaller marshaller = new JibxMarshaller(); in afterPropertiesSetNoContextPath() local
54 marshaller.afterPropertiesSet(); in afterPropertiesSetNoContextPath()
59 ((JibxMarshaller) marshaller).setIndent(4); in indentation()
61 marshaller.marshal(flights, new StreamResult(writer)); in indentation()
71 ((JibxMarshaller) marshaller).setEncoding("ISO-8859-1"); in encodingAndStandalone()
72 ((JibxMarshaller) marshaller).setStandalone(Boolean.TRUE); in encodingAndStandalone()
74 marshaller.marshal(flights, new StreamResult(writer)); in encodingAndStandalone()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/main/java/org/springframework/http/converter/xml/
H A DMarshallingHttpMessageConverter.java49 private Marshaller marshaller; field in MarshallingHttpMessageConverter
70 public MarshallingHttpMessageConverter(Marshaller marshaller) { in MarshallingHttpMessageConverter() argument
71 Assert.notNull(marshaller, "Marshaller must not be null"); in MarshallingHttpMessageConverter()
72 this.marshaller = marshaller; in MarshallingHttpMessageConverter()
73 if (marshaller instanceof Unmarshaller) { in MarshallingHttpMessageConverter()
74 this.unmarshaller = (Unmarshaller) marshaller; in MarshallingHttpMessageConverter()
85 Assert.notNull(marshaller, "Marshaller must not be null"); in MarshallingHttpMessageConverter()
87 this.marshaller = marshaller; in MarshallingHttpMessageConverter()
95 public void setMarshaller(Marshaller marshaller) { in setMarshaller() argument
96 this.marshaller = marshaller; in setMarshaller()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.oxm/src/test/java/org/springframework/oxm/xstream/
H A DXStreamMarshallerTests.java67 private XStreamMarshaller marshaller; field in XStreamMarshallerTests
73 marshaller = new XStreamMarshaller(); in createMarshaller()
76 marshaller.setAliases(aliases); in createMarshaller()
131 marshaller.marshal(flight, result); in marshalStreamResultWriter()
139 marshaller.marshal(flight, result); in marshalStreamResultOutputStream()
157 marshaller.marshal(flight, result); in marshalSaxResult()
167 marshaller.marshal(flight, result); in marshalStaxResultXMLStreamWriter()
177 marshaller.marshal(flight, result); in marshalStaxResultXMLEventWriter()
222 marshaller in useAttributesForClassStringListMap()
285 marshaller.setAliases(aliases); in implicitCollections()
[all …]
/dports/net-im/telepathy-logger-qt5/telepathy-logger-qt-17.09.0/tools/
H A Dglib-signals-marshal-gen.py18 marshaller = method_to_glue_marshal_name(method, 'PREFIX')
20 assert '__' in marshaller
21 rhs = marshaller.split('__', 1)[1].split('_')
23 self.marshallers[marshaller] = rhs
26 marshaller = signal_to_marshal_name(signal, 'PREFIX')
28 assert '__' in marshaller
29 rhs = marshaller.split('__', 1)[1].split('_')
31 self.marshallers[marshaller] = rhs
46 for marshaller in all:
47 rhs = self.marshallers[marshaller]
[all …]
/dports/net-im/telepathy-salut/telepathy-salut-0.8.1/tools/
H A Dglib-signals-marshal-gen.py18 marshaller = method_to_glue_marshal_name(method, 'PREFIX')
20 assert '__' in marshaller
21 rhs = marshaller.split('__', 1)[1].split('_')
23 self.marshallers[marshaller] = rhs
26 marshaller = signal_to_marshal_name(signal, 'PREFIX')
28 assert '__' in marshaller
29 rhs = marshaller.split('__', 1)[1].split('_')
31 self.marshallers[marshaller] = rhs
46 for marshaller in all:
47 rhs = self.marshallers[marshaller]
[all …]
/dports/net/py-suds-community/suds-community-1.0.0/suds/mx/
H A Dappender.py57 def __init__(self, marshaller): argument
62 self.default = PrimitiveAppender(marshaller)
64 (Matcher(None), NoneAppender(marshaller)),
96 def __init__(self, marshaller): argument
101 self.marshaller = marshaller
113 return self.marshaller.node(content)
123 self.marshaller.setnil(node, content)
142 return self.marshaller.optional(content)
150 self.marshaller.suspend(content)
158 self.marshaller.resume(content)
[all …]
/dports/net/py-suds-jurko/suds-jurko-0.6/suds/mx/
H A Dappender.py58 def __init__(self, marshaller): argument
63 self.default = PrimativeAppender(marshaller)
65 (Matcher(None), NoneAppender(marshaller)),
98 def __init__(self, marshaller): argument
103 self.marshaller = marshaller
115 return self.marshaller.node(content)
125 self.marshaller.setnil(node, content)
144 return self.marshaller.optional(content)
152 self.marshaller.suspend(content)
160 self.marshaller.resume(content)
[all …]
/dports/www/grails/grails-1.3.6/src/java/org/codehaus/groovy/grails/web/converters/configuration/
H A DConvertersConfigurationInitializer.java31 import org.codehaus.groovy.grails.web.converters.marshaller.ObjectMarshaller;
32 import org.codehaus.groovy.grails.web.converters.marshaller.ProxyUnwrappingMarshaller;
66 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.json.ArrayMarshaller()); in initJSONConfiguration()
67 …marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.json.ByteArrayMarshaller(… in initJSONConfiguration()
69 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.json.MapMarshaller()); in initJSONConfiguration()
70 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.json.EnumMarshaller()); in initJSONConfiguration()
79 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.json.DateMarshaller()); in initJSONConfiguration()
121 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.xml.ArrayMarshaller()); in initXMLConfiguration()
123 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.xml.MapMarshaller()); in initXMLConfiguration()
124 … marshallers.add(new org.codehaus.groovy.grails.web.converters.marshaller.xml.EnumMarshaller()); in initXMLConfiguration()
[all …]
H A DDefaultConverterConfiguration.java29 import org.codehaus.groovy.grails.web.converters.marshaller.ClosureOjectMarshaller;
30 import org.codehaus.groovy.grails.web.converters.marshaller.ObjectMarshaller;
75 list.add(entry.marshaller); in getOrderedObjectMarshallers()
126 public void registerObjectMarshaller(ObjectMarshaller<C> marshaller) { in registerObjectMarshaller() argument
127 registerObjectMarshaller(marshaller, DEFAULT_PRIORITY); in registerObjectMarshaller()
131 objectMarshallers.add(new Entry(marshaller, priority)); in registerObjectMarshaller()
144 if (entry.marshaller.supports(o)) { in getMarshaller()
145 return entry.marshaller; in getMarshaller()
152 protected final ObjectMarshaller<C> marshaller; field in DefaultConverterConfiguration.Entry
156 private Entry(ObjectMarshaller<C> marshaller, int priority) { in Entry() argument
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/view/xml/
H A DMarshallingView.java52 private Marshaller marshaller; field in MarshallingView
68 public MarshallingView(Marshaller marshaller) { in MarshallingView() argument
69 Assert.notNull(marshaller, "'marshaller' must not be null"); in MarshallingView()
71 this.marshaller = marshaller; in MarshallingView()
78 public void setMarshaller(Marshaller marshaller) { in setMarshaller() argument
79 Assert.notNull(marshaller, "'marshaller' must not be null"); in setMarshaller()
80 this.marshaller = marshaller; in setMarshaller()
95 Assert.notNull(marshaller, "Property 'marshaller' is required"); in initApplicationContext()
107 marshaller.marshal(toBeMarshalled, new StreamResult(bos)); in renderMergedOutputModel()
132 if (!this.marshaller.supports(o.getClass())) { in locateToBeMarshalled()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.oxm/src/main/java/org/springframework/oxm/support/
H A DMarshallingSource.java54 private final Marshaller marshaller; field in MarshallingSource
64 public MarshallingSource(Marshaller marshaller, Object content) { in MarshallingSource() argument
65 super(new MarshallingXMLReader(marshaller, content), new InputSource()); in MarshallingSource()
66 Assert.notNull(marshaller, "'marshaller' must not be null"); in MarshallingSource()
68 this.marshaller = marshaller; in MarshallingSource()
77 return this.marshaller; in getMarshaller()
106 private final Marshaller marshaller; field in MarshallingSource.MarshallingXMLReader
120 private MarshallingXMLReader(Marshaller marshaller, Object content) { in MarshallingXMLReader() argument
121 Assert.notNull(marshaller, "'marshaller' must not be null"); in MarshallingXMLReader()
123 this.marshaller = marshaller; in MarshallingXMLReader()
[all …]
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/vendor/symfony/cache/Marshaller/
H A DTagAwareMarshaller.php21 private $marshaller; variable in Symfony\\Component\\Cache\\Marshaller\\TagAwareMarshaller
23 public function __construct(MarshallerInterface $marshaller = null) argument
25 $this->marshaller = $marshaller ?? new DefaultMarshaller();
40 $v = $this->marshaller->marshall($value, $f);
60 $serialized += $this->marshaller->marshall($notSerialized, $f);
74 return $this->marshaller->unmarshall($value);
84 'value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)),
85 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [],
/dports/www/webtrees20/webtrees-2.0.19/webtrees/vendor/symfony/cache/Marshaller/
H A DTagAwareMarshaller.php21 private $marshaller; variable in Symfony\\Component\\Cache\\Marshaller\\TagAwareMarshaller
23 public function __construct(MarshallerInterface $marshaller = null) argument
25 $this->marshaller = $marshaller ?? new DefaultMarshaller();
40 $v = $this->marshaller->marshall($value, $f);
60 $serialized += $this->marshaller->marshall($notSerialized, $f);
74 return $this->marshaller->unmarshall($value);
84 'value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)),
85 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [],
/dports/www/typo3-9/typo3_src-9.5.31/vendor/symfony/cache/Marshaller/
H A DTagAwareMarshaller.php21 private $marshaller; variable in Symfony\\Component\\Cache\\Marshaller\\TagAwareMarshaller
23 public function __construct(MarshallerInterface $marshaller = null) argument
25 $this->marshaller = $marshaller ?? new DefaultMarshaller();
40 $v = $this->marshaller->marshall($value, $f);
60 $serialized += $this->marshaller->marshall($notSerialized, $f);
74 return $this->marshaller->unmarshall($value);
84 'value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)),
85 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [],
/dports/www/typo3-10/typo3_src-10.4.25/vendor/symfony/cache/Marshaller/
H A DTagAwareMarshaller.php21 private $marshaller; variable in Symfony\\Component\\Cache\\Marshaller\\TagAwareMarshaller
23 public function __construct(MarshallerInterface $marshaller = null) argument
25 $this->marshaller = $marshaller ?? new DefaultMarshaller();
40 $v = $this->marshaller->marshall($value, $f);
60 $serialized += $this->marshaller->marshall($notSerialized, $f);
74 return $this->marshaller->unmarshall($value);
84 'value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)),
85 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [],
/dports/www/typo3-11/typo3_src-11.5.7/vendor/symfony/cache/Marshaller/
H A DTagAwareMarshaller.php21 private $marshaller; variable in Symfony\\Component\\Cache\\Marshaller\\TagAwareMarshaller
23 public function __construct(MarshallerInterface $marshaller = null) argument
25 $this->marshaller = $marshaller ?? new DefaultMarshaller();
40 $v = $this->marshaller->marshall($value, $f);
60 $serialized += $this->marshaller->marshall($notSerialized, $f);
74 return $this->marshaller->unmarshall($value);
84 'value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)),
85 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [],
/dports/devel/grpc/grpc-1.42.0/src/csharp/Grpc.Core.Tests/
H A DMarshallerTest.cs41 var marshaller = new Marshaller<string>(simpleSerializer, in ContextualSerializerEmulation()
44 Assert.AreSame(simpleSerializer, marshaller.Serializer); in ContextualSerializerEmulation()
45 Assert.AreSame(simpleDeserializer, marshaller.Deserializer); in ContextualSerializerEmulation()
50 marshaller.ContextualSerializer(origMsg, serializationContext); in ContextualSerializerEmulation()
53 Assert.AreEqual(origMsg, marshaller.ContextualDeserializer(deserializationContext)); in ContextualSerializerEmulation()
68 var marshaller = new Marshaller<string>(contextualSerializer, contextualDeserializer); in SimpleSerializerEmulation()
70 Assert.AreSame(contextualSerializer, marshaller.ContextualSerializer); in SimpleSerializerEmulation()
71 Assert.AreSame(contextualDeserializer, marshaller.ContextualDeserializer); in SimpleSerializerEmulation()
72 Assert.Throws(typeof(NotImplementedException), () => marshaller.Serializer("abc")); in SimpleSerializerEmulation()
73 …Assert.Throws(typeof(NotImplementedException), () => marshaller.Deserializer(new byte[] {1, 2, 3})… in SimpleSerializerEmulation()
/dports/devel/grpc130/grpc-1.30.2/src/csharp/Grpc.Core.Tests/
H A DMarshallerTest.cs41 var marshaller = new Marshaller<string>(simpleSerializer, in ContextualSerializerEmulation()
44 Assert.AreSame(simpleSerializer, marshaller.Serializer); in ContextualSerializerEmulation()
45 Assert.AreSame(simpleDeserializer, marshaller.Deserializer); in ContextualSerializerEmulation()
50 marshaller.ContextualSerializer(origMsg, serializationContext); in ContextualSerializerEmulation()
53 Assert.AreEqual(origMsg, marshaller.ContextualDeserializer(deserializationContext)); in ContextualSerializerEmulation()
68 var marshaller = new Marshaller<string>(contextualSerializer, contextualDeserializer); in SimpleSerializerEmulation()
70 Assert.AreSame(contextualSerializer, marshaller.ContextualSerializer); in SimpleSerializerEmulation()
71 Assert.AreSame(contextualDeserializer, marshaller.ContextualDeserializer); in SimpleSerializerEmulation()
72 Assert.Throws(typeof(NotImplementedException), () => marshaller.Serializer("abc")); in SimpleSerializerEmulation()
73 …Assert.Throws(typeof(NotImplementedException), () => marshaller.Deserializer(new byte[] {1, 2, 3})… in SimpleSerializerEmulation()
/dports/devel/grpc134/grpc-1.34.1/src/csharp/Grpc.Core.Tests/
H A DMarshallerTest.cs41 var marshaller = new Marshaller<string>(simpleSerializer, in ContextualSerializerEmulation()
44 Assert.AreSame(simpleSerializer, marshaller.Serializer); in ContextualSerializerEmulation()
45 Assert.AreSame(simpleDeserializer, marshaller.Deserializer); in ContextualSerializerEmulation()
50 marshaller.ContextualSerializer(origMsg, serializationContext); in ContextualSerializerEmulation()
53 Assert.AreEqual(origMsg, marshaller.ContextualDeserializer(deserializationContext)); in ContextualSerializerEmulation()
68 var marshaller = new Marshaller<string>(contextualSerializer, contextualDeserializer); in SimpleSerializerEmulation()
70 Assert.AreSame(contextualSerializer, marshaller.ContextualSerializer); in SimpleSerializerEmulation()
71 Assert.AreSame(contextualDeserializer, marshaller.ContextualDeserializer); in SimpleSerializerEmulation()
72 Assert.Throws(typeof(NotImplementedException), () => marshaller.Serializer("abc")); in SimpleSerializerEmulation()
73 …Assert.Throws(typeof(NotImplementedException), () => marshaller.Deserializer(new byte[] {1, 2, 3})… in SimpleSerializerEmulation()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/csharp/Grpc.Core.Tests/
H A DMarshallerTest.cs41 var marshaller = new Marshaller<string>(simpleSerializer, in ContextualSerializerEmulation()
44 Assert.AreSame(simpleSerializer, marshaller.Serializer); in ContextualSerializerEmulation()
45 Assert.AreSame(simpleDeserializer, marshaller.Deserializer); in ContextualSerializerEmulation()
50 marshaller.ContextualSerializer(origMsg, serializationContext); in ContextualSerializerEmulation()
53 Assert.AreEqual(origMsg, marshaller.ContextualDeserializer(deserializationContext)); in ContextualSerializerEmulation()
68 var marshaller = new Marshaller<string>(contextualSerializer, contextualDeserializer); in SimpleSerializerEmulation()
70 Assert.AreSame(contextualSerializer, marshaller.ContextualSerializer); in SimpleSerializerEmulation()
71 Assert.AreSame(contextualDeserializer, marshaller.ContextualDeserializer); in SimpleSerializerEmulation()
72 Assert.Throws(typeof(NotImplementedException), () => marshaller.Serializer("abc")); in SimpleSerializerEmulation()
73 …Assert.Throws(typeof(NotImplementedException), () => marshaller.Deserializer(new byte[] {1, 2, 3})… in SimpleSerializerEmulation()
/dports/deskutils/spice-gtk/spice-gtk-0.37/subprojects/spice-common/tests/
H A Dtest-marshallers.c97 SpiceMarshaller *marshaller; in main() local
111 marshaller = spice_marshaller_new(); in main()
112 spice_marshall_msg_main_ShortDataSubMarshall(marshaller, msg); in main()
113 spice_marshaller_flush(marshaller); in main()
114 data = spice_marshaller_linearize(marshaller, 0, &len, &free_res); in main()
138 spice_marshaller_reset(marshaller); in main()
142 spice_marshall_msg_main_Zeroes(marshaller, &msg_zeroes); in main()
143 spice_marshaller_flush(marshaller); in main()
144 data = spice_marshaller_linearize(marshaller, 0, &len, &free_res); in main()
151 test_overflow(marshaller); in main()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/dbus/
H A Dqdbusargument.cpp76 marshaller->ba = &signature; in createSignature()
81 QDBusArgument arg(marshaller); in createSignature()
86 bool ok = marshaller->ok; in createSignature()
87 delete marshaller; in createSignature()
113 if (!d->marshaller()->ok) in checkWrite()
357 d->marshaller()->append(arg); in operator <<()
368 d->marshaller()->append(arg); in operator <<()
379 d->marshaller()->append(arg); in operator <<()
390 d->marshaller()->append(arg); in operator <<()
401 d->marshaller()->append(arg); in operator <<()
[all …]
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/dbus/
H A Dqdbusargument.cpp74 marshaller->ba = &signature; in createSignature()
79 QDBusArgument arg(marshaller); in createSignature()
84 bool ok = marshaller->ok; in createSignature()
85 delete marshaller; in createSignature()
111 if (!d->marshaller()->ok) in checkWrite()
356 d->marshaller()->append(arg); in operator <<()
367 d->marshaller()->append(arg); in operator <<()
378 d->marshaller()->append(arg); in operator <<()
389 d->marshaller()->append(arg); in operator <<()
400 d->marshaller()->append(arg); in operator <<()
[all …]

12345678910>>...45