MarkerTemp.java 811 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa.text;

import com.adobe.xfa.text.TextMarker;
import com.adobe.xfa.text.TextPosn;
import com.adobe.xfa.text.TextPosnBase;

class MarkerTemp
extends TextMarker {
    private final TextPosn moStart;
    private TextMarker mpoMarkerCopy;

    public MarkerTemp(TextPosnBase oPosn, TextMarker poSourceMarker) {
        this.moStart = new TextPosn(oPosn);
        this.moStart.position(1);
        this.mpoMarkerCopy = poSourceMarker.cloneMarker();
    }

    public TextPosn getStart() {
        return this.moStart;
    }

    public TextMarker getMarkerCopy() {
        return this.mpoMarkerCopy;
    }

    public void detach() {
        this.mpoMarkerCopy = null;
    }

    @Override
    public TextMarker cloneMarker() {
        return null;
    }
}