|
JBoss XML Binding 2.0.3.GA-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xb.binding.AbstractMarshaller
org.jboss.xb.binding.XercesXsMarshaller
public class XercesXsMarshaller
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.xb.binding.AbstractMarshaller |
---|
AbstractMarshaller.ClassMapping, AbstractMarshaller.ContentHandlerAdaptor, AbstractMarshaller.FieldToWildcardMapping, AbstractMarshaller.Stack, AbstractMarshaller.StackImpl |
Nested classes/interfaces inherited from interface org.jboss.xb.binding.Marshaller |
---|
Marshaller.FACTORY |
Field Summary |
---|
Fields inherited from class org.jboss.xb.binding.AbstractMarshaller |
---|
cls2TypeMap, content, encoding, field2WildcardMap, log, nsRegistry, rootQNames, version |
Fields inherited from interface org.jboss.xb.binding.Marshaller |
---|
ENCODING, PROP_MARSHALLER, PROP_OUTPUT_INDENTATION, PROP_OUTPUT_XML_VERSION, VERSION |
Constructor Summary | |
---|---|
XercesXsMarshaller()
Deprecated. |
Method Summary | |
---|---|
void |
addAttribute(String prefix,
String localName,
String type,
String value)
Deprecated. Adds an attribute to the top most elements. |
QName |
getRootTypeQName()
Deprecated. |
SchemaBindingResolver |
getSchemaResolver()
Deprecated. |
String |
getSimpleContentProperty()
Deprecated. |
boolean |
isIgnoreUnresolvedWildcard()
Deprecated. |
boolean |
isSupportNil()
Deprecated. |
void |
marshal(Reader xsdReader,
ObjectModelProvider provider,
Object root,
Writer writer)
Deprecated. |
void |
marshal(String xsdURL,
ObjectModelProvider provider,
Object root,
Writer writer)
Deprecated. |
void |
marshal(org.apache.xerces.xs.XSModel model,
ObjectModelProvider provider,
Object root,
Writer writer)
Deprecated. |
void |
setIgnoreUnresolvedWildcard(boolean ignoreUnresolvedWildcard)
Deprecated. |
void |
setRootTypeQName(QName rootTypeQName)
Deprecated. |
void |
setSchemaResolver(SchemaBindingResolver schemaResolver)
Deprecated. |
void |
setSimpleContentProperty(String simpleContentProperty)
Deprecated. |
void |
setSupportNil(boolean supportNil)
Deprecated. |
Methods inherited from class org.jboss.xb.binding.AbstractMarshaller |
---|
addRootElement, addRootElement, declareNamespace, declareNs, declareNs, declareXsiType, getClassMapping, getPrefix, getProperty, mapClassToGlobalElement, mapClassToGlobalType, mapClassToXsiType, mapFieldToWildcard, mapPublicIdToSystemId, prefixLocalName, propertyIsTrueOrNotSet, removePrefixMapping, setEncoding, setProperty, setVersion, writeXmlVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XercesXsMarshaller()
Method Detail |
---|
public String getSimpleContentProperty()
public void setSimpleContentProperty(String simpleContentProperty)
public boolean isIgnoreUnresolvedWildcard()
public void setIgnoreUnresolvedWildcard(boolean ignoreUnresolvedWildcard)
public SchemaBindingResolver getSchemaResolver()
public void setSchemaResolver(SchemaBindingResolver schemaResolver)
public QName getRootTypeQName()
public void setRootTypeQName(QName rootTypeQName)
public boolean isSupportNil()
public void setSupportNil(boolean supportNil)
public void addAttribute(String prefix, String localName, String type, String value)
addAttribute
in class AbstractMarshaller
prefix
- the prefix of the attribute to be declaredlocalName
- local name of the attributetype
- the type of the attributevalue
- the value of the attributepublic void marshal(Reader xsdReader, ObjectModelProvider provider, Object root, Writer writer) throws IOException, SAXException, ParserConfigurationException
IOException
SAXException
ParserConfigurationException
public void marshal(String xsdURL, ObjectModelProvider provider, Object root, Writer writer) throws IOException, SAXException
IOException
SAXException
public void marshal(org.apache.xerces.xs.XSModel model, ObjectModelProvider provider, Object root, Writer writer) throws IOException, SAXException
IOException
SAXException
|
JBoss XML Binding 2.0.3.GA-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |