Package org.apache.xmlbeans.impl.common
Class XmlErrorWatcher
- java.lang.Object
-
- java.util.AbstractCollection
-
- org.apache.xmlbeans.impl.common.XmlErrorWatcher
-
- All Implemented Interfaces:
Iterable
,Collection
public class XmlErrorWatcher extends AbstractCollection
-
-
Constructor Summary
Constructors Constructor Description XmlErrorWatcher(Collection underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Object o)
XmlError
firstError()
boolean
hasError()
Iterator
iterator()
int
size()
-
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Constructor Detail
-
XmlErrorWatcher
public XmlErrorWatcher(Collection underlying)
-
-
Method Detail
-
add
public boolean add(Object o)
- Specified by:
add
in interfaceCollection
- Overrides:
add
in classAbstractCollection
-
iterator
public Iterator iterator()
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
- Specified by:
iterator
in classAbstractCollection
-
size
public int size()
- Specified by:
size
in interfaceCollection
- Specified by:
size
in classAbstractCollection
-
hasError
public boolean hasError()
-
firstError
public XmlError firstError()
-
-