Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.schema
Class XSDLoader

java.lang.Object
  extended by org.nuxeo.ecm.core.schema.XSDLoader

public class XSDLoader
extends java.lang.Object

Author:
Bogdan Stefanescu

Field Summary
static java.lang.String NS_XSD
           
 
Constructor Summary
XSDLoader(SchemaManagerImpl typeManager)
           
 
Method Summary
 ListType createListType(Schema schema, java.lang.String name, com.sun.xml.xsom.XSParticle particle)
           
static com.sun.xml.xsom.XSSchema getUserSchema(com.sun.xml.xsom.XSSchemaSet schemaSet)
           
 Type loadLocalType(com.sun.xml.xsom.XSType xsType)
           
 Schema loadSchema(java.lang.String name, java.lang.String prefix, java.io.File file, boolean override)
           
 Schema loadSchema(java.lang.String name, java.lang.String prefix, java.io.InputStream in)
           
 Schema loadSchema(java.lang.String name, java.lang.String prefix, java.net.URL url)
           
 Schema loadSchema(java.lang.String name, java.lang.String prefix, com.sun.xml.xsom.XSSchema schema, boolean override)
           
 Type loadType(Schema schema, com.sun.xml.xsom.XSType type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_XSD

public static final java.lang.String NS_XSD
See Also:
Constant Field Values
Constructor Detail

XSDLoader

public XSDLoader(SchemaManagerImpl typeManager)
Method Detail

getUserSchema

public static com.sun.xml.xsom.XSSchema getUserSchema(com.sun.xml.xsom.XSSchemaSet schemaSet)

loadSchema

public Schema loadSchema(java.lang.String name,
                         java.lang.String prefix,
                         java.io.File file,
                         boolean override)
                  throws org.xml.sax.SAXException,
                         java.io.IOException,
                         TypeException
Throws:
org.xml.sax.SAXException
java.io.IOException
TypeException

loadSchema

public Schema loadSchema(java.lang.String name,
                         java.lang.String prefix,
                         java.net.URL url)
                  throws org.xml.sax.SAXException,
                         TypeException
Throws:
org.xml.sax.SAXException
TypeException

loadSchema

public Schema loadSchema(java.lang.String name,
                         java.lang.String prefix,
                         java.io.InputStream in)
                  throws org.xml.sax.SAXException,
                         TypeException
Throws:
org.xml.sax.SAXException
TypeException

loadSchema

public Schema loadSchema(java.lang.String name,
                         java.lang.String prefix,
                         com.sun.xml.xsom.XSSchema schema,
                         boolean override)
                  throws TypeException
Throws:
TypeException

loadType

public Type loadType(Schema schema,
                     com.sun.xml.xsom.XSType type)
              throws TypeBindingException
Throws:
TypeBindingException

loadLocalType

public Type loadLocalType(com.sun.xml.xsom.XSType xsType)

createListType

public ListType createListType(Schema schema,
                               java.lang.String name,
                               com.sun.xml.xsom.XSParticle particle)
                        throws TypeBindingException
Throws:
TypeBindingException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.