|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectIDResolver
net.sf.mmm.util.xml.base.jaxb.InternalValidatingIdResolver
public class InternalValidatingIdResolver
This is an implementation of IDResolver validating that no IDs are
duplicated or missing (IDRef is pointing to an undefined ID).
ATTENTION:
This class only works for the default implementation of JAXB included in the
JDK. You have to ensure that jaxb-impl (com.sun.xml.bind) is NOT
on your classpath!
XmlBeanMapper.getOrCreateUnmarshaller()| Field Summary | |
|---|---|
private IdResolverContext |
context
The IdResolverContext. |
| Constructor Summary | |
|---|---|
InternalValidatingIdResolver()
The constructor. |
|
| Method Summary | |
|---|---|
void |
bind(String id,
Object value)
|
void |
endDocument()
|
Callable<?> |
resolve(String id,
Class targetType)
|
void |
startDocument(javax.xml.bind.ValidationEventHandler eventHandler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IdResolverContext context
IdResolverContext.
| Constructor Detail |
|---|
public InternalValidatingIdResolver()
| Method Detail |
|---|
public void startDocument(javax.xml.bind.ValidationEventHandler eventHandler)
throws SAXException
SAXException
public void endDocument()
throws SAXException
SAXException
public void bind(String id,
Object value)
throws SAXException
SAXException
public Callable<?> resolve(String id,
Class targetType)
throws SAXException
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||