use of org.eclipse.persistence.internal.oxm.record.namespaces.StackUnmarshalNamespaceResolver in project eclipselink by eclipse-ee4j.
the class DOMReader method parse.
@Override
public void parse(InputSource input) throws SAXException {
if (input instanceof DOMInputSource) {
Node node = ((DOMInputSource) input).getNode();
if (contentHandler != null && contentHandler.getClass() == SAXUnmarshallerHandler.class) {
((SAXUnmarshallerHandler) contentHandler).setUnmarshalNamespaceResolver(new StackUnmarshalNamespaceResolver());
}
parse(node);
}
}
Aggregations