/** * Construct a generic undeclared element with the specified qualified name. * * @param qName qualified name */ public Element(QName qName) { this.key = ElementKey.of(qName, String.class, getClass()); this.state = new ElementState(); }
/** * Construct element and associate with a key. * * @param elementKey the key to this element, contains the ID and datatype. */ public Element(ElementKey<?, ?> elementKey) { Preconditions.checkNotNull(elementKey, "elementKey"); this.key = bindKey(elementKey, getClass()); this.state = new ElementState(); }
/** * Construct element and associate with a key. * * @param elementKey the key to this element, contains the ID and datatype. */ public Element(ElementKey<?, ?> elementKey) { Preconditions.checkNotNull(elementKey, "elementKey"); this.key = bindKey(elementKey, getClass()); this.state = new ElementState(); }
/** * Construct a generic undeclared element with the specified qualified name. * * @param qName qualified name */ public Element(QName qName) { this.key = ElementKey.of(qName, String.class, getClass()); this.state = new ElementState(); }
/** * Construct a generic undeclared element with the specified qualified name. * * @param qName qualified name */ public Element(QName qName) { this.key = ElementKey.of(qName, String.class, getClass()); this.state = new ElementState(); }
/** * Construct element and associate with a key. * * @param elementKey the key to this element, contains the ID and datatype. */ public Element(ElementKey<?, ?> elementKey) { Preconditions.checkNotNull(elementKey, "elementKey"); this.key = bindKey(elementKey, getClass()); this.state = new ElementState(); }