/** * Create a new expanded name. * * @param namespaceURI * the name of the namespace this EName belongs to. If set to {@link javax.xml.XMLConstants#NULL_NS_URI}, * this name does not belong to any namespace. Use this option with care. * @param localName * the local part of the name. Must not be empty. */ public EName(String namespaceURI, String localName) { RequireUtil.notNull(namespaceURI, "namespaceURI"); RequireUtil.notEmpty(localName, "localName"); this.namespaceURI = namespaceURI; this.localName = localName; }