public class Group extends AttributeContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
Group_java_copyright |
static java.lang.String |
Group_java_sourceCodeID |
AttributeContainer_java_copyright, AttributeContainer_java_sourceCodeID
Constructor and Description |
---|
Group(java.lang.String name,
java.lang.String type,
Attribute[] attributes)
Construct a Group object using a name, type and an array of Attribute
objects.
|
Modifier and Type | Method and Description |
---|---|
static Group |
fromXml(org.w3c.dom.Element element)
Create a Group object from XML (in the form of an org.w3c.dom.Element).
|
java.lang.String |
getElementName()
Returns the name of this type of Element as a String.
|
java.lang.String |
getName()
Returns the name of this Group.
|
java.lang.String |
getType()
Returns the type of this Group object.
|
void |
setName(java.lang.String name)
Set the name of this Group.
|
void |
setType(java.lang.String type)
Set the type of this Group.
|
org.w3c.dom.Element |
toXml(org.w3c.dom.Document owner)
Convert this Group object into XML (in the form of an org.w3c.dom.Element
object).
|
attributesFromXml, clear, getAttributeByName, getAttributeByNameAndType, getAttributeIterator, getAttributes, getAttributesByType, getAttributeValueByName, getAttributeValueByNameAndType, getAttributeValuesByName, getAttributeValuesByNameAndType, getNumberOfAttributes, removeAttribute, removeAttributeByNameAndType, removeAttributes, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes
public static final java.lang.String Group_java_sourceCodeID
public static final java.lang.String Group_java_copyright
public Group(java.lang.String name, java.lang.String type, Attribute[] attributes)
name
- the name of the Group object.type
- the type of Group object.attributes
- an array of Attributes for this Group object.public static Group fromXml(org.w3c.dom.Element element)
element
- the element to create the Group object from.public org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
toXml
in class AttributeContainer
owner
- an org.w3c.dom.Document object used to create the returned
Element object.public java.lang.String getElementName()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the Group as a String.public java.lang.String getType()
public void setType(java.lang.String type)
type
- the type of this group as a String.