System::Xml::Resolvers::XmlPreloadedResolver::Add method

XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const ArrayPtr<uint8_t>&) method

Adds a byte array to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.

void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const ArrayPtr<uint8_t> &value)
ParameterTypeDescription
uriconst SharedPtr<Uri>&The URI of the data that is being added to the XmlPreloadedResolver store.
valueconst ArrayPtr<uint8_t>&A byte array with the data that corresponds to the provided URI.

See Also

XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const ArrayPtr<uint8_t>&, int32_t, int32_t) method

Adds a byte array to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.

void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const ArrayPtr<uint8_t> &value, int32_t offset, int32_t count)
ParameterTypeDescription
uriconst SharedPtr<Uri>&The URI of the data that is being added to the XmlPreloadedResolver store.
valueconst ArrayPtr<uint8_t>&A byte array with the data that corresponds to the provided URI.
offsetint32_tThe offset in the provided byte array where the data starts.
countint32_tThe number of bytes to read from the byte array, starting at the provided offset.

See Also

XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const SharedPtr<IO::Stream>&) method

Adds a Stream to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.

void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const SharedPtr<IO::Stream> &value)
ParameterTypeDescription
uriconst SharedPtr<Uri>&The URI of the data that is being added to the XmlPreloadedResolver store.
valueconst SharedPtr<IO::Stream>&A Stream with the data that corresponds to the provided URI.

See Also

XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const String&) method

Adds a string with preloaded data to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.

void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const String &value)
ParameterTypeDescription
uriconst SharedPtr<Uri>&The URI of the data that is being added to the XmlPreloadedResolver store.
valueconst String&A String with the data that corresponds to the provided URI.

See Also