isStart() public méthode

public isStart ( ) : bool
Résultat 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_newSetters_setEOF()
 {
     XMLToken token = new  XMLToken();
       assertTrue( token.isEnd() == false );
       int i = token.setEOF();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( token.isEnd() == false );
       assertTrue( token.isStart() == false );
       assertTrue( token.isText() == false );
       token = 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;
 }