List of usage examples for org.apache.wicket.markup ComponentTag makeImmutable
public final void makeImmutable()
From source file:sf.wicklet.wicketext.markup.impl.WicketWriter.java
License:Apache License
private WicketWriter start(final ComponentTag open, final String id, final String wicketid, final ComponentTag close, final String... attrs) { raw(xhtml);/*from ww w. jav a 2 s . c o m*/ if (id != null) { open.setId(id); } addAttributes(open.getAttributes(), wicketid, attrs); pushClose(open, close); open.makeImmutable(); markups.add(open); return this; }
From source file:sf.wicklet.wicketext.markup.impl.WicketWriter.java
License:Apache License
private WicketWriter start(final ComponentTag open, final String id, final String wicketid, final ComponentTag close, final Iterable<IAttribute> attrs) { raw(xhtml);//w w w . j a v a 2 s .c o m if (id != null) { open.setId(id); } addAttributes(open.getAttributes(), wicketid, attrs); pushClose(open, close); open.makeImmutable(); markups.add(open); return this; }
From source file:sf.wicklet.wicketext.markup.impl.WicketWriter.java
License:Apache License
protected void pushClose(final ComponentTag open, final ComponentTag close) { if (close != null) { close.makeImmutable(); close.setOpenTag(open);/*from ww w .ja va 2 s .c o m*/ tagStack.push(close); } else { open.setOpenTag(open); } }