| Method from net.sourceforge.harness.xml.jaxb.ClassPath Detail: |
public void deletePathElementList() {
_PathElementList = null;
invalidate();
}
|
public void emptyPathElementList() {
_PathElementList = PredicatedLists.createInvalidating(this,
pred_PathElementList, new ArrayList());
}
|
public boolean equals(Object ob) {
if (this == ob) {
return true;
}
if (!(ob instanceof ClassPath)) {
return false;
}
ClassPath tob = ((ClassPath) ob);
if (_PathElementList != null) {
if (tob._PathElementList == null) {
return false;
}
if (!_PathElementList.equals(tob._PathElementList)) {
return false;
}
} else {
if (tob._PathElementList != null) {
return false;
}
}
return true;
}
|
public List getPathElementList() {
return _PathElementList;
}
|
public int hashCode() {
int h = 0;
h = ((127 * h) +
((_PathElementList != null) ? _PathElementList.hashCode() : 0));
return h;
}
|
public void marshal(Marshaller m) throws IOException {
XMLWriter w = m.writer();
w.start("classPath");
if (_PathElementList.size() > 0) {
for (Iterator i = _PathElementList.iterator(); i.hasNext();) {
m.marshal(((MarshallableObject) i.next()));
}
}
w.end("classPath");
}
|
public static Dispatcher newDispatcher() {
return Author.newDispatcher();
}
|
public String toString() {
StringBuffer sb = new StringBuffer("< < classPath");
if (_PathElementList != null) {
sb.append(" pathElement=");
sb.append(_PathElementList.toString());
}
sb.append(" > >");
return sb.toString();
}
|
public void unmarshal(Unmarshaller u) throws UnmarshalException {
XMLScanner xs = u.scanner();
Validator v = u.validator();
xs.takeStart("classPath");
while (xs.atAttribute()) {
String an = xs.takeAttributeName();
throw new InvalidAttributeException(an);
}
{
List l = PredicatedLists.create(this, pred_PathElementList,
new ArrayList());
while (xs.atStart("pathElement")) {
l.add(((PathElement) u.unmarshal()));
}
_PathElementList = PredicatedLists.createInvalidating(this,
pred_PathElementList, l);
}
xs.takeEnd("classPath");
}
|
public static ClassPath unmarshal(InputStream in) throws UnmarshalException {
return unmarshal(XMLScanner.open(in));
}
|
public static ClassPath unmarshal(XMLScanner xs) throws UnmarshalException {
return unmarshal(xs, newDispatcher());
}
|
public static ClassPath unmarshal(XMLScanner xs,
Dispatcher d) throws UnmarshalException {
return ((ClassPath) d.unmarshal(xs, (ClassPath.class)));
}
|
public void validate(Validator v) throws StructureValidationException {
for (Iterator i = _PathElementList.iterator(); i.hasNext();) {
v.validate(((ValidatableObject) i.next()));
}
}
|
public void validateThis() throws LocalValidationException {
}
|