* Contributors:
* Christopher Lenz - initial API
*
- * $Id: XMLElement.java,v 1.1 2004-09-02 18:26:55 jsurfer Exp $
+ * $Id: XMLElement.java,v 1.2 2006-10-21 23:13:43 pombredanne Exp $
*/
package net.sourceforge.phpeclipse.xml.core.internal.model;
private List children;
private String localName;
+
private String namespaceURI;
+
private String prefix;
private IXMLElement parent;
super(document, offset, length);
}
- // IXMLElement Implementation -------------------------------------------------
+ // IXMLElement Implementation
+ // -------------------------------------------------
- /*
+ /*
* @see IXMLElement#getChildren()
*/
public IXMLElement[] getChildren() {
if (children != null) {
- return (IXMLElement[]) children.toArray(
- new IXMLElement[children.size()]);
+ return (IXMLElement[]) children.toArray(new IXMLElement[children
+ .size()]);
}
return new IXMLElement[0];
}
- /*
+ /*
* @see IXMLElement#getLocalName()
*/
public String getLocalName() {
return localName;
}
- /*
+ /*
* @see IXMLElement#getNamespaceURI()
*/
public String getNamespaceURI() {
return namespaceURI;
}
- /*
+ /*
* @see IXMLElement#getPrefix()
*/
public String getPrefix() {
return prefix;
}
- /*
+ /*
* @see IXMLElement#getParent()
*/
public IXMLElement getParent() {