AttributePropertyInfo for the compiler.
| Modifier and Type | Field and Description |
|---|---|
| private final QName | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | CAttributePropertyInfo(String name, XSComponent source, CCustomizations customizations, Locator locator, QName attName, TypeUse
Represents the bound type of this attribute. type, QName XML Schema type name of this attribute. Optional for other schema languages. typeName, boolean required)
|
| Modifier and Type | Method and Description |
|---|---|
| public <V> V | accept(CPropertyVisitor<V> visitor)
Implements abstract com.
|
| public <R, P> R | accept(CPropertyVisitor2<R, P> visitor, P p)
Implements abstract com.
|
| public QName | getXmlName()
Implements org. Gets the attribute name. |
| public boolean | isOptionalPrimitive()
Overrides com. Returns true if this property needs to represent null just for the purpose of representing an absence of the property. |
| public boolean | isRequired()
Implements org. Returns true if this attribute is mandatory. |
| public boolean | isUnboxable()
Overrides com. An optional attribute can never be unboxable, for we need null to represent the absence. |
| public PropertyKind | kind()
Implements org. Gets the kind of this property. |
| attName | back to summary |
|---|---|
| private final QName attName | |
| isRequired | back to summary |
|---|---|
| private final boolean isRequired | |
| CAttributePropertyInfo | back to summary |
|---|---|
| public CAttributePropertyInfo(String name, XSComponent source, CCustomizations customizations, Locator locator, QName attName, TypeUse type, QName typeName, boolean required) | |
| accept | back to summary |
|---|---|
| public <V> V accept(CPropertyVisitor<V> visitor) Implements abstract com.
| |
| accept | back to summary |
|---|---|
| public <R, P> R accept(CPropertyVisitor2<R, P> visitor, P p) Implements abstract com.
| |
| getXmlName | back to summary |
|---|---|
| public QName getXmlName() Implements org. Doc from org. Gets the attribute name.
| |
| isOptionalPrimitive | back to summary |
|---|---|
| public boolean isOptionalPrimitive() Overrides com. Doc from com. Returns true if this property needs to represent null just for the purpose of representing an absence of the property.
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() Implements org. Doc from org. Returns true if this attribute is mandatory.
| |
| isUnboxable | back to summary |
|---|---|
| public boolean isUnboxable() Overrides com. An optional attribute can never be unboxable, for we need null to represent the absence.
| |
| kind | back to summary |
|---|---|
| public PropertyKind kind() Implements org. Doc from org. Gets the kind of this property.
| |