nested = null; } else { nested = new NestedElementTemplateDirectiveBody(childBuffer);
nested = null; } else { nested = new NestedElementTemplateDirectiveBody(childBuffer);
nested = null; } else { nested = new NestedElementTemplateDirectiveBody(childBuffer);
public static void check(TemplateDirectiveBody body) throws NestedContentNotSupportedException { if (body == null) { return; } if (body instanceof NestedElementTemplateDirectiveBody) { TemplateElement[] tes = ((NestedElementTemplateDirectiveBody) body).getChildrenBuffer(); if (tes == null || tes.length == 0 || tes[0] instanceof ThreadInterruptionCheck && (tes.length == 1 || tes[1] == null)) { return; } } throw new NestedContentNotSupportedException(Environment.getCurrentEnvironment()); }
public static void check(TemplateDirectiveBody body) throws NestedContentNotSupportedException { if (body == null) { return; } if (body instanceof NestedElementTemplateDirectiveBody) { TemplateElement[] tes = ((NestedElementTemplateDirectiveBody) body).getChildrenBuffer(); if (tes == null || tes.length == 0 || tes[0] instanceof ThreadInterruptionCheck && (tes.length == 1 || tes[1] == null)) { return; } } throw new NestedContentNotSupportedException(Environment.getCurrentEnvironment()); }
public static void check(TemplateDirectiveBody body) throws NestedContentNotSupportedException { if (body == null) { return; } if (body instanceof NestedElementTemplateDirectiveBody) { TemplateElement[] tes = ((NestedElementTemplateDirectiveBody) body).getChildrenBuffer(); if (tes == null || tes.length == 0 || tes[0] instanceof ThreadInterruptionCheck && (tes.length == 1 || tes[1] == null)) { return; } } throw new NestedContentNotSupportedException(Environment.getCurrentEnvironment()); }