com.android.sdklib.repository
Class RepoXsdUtil
java.lang.Object
com.android.sdklib.repository.RepoXsdUtil
public class RepoXsdUtil
- extends java.lang.Object
Utilities related to the respository XSDs.
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 |
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
RepoXsdUtil
public RepoXsdUtil()
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.