FileDocCategorySizeDatePackage
AttributeValue.javaAPI DocJava SE 5 API1361Fri Aug 26 14:55:34 BST 2005com.sun.org.apache.xalan.internal.xsltc.compiler

AttributeValue

public abstract class AttributeValue extends Expression
author
Jacek Ambroziak
author
Santiago Pericas-Geertsen

Fields Summary
Constructors Summary
Methods Summary
public static final com.sun.org.apache.xalan.internal.xsltc.compiler.AttributeValuecreate(com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode parent, java.lang.String text, com.sun.org.apache.xalan.internal.xsltc.compiler.Parser parser)


	AttributeValue result;
	if (text.indexOf('{") != -1) {
	    result = new AttributeValueTemplate(text, parser, parent);
	}
	else if (text.indexOf('}") != -1) {
	    result = new AttributeValueTemplate(text, parser, parent);
	}
	else {
	    result = new SimpleAttributeValue(text);
	    result.setParser(parser);
	    result.setParent(parent);
	}
	return result;