kaos.kpat.gui.hypertext
Class XMLSchemaRestriction
java.lang.Object
kaos.kpat.gui.hypertext.HTComponentImpl
kaos.kpat.gui.hypertext.HTLink
kaos.kpat.gui.hypertext.XMLSchemaRestriction
- All Implemented Interfaces:
- HyperlinkListener, HypertextComponent
public class XMLSchemaRestriction
- extends HTLink
- implements HyperlinkListener
- Author:
- jlott
|
Field Summary |
static java.lang.String |
SCHEMA
|
| Fields inherited from class kaos.kpat.gui.hypertext.HTComponentImpl |
_displayComponent, _id, _peer, _popup, _prefix, _suffix, _templateEditor, _templateLinkId, _templateLinkName, TEMPLATE_LINK_ID, VISITED_LINK_RGB |
| Methods inherited from class kaos.kpat.gui.hypertext.HTComponentImpl |
addListener, fireTextChanged, getDisplayComponent, getDisplayText, getId, getParent, getPopupMenu, getPrefix, getRelativeLocation, getTemplateLink, removeListener, setDisplayComponent, setDlgLocation, setFontSize, setId, setParent, setPeer, setPopupMenu, setPrefix, setSuffix, setTemplateEditor, setTemplateLink |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHEMA
public static final java.lang.String SCHEMA
- See Also:
- Constant Field Values
XMLSchemaRestriction
public XMLSchemaRestriction(OntClassPropertyDescription tcd,
XMLSchemaBuilderImpl schema,
XMLRepository xmlServ)
- Creates a new instance of XMLSchemaRestriction
getState
public java.lang.Object getState()
throws KAoSPolicyBuilder.PolicyBuildingNotCompleted
- Specified by:
getState in interface HypertextComponent- Overrides:
getState in class HTComponentImpl
- Throws:
KAoSPolicyBuilder.PolicyBuildingNotCompleted
setState
public void setState(java.lang.Object o)
- Specified by:
setState in interface HypertextComponent- Overrides:
setState in class HTComponentImpl
hyperlinkSelected
public void hyperlinkSelected(java.lang.String link,
java.awt.Point location)
- Specified by:
hyperlinkSelected in interface HyperlinkListener- Overrides:
hyperlinkSelected in class HTLink
getBaseSchema
public XMLSchemaBuilderImpl getBaseSchema()
createNewSchema
public XMLSchemaBuilderImpl createNewSchema(XMLSchemaBuilderImpl origSchema,
java.util.Vector restrictions)
throws java.lang.Exception
- Throws:
java.lang.Exception
editSchema
public java.util.Vector editSchema(XMLSchemaBuilderImpl schema,
java.awt.Point p)
getSchema
public XMLSchemaBuilderImpl getSchema()
setSchema
public void setSchema(XMLSchemaBuilderImpl schema)
setSchema
public void setSchema(java.lang.String name)