org.openspml.v2.msg
Interface XMLMarshaller
- All Known Implementing Classes:
- ReflectiveXMLMarshaller
- public interface XMLMarshaller
Visitor Pattern - used to create XML from Marshallable objects.
- Author:
- kent.spaulding@sun.com
Date: Feb 9, 2006
Field Summary |
static java.lang.String |
code_id
|
Method Summary |
java.lang.String |
marshall(Marshallable object)
Marshall with a 0 indent. |
void |
setIndent(int indent)
Indent the XML by this amount. |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
setIndent
public void setIndent(int indent)
throws Spml2Exception
- Indent the XML by this amount.
- Parameters:
indent
-
- Throws:
Spml2Exception
marshall
public java.lang.String marshall(Marshallable object)
throws Spml2Exception
- Marshall with a 0 indent.
- Parameters:
object
-
- Returns:
- xml fragment
- Throws:
Spml2Exception
Copyright © Sun Microsystems, Inc. All Rights Reserved.