|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.orchestranetworks.ui.UIContext
Common abstract class for UIBeanEditor contexts.
A UIBeanEditorrequest context
and a response context have in common the fact that they are
associated to a specific schema node and to a validation context.
| Method Summary | |
String |
displayOccurrence(Object aValue,
boolean useLabels)
Returns a string for displaying the value specified, according the current locale of this context. |
Locale |
getLocale()
Returns the current locale of the user session. |
SchemaNode |
getNode()
Returns the node to which the component is attached, as specified in the XML Schema document. |
SchemaNode |
getNode(Path aPath)
Returns the node located at the path specified. |
Path |
getPathInAdaptation()
Returns the path of the current node to which the component is attached. |
Session |
getSession()
Returns the current session. |
Object |
getValue()
Returns the current value of the current node. |
Object |
getValue(Path aPath)
Returns the value at the path specified. |
String |
getWebName()
Returns a string that uniquely identifies the current component in the current page. |
String |
getWebNameFor(String aLocalId)
Returns a string that uniquely identifies the entity specified in the context of the current component in the current page. |
String |
getWebNameForPath(Path aPath)
Returns a string that uniquely identifies the entity specified in the context of the current component in the current page. |
String |
getWebNameOfParent()
Returns a string that uniquely identifies the entity specified in the context of the current component in the current page. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public String getWebNameFor(String aLocalId)
public String getWebNameForPath(Path aPath)
aPath - location of the target relatively to the current node (for maximizing reusability,
it is advised to use a relative path)public String getWebNameOfParent()
public String getWebName()
public Locale getLocale()
public Session getSession()
public Object getValue()
public String displayOccurrence(Object aValue,
boolean useLabels)
Value specified must be related to the current node.
SchemaNode.displayOccurrence(Object, boolean, ValueContext, Locale)public Object getValue(Path aPath)
aPath - location of the target relatively to the current node (for maximizing reusability,
it is advised to use a relative path)public SchemaNode getNode()
ValueContext.getNode()public Path getPathInAdaptation()
The result of this method is more precise than getNode().getPathInAdaptation()
because it is able to specify indexes (position predicates in XPath).
Step.isIndexed(),
getNode()public SchemaNode getNode(Path aPath)
SchemaNode.getNode(Path)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.2 [0601:0004]
Copyright Orchestra Networks 2000-2008. All rights reserved.