/** * Public constructor. * * @param name The element {@link QName}. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(QName name, Attributes attributes, SAXElement parent) { this.name = name; this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Public constructor. * * @param name The element {@link QName}. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(QName name, Attributes attributes, SAXElement parent) { this.name = name; this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Public constructor. * * @param name The element {@link QName}. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(QName name, Attributes attributes, SAXElement parent) { this.name = name; this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Public constructor. * * @param name The element {@link QName}. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(QName name, Attributes attributes, SAXElement parent) { this.name = name; this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Set the element attributes. * * @param attributes The element attributes. */ public void setAttributes(Attributes attributes) { AssertArgument.isNotNull(attributes, "attributes"); this.attributes = copyAttributes(attributes); }
/** * Set the element attributes. * * @param attributes The element attributes. */ public void setAttributes(Attributes attributes) { AssertArgument.isNotNull(attributes, "attributes"); this.attributes = copyAttributes(attributes); }
/** * Set the element attributes. * * @param attributes The element attributes. */ public void setAttributes(Attributes attributes) { AssertArgument.isNotNull(attributes, "attributes"); this.attributes = copyAttributes(attributes); }
/** * Set the element attributes. * * @param attributes The element attributes. */ public void setAttributes(Attributes attributes) { AssertArgument.isNotNull(attributes, "attributes"); this.attributes = copyAttributes(attributes); }
/** * Public constructor. * * @param namespaceURI The Namespace URI, or the empty string if the * element has no Namespace URI or if Namespace * processing is not being performed. * @param localName The local name (without prefix), or the * empty string if Namespace processing is not being * performed. * @param qName The qualified name (with prefix), or the * empty string if qualified names are not available. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(String namespaceURI, String localName, String qName, Attributes attributes, SAXElement parent) { this.name = SAXUtil.toQName(namespaceURI, localName, qName); this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Public constructor. * * @param namespaceURI The Namespace URI, or the empty string if the * element has no Namespace URI or if Namespace * processing is not being performed. * @param localName The local name (without prefix), or the * empty string if Namespace processing is not being * performed. * @param qName The qualified name (with prefix), or the * empty string if qualified names are not available. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(String namespaceURI, String localName, String qName, Attributes attributes, SAXElement parent) { this.name = SAXUtil.toQName(namespaceURI, localName, qName); this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Public constructor. * * @param namespaceURI The Namespace URI, or the empty string if the * element has no Namespace URI or if Namespace * processing is not being performed. * @param localName The local name (without prefix), or the * empty string if Namespace processing is not being * performed. * @param qName The qualified name (with prefix), or the * empty string if qualified names are not available. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(String namespaceURI, String localName, String qName, Attributes attributes, SAXElement parent) { this.name = SAXUtil.toQName(namespaceURI, localName, qName); this.attributes = copyAttributes(attributes); this.parent = parent; }
/** * Public constructor. * * @param namespaceURI The Namespace URI, or the empty string if the * element has no Namespace URI or if Namespace * processing is not being performed. * @param localName The local name (without prefix), or the * empty string if Namespace processing is not being * performed. * @param qName The qualified name (with prefix), or the * empty string if qualified names are not available. * @param attributes The attributes attached to the element. If * there are no attributes, it shall be an empty * Attributes object. * @param parent Parent element, or null if the element is the document root element. */ public SAXElement(String namespaceURI, String localName, String qName, Attributes attributes, SAXElement parent) { this.name = SAXUtil.toQName(namespaceURI, localName, qName); this.attributes = copyAttributes(attributes); this.parent = parent; }