public class IGovLabelingSchemaDocumentation
extends com.orchestranetworks.schema.SchemaDocumentation
SchemaDocumentation
.
Using this default class, you can integrate the labeling API into your data model.
Add the following osd:documentation
definition to the data model to call this class:
<xs:annotation> <xs:appinfo> <osd:documentation class="com.orchestranetworks.addon.igov.IGovLabelingSchemaDocumentation" /> </xs:appinfo> </xs:annotation>
Constructor and Description |
---|
IGovLabelingSchemaDocumentation() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription(com.orchestranetworks.schema.SchemaDocumentationContext dContext)
Returns the node's description based on
SchemaDocumentationContext . |
String |
getLabel(com.orchestranetworks.schema.SchemaDocumentationContext dContext)
Returns the node's label based on
SchemaDocumentationContext . |
void |
setup(com.orchestranetworks.schema.SchemaDocumentationSetupContext sContext)
Checks and prepares this instance when the data model is loaded.
|
public String getLabel(com.orchestranetworks.schema.SchemaDocumentationContext dContext)
SchemaDocumentationContext
.getLabel
in class com.orchestranetworks.schema.SchemaDocumentation
public String getDescription(com.orchestranetworks.schema.SchemaDocumentationContext dContext)
SchemaDocumentationContext
.getDescription
in class com.orchestranetworks.schema.SchemaDocumentation
public void setup(com.orchestranetworks.schema.SchemaDocumentationSetupContext sContext)
setup
in class com.orchestranetworks.schema.SchemaDocumentation