org.jvnet.jaxb2_commons.xml.bind.model.concrete
Class CMClassInfo<T,C extends T>
java.lang.Object
org.jvnet.jaxb2_commons.xml.bind.model.concrete.CMClassInfo<T,C>
- All Implemented Interfaces:
- MClassInfo<T,C>, MClassTypeInfo<T,C>, MContained, MContainer, MCustomizable, MPackaged, MPackagedTypeInfo<T,C>, MTypeInfo<T,C>, MOriginated<MClassInfoOrigin>
public class CMClassInfo<T,C extends T>
- extends Object
- implements MClassInfo<T,C>
|
Method Summary |
|
acceptClassTypeInfoVisitor(MClassTypeInfoVisitor<T,C,V> visitor)
|
|
acceptTypeInfoVisitor(MTypeInfoVisitor<T,C,V> visitor)
|
void |
addProperty(MPropertyInfo<T,C> propertyInfo)
|
MElementInfo<T,C> |
createElementInfo(MTypeInfo<T,C> scope,
QName substitutionHead)
|
MClassTypeInfo<T,C> |
getBaseTypeInfo()
|
MContainer |
getContainer()
|
String |
getContainerLocalName(String delimiter)
|
MCustomizations |
getCustomizations()
|
QName |
getElementName()
|
String |
getLocalName()
|
String |
getName()
|
MClassInfoOrigin |
getOrigin()
|
MPackageInfo |
getPackageInfo()
|
List<MPropertyInfo<T,C>> |
getProperties()
|
MContainer |
getScope()
|
C |
getTargetClass()
|
T |
getTargetType()
|
void |
removeProperty(MPropertyInfo<T,C> propertyInfo)
|
String |
toString()
|
CMClassInfo
public CMClassInfo(MClassInfoOrigin origin,
C targetClass,
MPackageInfo _package,
MContainer container,
String localName,
MClassTypeInfo<T,C> baseTypeInfo,
QName elementName)
getCustomizations
public MCustomizations getCustomizations()
- Specified by:
getCustomizations in interface MCustomizable
getOrigin
public MClassInfoOrigin getOrigin()
- Specified by:
getOrigin in interface MOriginated<MClassInfoOrigin>
getTargetClass
public C getTargetClass()
- Specified by:
getTargetClass in interface MClassTypeInfo<T,C extends T>
getTargetType
public T getTargetType()
- Specified by:
getTargetType in interface MTypeInfo<T,C extends T>
createElementInfo
public MElementInfo<T,C> createElementInfo(MTypeInfo<T,C> scope,
QName substitutionHead)
- Specified by:
createElementInfo in interface MClassInfo<T,C extends T>
getPackageInfo
public MPackageInfo getPackageInfo()
- Specified by:
getPackageInfo in interface MPackaged
getName
public String getName()
- Specified by:
getName in interface MPackagedTypeInfo<T,C extends T>
getLocalName
public String getLocalName()
- Specified by:
getLocalName in interface MContainer- Specified by:
getLocalName in interface MPackagedTypeInfo<T,C extends T>
getContainer
public MContainer getContainer()
- Specified by:
getContainer in interface MContained
getContainerLocalName
public String getContainerLocalName(String delimiter)
- Specified by:
getContainerLocalName in interface MContained- Specified by:
getContainerLocalName in interface MContainer
getScope
public MContainer getScope()
getBaseTypeInfo
public MClassTypeInfo<T,C> getBaseTypeInfo()
- Specified by:
getBaseTypeInfo in interface MClassInfo<T,C extends T>
getProperties
public List<MPropertyInfo<T,C>> getProperties()
- Specified by:
getProperties in interface MClassInfo<T,C extends T>
getElementName
public QName getElementName()
- Specified by:
getElementName in interface MClassInfo<T,C extends T>
addProperty
public void addProperty(MPropertyInfo<T,C> propertyInfo)
- Specified by:
addProperty in interface MClassInfo<T,C extends T>
removeProperty
public void removeProperty(MPropertyInfo<T,C> propertyInfo)
- Specified by:
removeProperty in interface MClassInfo<T,C extends T>
toString
public String toString()
- Overrides:
toString in class Object
acceptTypeInfoVisitor
public <V> V acceptTypeInfoVisitor(MTypeInfoVisitor<T,C,V> visitor)
- Specified by:
acceptTypeInfoVisitor in interface MTypeInfo<T,C extends T>
acceptClassTypeInfoVisitor
public <V> V acceptClassTypeInfoVisitor(MClassTypeInfoVisitor<T,C,V> visitor)
- Specified by:
acceptClassTypeInfoVisitor in interface MClassTypeInfo<T,C extends T>
Copyright © 2005-2015. All Rights Reserved.