org.codehaus.modello.plugin.xsd
Class XsdModelHelper

java.lang.Object
  extended by org.codehaus.modello.plugin.xsd.XsdModelHelper

public class XsdModelHelper
extends Object

Helper methods to deal with XML schema representation of the model.

Version:
$Id: XsdModelHelper.java 1426 2010-03-28 15:35:15Z hboutemy $
Author:
Hervé Boutemy

Constructor Summary
XsdModelHelper()
           
 
Method Summary
static String getNamespace(Model model, Version version)
           
static String getTargetNamespace(Model model, Version version)
           
static String getTargetNamespace(Model model, Version version, String namespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsdModelHelper

public XsdModelHelper()
Method Detail

getNamespace

public static String getNamespace(Model model,
                                  Version version)
                           throws ModelloException
Throws:
ModelloException

getTargetNamespace

public static String getTargetNamespace(Model model,
                                        Version version,
                                        String namespace)

getTargetNamespace

public static String getTargetNamespace(Model model,
                                        Version version)
                                 throws ModelloException
Throws:
ModelloException


Copyright © 2001-2011 Codehaus. All Rights Reserved.