Global

Methods

addMissingNamespaces(xmlSource)

Source:
Parameters:
Name Type Description
xmlSource string

getHrefType(inputHref) → {'absolute'|'protocolRelative'|'rootRelative'|'relative'|'inline'}

Source:
Parameters:
Name Type Description
inputHref string
Returns:
Type
'absolute' | 'protocolRelative' | 'rootRelative' | 'relative' | 'inline'

removeAddedNamespaces(xmlSource)

Source:
Parameters:
Name Type Description
xmlSource string

Type Definitions

AssetConfig

Source:
Properties:
Name Type Attributes Description
type String <optional>

The Assets type. Will be inferred if missing

rawSrc Buffer <optional>

Buffer object containing the raw source of the asset

contentType String <optional>

The Content-Type (MIME type) of the asset. For subclasses of Asset there will be a reasonable default.

url String <optional>

The fully qualified (absolute) url of the asset. If not provided, the asset will be considered inline. This property takes precedence over all other url parts in the configuration

fileName String <optional>
baseName String <optional>
extension String <optional>
protocol String <optional>
username String <optional>
password String <optional>
hostname String <optional>
port Number <optional>
path String <optional>

Configuration object used to construct Assets in all places where an asset is automatically constructed. For example in AssetGraph.addAsset or in the to-property in Asset.addRelation

Type:
  • Object