|
org.netbeans.modules.xml.xam/1 1.18.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Reference<T extends Referenceable>
Represents reference to a component. On writing, this indirection help serialize the referenced component as an attribute string value. On reading, the referenced can be resolved on demand.
Note: Client code should always check for brokeness before access the referenced.
| Method Summary | |
|---|---|
T |
get()
|
String |
getRefString()
|
Class<T> |
getType()
Returns type of the referenced. |
boolean |
isBroken()
Returns true if the reference cannot be resolved in the current document |
boolean |
references(T target)
Returns true if this reference refers to target. |
| Method Detail |
|---|
T get()
Class<T> getType()
boolean isBroken()
boolean references(T target)
Note: In some implementation, this method could be more efficient than invoking #get() for direct checking.
String getRefString()
|
org.netbeans.modules.xml.xam/1 1.18.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||