com.xmlcalabash.model.ErrorBinding Maven / Gradle / Ivy
The newest version!
/*
* ErrorBinding.java
*
* Copyright 2008 Mark Logic Corporation.
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.xmlcalabash.model;
import net.sf.saxon.s9api.XdmNode;
import com.xmlcalabash.core.XProcRuntime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author ndw
*/
public class ErrorBinding extends Binding {
/* Creates a new instance of EmptyBinding */
public ErrorBinding() {
super(null,null);
bindingType = ERROR_BINDING;
}
public ErrorBinding(XProcRuntime xproc, XdmNode node) {
super(xproc, node);
bindingType = ERROR_BINDING;
}
protected void dump(int depth) {
String indent = "";
for (int count = 0; count < depth; count++) {
indent += " ";
}
logger.trace(indent + "Error binding");
}
}