@TopNS(prefix={"dc","cp","dcterms"}, uri={"http://purl.org/dc/elements/1.1/","http://schemas.openxmlformats.org/package/2006/metadata/core-properties","http://purl.org/dc/terms/"}, value="cp:coreProperties") public class Core extends Object
| 构造器和说明 |
|---|
Core() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCategory() |
Date |
getCreated() |
String |
getCreator() |
String |
getDescription() |
String |
getKeywords() |
String |
getLastModifiedBy() |
Date |
getModified() |
String |
getRevision() |
String |
getSubject() |
String |
getTitle() |
String |
getVersion() |
protected boolean |
noNamespace(NS ns) |
void |
setCategory(String category) |
void |
setCreated(Date created) |
void |
setCreator(String creator) |
void |
setDescription(String description) |
void |
setKeywords(String keywords) |
void |
setLastModifiedBy(String lastModifiedBy) |
void |
setModified(Date modified) |
void |
setRevision(String revision) |
void |
setSubject(String subject) |
void |
setTitle(String title) |
void |
setVersion(String version) |
void |
toXML(org.dom4j.Element doc,
Object o) |
protected void |
writeArrayWithBaseType(org.dom4j.Element element,
Collection<?> collection,
org.dom4j.Namespace namespace,
String baseType) |
protected void |
writeAttr(Field field,
org.dom4j.Element element) |
void |
writeTo(Path path)
写入指定路径,传入的参数可以是一个文件也可以是文件夹,需要在实现类具体处理
|
public void setTitle(String title)
public void setSubject(String subject)
public void setCreator(String creator)
public void setDescription(String description)
public void setKeywords(String keywords)
public void setLastModifiedBy(String lastModifiedBy)
public void setVersion(String version)
public void setRevision(String revision)
public void setCategory(String category)
public void setCreated(Date created)
public void setModified(Date modified)
public String getTitle()
public String getSubject()
public String getCreator()
public String getDescription()
public String getKeywords()
public String getLastModifiedBy()
public String getVersion()
public String getRevision()
public String getCategory()
public Date getCreated()
public Date getModified()
public void writeTo(Path path) throws IOException
StorablewriteTo 在接口中 Storablepath - 父级文件夹或文件绝对路径IOException - 写失败异常public void toXML(org.dom4j.Element doc,
Object o)
throws IllegalAccessException,
NoSuchMethodException,
InvocationTargetException
protected void writeAttr(Field field, org.dom4j.Element element)
protected boolean noNamespace(NS ns)
protected void writeArrayWithBaseType(org.dom4j.Element element,
Collection<?> collection,
org.dom4j.Namespace namespace,
String baseType)
Copyright © 2023. All rights reserved.