Examples of ElemDesc


Examples of org.apache.xml.serializer.ElemDesc

  SyntaxTreeNode parent = getParent();
  if (parent instanceof LiteralElement
      && ((LiteralElement)parent).allAttributesUnique()) {
            int flags = 0;
      ElemDesc elemDesc = ((LiteralElement)parent).getElemDesc();
     
      // Set the HTML flags
      if (elemDesc != null && _name instanceof SimpleAttributeValue) {
        String attrName = ((SimpleAttributeValue)_name).toString();
        if (elemDesc.isAttrFlagSet(attrName, ElemDesc.ATTREMPTY)) {
            flags = flags | SerializationHandler.HTML_ATTREMPTY;
        }
        else if (elemDesc.isAttrFlagSet(attrName, ElemDesc.ATTRURL)) {
            flags = flags | SerializationHandler.HTML_ATTRURL;
        }
      }
      il.append(new PUSH(cpg, flags));
      il.append(methodGen.uniqueAttribute());   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.