com.bbn.swede.editor.rules
Class OWLNameRule

java.lang.Object
  extended byWordRule
      extended bycom.bbn.swede.editor.rules.OWLNameRule

public class OWLNameRule
extends WordRule

Word rule for identifying language tags vs. non-language tags. This rule does not differentiate between things and predicates. If the scanner using the rule does not do any additional processing, both types of generics will be colored as things.

Author:
jlerner
See Also:
Serialized Form

Field Summary
static IToken TOKEN_GENERIC
          Return token for generic tags and attributes.
static IToken TOKEN_LANG
          Return token for language tags and attributes.
 
Constructor Summary
OWLNameRule()
          Creates a new OWLNameRule with OWLNameRule.TOKEN_GENERIC as its default return token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN_GENERIC

public static final IToken TOKEN_GENERIC
Return token for generic tags and attributes.


TOKEN_LANG

public static final IToken TOKEN_LANG
Return token for language tags and attributes.

Constructor Detail

OWLNameRule

public OWLNameRule()
Creates a new OWLNameRule with OWLNameRule.TOKEN_GENERIC as its default return token.



Copyright © 2004-2005 BBN Technologies. All Rights Reserved.