use of com.sun.xml.bind.marshaller.IdentifiableObject in project OpenAM by OpenRock.
the class SAXMarshaller method reconcileID.
void reconcileID() throws AbortSerializationException {
// find objects that were not a part of the object graph
idReferencedObjects.removeAll(objectsWithId);
for (Iterator itr = idReferencedObjects.iterator(); itr.hasNext(); ) {
IdentifiableObject o = (IdentifiableObject) itr.next();
reportError(new NotIdentifiableEventImpl(ValidationEvent.ERROR, Messages.format(Messages.ERR_DANGLING_IDREF, o.____jaxb____getId()), new ValidationEventLocatorImpl(o)));
}
// clear the garbage
idReferencedObjects.clear();
objectsWithId.clear();
}
use of com.sun.xml.bind.marshaller.IdentifiableObject in project OpenAM by OpenRock.
the class SAXMarshaller method reconcileID.
void reconcileID() throws AbortSerializationException {
// find objects that were not a part of the object graph
idReferencedObjects.removeAll(objectsWithId);
for (Iterator itr = idReferencedObjects.iterator(); itr.hasNext(); ) {
IdentifiableObject o = (IdentifiableObject) itr.next();
reportError(new NotIdentifiableEventImpl(ValidationEvent.ERROR, Messages.format(Messages.ERR_DANGLING_IDREF, o.____jaxb____getId()), new ValidationEventLocatorImpl(o)));
}
// clear the garbage
idReferencedObjects.clear();
objectsWithId.clear();
}
use of com.sun.xml.bind.marshaller.IdentifiableObject in project OpenAM by OpenRock.
the class SAXMarshaller method reconcileID.
void reconcileID() throws AbortSerializationException {
// find objects that were not a part of the object graph
idReferencedObjects.removeAll(objectsWithId);
for (Iterator itr = idReferencedObjects.iterator(); itr.hasNext(); ) {
IdentifiableObject o = (IdentifiableObject) itr.next();
reportError(new NotIdentifiableEventImpl(ValidationEvent.ERROR, Messages.format(Messages.ERR_DANGLING_IDREF, o.____jaxb____getId()), new ValidationEventLocatorImpl(o)));
}
// clear the garbage
idReferencedObjects.clear();
objectsWithId.clear();
}
use of com.sun.xml.bind.marshaller.IdentifiableObject in project OpenAM by OpenRock.
the class SAXMarshaller method reconcileID.
void reconcileID() throws AbortSerializationException {
// find objects that were not a part of the object graph
idReferencedObjects.removeAll(objectsWithId);
for (Iterator itr = idReferencedObjects.iterator(); itr.hasNext(); ) {
IdentifiableObject o = (IdentifiableObject) itr.next();
reportError(new NotIdentifiableEventImpl(ValidationEvent.ERROR, Messages.format(Messages.ERR_DANGLING_IDREF, o.____jaxb____getId()), new ValidationEventLocatorImpl(o)));
}
// clear the garbage
idReferencedObjects.clear();
objectsWithId.clear();
}
Aggregations