Package org.opencms.gwt.client.util
Class DOMParser
java.lang.Object
org.opencms.gwt.client.util.DOMParser
JsInterop type for the native DOMParser class (not provided by elemental2 yet).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjsinterop.base.Any
parseFromString
(String content, String mimeType) Parses a document from the given string.
-
Constructor Details
-
DOMParser
public DOMParser()Creates a new instance.
-
-
Method Details
-
parseFromString
Parses a document from the given string.- Parameters:
content
- the string with the document contentmimeType
- the mimetype- Returns:
- the document
-