| Package | Description |
|---|---|
| commonj.sdo | |
| commonj.sdo.helper |
| Modifier and Type | Method and Description |
|---|---|
Type |
Property.getContainingType()
Returns the containing type of this Property.
|
Type |
Property.getType()
Returns the type of the Property.
|
Type |
DataObject.getType()
Returns the data object's type.
|
Type |
DataGraph.getType(String uri,
String typeName)
|
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
Type.getBaseTypes()
Returns the List of base Types for this Type.
|
| Modifier and Type | Method and Description |
|---|---|
DataObject |
DataObject.createDataObject(Property property,
Type type)
Returns a new
data object contained by this object using the specified property,
which must be of containment type. |
DataObject |
DataGraph.createRootObject(Type type)
Creates a new root data object of the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeHelper.define(DataObject type)
Define the DataObject as a Type.
|
Type |
TypeHelper.getType(Class interfaceClass)
Return the Type for this interfaceClass or null if not found.
|
Type |
TypeHelper.getType(String uri,
String typeName)
Return the Type specified by typeName with the given uri,
or null if not found.
|
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
XSDHelper.define(InputStream xsdInputStream,
String schemaLocation)
Define XML Schema as Types.
|
List<Type> |
XSDHelper.define(Reader xsdReader,
String schemaLocation)
Define XML Schema as Types.
|
List<Type> |
XSDHelper.define(String xsd)
Define the XML Schema as Types.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
DataHelper.convert(Type type,
Object value)
Convert the specified value to an
instance
of the specified type. |
DataObject |
DataFactory.create(Type type)
Create a DataObject of the Type specified.
|
String |
XSDHelper.getAppinfo(Type type,
String source)
Return the appinfo declared for this Type and source.
|
String |
XSDHelper.getLocalName(Type type)
Returns the local name as declared in the XSD.
|
boolean |
XSDHelper.isMixed(Type type)
Returns true if the Type is declared to contain mixed content.
|
boolean |
XSDHelper.isXSD(Type type)
Indicates if this helper contains XSD information for the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
XSDHelper.generate(List<Type> types)
Generate an XML Schema Declaration (XSD) from Types.
|
String |
XSDHelper.generate(List<Type> types,
Map<String,String> namespaceToSchemaLocation)
Generate an XML Schema Declaration (XSD) from Types.
|
Copyright © 2017. All rights reserved.