org.jvyamlb
Class PositioningComposerImpl
java.lang.Object
org.jvyamlb.ComposerImpl
org.jvyamlb.PositioningComposerImpl
- All Implemented Interfaces:
- Composer, Positionable, PositioningComposer
public class PositioningComposerImpl
- extends ComposerImpl
- implements PositioningComposer
- Author:
- Ola Bini
Method Summary |
protected void |
composerException(java.lang.String when,
java.lang.String what,
java.lang.String note,
Event e)
|
protected Node |
createMapping(java.lang.String tag,
java.util.Map value,
boolean flowStyle,
Event e)
|
protected Node |
createSequence(java.lang.String tag,
java.util.List value,
boolean flowStyle,
Event e)
|
protected void |
finalizeMapping(Node node,
Event e)
|
protected void |
finalizeSequence(Node node,
Event e)
|
Position |
getPosition()
|
Position.Range |
getRange()
|
protected Node |
getScalar(java.lang.String tag,
org.jruby.util.ByteList value,
char style,
Event e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PositioningComposerImpl
public PositioningComposerImpl(PositioningParser parser,
Resolver resolver)
getPosition
public Position getPosition()
- Specified by:
getPosition
in interface Positionable
getRange
public Position.Range getRange()
- Specified by:
getRange
in interface Positionable
getScalar
protected Node getScalar(java.lang.String tag,
org.jruby.util.ByteList value,
char style,
Event e)
- Overrides:
getScalar
in class ComposerImpl
createMapping
protected Node createMapping(java.lang.String tag,
java.util.Map value,
boolean flowStyle,
Event e)
- Overrides:
createMapping
in class ComposerImpl
finalizeMapping
protected void finalizeMapping(Node node,
Event e)
- Overrides:
finalizeMapping
in class ComposerImpl
createSequence
protected Node createSequence(java.lang.String tag,
java.util.List value,
boolean flowStyle,
Event e)
- Overrides:
createSequence
in class ComposerImpl
finalizeSequence
protected void finalizeSequence(Node node,
Event e)
- Overrides:
finalizeSequence
in class ComposerImpl
composerException
protected void composerException(java.lang.String when,
java.lang.String what,
java.lang.String note,
Event e)
- Overrides:
composerException
in class ComposerImpl