Package | Description |
---|---|
com.sun.tools.xjc.model |
Implementation of the
com.sun.xml.bind.v2.model.core package for XJC. |
com.sun.tools.xjc.reader.dtd.bindinfo |
Object Model that represents DTD binding information.
|
com.sun.tools.xjc.reader.xmlschema | |
com.sun.tools.xjc.reader.xmlschema.bindinfo |
Object Model that represents customization declarations.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
CClass |
Either
CClassInfo or CClassRef . |
interface |
CNonElement |
NonElement at compile-time. |
Modifier and Type | Class | Description |
---|---|---|
class |
CArrayInfo |
Because XJC doesn't generate the array binding, this class will
never show up in the model constructed by XJC.
|
class |
CBuiltinLeafInfo |
Encapsulates the default handling for leaf classes (which are bound
to text in XML.) In particular this class knows how to convert
the lexical value into the Java class according to this default rule.
|
class |
CClassInfo |
Mutable
ClassInfo representation. |
class |
CClassRef |
Reference to an existing class.
|
class |
CEnumLeafInfo |
Transducer that converts a string into an "enumeration class."
The structure of the generated class needs to precisely
follow the JAXB spec.
|
Modifier and Type | Field | Description |
---|---|---|
static TypeUse |
CBuiltinLeafInfo.BOOLEAN_ZERO_OR_ONE |
boolean restricted to 0 or 1.
|
static TypeUse |
CBuiltinLeafInfo.HEXBIN_BYTE_ARRAY |
|
static TypeUse |
CBuiltinLeafInfo.ID |
|
static TypeUse |
CBuiltinLeafInfo.IDREF |
IDREF.
|
static TypeUse |
CBuiltinLeafInfo.NORMALIZED_STRING |
|
static TypeUse |
CBuiltinLeafInfo.STRING_LIST |
For all list of strings, such as NMTOKENS, ENTITIES.
|
static TypeUse |
CBuiltinLeafInfo.TOKEN |
Modifier and Type | Method | Description |
---|---|---|
static TypeUse |
TypeUseFactory.adapt(TypeUse t,
CAdapter adapter) |
|
static TypeUse |
TypeUseFactory.adapt(TypeUse t,
Class<? extends XmlAdapter> adapter,
boolean copy) |
|
TypeUse |
CBuiltinLeafInfo.makeAdapted(Class<? extends XmlAdapter> adapter,
boolean copy) |
Creates a
TypeUse that represents an adapted use of this CBuiltinLeafInfo . |
TypeUse |
CBuiltinLeafInfo.makeCollection() |
Creates a
TypeUse that represents a collection of this CBuiltinLeafInfo . |
static TypeUse |
TypeUseFactory.makeCollection(TypeUse t) |
|
static TypeUse |
TypeUseFactory.makeID(TypeUse t,
ID id) |
|
TypeUse |
CBuiltinLeafInfo.makeMimeTyped(MimeType mt) |
Creates a
TypeUse that represents a MIME-type assocaited version of this CBuiltinLeafInfo . |
static TypeUse |
TypeUseFactory.makeMimeTyped(TypeUse t,
MimeType mt) |
Modifier and Type | Method | Description |
---|---|---|
Map<QName,TypeUse> |
Model.typeUses() |
Modifier and Type | Method | Description |
---|---|---|
static TypeUse |
TypeUseFactory.adapt(TypeUse t,
CAdapter adapter) |
|
static TypeUse |
TypeUseFactory.adapt(TypeUse t,
Class<? extends XmlAdapter> adapter,
boolean copy) |
|
static CDefaultValue |
CDefaultValue.create(TypeUse typeUse,
XmlString defaultValue) |
Creates a new
CDefaultValue that computes the default value
by applying a lexical representation to a TypeUse . |
void |
CElementInfo.initContentType(TypeUse contentType,
XSElementDecl source,
XmlString defaultValue) |
|
static TypeUse |
TypeUseFactory.makeCollection(TypeUse t) |
|
static TypeUse |
TypeUseFactory.makeID(TypeUse t,
ID id) |
|
static TypeUse |
TypeUseFactory.makeMimeTyped(TypeUse t,
MimeType mt) |
|
protected static boolean |
CPropertyInfo.needsExplicitTypeName(TypeUse type,
QName typeName) |
Checks if the given
TypeUse would need an explicit XmlSchemaType
annotation with the given type name. |
Constructor | Description |
---|---|
CAttributePropertyInfo(String name,
XSComponent source,
CCustomizations customizations,
Locator locator,
QName attName,
TypeUse type,
QName typeName,
boolean required) |
|
CElementInfo(Model model,
QName tagName,
CClassInfoParent parent,
TypeUse contentType,
XmlString defaultValue,
XSElementDecl source,
CCustomizations customizations,
Locator location) |
Creates an element in the given parent.
|
CValuePropertyInfo(String name,
XSComponent source,
CCustomizations customizations,
Locator locator,
TypeUse type,
QName typeName) |
Modifier and Type | Method | Description |
---|---|---|
TypeUse |
BIConversion.getTransducer() |
Gets a transducer for this conversion.
|
TypeUse |
BIEnumeration.getTransducer() |
Returns a transducer for this enumeration declaration.
|
TypeUse |
BIUserConversion.getTransducer() |
Gets a transducer for this conversion.
|
Modifier and Type | Field | Description |
---|---|---|
static Map<String,TypeUse> |
SimpleTypeBuilder.builtinConversions |
TypeUse s for the built-in types. |
XSSimpleTypeFunction<TypeUse> |
SimpleTypeBuilder.composer |
Modifier and Type | Method | Description |
---|---|---|
TypeUse |
ClassSelector.bindToType(XSType t,
XSComponent referer) |
|
TypeUse |
SimpleTypeBuilder.build(XSSimpleType type) |
Entry point from outside.
|
TypeUse |
SimpleTypeBuilder.buildDef(XSSimpleType type) |
A version of the
SimpleTypeBuilder.build(XSSimpleType) method
used to bind the definition of a class generated from
the given simple type. |
Modifier and Type | Method | Description |
---|---|---|
abstract TypeUse |
BIConversion.getTypeUse(XSSimpleType owner) |
Gets the
TypeUse object that this conversion represents. |
TypeUse |
BIConversion.Static.getTypeUse(XSSimpleType owner) |
|
TypeUse |
BIConversion.User.getTypeUse(XSSimpleType owner) |
|
TypeUse |
BIConversion.UserAdapter.getTypeUse(XSSimpleType owner) |
Modifier and Type | Method | Description |
---|---|---|
CAttributePropertyInfo |
BIProperty.createAttributeProperty(XSAttributeUse use,
TypeUse tu) |
|
CValuePropertyInfo |
BIProperty.createValueProperty(String defaultName,
boolean forConstant,
XSComponent source,
TypeUse tu,
QName typeName) |
Constructor | Description |
---|---|
Static(Locator loc,
TypeUse transducer) |
Copyright © 2018 Oracle Corporation. All rights reserved.