|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.imolinfo.jbi4corba.schema.SchemaUtil
public class SchemaUtil
This is an Utility class that contains the utility for the management Xmlschema.
| Field Summary | |
|---|---|
static QName |
Q_ELEMENT_SCHEMA
The QName of the schema |
| Constructor Summary | |
|---|---|
SchemaUtil()
|
|
| Method Summary | |
|---|---|
static void |
createW3CSchema(String path)
This method create a ws-addr schema in the target Folder |
static List<String> |
createXSD(List<javax.wsdl.extensions.schema.Schema> schemas,
String path,
String service)
Creates XMLSchema from an list of schemas and writes the file |
static Element |
generateElementSchemaFromSchemaImports(List<javax.wsdl.extensions.schema.SchemaImport> imports)
Generates the org.w3c.dom.Element schema from list of SchemaImport |
static String |
generateFileNameXSD(String targetNamespace,
String service)
Generates name's file of the file XSD |
static List<javax.wsdl.extensions.schema.Schema> |
getSchemaWrapperList(org.apache.cxf.service.model.ServiceInfo serviceInfo,
javax.wsdl.Definition wsdlDefinition)
Returns the Schemas tha contains wrapper elements in a Wrapped-style wsdl |
static void |
registerSchema(javax.wsdl.extensions.ExtensionRegistry registry)
Utility method that registers the extensibility elements for WSDL4J. |
static void |
writeElement(Element el,
FileWriter fw)
Writes the element in the FileWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final QName Q_ELEMENT_SCHEMA
| Constructor Detail |
|---|
public SchemaUtil()
| Method Detail |
|---|
public static final Element generateElementSchemaFromSchemaImports(List<javax.wsdl.extensions.schema.SchemaImport> imports)
throws ParserConfigurationException
imports - list of import tag
ParserConfigurationException
public static List<String> createXSD(List<javax.wsdl.extensions.schema.Schema> schemas,
String path,
String service)
throws IOException,
TransformerException
schemas - list schemapath - path fileservice - name service
IOException
TransformerException
public static String generateFileNameXSD(String targetNamespace,
String service)
targetNamespace - namespaceservice - service name
public static void writeElement(Element el,
FileWriter fw)
throws IOException,
TransformerException
el - element by writefw - filewriter wrote
IOException
TransformerExceptionpublic static void registerSchema(javax.wsdl.extensions.ExtensionRegistry registry)
registry - The ExtensionRegistry where the partner link extension is
registered.
public static List<javax.wsdl.extensions.schema.Schema> getSchemaWrapperList(org.apache.cxf.service.model.ServiceInfo serviceInfo,
javax.wsdl.Definition wsdlDefinition)
serviceInfo - wsdlDefinition -
public static void createW3CSchema(String path)
throws IOException,
URISyntaxException
IOException
URISyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||