All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.maxwe.epub.parser.meta.xml.Date Maven / Gradle / Ivy

package org.maxwe.epub.parser.meta.xml;

import org.maxwe.epub.parser.core.AXmlLabelParser;
import org.xmlpull.v1.XmlPullParser;

/**
 * Created by Pengwei Ding on 2015-08-29 16:31.
 * Email: [email protected] [email protected]
 * Description: @TODO
 */
public class Date extends AXmlLabelParser {

    private String value;

    public Date(XmlPullParser xmlPullParser) throws Exception {
        super(xmlPullParser);
        int attributeCount = this.xmlPullParser.getAttributeCount();
        for (int i = 0; i < attributeCount; i++) {
            //解析属性
            String attributeName = xmlPullParser.getAttributeName(i);
            String attributeValue = xmlPullParser.getAttributeValue(i);

        }
        this.value = this.xmlPullParser.nextText();
    }

    public String getValue() {
        return value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy