com.android.sdklib.repository
Class SdkSysImgConstants

java.lang.Object
  extended by com.android.sdklib.repository.RepoConstants
      extended by com.android.sdklib.repository.SdkSysImgConstants

Deprecated. moved to studio

@Deprecated
public class SdkSysImgConstants
extends RepoConstants

Public constants for the sdk-sys-img XML Schema.


Field Summary
static java.lang.String ATTR_TAG_DISPLAY
          Deprecated. The user-visible display part of a system-image tag id.
static java.lang.String ATTR_TAG_ID
          Deprecated. A system-image tag id.
static java.lang.String NODE_ADD_ON
          Deprecated. An add-on sub-element, indicating this is an add-on system image.
static java.lang.String NODE_SDK_SYS_IMG
          Deprecated. The root sdk-sys-img element
static java.lang.String[] NODES
          Deprecated. List of possible nodes in a repository XML.
static int NS_LATEST_VERSION
          Deprecated. The latest version of the sdk-sys-img XML Schema.
static java.lang.String NS_PATTERN
          Deprecated. The pattern of our sdk-sys-img XML namespace.
static java.lang.String NS_URI
          Deprecated. The XML namespace of the latest sdk-sys-img XML.
static java.lang.String URL_DEFAULT_FILENAME
          Deprecated. The default name looked for by SdkSource when trying to load an sdk-sys-img XML if the URL doesn't match an existing resource.
 
Fields inherited from class com.android.sdklib.repository.RepoConstants
ATTR_ID, ATTR_REF, ATTR_TYPE, FD_TEMP, LEGACY_ATTR_ARCH, LEGACY_ATTR_OS, NODE_ABI, NODE_ABI_INCLUDED, NODE_API, NODE_API_LEVEL, NODE_ARCHIVE, NODE_ARCHIVES, NODE_CHECKSUM, NODE_CODENAME, NODE_DESC_URL, NODE_DESCRIPTION, NODE_HOST_BITS, NODE_HOST_OS, NODE_JVM_BITS, NODE_LAYOUT_LIB, NODE_LIB, NODE_LIBS, NODE_LICENSE, NODE_LIST_DISPLAY, NODE_MIN_API_LEVEL, NODE_MIN_JVM_VERSION, NODE_MIN_PLATFORM_TOOLS_REV, NODE_MIN_TOOLS_REV, NODE_NAME, NODE_NAME_DISPLAY, NODE_NAME_ID, NODE_OBSOLETE, NODE_OLD_PATHS, NODE_PATH, NODE_PROJECT_FILES, NODE_RELEASE_NOTE, NODE_RELEASE_URL, NODE_REVISION, NODE_SIZE, NODE_SYSTEM_IMAGE, NODE_URL, NODE_USES_LICENSE, NODE_VENDOR, NODE_VENDOR_DISPLAY, NODE_VENDOR_ID, NODE_VERSION, SHA1_CHECKSUM_LEN, SHA1_TYPE
 
Constructor Summary
SdkSysImgConstants()
          Deprecated.  
 
Method Summary
static java.lang.String getSchemaUri(int version)
          Deprecated. Returns the URI of the sdk-sys-img schema for the given version number.
static java.io.InputStream getXsdStream(int version)
          Deprecated. Returns a stream to the requested sdk-sys-img XML Schema.
 
Methods inherited from class com.android.sdklib.repository.RepoConstants
getXsdStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_DEFAULT_FILENAME

public static final java.lang.String URL_DEFAULT_FILENAME
Deprecated. 
The default name looked for by SdkSource when trying to load an sdk-sys-img XML if the URL doesn't match an existing resource.

See Also:
Constant Field Values

NS_PATTERN

public static final java.lang.String NS_PATTERN
Deprecated. 
The pattern of our sdk-sys-img XML namespace. Matcher's group(1) is the schema version (integer).

See Also:
Constant Field Values

NS_LATEST_VERSION

public static final int NS_LATEST_VERSION
Deprecated. 
The latest version of the sdk-sys-img XML Schema. Valid version numbers are between 1 and this number, included.

See Also:
Constant Field Values

NS_URI

public static final java.lang.String NS_URI
Deprecated. 
The XML namespace of the latest sdk-sys-img XML.


NODE_SDK_SYS_IMG

public static final java.lang.String NODE_SDK_SYS_IMG
Deprecated. 
The root sdk-sys-img element

See Also:
Constant Field Values

ATTR_TAG_ID

public static final java.lang.String ATTR_TAG_ID
Deprecated. 
A system-image tag id.

See Also:
Constant Field Values

ATTR_TAG_DISPLAY

public static final java.lang.String ATTR_TAG_DISPLAY
Deprecated. 
The user-visible display part of a system-image tag id. Optional.

See Also:
Constant Field Values

NODE_ADD_ON

public static final java.lang.String NODE_ADD_ON
Deprecated. 
An add-on sub-element, indicating this is an add-on system image.

See Also:
Constant Field Values

NODES

public static final java.lang.String[] NODES
Deprecated. 
List of possible nodes in a repository XML. Used to populate options automatically in the no-GUI mode.

Constructor Detail

SdkSysImgConstants

public SdkSysImgConstants()
Deprecated. 
Method Detail

getXsdStream

public static java.io.InputStream getXsdStream(int version)
Deprecated. 
Returns a stream to the requested sdk-sys-img XML Schema.

Parameters:
version - Between 1 and NS_LATEST_VERSION, included.
Returns:
An InputStream object for the local XSD file or null if there is no schema for the requested version.

getSchemaUri

public static java.lang.String getSchemaUri(int version)
Deprecated. 
Returns the URI of the sdk-sys-img schema for the given version number.

Parameters:
version - Between 1 and NS_LATEST_VERSION included.