@Override protected void prepareAttributes() throws XPathException { sourceBinding.prepareAttributes(allowedAttributes); }
@Override public void prepareAttributes() throws XPathException { sourceBinding.prepareAttributes(permittedAttributes); }
@Override public void prepareAttributes() throws XPathException { sourceBinding.prepareAttributes(permittedAttributes); }
@Override protected void prepareAttributes() throws XPathException { sourceBinding.prepareAttributes(allowedAttributes); }
public void prepareAttributes() throws XPathException { if (state == 2) { return; } if (state == 1) { compileError("Circular reference to variable", "XTDE0640"); } state = 1; //System.err.println("Prepare attributes of $" + getVariableName()); sourceBinding.prepareAttributes(getPermittedAttributes()); state = 2; }
public void prepareAttributes() throws XPathException { if (state == 2) { return; } if (state == 1) { compileError("Circular reference to variable", "XTDE0640"); } state = 1; //System.err.println("Prepare attributes of $" + getVariableName()); sourceBinding.prepareAttributes(getPermittedAttributes()); state = 2; }
@Override public void prepareAttributes() throws XPathException { if (!prepared) { prepared = true; sourceBinding.setProperty(SourceBinding.PARAM, true); if (getParent() instanceof XSLFunction) { permittedAttributes &= ~SourceBinding.SELECT; sourceBinding.setProperty(SourceBinding.DISALLOWS_CONTENT, true); } sourceBinding.prepareAttributes(permittedAttributes); if (sourceBinding.hasProperty(SourceBinding.TUNNEL) && !(getParent() instanceof XSLTemplate)) { compileError("For attribute 'tunnel' within an " + getParent().getDisplayName() + " parameter, the only permitted value is 'no'", "XTSE0020"); } if (getParent() instanceof XSLFunction && getAttributeValue("", "required") != null) { if (!sourceBinding.hasProperty(SourceBinding.REQUIRED)) { compileError("For attribute 'required' within an " + getParent().getDisplayName() + " parameter, the only permitted value is 'yes'", "XTSE0020"); } } } }
@Override public void prepareAttributes() throws XPathException { if (!prepared) { prepared = true; sourceBinding.setProperty(SourceBinding.PARAM, true); if (getParent() instanceof XSLFunction) { permittedAttributes &= ~SourceBinding.SELECT; sourceBinding.setProperty(SourceBinding.DISALLOWS_CONTENT, true); } sourceBinding.prepareAttributes(permittedAttributes); if (sourceBinding.hasProperty(SourceBinding.TUNNEL) && !(getParent() instanceof XSLTemplate)) { compileError("For attribute 'tunnel' within an " + getParent().getDisplayName() + " parameter, the only permitted value is 'no'", "XTSE0020"); } if (getParent() instanceof XSLFunction && getAttributeValue("", "required") != null) { if (!sourceBinding.hasProperty(SourceBinding.REQUIRED)) { compileError("For attribute 'required' within an " + getParent().getDisplayName() + " parameter, the only permitted value is 'yes'", "XTSE0020"); } } } }