Udostępnij za pośrednictwem


SAXSource.SystemId Property

Definition

Get the base ID (URI or system ID) from where URIs will be resolved. -or- Set the system identifier for this Source.

public virtual string? SystemId { [Android.Runtime.Register("getSystemId", "()Ljava/lang/String;", "GetGetSystemIdHandler")] get; [Android.Runtime.Register("setSystemId", "(Ljava/lang/String;)V", "GetSetSystemId_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getSystemId", "()Ljava/lang/String;", "GetGetSystemIdHandler")>]
[<set: Android.Runtime.Register("setSystemId", "(Ljava/lang/String;)V", "GetSetSystemId_Ljava_lang_String_Handler")>]
member this.SystemId : string with get, set

Property Value

Base URL for the Source, or null.

Implements

Attributes

Remarks

Property getter documentation:

Get the base ID (URI or system ID) from where URIs will be resolved.

Java documentation for javax.xml.transform.sax.SAXSource.getSystemId().

Property setter documentation:

Set the system identifier for this Source. If an input source has already been set, it will set the system ID or that input source, otherwise it will create a new input source.

The system identifier is optional if there is a byte stream or a character stream, but it is still useful to provide one, since the application can use it to resolve relative URIs and can include it in error messages and warnings (the parser will attempt to open a connection to the URI only if no byte stream or character stream is specified).

Java documentation for javax.xml.transform.sax.SAXSource.setSystemId(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to