public class JDOMExpressionFactory
extends org.jdom.DefaultJDOMFactory
Modifier and Type | Class and Description |
---|---|
private class |
JDOMExpressionFactory.CustomAttribute |
class |
JDOMExpressionFactory.Resolver |
Modifier and Type | Field and Description |
---|---|
private Map<String,Double> |
constants |
private Library |
jelLibrary |
private Object[] |
resolver |
Constructor and Description |
---|
JDOMExpressionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addConstant(String name,
double value) |
org.jdom.Attribute |
attribute(String name,
String value) |
org.jdom.Attribute |
attribute(String name,
String value,
int type) |
org.jdom.Attribute |
attribute(String name,
String value,
int type,
org.jdom.Namespace namespace) |
org.jdom.Attribute |
attribute(String name,
String value,
org.jdom.Namespace namespace) |
double |
computeDouble(String expression) |
float |
computeFloat(String expression) |
private Library |
setUpLibrary() |
addContent, addNamespaceDeclaration, cdata, comment, docType, docType, docType, document, document, document, element, element, element, element, entityRef, entityRef, entityRef, processingInstruction, processingInstruction, setAttribute, text
public void addConstant(String name, double value)
public org.jdom.Attribute attribute(String name, String value, int type, org.jdom.Namespace namespace)
attribute
in interface org.jdom.JDOMFactory
attribute
in class org.jdom.DefaultJDOMFactory
public org.jdom.Attribute attribute(String name, String value, org.jdom.Namespace namespace)
attribute
in interface org.jdom.JDOMFactory
attribute
in class org.jdom.DefaultJDOMFactory
public org.jdom.Attribute attribute(String name, String value, int type)
attribute
in interface org.jdom.JDOMFactory
attribute
in class org.jdom.DefaultJDOMFactory
public org.jdom.Attribute attribute(String name, String value)
attribute
in interface org.jdom.JDOMFactory
attribute
in class org.jdom.DefaultJDOMFactory
public double computeDouble(String expression)
public float computeFloat(String expression)
private Library setUpLibrary()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.