isElement() public method

public isElement ( ) : bool
return bool
 public void test_XMLToken_fields()
 {
     XMLTriple triple;
       XMLToken token;
       triple = new  XMLTriple("attr", "uri", "prefix");
       token = new  XMLToken(triple);
       assertTrue( token.isElement() == true );
       assertTrue( token.isEnd() == true );
       assertTrue( token.isStart() == false );
       assertTrue( token.isText() == false );
       assertTrue( token.isEOF() == false );
       assertTrue( (  "attr" != token.getName() ) == false );
       assertTrue( (  "uri" != token.getURI() ) == false );
       assertTrue( (  "prefix" != token.getPrefix() ) == false );
       token = null;
       triple = null;
 }
 public void test_XMLToken_chars()
 {
     XMLToken token;
       token = new  XMLToken("This is text");
       assertTrue( token.isElement() == false );
       assertTrue( token.isEnd() == false );
       assertTrue( token.isStart() == false );
       assertTrue( token.isText() == true );
       assertTrue( token.isEOF() == false );
       assertTrue( (  "This is text" != token.getCharacters() ) == false );
       token = null;
 }