|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.provider.owl.OwlParser
public class OwlParser
OWL parser
Field Summary | |
---|---|
(package private) static boolean |
asTree
As tree |
private java.awt.Color |
theClassBackColor
Class back color |
private java.awt.Color |
theClassForeColor
Class fore color |
private static java.awt.Image |
theClassImage
Class image |
private java.lang.String |
theClassImageFile
Class image |
private java.awt.Color |
theClassWithPropertiesBackColor
Class fore color |
private java.awt.Color |
theClassWithPropertiesForeColor
Class fore color |
private static java.awt.Image |
theClassWithPropertiesImage
Class with property image |
private java.lang.String |
theClassWithPropertiesImageFile
Class image |
(package private) static java.awt.Color |
theDefaultClassBackColor
Default class color |
private java.util.Properties |
theProperties
Properties |
private java.awt.Color |
thePropertiesBackColor
Properties fore color |
private java.awt.Color |
thePropertiesForeColor
Properties fore color |
private static java.awt.Image |
thePropertiesImage
Properties image |
private java.lang.String |
thePropertiesImageFile
Properties image |
private java.lang.String |
thePropertiesLabel
Properties label |
private java.awt.Color |
thePropertyBackColor
Property fore color |
private static java.awt.Color |
thePropertyEdgeColor
Property edge color |
private static java.lang.String |
thePropertyEdgeImageFile
Property edge image file |
private static java.lang.Integer |
thePropertyEdgeStyle
Property edge style |
private java.awt.Color |
thePropertyForeColor
Property fore color |
private static java.awt.Image |
thePropertyImage
Property image |
private java.lang.String |
thePropertyImageFile
Property image |
private java.awt.Color |
theRootBackColor
Root fore color |
private java.awt.Color |
theRootForeColor
Root fore color |
private static java.awt.Image |
theRootImage
Focus image |
private java.lang.String |
theRootImageFile
Root image |
private java.lang.String |
theRootLabel
Root label |
Constructor Summary | |
---|---|
OwlParser(java.util.Properties theseProperties)
|
Method Summary | |
---|---|
private java.awt.Color |
getColor(java.lang.String thisColorKey,
java.awt.Color thisColorValue)
Get node color |
private java.lang.String |
getImageFile(java.lang.String thisImageKey)
Set node image file |
private java.lang.String |
getLabel(java.lang.String thisLabelKey,
java.lang.String thisLabelValue)
Get node label |
static java.lang.String |
getName(java.lang.String thisUriString)
Get name |
(package private) void |
initialize()
Initialize from properties |
Model |
parseModel(java.lang.String thisUrlString)
Parse model |
Tree |
parseTree(java.lang.String thisUrlString)
Parse tree |
private void |
setImage(MutableNode thisNode,
java.lang.String thisImageFile,
java.awt.Image thisImageDefault)
Set node image |
void |
walkClasses(INode thisParentClassNode,
com.hp.hpl.jena.util.iterator.ExtendedIterator theseClasses,
java.lang.String thisUrlString)
Walk classes in iterator |
void |
walkProperties(INode thisParentNode,
com.hp.hpl.jena.util.iterator.ExtendedIterator theseProperties)
Walk properties in iterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static boolean asTree
static java.awt.Color theDefaultClassBackColor
private static final java.awt.Image theRootImage
private static final java.awt.Image theClassImage
private static final java.awt.Image theClassWithPropertiesImage
private static final java.awt.Image thePropertiesImage
private static final java.awt.Image thePropertyImage
private java.util.Properties theProperties
private java.awt.Color theClassBackColor
private java.awt.Color theClassForeColor
private java.lang.String theClassImageFile
private java.awt.Color theClassWithPropertiesBackColor
private java.awt.Color theClassWithPropertiesForeColor
private java.lang.String theClassWithPropertiesImageFile
private java.lang.String theRootLabel
private java.awt.Color theRootForeColor
private java.awt.Color theRootBackColor
private java.lang.String theRootImageFile
private java.lang.String thePropertiesLabel
private java.awt.Color thePropertiesForeColor
private java.awt.Color thePropertiesBackColor
private java.lang.String thePropertiesImageFile
private java.awt.Color thePropertyForeColor
private java.awt.Color thePropertyBackColor
private java.lang.String thePropertyImageFile
private static java.awt.Color thePropertyEdgeColor
private static java.lang.Integer thePropertyEdgeStyle
private static java.lang.String thePropertyEdgeImageFile
Constructor Detail |
---|
public OwlParser(java.util.Properties theseProperties)
Method Detail |
---|
void initialize()
public Model parseModel(java.lang.String thisUrlString)
public Tree parseTree(java.lang.String thisUrlString)
public void walkClasses(INode thisParentClassNode, com.hp.hpl.jena.util.iterator.ExtendedIterator theseClasses, java.lang.String thisUrlString)
thisParentClassNode
- treebolic parent node to attach totheseClasses
- class iteratorthisUrlString
- URL stringpublic void walkProperties(INode thisParentNode, com.hp.hpl.jena.util.iterator.ExtendedIterator theseProperties)
thisParentNode
- treebolic parent node to attach totheseProperties
- property iteratorprivate java.lang.String getLabel(java.lang.String thisLabelKey, java.lang.String thisLabelValue)
thisLabelKey
- label keythisLabelValue
- label valueprivate java.awt.Color getColor(java.lang.String thisColorKey, java.awt.Color thisColorValue)
thisColorKey
- forecolor keythisColorValue
- forecolor value
private java.lang.String getImageFile(java.lang.String thisImageKey)
thisImageKey
- image key
private void setImage(MutableNode thisNode, java.lang.String thisImageFile, java.awt.Image thisImageDefault)
thisNode
- nodethisImageFile
- image file (can be null to default)thisImageDefault
- image valuepublic static java.lang.String getName(java.lang.String thisUriString)
thisUriString
- uri string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |