~ubuntu-branches/ubuntu/precise/classpath/precise

« back to all changes in this revision

Viewing changes to gnu/xml/stream/XMLEventImpl.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2006-05-27 16:11:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060527161115-h6e39eposdt5snb6
Tags: 2:0.91-3
* Install header files to /usr/include/classpath.
* debian/control: classpath: Conflict with jamvm < 1.4.3 and
  cacao < 0.96 (Closes: #368172).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* XMLEventImpl.java -- 
2
 
   Copyright (C) 2005  Free Software Foundation, Inc.
 
2
   Copyright (C) 2005,2006  Free Software Foundation, Inc.
3
3
 
4
4
This file is part of GNU Classpath.
5
5
 
116
116
    return getEventType() == END_DOCUMENT;
117
117
  }
118
118
 
119
 
  public boolean isStartEntity()
120
 
  {
121
 
    return getEventType() == START_ENTITY;
122
 
  }
123
 
 
124
 
  public boolean isEndEntity()
125
 
  {
126
 
    return getEventType() == END_ENTITY;
127
 
  }
128
 
 
129
119
  public StartElement asStartElement()
130
120
  {
131
121
    return (StartElement) this;