|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.codegen.custom.BaseExtension
public abstract class BaseExtension
Base extension information for any schema component. This is the basic extension structure that applies to each schema component.
Field Summary | |
---|---|
static int |
ARITY_OPTIONAL_COLLECTION
|
static int |
ARITY_OPTIONAL_SINGLETON
|
static int |
ARITY_REQUIRED_COLLECTION
|
static int |
ARITY_REQUIRED_SINGLETON
|
private OpenAttrBase |
m_component
Annotated schema definition component. |
private TypeReplacer |
m_typeReplacer
Type replacement implementation ( null if no replacements at this level). |
private static Logger |
s_logger
Logger for class. |
Constructor Summary | |
---|---|
BaseExtension(OpenAttrBase comp)
Constructor. |
Method Summary | |
---|---|
OpenAttrBase |
getComponent()
Get schema component. |
QName |
getReplacementType(QName qname)
Get the replacement type to be substituted for a supplied type. |
void |
setTypeReplacer(TypeReplacer replacer)
Set type replacer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logger s_logger
public static final int ARITY_OPTIONAL_SINGLETON
public static final int ARITY_REQUIRED_SINGLETON
public static final int ARITY_OPTIONAL_COLLECTION
public static final int ARITY_REQUIRED_COLLECTION
private final OpenAttrBase m_component
private TypeReplacer m_typeReplacer
null
if no replacements at this level).
Constructor Detail |
---|
public BaseExtension(OpenAttrBase comp)
comp
- Method Detail |
---|
public OpenAttrBase getComponent()
public void setTypeReplacer(TypeReplacer replacer)
replacer
- public QName getReplacementType(QName qname)
qname
- original type
null
if deletion; original type, if no substitution defined)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |