API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.helpers. AbstractMarshallerImpl View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.6 $ $Date: 2005/07/28 22:18:12 $
Serial
Hierarchy
 Object
      AbstractMarshallerImpl
Implements
 Marshaller
Subclasses
Description
publicabstract abstract class AbstractMarshallerImpl
  Partial default Marshaller implementation.
See also:    Marshaller
Constructors
public AbstractMarshallerImpl ()
Methods
Hide/Show inherited methods
public A getAdapter (Class< A> type) [Specified in Marshaller]
public AttachmentMarshaller getAttachmentMarshaller () [Specified in Marshaller]
protected String getEncoding ()
  Convenience method for getting the current output encoding.
public ValidationEventHandler getEventHandler () throws JAXBException [Specified in Marshaller]
 
protected String getJavaEncoding (String encoding) throws UnsupportedEncodingException
  Gets the corresponding Java encoding name from an IANA name.
public Listener getListener () [Specified in Marshaller]
public Node getNode (Object obj) throws JAXBException [Specified in Marshaller]
  By default, the getNode method is unsupported and throw an UnsupportedOperationException.
protected String getNoNSSchemaLocation ()
  Convenience method for getting the current noNamespaceSchemaLocation.
public Object getProperty (String name) throws PropertyException [Specified in Marshaller]
  Default implementation of the getProperty method handles the four defined properties in Marshaller.
public Schema getSchema () [Specified in Marshaller]
protected String getSchemaLocation ()
  Convenience method for getting the current schemaLocation.
protected boolean isFormattedOutput ()
  Convenience method for getting the formatted output flag.
protected boolean isFragment ()
  Convenience method for getting the fragment flag.
publicfinal void marshal (Object obj, ContentHandler handler) throws JAXBException [Specified in Marshaller]
publicfinal void marshal (Object obj, Node node) throws JAXBException [Specified in Marshaller]
publicfinal void marshal (Object obj, OutputStream os) throws JAXBException [Specified in Marshaller]
publicfinal void marshal (Object obj, Writer w) throws JAXBException [Specified in Marshaller]
public void marshal (Object obj, XMLEventWriter writer) throws JAXBException [Specified in Marshaller]
public void marshal (Object obj, XMLStreamWriter writer) throws JAXBException [Specified in Marshaller]
public void setAdapter (Class< A> type, A adapter) [Specified in Marshaller]
public void setAdapter (XmlAdapter adapter) [Specified in Marshaller]
public void setAttachmentMarshaller (AttachmentMarshaller am) [Specified in Marshaller]
protected void setEncoding (String encoding)
  Convenience method for setting the output encoding.
public void setEventHandler (ValidationEventHandler handler) throws JAXBException [Specified in Marshaller]
 
protected void setFormattedOutput (boolean v)
  Convenience method for setting the formatted output flag.
protected void setFragment (boolean v)
  Convenience method for setting the fragment flag.
public void setListener (Listener listener) [Specified in Marshaller]
protected void setNoNSSchemaLocation (String location)
  Convenience method for setting the noNamespaceSchemaLocation.
public void setProperty (String name, Object value) throws PropertyException [Specified in Marshaller]
  Default implementation of the setProperty method handles the four defined properties in Marshaller.
public void setSchema (Schema schema) [Specified in Marshaller]
protected void setSchemaLocation (String location)
  Convenience method for setting the schemaLocation.
Fields
Hide/Show inherited fields
pack-privatestatic String aliases
publicfinalstatic String JAXB_ENCODING = "jaxb.encoding" [Inherited From Marshaller]
The name of the property used to specify the output encoding in the marshalled XML data.
publicfinalstatic String JAXB_FORMATTED_OUTPUT = "jaxb.formatted.output" [Inherited From Marshaller]
The name of the property used to specify whether or not the marshalled XML data is formatted with linefeeds and indentation.
publicfinalstatic String JAXB_FRAGMENT = "jaxb.fragment" [Inherited From Marshaller]
The name of the property used to specify whether or not the marshaller will generate document level events (ie calling startDocument or endDocument).
publicfinalstatic String JAXB_NO_NAMESPACE_SCHEMA_LOCATION = "jaxb.noNamespaceSchemaLocation" [Inherited From Marshaller]
The name of the property used to specify the xsi:noNamespaceSchemaLocation attribute value to place in the marshalled XML output.
publicfinalstatic String JAXB_SCHEMA_LOCATION = "jaxb.schemaLocation" [Inherited From Marshaller]
The name of the property used to specify the xsi:schemaLocation attribute value to place in the marshalled XML output.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar