com.android.sdklib.repository
Class RepoXsdUtil

java.lang.Object
  extended by com.android.sdklib.repository.RepoXsdUtil

public class RepoXsdUtil
extends java.lang.Object

Utilities related to the respository XSDs.


Field Summary
static java.lang.String ATTR_SCHEMA_LOCATION
           
static java.lang.String NODE_IMPORT
           
static java.lang.String NODE_INCLUDE
           
 
Constructor Summary
RepoXsdUtil()
           
 
Method Summary
static javax.xml.transform.stream.StreamSource[] getXsdStream(java.lang.String rootElement, int version)
          Gets StreamSources for the given xsd (implied by the name and version), as well as any xsds imported or included by the main one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_IMPORT

public static final java.lang.String NODE_IMPORT
See Also:
Constant Field Values

NODE_INCLUDE

public static final java.lang.String NODE_INCLUDE
See Also:
Constant Field Values

ATTR_SCHEMA_LOCATION

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

RepoXsdUtil

public RepoXsdUtil()
Method Detail

getXsdStream

public static javax.xml.transform.stream.StreamSource[] getXsdStream(java.lang.String rootElement,
                                                                     int version)
Gets StreamSources for the given xsd (implied by the name and version), as well as any xsds imported or included by the main one.

Parameters:
rootElement - The root of the filename of the XML schema. This is by convention the same as the root element declared by the schema.
version - The XML schema revision number, an integer >= 1.