blob: faeb64c7f55e4bb5a55d418011503edc015b1830 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation and Others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Tatsuya ISHIHARA - initial API and implementation
*******************************************************************************/
package org.eclipse.actf.model.dom.odf.chart.impl;
import org.eclipse.actf.model.dom.odf.base.ODFDocument;
import org.eclipse.actf.model.dom.odf.base.impl.ODFStylableElementImpl;
import org.eclipse.actf.model.dom.odf.chart.ChartConstants;
import org.eclipse.actf.model.dom.odf.chart.SeriesElement;
import org.w3c.dom.Element;
class SeriesElementImpl extends ODFStylableElementImpl implements SeriesElement {
private static final long serialVersionUID = 8895859924207061489L;
protected SeriesElementImpl(ODFDocument odfDoc, Element element) {
super(odfDoc, element);
}
public String getAttrChartAttachedAxis() {
if (hasAttributeNS(ChartConstants.CHART_NAMESPACE_URI,
ChartConstants.ATTR_ATTACHED_AXIS))
return getAttributeNS(ChartConstants.CHART_NAMESPACE_URI,
ChartConstants.ATTR_ATTACHED_AXIS);
return null;
}
}