public class OmElementFactory extends java.lang.Object implements ElementFactory
Constructor and Description |
---|
OmElementFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Element elt,
java.lang.String name,
double value) |
void |
addAttribute(Element elt,
java.lang.String name,
java.lang.String value) |
void |
addElement(Element parent,
java.lang.Object child) |
private Element |
makeClassElement(java.lang.Object obj) |
Element |
makeElement(java.lang.String name) |
Element |
makeElement(java.lang.String name,
java.lang.String body) |
Element |
makeElementFor(java.lang.Object obj) |
private Element |
makeSpecifiedElement(Specified spd) |
Element |
makeStandaloneElementFor(java.lang.Object obj) |
public Element makeStandaloneElementFor(java.lang.Object obj)
makeStandaloneElementFor
in interface ElementFactory
private Element makeClassElement(java.lang.Object obj)
public Element makeElementFor(java.lang.Object obj)
makeElementFor
in interface ElementFactory
public Element makeElement(java.lang.String name)
makeElement
in interface ElementFactory
public Element makeElement(java.lang.String name, java.lang.String body)
makeElement
in interface ElementFactory
public void addAttribute(Element elt, java.lang.String name, java.lang.String value)
addAttribute
in interface ElementFactory
public void addAttribute(Element elt, java.lang.String name, double value)
addAttribute
in interface ElementFactory
public void addElement(Element parent, java.lang.Object child)
addElement
in interface ElementFactory
Copyright © 2013. All Rights Reserved.