|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Marshaller
Marshallers are used to marshall a XMLObject into a W3C DOM element.
| Method Summary | |
|---|---|
org.w3c.dom.Element |
marshall(XMLObject xmlObject)
Marshall this element, and its children, and root them in a newly created Document. |
org.w3c.dom.Element |
marshall(XMLObject xmlObject,
org.w3c.dom.Document document)
Marshall this element, and its children, into a W3C DOM element. |
org.w3c.dom.Element |
marshall(XMLObject xmlObject,
org.w3c.dom.Element parentElement)
Marshall the given XMLObject and append it as a child to the given parent element. |
| Method Detail |
|---|
org.w3c.dom.Element marshall(XMLObject xmlObject)
throws MarshallingException
DocumentBuilder obtained from a DocumentBuilderFactory
created without any additional parameters or properties set; that is the system defaults properties are used.
xmlObject - the object to marshall
MarshallingException - thrown if there is a problem marshalling the given object
org.w3c.dom.Element marshall(XMLObject xmlObject,
org.w3c.dom.Document document)
throws MarshallingException
xmlObject - the object to marshalldocument - the DOM document the marshalled element will be placed in
MarshallingException - thrown if there is a problem marshalling the given object
org.w3c.dom.Element marshall(XMLObject xmlObject,
org.w3c.dom.Element parentElement)
throws MarshallingException
xmlObject - the XMLObject to be marshalledparentElement - the parent of the Element resulting from marshalling the given XMLObject
MarshallingException - thrown if the given XMLObject can not be marshalled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||