Package org.eclipse.wst.xsl.core.model
public class XSLElement extends org.eclipse.wst.xsl.core.model.XSLNodeAn element in the XSL namespace.
Field Summary | |
package-private java.util.Map | attributes |
package-private java.util.List | childElements |
Constructor Summary |
XSLElement(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet) |
Method Summary | |
public void | addChild(org.eclipse.wst.xsl.core.model.XSLElement element) Add a child element of this. |
public org.eclipse.wst.xsl.core.model.XSLAttribute | getAttribute(java.lang.String name) Get the attribute with the given name. |
public java.util.Map | getAttributes() Get the attributes keyed by their names. |
public java.lang.String | getAttributeValue(java.lang.String name) Get the value of the attribute with the given name. |
public java.util.List | getChildElements() Get the list of child elements |
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type | getModelType() |
public void | setAttribute(org.eclipse.wst.xsl.core.model.XSLAttribute attribute) Add an attribute of this |
Field Detail |
package-private java.util.Map attributes
package-private java.util.List childElements
Constructor Detail |
public XSLElement(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet)
Create a new instance of this.
Methods Detail |
public void addChild(org.eclipse.wst.xsl.core.model.XSLElement element)
Add a child element of this.
element
- the chold element
public org.eclipse.wst.xsl.core.model.XSLAttribute getAttribute(java.lang.String name)
Get the attribute with the given name.
name
- the name of the attribute
org.eclipse.wst.xsl.core.model.XSLAttribute
- the attribute
public java.util.Map getAttributes()
Get the attributes keyed by their names.
java.util.Map
- the map of attribute names and instances
public java.lang.String getAttributeValue(java.lang.String name)
Get the value of the attribute with the given name.
name
- the name of the attribute
java.lang.String
- the attribute value
public java.util.List getChildElements()
Get the list of child elements
java.util.List
- the list of children
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type getModelType()
org.eclipse.wst.xsl.core.model.XSLModelObject.Type
public void setAttribute(org.eclipse.wst.xsl.core.model.XSLAttribute attribute)
Add an attribute of this
attribute
- the attribute to add