|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Common interface for accessing the content and context of an instance or an occurrence.
Adaptation| Method Summary | |
String |
displayOccurrence(Object value,
Locale aLocale)
Deprecated. This method is replaced by SchemaNode.displayOccurrence(Object, boolean, ValueContext, Locale) |
String |
formatOccurrence(Object value)
Deprecated. Client code should call either SchemaNode.formatToXsString(Object)
or SchemaNode.displayOccurrence(Object, boolean, ValueContext, Locale). |
AdaptationHome |
getHome()
Returns the current home. |
SchemaNode |
getNode()
Returns the current schema node of this context. |
SchemaNode |
getNode(Path aPath)
Returns the schema node at the path specified. |
Object |
getValue()
Returns the value of the current node of this context. |
Object |
getValue(Path aPath)
Returns the value of the node specified. |
| Method Detail |
public AdaptationHome getHome()
public SchemaNode getNode()
getValue(Path)
public SchemaNode getNode(Path aPath)
throws PathAccessException
PathAccessExceptiongetNode()
public Object getValue(Path aPath)
throws PathAccessException
null if node has an undefined
value.
An inheritance lookup mechanism may be used for retrieving the value:
null).Any update on data must conform to Rule for updates.
PathAccessException - if aPath does not refer to an existing node in the underlying
type tree structure.
public Object getValue()
throws PathAccessException
This method is a shortcut for getValue(Path.SELF).
Any update on data must conform to Rule for updates.
PathAccessException
public String displayOccurrence(Object value,
Locale aLocale)
SchemaNode.displayOccurrence(Object, boolean, ValueContext, Locale)
public String formatOccurrence(Object value)
SchemaNode.formatToXsString(Object)
or SchemaNode.displayOccurrence(Object, boolean, ValueContext, Locale).
Locale,
this method gets it from session, if this context depends on a session. Otherwise,
if it is independent of any session it will use en-US (english) locale.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.0 [0598]
Copyright Orchestra Networks 2000-2008. All rights reserved.