|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.IDResolver
net.sf.mmm.util.xml.base.jaxb.ExternalValidatingIdResolver
public class ExternalValidatingIdResolver
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 if jaxb-impl (com.sun.xml.bind) is on your
classpath!
InternalValidatingIdResolver,
XmlBeanMapper.getOrCreateUnmarshaller()| Field Summary | |
|---|---|
private IdResolverContext |
context
The IdResolverContext. |
| Constructor Summary | |
|---|---|
ExternalValidatingIdResolver()
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 ExternalValidatingIdResolver()
| Method Detail |
|---|
public void startDocument(javax.xml.bind.ValidationEventHandler eventHandler)
throws SAXException
startDocument in class com.sun.xml.bind.IDResolverSAXException
public void endDocument()
throws SAXException
endDocument in class com.sun.xml.bind.IDResolverSAXException
public void bind(String id,
Object value)
throws SAXException
bind in class com.sun.xml.bind.IDResolverSAXException
public Callable<?> resolve(String id,
Class targetType)
throws SAXException
resolve in class com.sun.xml.bind.IDResolverSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||