public void writeDoctype(String name, String publicId, String systemId) { if (this.finished) { return; } DoctypeUnit unit = new DoctypeUnit(this.alias, this.nextTagId(), name, publicId, systemId, faceletsProcessingInstructions.isHtml5Doctype()); this.startUnit(unit); }
public void popNamespace(String ns) { this.namespaceManager.popNamespace(ns); if (this.currentUnit() instanceof NamespaceUnit) { this.finishUnit(); } }
public FaceletHandler createFaceletHandler() { FaceletHandler next = this.getNextFaceletHandler(); return new NamespaceHandler(next, this.library, this.ns); }
public void writeWhitespace(String text) { if (!this.compiler.isTrimmingWhitespace()) { this.writeText(text); } }
public void endCDATA() throws SAXException { if (this.inDocument && inMetadata) { if (!this.unit.getFaceletsProcessingInstructions().isConsumeCDataSections()) { this.unit.writeInstruction("]]>"); } else { this.consumingCDATA = false; } } }
private Tag trimAttributes(Tag tag) { Tag t = this.trimJSFCAttribute(tag); t = this.trimNSAttributes(t); return t; }
public final FaceletHandler compileViewMetadata(URL src, String alias) throws IOException, FaceletException, ELException, FacesException { if (!this.initialized) this.initialize(); return this.doCompileViewMetadata(src, alias); }
@Override public Instruction apply(ExpressionFactory factory, ELContext ctx) { Instruction[] array = new Instruction[instructions.length]; for (int i = 0; i < instructions.length; i++) { array[i] = instructions[i].apply(factory, ctx); } return new CompositeTextInstruction(array); }
public void endCDATA() throws SAXException { if (this.inDocument && inMetadata) { this.unit.writeInstruction("]]>"); } }
public void encodeBegin(FacesContext context) throws IOException { int size = this.instructions.length; for (int i = 0; i < size; i++) { this.instructions[i].write(context); } }
public boolean isNextHandlerCompositeComponent() { return next.isNextHandlerCompositeComponent(); } }
public final FaceletHandler compileComponent( String taglibURI, String tagName, Map<String,Object> attributes) { return this.doCompileComponent(taglibURI, tagName, attributes); }
public void popNamespace(String ns) { this.namespaceManager.popNamespace(ns); if (this.currentUnit() instanceof NamespaceUnit) { this.finishUnit(); } }
public FaceletHandler createFaceletHandler() { FaceletHandler next = this.getNextFaceletHandler(); return new NamespaceHandler(next, this.library, this.ns); }
public void writeWhitespace(String text) { if (!this.compiler.isTrimmingWhitespace()) { this.writeText(text); } }
public void startCDATA() throws SAXException { if (this.inDocument && inMetadata) { if (!this.unit.getFaceletsProcessingInstructions().isConsumeCDataSections()) { this.unit.writeInstruction("<![CDATA["); } else { this.consumingCDATA = true; } } }
public void startCDATA() throws SAXException { if (this.inDocument && inCompositeInterface) { this.unit.writeInstruction("<![CDATA["); } }
public void popNamespace(String ns) { this.namespaceManager.popNamespace(ns); if (this.currentUnit() instanceof NamespaceUnit) { this.finishUnit(); } }
public FaceletHandler createFaceletHandler() { FaceletHandler next = this.getNextFaceletHandler(); return new NamespaceHandler(next, this.library, this.ns); }
public void writeWhitespace(String text) { if (!this.compiler.isTrimmingWhitespace()) { this.writeText(text); } }