ReferencePropertyInfo.
| Modifier and Type | Field and Description |
|---|---|
| private final C | |
| private static boolean | is2_2
If we find out that we are working with 2.1 API, remember the fact so that
we don't waste time generating exceptions every time we call |
| private final boolean | |
| private Boolean | isRequired
Lazily computed. |
| private Set | |
| private Set | types
Lazily computed. |
| private final WildcardMode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| public void | addType(PropertyInfo<T, C> info)
Implements org.
|
| private void | |
| public final C | getDOMHandler()
Implements org. If this property supports the wildcard, returns its DOM handler. |
| private String | |
| public Set | getElements()
Implements org. Returns the information about the possible elements in this property. |
| public final WildcardMode | getWildcard()
Implements org. If this property supports the wildcard, returns its mode. |
| public final boolean | isMixed()
Implements org. Returns true if this property can hold |
| public boolean | isRequired()
Implements org. Returns true if this element is mandatory. |
| private boolean | |
| public PropertyKind | kind()
Implements org. Gets the kind of this property. |
| protected void | link()
Overrides org. Called after all the |
| public Set | ref()
Implements org. List of |
| domHandler | back to summary |
|---|---|
| private final C domHandler | |
| is2_2 | back to summary |
|---|---|
| private static boolean is2_2 If we find out that we are working with 2.1 API, remember the fact so that
we don't waste time generating exceptions every time we call | |
| isMixed | back to summary |
|---|---|
| private final boolean isMixed | |
| isRequired | back to summary |
|---|---|
| private Boolean isRequired Lazily computed.
| |
| subTypes | back to summary |
|---|---|
| private Set<ReferencePropertyInfoImpl<T, C, F, M>> subTypes | |
| types | back to summary |
|---|---|
| private Set<Element<T, C>> types Lazily computed.
| |
| wildcard | back to summary |
|---|---|
| private final WildcardMode wildcard | |
| ReferencePropertyInfoImpl | back to summary |
|---|---|
| public ReferencePropertyInfoImpl(ClassInfoImpl<T, C, F, M> classInfo, PropertySeed<T, C, F, M> seed) | |
| addAllSubtypes | back to summary |
|---|---|
| private boolean addAllSubtypes(T type) | |
| addGenericElement | back to summary |
|---|---|
private boolean addGenericElement(XmlElementRef r)
| |
| addGenericElement | back to summary |
|---|---|
| private boolean addGenericElement(XmlElementRef r, ReferencePropertyInfoImpl<T, C, F, M> info) | |
| addGenericElement | back to summary |
|---|---|
| private boolean addGenericElement(ElementInfo<T, C> ei) | |
| addType | back to summary |
|---|---|
| public void addType(PropertyInfo<T, C> info) Implements org.
| |
| calcTypes | back to summary |
|---|---|
| private void calcTypes(boolean last) Compute
| |
| getDOMHandler | back to summary |
|---|---|
| public final C getDOMHandler() Implements org. Doc from org. If this property supports the wildcard, returns its DOM handler.
| |
| getEffectiveNamespaceFor | back to summary |
|---|---|
| private String getEffectiveNamespaceFor(XmlElementRef r) | |
| getElements | back to summary |
|---|---|
| public Set Implements org. Doc from org. Returns the information about the possible elements in this property. As of 2004/08/17, the spec only allows you to use different element names when a property is a collection, but I think there's really no reason to limit it there --- if the user wants to use a different tag name for different objects, I don't see why this can be limited to collections. So this is a generalization of the spec. We always allow a property to have multiple types and use different tag names for it, depending on the actual type. In most of the cases, this collection only contains 1 item. So the runtime system is encouraged to provide a faster code-path that is optimized toward such cases.
| |
| getWildcard | back to summary |
|---|---|
| public final WildcardMode getWildcard() Implements org. Doc from org. If this property supports the wildcard, returns its mode.
| |
| isMixed | back to summary |
|---|---|
| public final boolean isMixed() Implements org. Doc from org. Returns true if this property can hold
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() Implements org. Doc from org. Returns true if this element is mandatory.
| |
| isRequired | back to summary |
|---|---|
| private boolean isRequired(XmlElementRef ref) Reads the value of | |
| kind | back to summary |
|---|---|
| public PropertyKind kind() Implements org. Doc from org. Gets the kind of this property.
| |
| link | back to summary |
|---|---|
| protected void link() Overrides org. Doc from org. Called after all the
| |
| ref | back to summary |
|---|---|
| public Set Implements org. Doc from org. List of
| |