public class InternalValidatingIdResolver
extends com.sun.xml.internal.bind.IDResolver
IDResolver
validating that no IDs are duplicated or missing (IDRef is pointing
to an undefined ID). jaxb-impl
(com.sun.xml.bind) is NOT on your classpath!XmlBeanMapper.getOrCreateUnmarshaller()
Modifier and Type | Field and Description |
---|---|
private IdResolverContext |
context
The
IdResolverContext . |
Constructor and Description |
---|
InternalValidatingIdResolver()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(String id,
Object value) |
void |
endDocument() |
Callable<?> |
resolve(String id,
Class targetType) |
void |
startDocument(ValidationEventHandler eventHandler) |
private IdResolverContext context
IdResolverContext
.public InternalValidatingIdResolver()
public void startDocument(ValidationEventHandler eventHandler) throws SAXException
startDocument
in class com.sun.xml.internal.bind.IDResolver
SAXException
public void endDocument() throws SAXException
endDocument
in class com.sun.xml.internal.bind.IDResolver
SAXException
public void bind(String id, Object value) throws SAXException
bind
in class com.sun.xml.internal.bind.IDResolver
SAXException
public Callable<?> resolve(String id, Class targetType) throws SAXException
resolve
in class com.sun.xml.internal.bind.IDResolver
SAXException
Copyright © 2001–2016 mmm-Team. All rights reserved.