/** * Factory method to create a static Tag that represents some static content. * * <p> * Note that to if you use jelly:define taglib, these tags might turn out to be non-static * during the runtime. */ protected TagScript createStaticTag( final String namespaceURI, final String localName, final String qName, Attributes list) throws SAXException { try { StaticTagScript script = new StaticTagScript(); configureTagScript(script); configureStaticTagAttributes(script,list); return script; } catch (Exception e) { log.warn( "Could not create static tag for URI: " + namespaceURI + " tag name: " + localName, e); throw createSAXException(e); } }
/** * Factory method to create a static Tag that represents some static content. * * <p> * Note that to if you use jelly:define taglib, these tags might turn out to be non-static * during the runtime. */ protected TagScript createStaticTag( final String namespaceURI, final String localName, final String qName, Attributes list) throws SAXException { try { StaticTagScript script = new StaticTagScript(); configureTagScript(script); configureStaticTagAttributes(script,list); return script; } catch (Exception e) { log.warn( "Could not create static tag for URI: " + namespaceURI + " tag name: " + localName, e); throw createSAXException(e); } }
/** * Factory method to create a static Tag that represents some static content. * * <p> * Note that to if you use jelly:define taglib, these tags might turn out to be non-static * during the runtime. */ protected TagScript createStaticTag( final String namespaceURI, final String localName, final String qName, Attributes list) throws SAXException { try { StaticTagScript script = new StaticTagScript(); configureTagScript(script); configureStaticTagAttributes(script,list); return script; } catch (Exception e) { log.warn( "Could not create static tag for URI: " + namespaceURI + " tag name: " + localName, e); throw createSAXException(e); } }
try { StaticTag tag = new StaticTag( namespaceURI, localName, qName ); StaticTagScript script = new StaticTagScript( new TagFactory() { public Tag createTag(String name, Attributes attributes) {