org.apache.geronimo.deployment.xmlbeans
Class XmlBeansUtil

java.lang.Object
  extended by org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil

public class XmlBeansUtil
extends Object


Method Summary
static org.apache.xmlbeans.XmlOptions createXmlOptions(Collection errors)
           
static org.apache.xmlbeans.QNameSet getQNameSetForSubstitutionGroup(QName substitutionGroup)
           
static org.apache.xmlbeans.XmlObject parse(Element element)
           
static org.apache.xmlbeans.XmlObject parse(File file)
           
static org.apache.xmlbeans.XmlObject parse(InputStream is)
           
static org.apache.xmlbeans.XmlObject parse(String xml)
           
static org.apache.xmlbeans.XmlObject parse(URL url, ClassLoader cl)
           
static void registerNamespaceUpdates(Map<String,String> updates)
           
static void registerSubstitutionGroupElements(QName substitutionGroup, org.apache.xmlbeans.QNameSet substitutions)
           
static org.apache.xmlbeans.XmlObject[] selectSubstitutionGroupElements(QName substitutionGroup, org.apache.xmlbeans.XmlObject container)
           
static org.apache.xmlbeans.XmlObject typedCopy(org.apache.xmlbeans.XmlObject in, org.apache.xmlbeans.SchemaType type)
           
static void unregisterNamespaceUpdates(Map<String,String> updates)
           
static void unregisterSubstitutionGroupElements(QName substitutionGroup, org.apache.xmlbeans.QNameSet substitutions)
           
static void validateDD(org.apache.xmlbeans.XmlObject dd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerNamespaceUpdates

public static void registerNamespaceUpdates(Map<String,String> updates)

unregisterNamespaceUpdates

public static void unregisterNamespaceUpdates(Map<String,String> updates)

parse

public static org.apache.xmlbeans.XmlObject parse(File file)
                                           throws IOException,
                                                  org.apache.xmlbeans.XmlException
Throws:
IOException
org.apache.xmlbeans.XmlException

parse

public static org.apache.xmlbeans.XmlObject parse(URL url,
                                                  ClassLoader cl)
                                           throws IOException,
                                                  org.apache.xmlbeans.XmlException
Throws:
IOException
org.apache.xmlbeans.XmlException

parse

public static org.apache.xmlbeans.XmlObject parse(InputStream is)
                                           throws IOException,
                                                  org.apache.xmlbeans.XmlException
Throws:
IOException
org.apache.xmlbeans.XmlException

parse

public static org.apache.xmlbeans.XmlObject parse(String xml)
                                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

public static org.apache.xmlbeans.XmlObject parse(Element element)
                                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

createXmlOptions

public static org.apache.xmlbeans.XmlOptions createXmlOptions(Collection errors)

registerSubstitutionGroupElements

public static void registerSubstitutionGroupElements(QName substitutionGroup,
                                                     org.apache.xmlbeans.QNameSet substitutions)

unregisterSubstitutionGroupElements

public static void unregisterSubstitutionGroupElements(QName substitutionGroup,
                                                       org.apache.xmlbeans.QNameSet substitutions)

getQNameSetForSubstitutionGroup

public static org.apache.xmlbeans.QNameSet getQNameSetForSubstitutionGroup(QName substitutionGroup)

selectSubstitutionGroupElements

public static org.apache.xmlbeans.XmlObject[] selectSubstitutionGroupElements(QName substitutionGroup,
                                                                              org.apache.xmlbeans.XmlObject container)

typedCopy

public static org.apache.xmlbeans.XmlObject typedCopy(org.apache.xmlbeans.XmlObject in,
                                                      org.apache.xmlbeans.SchemaType type)
                                               throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

validateDD

public static void validateDD(org.apache.xmlbeans.XmlObject dd)
                       throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.