private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return new TagAttributeImpl(location, ns, myLocalName, qName, value); }
private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return new TagAttributeImpl(location, ns, myLocalName, qName, value); }
private Tag generateTagIfNecessary(Tag tag, TagAttributes modifiedAttributes) { if (modifiedAttributes != tag.getAttributes()) { if (tag.getLocalName().equals("div") && modifiedAttributes instanceof AFTagAttributes) { return generatePuiHtmlTag(tag, modifiedAttributes, "puiDiv"); } else if (tag.getLocalName().equals("span") && modifiedAttributes instanceof AFTagAttributes) { return generatePuiHtmlTag(tag, modifiedAttributes, "puiSpan"); } else return new Tag(tag.getLocation(), tag.getNamespace(), tag.getLocalName(), tag.getQName(), modifiedAttributes); } return null; }
private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return new TagAttributeImpl(location, ns, myLocalName, qName, value); }
private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return TagAttributeUtilities.createTagAttribute(location, ns, myLocalName, qName, value); }
private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return TagAttributeUtilities.createTagAttribute(location, ns, myLocalName, qName, value); }
private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return TagAttributeUtilities.createTagAttribute(location, ns, myLocalName, qName, value); }
private TagAttribute createElementName(Tag tag) { Location location = tag.getLocation(); String ns = Namespace.p.uri; String myLocalName = Renderer.PASSTHROUGH_RENDERER_LOCALNAME_KEY; String qName = "p:" + myLocalName; String value = tag.getLocalName(); return new TagAttributeImpl(location, ns, myLocalName, qName, value); }
private Tag generateTagIfNecessary(Tag tag, TagAttributes modifiedAttributes) { TagAttribute id = tag.getAttributes().get("", "id"); if (null != id || modifiedAttributes != tag.getAttributes()) { if (tag.getLocalName().equals("div") && modifiedAttributes instanceof AFTagAttributes) { return generatePuiHtmlTag(tag, modifiedAttributes, "puiDiv"); } else if (tag.getLocalName().equals("span") && modifiedAttributes instanceof AFTagAttributes) { return generatePuiHtmlTag(tag, modifiedAttributes, "puiSpan"); } else return new Tag(tag.getLocation(), tag.getNamespace(), tag.getLocalName(), tag.getQName(), modifiedAttributes); } return null; }
private Tag convertBootsFacesTag(Tag tag) { if (HTML_NAMESPACE.equals(tag.getNamespace())) { String tagname = tag.getLocalName(); if (bootsfacesTags.containsKey(tagname)) { AFTagAttributes modifiedAttributes = new AFTagAttributes(tag.getAttributes().getAll()); Tag t = new Tag(tag.getLocation(), BOOTSFACES_NAMESPACE, tag.getLocalName(), tag.getQName(), modifiedAttributes); return t; } } return tag; } }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
private Tag convertToACBodyTag(Tag tag, TagAttributes attributeList) { Tag t = new Tag(tag.getLocation(), ANGULAR_FACES_CORE_NAMESPACE, tag.getLocalName(), tag.getQName(), attributeList); return t; }
public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig.getQName(), attributes); }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }
/** * Constructor. * * @param orig the original tag. * @param attributes the tag attributes. */ public Tag(Tag orig, TagAttributes attributes) { this(orig.getLocation(), orig.getNamespace(), orig.getLocalName(), orig .getQName(), attributes); }