com.sun.tools.xjc.model
public final class CAttributePropertyInfo extends CSingleTypePropertyInfo implements AttributePropertyInfo<NType,NClass>
| Constructor Summary | |
|---|---|
| CAttributePropertyInfo(String name, XSComponent source, CCustomizations customizations, Locator locator, QName attName, TypeUse type, QName typeName, boolean required) | |
| Method Summary | |
|---|---|
| <V> V | accept(CPropertyVisitor<V> visitor) |
| QName | getXmlName() |
| boolean | isOptionalPrimitive() |
| boolean | isRequired() |
| boolean | isUnboxable()
An optional attribute can never be unboxable,
for we need null to represent the absence. |
| PropertyKind | kind() |
Parameters: type Represents the bound type of this attribute. typeName XML Schema type name of this attribute. Optional for other schema languages.