users@jaxb.java.net

Sun vendor-defined marshaler property names

From: Springer, Ian P. <ian.springer_at_hp.com>
Date: Tue, 30 Dec 2003 15:41:51 -0500

Would you make the following constants in
com.sun.tools.xjc.runtime.MarshallerImpl public, so that applications
can leverage them?

    private static final String INDENT_STRING =
"com.sun.xml.bind.indentString";
    private static final String PREFIX_MAPPER =
"com.sun.xml.bind.namespacePrefixMapper";
    private static final String ENCODING_HANDLER =
"com.sun.xml.bind.characterEscapeHandler";
    private static final String XMLDECLARATION =
"com.sun.xml.bind.xmlDeclaration";
    private static final String XML_HEADERS =
"com.sun.xml.bind.xmlHeaders";

For example:

    marshaller.setProperty( MarshallerImpl.XMLDECLARATION, Boolean.FALSE
);

Thanks,
Ian
________________________________________
Ian P. Springer <ian_springer_at_hp.com>
Developer Resources & Partner Enablement
Adaptive Management, HP Software GBU
856.638.6338



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net