|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.mercury.repository.cache.md.Element
public class Element
metadata element.
| Constructor Summary | |
|---|---|
Element()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(Attribute attribute)
Method addAttribute. |
void |
addElement(Element element)
Method addElement. |
void |
breakElementAssociation(Element element)
Method breakElementAssociation. |
void |
createElementAssociation(Element element)
Method createElementAssociation. |
java.util.List |
getAttributes()
Method getAttributes. |
java.util.List |
getElements()
Method getElements. |
java.lang.String |
getModelEncoding()
|
java.lang.String |
getName()
Get name of this element. |
void |
removeAttribute(Attribute attribute)
Method removeAttribute. |
void |
removeElement(Element element)
Method removeElement. |
void |
setAttributes(java.util.List attributes)
Set group of metadata element attributes. |
void |
setElements(java.util.List elements)
Set group of metadata element elements. |
void |
setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model. |
void |
setName(java.lang.String name)
Set name of this element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Element()
| Method Detail |
|---|
public void addAttribute(Attribute attribute)
attribute - public void addElement(Element element)
element - public void breakElementAssociation(Element element)
element - public void createElementAssociation(Element element)
element - public java.util.List getAttributes()
public java.util.List getElements()
public java.lang.String getName()
public void removeAttribute(Attribute attribute)
attribute - public void removeElement(Element element)
element - public void setAttributes(java.util.List attributes)
attributes - public void setElements(java.util.List elements)
elements - public void setName(java.lang.String name)
name - public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding - the encoding used when reading/writing the model.public java.lang.String getModelEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||