All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.hyperjaxb3.model.HAnyElement Maven / Gradle / Ivy

There is a newer version: 0.6.2
Show newest version
package org.jvnet.hyperjaxb3.model;

import javax.xml.bind.annotation.DomHandler;
import javax.xml.bind.annotation.W3CDomHandler;

import org.apache.commons.lang.Validate;

public class HAnyElement {

	private final boolean lax;

	private final Class domHandler;

	public HAnyElement() {
		this(false, W3CDomHandler.class);
	}

	public HAnyElement(boolean lax, Class domHandler) {
		super();
		this.lax = lax;
		Validate.notNull(domHandler);
		this.domHandler = domHandler;
	}

	public boolean isLax() {
		return lax;
	}

	public Class getDomHandler() {
		return domHandler;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy