com.bbn.swede.editor.rules
Class XMLNameRule

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

public class XMLNameRule
extends WordRule

Handles special-case name checking to identify xmlns: and xml: attributes.

See Also:
Serialized Form

Field Summary
static IToken TOKEN_XML
          Return token for xml:base and namespace attributes.
 
Constructor Summary
XMLNameRule()
          Creates a new XMLNameRule to detect xml: and xmlns: attributes.
 
Method Summary
 IToken evaluate(ICharacterScanner scanner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN_XML

public static final IToken TOKEN_XML
Return token for xml:base and namespace attributes.

Constructor Detail

XMLNameRule

public XMLNameRule()
Creates a new XMLNameRule to detect xml: and xmlns: attributes.

Method Detail

evaluate

public IToken evaluate(ICharacterScanner scanner)


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