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 and Description |
---|---|
interface |
CClass
Either
CClassInfo or CClassRef . |
interface |
CNonElement
NonElement at compile-time. |
Modifier and Type | Class and 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 and 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 and 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 and Description |
---|---|
Map<QName,TypeUse> |
Model.typeUses() |
Modifier and Type | Method and 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,
com.sun.xml.xsom.XmlString defaultValue)
Creates a new
CDefaultValue that computes the default value
by applying a lexical representation to a TypeUse . |
void |
CElementInfo.initContentType(TypeUse contentType,
com.sun.xml.xsom.XSElementDecl source,
com.sun.xml.xsom.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 and Description |
---|
CAttributePropertyInfo(String name,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
Locator locator,
QName attName,
TypeUse type,
QName typeName,
boolean required) |
CElementInfo(Model model,
QName tagName,
CClassInfoParent parent,
TypeUse contentType,
com.sun.xml.xsom.XmlString defaultValue,
com.sun.xml.xsom.XSElementDecl source,
CCustomizations customizations,
Locator location)
Creates an element in the given parent.
|
CValuePropertyInfo(String name,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
Locator locator,
TypeUse type,
QName typeName) |
Modifier and Type | Method and 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 and Description |
---|---|
static Map<String,TypeUse> |
SimpleTypeBuilder.builtinConversions
TypeUse s for the built-in types. |
com.sun.xml.xsom.visitor.XSSimpleTypeFunction<TypeUse> |
SimpleTypeBuilder.composer |
Modifier and Type | Method and Description |
---|---|
TypeUse |
ClassSelector.bindToType(com.sun.xml.xsom.XSType t,
com.sun.xml.xsom.XSComponent referer) |
TypeUse |
SimpleTypeBuilder.build(com.sun.xml.xsom.XSSimpleType type)
Entry point from outside.
|
TypeUse |
SimpleTypeBuilder.buildDef(com.sun.xml.xsom.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 and Description |
---|---|
abstract TypeUse |
BIConversion.getTypeUse(com.sun.xml.xsom.XSSimpleType owner)
Gets the
TypeUse object that this conversion represents. |
TypeUse |
BIConversion.Static.getTypeUse(com.sun.xml.xsom.XSSimpleType owner) |
TypeUse |
BIConversion.User.getTypeUse(com.sun.xml.xsom.XSSimpleType owner) |
TypeUse |
BIConversion.UserAdapter.getTypeUse(com.sun.xml.xsom.XSSimpleType owner) |
Modifier and Type | Method and Description |
---|---|
CAttributePropertyInfo |
BIProperty.createAttributeProperty(com.sun.xml.xsom.XSAttributeUse use,
TypeUse tu) |
CValuePropertyInfo |
BIProperty.createValueProperty(String defaultName,
boolean forConstant,
com.sun.xml.xsom.XSComponent source,
TypeUse tu,
QName typeName) |
Constructor and Description |
---|
Static(Locator loc,
TypeUse transducer) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.