Search this API

y.io.graphml.input
Interface DeserializationProperties


public interface DeserializationProperties

Constant class for common deserialization properties.

See Also:
GraphMLParseContext.getDeserializationProperty(Object)
 
Your browser does not support SVG content.

Field Summary
static java.lang.String CURRENT_SCOPE
          The current KeyScope in which an InputHandler or custom deserialization code is called.
static java.lang.String GRAPHML_CORE_NAMESPACE
          The namespace for core graphml elements.
static java.lang.String IGNORE_PORTS
          Specifies the behaviour when parsing of ports.
static java.lang.String IGNORE_RESOURCE_ERRORS
          Specifies the behaviour when parsing of embedded or external resources fails.
static java.lang.String IGNORE_UNKNOWN_REALIZERS
          Specifies the handling of unknown Node/EdgeRealizers.
 

Field Detail

CURRENT_SCOPE

static final java.lang.String CURRENT_SCOPE
The current KeyScope in which an InputHandler or custom deserialization code is called.

This property is set by the parser and should only be queried.

See Also:
Constant Field Values

GRAPHML_CORE_NAMESPACE

static final java.lang.String GRAPHML_CORE_NAMESPACE
The namespace for core graphml elements.

This property is set by the parser and should only be queried.

See Also:
Constant Field Values

IGNORE_UNKNOWN_REALIZERS

static final java.lang.String IGNORE_UNKNOWN_REALIZERS
Specifies the handling of unknown Node/EdgeRealizers.

If that property is set to true, Node/EdgeRealizers for which no RealizerSerializers are registered are parsed by FallbackEdgeRealizerSerializer and FallbackNodeRealizerSerializer. Otherwise, a DeserializationNotSupportedException is thrown.

Default value is true.

See Also:
Constant Field Values

IGNORE_RESOURCE_ERRORS

static final java.lang.String IGNORE_RESOURCE_ERRORS
Specifies the behaviour when parsing of embedded or external resources fails.

If that property is set to true, errors that occur when loading embedded or external resources are logged only. Otherwise, a GraphMLParseException is thrown.

Default value is true.

See Also:
Constant Field Values

IGNORE_PORTS

static final java.lang.String IGNORE_PORTS
Specifies the behaviour when parsing of ports.

If this property is set to true, graphml <port> elements are ignored.

Default value is false.

See Also:
Constant Field Values

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.