TypeCreator



This.ViewModel = TypeCreator(type); // where TypeCreator is a method where type parameter is passed, but then how does that method look like? I hope that explains well. To make best use of computer resources FlexiHub is a must have software for mid to large scale. The following examples show how to use com.google.gson.InstanceCreator.These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.

The Aegis Databinding context object. This object coordinates the data binding process: reading and writing XML. By default, this object sets up a default set of type mappings. This consists of two DefaultTypeMapping objects. The first is empty and has the Default, Java5, and XML TypeCreator classes configured. The second contains the standard mappings of the stock types. If a type can't be mapped in either, then the creators create a mapping and store it in the first one. The application can control some parameters of the type creators by creating a TypeCreationOptions object and setting properties. The application can add custom mappings to the type mapping, or even use its own classes for the TypeMapping or TypeCreator objects. Aegis, unlike JAXB, has no concept of a 'root element'. So, an application that uses Aegis without a web service has to either depend on xsi:type (at least for root elements) or have its own mapping from elements to classes, and pass the resulting Class objects to the readers. At this level, the application must specify the initial set of classes to make make use of untyped collections or .aegis.xml files. If the application leaves this list empty, and reads XML messages, then no .aegis.xml files are used unless the application has specified a Class<T> for the root of a particular item read. Specifically, if the application just leaves it to Aegis to map an element tagged with an xsi:type to a class, Aegis can't know that some arbitrary class in some arbitrary package is mapped to a particular schema type by QName in a mapping XML file. At the level of the CXF data binding, the 'root elements' are defined by the WSDL message parts. Additional classes that participate are termed 'override' classes.

Field Summary
static StringUTILITY_TYPES_SCHEMA_NS
Namespace used for the miscellaneous Aegis type schema.
Constructor Summary
AegisContext()
Construct a context.
Method Summary
org.apache.ws.commons.schema.XmlSchemaaddTypesSchemaDocument(org.apache.ws.commons.schema.XmlSchemaCollection collection)
static voidaddUtilityTypesToSchema(org.apache.ws.commons.schema.XmlSchema root)
org.apache.ws.commons.schema.XmlSchemaaddXmimeSchemaDocument(org.apache.ws.commons.schema.XmlSchemaCollection collection)
protected AbstractTypeCreatorcreateDefaultTypeCreator()
AegisReader<Element>createDomElementReader()
AegisWriter<Element>createDomElementWriter()
protected AbstractTypeCreatorcreateRootTypeCreator()
TypeCreatorcreateTypeCreator()
AegisReader<javax.xml.stream.XMLStreamReader>createXMLStreamReader()
AegisWriter<javax.xml.stream.XMLStreamWriter>createXMLStreamWriter()
Map<Class<?>,String>getBeanImplementationMap()
This property provides support for interfaces.
TypeCreationOptionsgetConfiguration()
Deprecated.2.1
StringgetMappingNamespaceURI()
What URI identifies the type mapping for this context? When the XMLTypeCreator reads .aegis.xml file, it will only read mappings for this URI (or no URI).
Set<Type>getRootClasses()
Set<String>getRootClassNames()
Retrieve the set of root class names.
AegisTypegetRootType(Class clazz)
If a class was provided as part of the 'root' list, retrieve it's AegisType by Class.
AegisTypegetRootType(QName schemaTypeName)
If a class was provided as part of the root list, retrieve it's AegisType by schema type QName.
Set<AegisType>getRootTypes()
Retrieve the Aegis type objects for the root classes.
TypeCreationOptionsgetTypeCreationOptions()
Return the type mapping configuration associated with this context.
TypeMappinggetTypeMapping()
Return the type mapping object used by this context.
voidinitialize()
Initialize the context.
booleanisEnableJDOMMappings()
booleanisMtomEnabled()
Is MTOM enabled in this context?
booleanisMtomUseXmime()
Should this service use schema for MTOM types xmime:base64Binary instead of xsd:base64Binary?
booleanisReadXsiTypes()
booleanisWriteXsiTypes()
static booleanschemaImportsUtilityTypes(org.apache.ws.commons.schema.XmlSchema schema)
voidsetBeanImplementationMap(Map<Class<?>,String> beanImplementationMap)
voidsetConfiguration(TypeCreationOptions newConfiguration)
Deprecated.2.1
voidsetEnableJDOMMappings(boolean enableJDOMMappings)
Whether to enable JDOM as a mapping for xsd:anyType if JDOM is in the classpath.
voidsetMappingNamespaceURI(String mappingNamespaceURI)
voidsetMtomEnabled(boolean mtomEnabled)
voidsetMtomUseXmime(boolean mtomUseXmime)
voidsetReadXsiTypes(boolean flag)
Controls the use of xsi:type attributes when reading objects.
voidsetRootClasses(Set<Type> rootClasses)
The list of initial classes.
voidsetRootClassNames(Set<String> classNames)
Set the root class names.
voidsetTypeCreationOptions(TypeCreationOptions newConfiguration)
Set the configuration object.
voidsetTypeMapping(TypeMapping typeMapping)
Set the type mapping object used by this context.
voidsetWriteXsiTypes(boolean flag)
Controls whether Aegis writes xsi:type attributes on all elements.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

UTILITY_TYPES_SCHEMA_NS

Namespace used for the miscellaneous Aegis type schema.
See Also:
Constant Field Values
Constructor Detail

AegisContext

Construct a context.
Method Detail

createTypeCreator

createRootTypeCreator

createDefaultTypeCreator

initialize

Initialize the context. The encodingStyleURI allows .aegis.xml files to have multiple mappings for, say, SOAP 1.1 versus SOAP 1.2. Passing null uses a default URI.
Parameters:
mappingNamespaceURI - URI to select mappings based on the encoding.

createDomElementReader

createXMLStreamReader

createDomElementWriter

createXMLStreamWriter

getRootType

If a class was provided as part of the 'root' list, retrieve it's AegisType by Class.
Parameters:
clazz -
Returns:

getRootType

If a class was provided as part of the root list, retrieve it's AegisType by schema type QName.
Parameters:
schemaTypeName -
Returns:

schemaImportsUtilityTypes

addTypesSchemaDocument

addXmimeSchemaDocument

addUtilityTypesToSchema

getRootClassNames

Retrieve the set of root class names. Note that if the application specifies the root classes by Class instead of by name, this will return null.
Returns:

setRootClassNames

Set the root class names. This function is a convenience for Spring configuration. It sets the same underlying collection as setRootClasses(Set).
Parameters:
classNames -

getConfiguration

Deprecated.2.1
Return the type mapping configuration associated with this context.
Returns:
Returns the configuration.

getTypeCreationOptions

Return the type mapping configuration associated with this context.
Returns:
Returns the configuration.

setConfiguration

Deprecated.2.1
Set the configuration object. The configuration specifies default type mapping behaviors.
Parameters:
configuration - The configuration to set.

setTypeCreationOptions

Set the configuration object. The configuration specifies default type mapping behaviors.
Parameters:
configuration - The configuration to set.

isWriteXsiTypes

isReadXsiTypes

Typecreator

setWriteXsiTypes

Controls whether Aegis writes xsi:type attributes on all elements. False by default.
Parameters:
flag -

setReadXsiTypes

Controls the use of xsi:type attributes when reading objects. By default, xsi:type reading is enabled. When disabled, Aegis will only map for objects that the application manually maps in the type mapping.
Parameters:
flag -

getTypeMapping

Return the type mapping object used by this context.
Returns:

setTypeMapping

Set the type mapping object used by this context.
Parameters:
typeMapping -

getRootTypes

Retrieve the Aegis type objects for the root classes.
Returns:
the set of type objects.

getBeanImplementationMap

This property provides support for interfaces. If there is a mapping from an interface's Class to a string containing a class name, Aegis will create proxy objects of that class name.
Returns:
See Also:
BeanType

setBeanImplementationMap

getRootClasses

setRootClasses

The list of initial classes.
Parameters:
rootClasses -

isMtomEnabled

Is MTOM enabled in this context?
Returns:

setMtomEnabled

isMtomUseXmime

Should this service use schema for MTOM types xmime:base64Binary instead of xsd:base64Binary?
Returns:

setMtomUseXmime

getMappingNamespaceURI

What URI identifies the type mapping for this context? When the XMLTypeCreator reads .aegis.xml file, it will only read mappings for this URI (or no URI). When the abstract type creator is otherwise at a loss for a namespace URI, it will use this URI.
Returns:

setMappingNamespaceURI

isEnableJDOMMappings

setEnableJDOMMappings

Whether to enable JDOM as a mapping for xsd:anyType if JDOM is in the classpath.
Parameters:
enableJDOMMappings -
OverviewPackageClassUseTreeDeprecatedIndexHelp
Apache CXF APIFRAMESNO FRAMESAll Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHODApache CXF

License: All 1 2 | Free

This control emulates the LED or LCD multi segment displays commonly used on electrical and electronic items, and provides a more impressive and eye-catching alternative to the Label control. It will Display upper and lower case letters, numbers, and all the most commonly used symbols. It is also possible to set custom characters or graphics in code, a few examples of which are shown in...

Category: Software Development
Publisher: Teroid Software Limited, License: Commercial, Price: USD $19.95, File Size: 541.0 KB
Platform: Windows


Teroid Seven Segment Display is a .NET Windows Forms Control which emulates the LED or LCD displays used to show numbers on electrical and electronic equipment. It can Display an integer or decimal value, including negative numbers, and can be set to Display any number of individual digits as either fixed- or floating-point. All colors are fully...

Category: Software Development
Publisher: Teroid Software Limited, License: Commercial, Price: USD $19.95, File Size: 517.6 KB
Platform: Windows

The MIDI Display is a program consisting of 16 Virtual Keyboards, one for each MIDI channel. As notes are played they are displayed on the corresponding channel in varying shades of blue; Light blue for the softer notes and dark blue for the loudest. Program changes are converted to the General MIDI program name. And the best news is that it's FREE Yes, that's right FREE with no...

Category: Audio
Publisher: L and L's Software Delicatessen, License: Freeware, Price: USD $0.00, File Size: 533.4 KB
Platform: Windows

AV Manager 3.0 by Viscomsoft is a simple and easy Information / Multi-media Display System. It can operate multiple Display units ( LED / LCD displays, Plasma TV, Projectors, Bulletin or Videowall ) remotely across a network ( LAN / WAN or Internet). AV Manager 3.0 supports various types of contents, such as VIDEO ( vcd / dvd / mpeg-1 / mpeg-2 / mpeg-4 / avi / wmv / asf /...

Category: Software Development
Publisher: Viscom Software, License: Shareware, Price: USD $500.00, File Size: 8.3 MB
Platform: Windows

Display Tuner provides convenient access to the monitor settings, such as brightness, contrast, color settings or geometry. If your monitor has speakers or a microphone, Display Tuner will allow you to change their volume easily. You can define several profiles with different color settings (for example, 'Films', 'Text', 'Games') and Display Tuner will allow you to easily...

Category: Multimedia & Design
Publisher: Nicomsoft Ltd., License: Freeware, Price: USD $0.00, File Size: 681.3 KB
Platform: Windows

Love MSN Display Picture creator allows you to easily and instantly create your very customized, love related MSN Messenger Display Pictures. There are four different types of Display pictures to customize such as names and initials in hearts, or you can add your very own special messages to the templates. Other customizations include optional extra graphics and text...

Category: Internet
Publisher: Love MSN Display Pictures, License: Freeware, Price: USD $0.00, File Size: 206.4 KB
Platform: Windows

The Love Initials MSN Display Pictures set is a compilation of Display pictures that can be used to represent the initials of your loved ones in MSN Messenger this Valentine's Day. All of the letters of the alphabet (English) are included, perfect for showing that special someone that you care on MSN Messenger! Compatible with MSN 7 and MSN Messenger 6. Quick download and easy setup!

Category: Internet
Publisher: Love MSN Display Pictures, License: Freeware, Price: USD $0.00, File Size: 232.1 KB
Platform: Windows

The MSN Display Picture adder allows you to quickly import any folder containing images into MSN Messenger as Display Pictures. Allows for quick and effortless adding of new MSN Display Pictures, such as downloaded picture packages. Once you have the pictures in a folder, you just point the Display Picture Adder to that folder and everything will be added to MSN as...

Category: Internet
Publisher: Free MSN Display Pictures, License: Freeware, Price: USD $0.00, File Size: 24.0 KB
Platform: Windows

The Valentine MSN Display Pictures pack is a great set of Display pictures for MSN Messenger, all relating to love, romance and Valentine's Day. This is the perfect Display picture set for all of the passionate and romantic chatters out there. Compatible with MSN 7 (and MSN Messenger 6), Quick download and easy setup!

Category: Internet
Publisher: Valentine MSN Display Pictures, License: Freeware, Price: USD $0.00, File Size: 231.2 KB
Platform: Windows

Disputing Display resolution and brightness settings with your colleagues or kids? Stop the squabbles with this program! Display Resolution Manager is a utility that allows multiple users sharing a computer to set their own Display resolution, gamma, brigtness and contrast preferences. Display Resolution Manager will give you an opportunity to work with your...

Category: Utilities
Publisher: ByteGems.com Software, License: Shareware, Price: USD $14.95, File Size: 618.5 KB
Platform: Windows

Display IP Address software download to show IP Address as visible to world in a small popup Window. Launch Desktop Shortcut to Display IP Address in a small window or launch shortcut to copy computer's IP Address to clipboard. The IP Address showsn by the Software would be the IP Address of your Computer as visible to the outside world and would not be your network IP Address....

Category: Utilities / Network
Publisher: Murgee Dot Com, License: Shareware, Price: USD $5.00, File Size: 620.2 KB
Platform: Windows

AV Manager is a Digital Signage, Multimedia Display, Digital Video Management software which can operate multiple Display units ( plasma, LED, LCD displays, VGA projectors and video walls) AV Manager supports various types of contents, such as F4V, M2TS,MPEG-1, MPEG-2, MKV, .DIVX, AVI, WMV, ASF, QuickTime, TV channel, cable TV, web cam, text, BMP, GIF, JPEG image, live events...

TypeCreator

Category: Multimedia & Design / Media Management
Publisher: Viscom Software, License: Shareware, Price: USD $800.00, File Size: 25.2 MB
Platform: Windows

AV Manager is a Digital Signage, Multimedia Display, Digital Video Management software which can operate multiple Display units ( plasma, LED, LCD displays, VGA projectors and video walls) AV Manager supports various types of contents, such as M2TS, F4V,MPEG-1, MPEG-2,AVI, WMV, ASF, QuickTime, TV channel, cable TV, web cam, text, BMP, GIF, JPEG image, and RSS on-line...

Category: Multimedia & Design / Video
Publisher: Viscom Software, License: Shareware, Price: USD $600.00, File Size: 20.7 MB
Platform: Windows

Destiny Data Systems Seven Segment Display is a JavaScript widget emulating the LED or LCD displays commonly used on electrical and electronic equipment to Display numerical information. All you need to do is include the .js file in your page, add an element, and create a SevenSegmentDisplay object in your code. You can then set the following properties:...

Category: Software Development / Components & Libraries
Publisher: Destiny Data Systems, License: Freeware, Price: USD $0.00, File Size: 1024 B
Platform: Windows, Mac, Linux, iOS, Android, iPhone, iPad

Destiny Data Systems Seven Segment Display is a JavaScript widget emulating the LED or LCD displays commonly used on electrical and electronic equipment to Display alphanumeric data. All you need to do is include the .js file in your page, add an SVG element, and create a MultiSegmentDisplay object in your code. You can then set the following properties:...

Category: Software Development / Components & Libraries
Publisher: Destiny Data Systems, License: Freeware, Price: USD $0.00, File Size: 1024 B
Platform: Windows, Mac, Linux, iOS, Android, iPhone, iPad

DIGITAL SIGNAGE MADE SIMPLE WITH EASY-MULTI-Display Dynamic signage has become increasingly popular in recent years, with more and more brands eagerly adopting this new form of digital communication. However, for some businesses attaining the software required to mobilise this solution can be more than a little tricky. Barriers to entry include everything from business size to...

Category: Business & Finance / Business Finance
Publisher: Virtual Cockpit UK Limited by Shares, License: Shareware, Price: USD $449.00, File Size: 235.5 MB
Platform: Windows

Advanced Desktop Shield - security utility is a must for public access PCs located in school or university labs, Internet cafes, libraries and other public places where you need to stop users from changing desktop wallpaper and screen saver, deleting, creating and renaming desktop icons, changing Display settings and so on. With Advanced Desktop Shield you can backup, restore and manage...

Category: Security & Privacy / Access Control
Publisher: IM-Soft, License: Shareware, Price: USD $69.00, File Size: 1.9 MB
Platform: Windows

The purpose of Easy Com is to, in an easy and reliable way, test communications with various peripheral devices in the 32 bit Windows environments, and to display data and signals in a logical and understandable way.

Category: Software Development / ActiveX
Publisher: Brian Thorne, License: Shareware, Price: USD $50.00, File Size: 745.0 KB
Platform: Unknown

The fonXL Call Display Screen Saver turns your computer into a Call Display unit using your computerls modem. This fully functional, easy-to-use software combines an elegant translucent design with powerful Call Display technology. The screen saver logs incoming calls while youlre away from your desk, and allows you to navigate and return the calls with a single push of...

Category: Desktop Enhancements / Screensavers
Publisher: Oleg Afonin, License: Shareware, Price: USD $12.95, File Size: 384.0 KB
Platform: Unknown

Traffic Counter is an easy-to-use tool to Display and count network traffic of your computer. If you have limited monthly Internet traffic and always run P2P software such as BitTorrent, you may be in risk to be fined by your ISP because of your huge traffic consuming. Traffic Counter reports daily and monthly traffic. It allows you to set monthly traffic limit, alerts you when the...

Category: Internet / Dial-up & Connectivity
Publisher: DigitByte Studio, License: Shareware, Price: USD $29.99, File Size: 439.0 KB
Platform: Unknown

MiniLyrics is an amazing lyrics plugin for iTunes, Winamp, Windows Media Player, etc. It will download and Display lyrics automatically, you can catch every word. MiniLyrics can save lyrics in mp3 files, you can view lyrics on iPod touch or iPhone. MiniLyrics can Display lyrics in Winamp, Windows Media Player, iTunes, Zune, Foobar2000, Songbird, Spotify, MediaMonkey, VLC Media...

Category: Home & Education / Teaching Tools
Publisher: Crintsoft, License: Shareware, Price: USD $14.95, File Size: 1.7 MB
Platform: Windows

BuilderEditor is a powerful and easy to use ASP.NET RAD component for maintaining a datasource (e.g. SQL database, dataset). It allows you to add, edit, delete and Display data from a data source. It generates the data entry forms used to insert and edit data based on the data source schema. In the same way it generates the data forms used to Display data. The data entry forms may...

Category: Software Development
Publisher: mixba.com, License: Shareware, Price: USD $149.00, File Size: 3.4 MB
Platform: Windows

ActiveX/OCX control to draw 2D pie charts, bar charts & line graphs. As well as displaying the graphs they can be exported to file in gif, png, bmp, jpg or pcx format. Output can be exported as binary data for use with web applications, or copied to the clipboard. A comprehensive selection of properties allow control over colours, fonts, formatting and layout. Pie and bar charts can be drawn...

Scala Typecreator

Category: Software Development
Publisher: Chestysoft, License: Demo, Price: USD $60.00, File Size: 976.3 KB
Platform: Windows

Type Creator

LuckyZoom is the best way to Display your images in incredible detail. Your customer does not need to click anything - they just move their mouse over image and can see every detail in your product! Features include: Fast - the page loads as normal and then the high resolution zoomed image downloads invisibly in the background. Easy - you can add LuckyZoom to your website with only 3...

Category: Software Development
Publisher: LuckyTeam, License: Commercial, Price: USD $25.00, File Size: 4.7 KB
Platform: Unknown

TActiveMovie is a VCL component for Delphi or C++ Builder. TActiveMovie allows you to embed the Microsoft's Media Player within your project. With TActiveMovie you can play forwards, backwards, zoom in, zoom out, scroll horizontally and vertically, Display videos in full screen mode. You can capture frames individually or automatically to TBitmap, TImage, BMP or JPEG files. You can...

Category: Software Development
Publisher: DATASTEAD Sarl, License: Demo, Price: USD $149.00, File Size: 1.8 MB
Platform: Windows