Config

final case class Config(allowSyntaxError: Boolean, allowUnresolvedXLinkLabel: Boolean, allowUnresolvedLocator: Boolean)

Configuration object used by a RelationshipFactory. It says to what extent the RelationshipFactory using it allows syntax errors in XLink arcs and locators, as well as "dead" locator href URIs.

Configuration object used by a RelationshipFactory. It says to what extent the RelationshipFactory using it allows syntax errors in XLink arcs and locators, as well as "dead" locator href URIs.

Handling missing XLink arcrole attributes of arcs cannot be configured. This can be handled through the use of an appropriate arc filter, though.

Value Params
allowSyntaxError

if true, allows syntax errors such as XPointer syntax errors or missing arcrole attributes

allowUnresolvedLocator

if true, allows "dead" locator href URIs within the taxonomy

allowUnresolvedXLinkLabel

if true, allows "dead" arc XLink "from" or "to" attributes within any extended link

Constructor

create a new configuration from the passed boolean flags

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def allowMissingArcrole: Boolean

Returns true if missing arcrole attributes in arcs are allowed

Returns true if missing arcrole attributes in arcs are allowed

def allowWrongXPointer: Boolean

Returns true if XPointer syntax errors in any locator href URI fragment are allowed

Returns true if XPointer syntax errors in any locator href URI fragment are allowed

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product