|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis.encoding.ser.xbeans.XmlBeanSerializer
public class XmlBeanSerializer
Class XmlBeanSerializer
| Constructor Summary | |
|---|---|
XmlBeanSerializer()
|
|
| Method Summary | |
|---|---|
static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument.Schema[] |
findtSchemaDocument(org.apache.xmlbeans.SchemaType docType)
|
String |
getMechanismType()
Gets the type of the XML processing mechanism and representation used by this Serializer. |
static org.apache.xmlbeans.XmlObject |
getTypeNode(org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument.Schema[] schemas,
QName q)
|
static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument |
parseSchema(InputStream stream)
|
static org.xmlsoap.schemas.wsdl.DefinitionsDocument |
parseWSDL(File wsdlFile)
|
static org.xmlsoap.schemas.wsdl.DefinitionsDocument |
parseWSDL(InputStream wsdlStream)
|
static org.xmlsoap.schemas.wsdl.DefinitionsDocument |
parseWSDL(String wsdlLocation)
|
static org.xmlsoap.schemas.wsdl.DefinitionsDocument |
parseWSDL(URL wsdlURL)
|
static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument.Schema[] |
selectChildren(org.apache.xmlbeans.XmlObject parent,
Class childClass)
|
void |
serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
Serialize an element named name, with the indicated attributes and value. |
Element |
writeSchema(Class javaType,
Types types)
Return XML schema for the specified type, suitable for insertion into the <types> element of a WSDL document, or underneath an <element> or <attribute> declaration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlBeanSerializer()
| Method Detail |
|---|
public void serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
throws IOException
name - is the element nameattributes - are the attributes...serialize is free to add more.value - is the valuecontext - is the SerializationContext
IOExceptionpublic String getMechanismType()
Serializer
getMechanismType in interface Serializer
public Element writeSchema(Class javaType,
Types types)
throws Exception
javaType - the Java Class we're writing out schema fortypes - the Java2WSDL Types object which holds the context for the
WSDL being generated.
ExceptionTypes
public static org.xmlsoap.schemas.wsdl.DefinitionsDocument parseWSDL(String wsdlLocation)
throws IOException,
MalformedURLException,
org.apache.xmlbeans.XmlException
IOException
MalformedURLException
org.apache.xmlbeans.XmlException
public static org.xmlsoap.schemas.wsdl.DefinitionsDocument parseWSDL(File wsdlFile)
throws IOException,
org.apache.xmlbeans.XmlException
IOException
org.apache.xmlbeans.XmlException
public static org.xmlsoap.schemas.wsdl.DefinitionsDocument parseWSDL(URL wsdlURL)
throws IOException,
org.apache.xmlbeans.XmlException
IOException
org.apache.xmlbeans.XmlException
public static org.xmlsoap.schemas.wsdl.DefinitionsDocument parseWSDL(InputStream wsdlStream)
throws IOException,
org.apache.xmlbeans.XmlException
IOException
org.apache.xmlbeans.XmlException
public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument parseSchema(InputStream stream)
throws org.apache.xmlbeans.XmlException,
IOException
org.apache.xmlbeans.XmlException
IOException
public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument.Schema[] selectChildren(org.apache.xmlbeans.XmlObject parent,
Class childClass)
throws IllegalAccessException,
NoSuchFieldException
IllegalAccessException
NoSuchFieldException
public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument.Schema[] findtSchemaDocument(org.apache.xmlbeans.SchemaType docType)
throws org.apache.xmlbeans.XmlException,
IOException,
IllegalAccessException,
NoSuchFieldException
org.apache.xmlbeans.XmlException
IOException
IllegalAccessException
NoSuchFieldException
public static org.apache.xmlbeans.XmlObject getTypeNode(org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument.Schema[] schemas,
QName q)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||