Searched refs:element (Results 1 - 25 of 208) sorted by relevance

123456789

/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/
H A DStackElement.java47 * This class represent a stack element as the AnnotationContext
55 private final AnnotatedElement element; field in class:StackElement
58 public StackElement(ElementType type, AnnotatedElement element) { argument
60 this.element = element;
68 return element;
H A DProcessingResultImpl.java69 for (AnnotatedElement element : results.keySet()) {
70 add(element, results.get(element));
74 public void add(AnnotatedElement element, HandlerProcessingResult elementResult) { argument
79 if (results.containsKey(element)) {
80 HandlerProcessingResultImpl previousResult = (HandlerProcessingResultImpl) results.get(element);
84 results.put(element, elementResult);
88 results.put(element, result);
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Dprototype.js1066 function $(element) {
1072 if (typeof element == 'string')
1073 element = document.getElementById(element);
1074 return Element.extend(element);
1109 Element.extend = function(element) {
1110 if (!element || _nativeExtensions || element.nodeType == 3) return element;
1112 if (!element
[all...]
H A Deffects.js28 Element.collectTextNodes = function(element) {
29 return $A($(element).childNodes).collect( function(node) {
35 Element.collectTextNodesIgnoreClass = function(element, className) {
36 return $A($(element).childNodes).collect( function(node) {
43 Element.setContentZoom = function(element, percent) {
44 element = $(element);
45 element.setStyle({fontSize: (percent/100) + 'em'});
47 return element;
50 Element.getOpacity = function(element){
[all...]
H A Ddragdrop.js13 remove: function(element) {
14 this.drops = this.drops.reject(function(d) { return d.element==$(element) });
17 add: function(element) {
18 element = $(element);
39 Element.makePositioned(element); // fix IE
40 options.element = element;
49 if (Element.isParent(drops[i].element, deepes
[all...]
H A Dcontrols.js22 // this.element.value. This is to allow incremental tokenized
43 baseInitialize: function(element, update, options) {
44 this.element = $(element);
57 this.options.paramName = this.options.paramName || this.element.name;
62 function(element, update){
65 Position.clone(element, update, {
67 offsetTop: element.offsetHeight
73 function(element, update){ new Effect.Fade(update,{duration:0.15}) };
80 this.element
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DPropertiesDecoder.java72 for(String element : elements) {
73 addPair(map, element);
79 private static void addPair(Map<String, String> map, String element) { argument
84 // element is one of these:
92 if(!ok(element))
95 int index = element.indexOf("=");
99 map.put(element, null);
102 else if(element.length() - 1 <= index ) {
104 map.put(element.substring(0, index), null);
108 map.put(element
[all...]
/glassfish-3.1.2/tests/quicklook/web/jruby/helloapp/public/javascripts/
H A Deffects.js28 Element.collectTextNodes = function(element) {
29 return $A($(element).childNodes).collect( function(node) {
35 Element.collectTextNodesIgnoreClass = function(element, className) {
36 return $A($(element).childNodes).collect( function(node) {
43 Element.setContentZoom = function(element, percent) {
44 element = $(element);
45 element.setStyle({fontSize: (percent/100) + 'em'});
47 return element;
50 Element.getInlineOpacity = function(element){
[all...]
H A Ddragdrop.js13 remove: function(element) {
14 this.drops = this.drops.reject(function(d) { return d.element==$(element) });
17 add: function(element) {
18 element = $(element);
38 Element.makePositioned(element); // fix IE
39 options.element = element;
48 if (Element.isParent(drops[i].element, deepes
[all...]
H A Dprototype.js1513 function $(element) {
1519 if (Object.isString(element))
1520 element = document.getElementById(element);
1521 return Element.extend(element);
1558 var element = this.Element;
1571 Object.extend(this.Element, element || { });
1572 if (element) this.Element.prototype = element.prototype;
1578 visible: function(element) {
[all...]
H A Dcontrols.js22 // this.element.value. This is to allow incremental tokenized
42 baseInitialize: function(element, update, options) {
43 element = $(element);
44 this.element = element;
51 this.oldElementValue = this.element.value;
58 this.options.paramName = this.options.paramName || this.element.name;
63 function(element, update){
66 Position.clone(element, updat
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DXMLNode.java57 * notification of the start of an XML element tag in the processed
60 * @param element the XML element type name
63 public void startElement(XMLElement element, Attributes attributes); argument
66 * sets the value of an XML element
68 * @param element the XML element type name
69 * @param value the element value
71 public void setElementValue(XMLElement element, String value); argument
74 * notification of the end of an XML element i
81 endElement(XMLElement element) argument
90 handlesElement(XMLElement element) argument
100 getHandlerFor(XMLElement element) argument
149 resolvePrefix(XMLElement element, String prefix) argument
[all...]
H A DDeploymentExtensionNode.java60 * all sub-implementation of this class can use a dispatch table to map xml element to
61 * method name on the descriptor class for setting the element value.
63 * @return the map with the element name as a key, the setter method as a value
74 * @param element the xml element
77 public void setElementValue(XMLElement element, String value) { argument
78 if (TagNames.MUST_UNDERSTAND.equals(element.getQName())) {
83 super.setElementValue(element, value);
87 * @return true if the element tag can be handled by any registered sub nodes of the
90 public boolean handlesElement(XMLElement element) { argument
100 getHandlerFor(XMLElement element) argument
[all...]
H A DJaxrpcMappingDescriptorNode.java135 public void startElement(XMLElement element, Attributes attributes) { argument
140 } else if( complexElements.contains(element.getQName()) ) {
146 super.startElement(element, attributes);
153 * @param element the xml element
156 public void setElementValue(XMLElement element, String value) { argument
163 } else if(WebServicesTagNames.PACKAGE_TYPE.equals(element.getQName())) {
165 } else if(WebServicesTagNames.NAMESPACE_URI.equals(element.getQName())){
169 super.setElementValue(element, value);
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/
H A DAnnotatedElementHandler.java56 * Before annotations for an annotated element are processed, the
57 * startElement is called with the annotated element value and its type
59 * @param type the annotated element type (class, field, method...)
60 * @param element the annotated element we are starting to visit.
64 public void startElement(ElementType type, AnnotatedElement element) argument
68 * After annotations for an annotated element are processed, the
69 * endElement is called with the annotated element value and its type
71 * @param type the annotated element type (class, field, method...)
72 * @param element th
76 endElement(ElementType type, AnnotatedElement element) argument
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/
H A Dmoo.fx.pack.js45 this.element = $(el);
47 this.element.style.overflow = 'hidden';
51 return this.custom(this.element.scrollTop, this.element.scrollHeight-this.element.offsetHeight);
55 return this.custom(this.element.scrollTop, 0);
59 this.element.scrollTop = this.now;
70 this.element = $(el);
87 this.element.style[this.property] = "rgb("+this.now[0]+","+this.now[1]+","+this.now[2]+")";
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/ejb/
H A DEjbRelationshipRoleNode.java75 * @return the handler registered for the subtag element of the curent XMLNode
77 public XMLNode getHandlerFor(XMLElement element) { argument
78 if (EjbTagNames.RELATIONSHIP_ROLE_SOURCE.equals(element.getQName())) {
81 ConfigurableNode newNode = new ConfigurableNode(getDescriptor(), dispatchTable, element);
83 } if (EjbTagNames.CMR_FIELD.equals(element.getQName())) {
86 ConfigurableNode newNode = new ConfigurableNode(getDescriptor(), dispatchTable, element);
89 return super.getHandlerFor(element);
94 * @return true if the element tag can be handled by any registered sub nodes of the
97 public boolean handlesElement(XMLElement element) { argument
98 if (EjbTagNames.RELATIONSHIP_ROLE_SOURCE.equals(element
138 endElement(XMLElement element) argument
151 setElementValue(XMLElement element, String value) argument
[all...]
H A DInterceptorBindingNode.java66 public void startElement(XMLElement element, Attributes attributes) { argument
68 if( EjbTagNames.METHOD.equals(element.getQName()) ) {
72 // encounter at least one method-param element.
75 } else if( EjbTagNames.METHOD_PARAMS.equals(element.getQName()) ) {
77 // If there's a method-params element, regardless of whether there
84 super.startElement(element, attributes);
87 public void setElementValue(XMLElement element, String value) { argument
89 if( EjbTagNames.METHOD_NAME.equals(element.getQName()) ) {
91 } else if( EjbTagNames.METHOD_PARAM.equals(element.getQName()) ) {
96 super.setElementValue(element, valu
109 endElement(XMLElement element) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/
H A DMailConfigurationNode.java64 * @param element the xml element
67 public void setElementValue(XMLElement element, String value) { argument
68 if (RuntimeTagNames.NAME.equals(element.getQName())) {
70 } else if (RuntimeTagNames.MAIL_FROM.equals(element.getQName())) {
72 } else if (RuntimeTagNames.MAIL_HOST.equals(element.getQName())) {
H A DPrincipalNode.java69 * @param element the xml element
72 public void setElementValue(XMLElement element, String value) { argument
74 if (RuntimeTagNames.NAME.equals(element.getQName())) {
76 } else super.setElementValue(element, value);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/handlers/
H A DSecurityPermissionHandler.java71 public HandlerProcessingResult processAnnotation(AnnotationInfo element) throws AnnotationProcessorException { argument
72 AnnotatedElementHandler aeHandler = element.getProcessingContext().getHandler();
73 SecurityPermission securityPermission = (SecurityPermission) element.getAnnotation();
76 boolean isConnectionDefinition = hasConnectorAnnotation(element);
90 getFailureResult(element, "Not a @Connector annotation : @SecurityPermission must " +
94 getFailureResult(element, "Not a rar bundle context", true);
111 private boolean hasConnectorAnnotation(AnnotationInfo element) { argument
112 Class c = (Class) element.getAnnotatedElement();
116 private HandlerProcessingResultImpl getFailureResult(AnnotationInfo element, String message, boolean doLog) { argument
120 Class c = (Class) element
[all...]
/glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/util/
H A DHtmlUtil.java55 for (StackTraceElement element : elements) {
56 out.println(element.toString() + "<br>");
/glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/java/util/
H A DHtmlUtil.java55 for (StackTraceElement element : elements) {
56 out.println(element.toString() + "<br>");
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/deployment/annotation/handlers/
H A DConnectionDefinitionHandler.java73 public void processAnnotation(AnnotationInfo element, ConnectionDefinition defn) argument
75 AnnotatedElementHandler aeHandler = element.getProcessingContext().getHandler();
76 handleAnnotation(aeHandler, defn, element);
79 public HandlerProcessingResult processAnnotation(AnnotationInfo element) throws AnnotationProcessorException { argument
80 AnnotatedElementHandler aeHandler = element.getProcessingContext().getHandler();
81 ConnectionDefinition connDefn = (ConnectionDefinition) element.getAnnotation();
84 handleAnnotation(aeHandler, connDefn, element);
86 getFailureResult(element, "not a rar bundle context", true);
91 private void handleAnnotation(AnnotatedElementHandler aeHandler, ConnectionDefinition connDefn, AnnotationInfo element) { argument
95 Class c = (Class) element
142 getFailureResult(AnnotationInfo element, String message, boolean doLog) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/common/
H A DWLSecurityRoleAssignmentNode.java65 * @param element the xml element
68 public void setElementValue(XMLElement element, String value) { argument
70 if (RuntimeTagNames.ROLE_NAME.equals(element.getQName())) {
72 } else if (RuntimeTagNames.PRINCIPAL_NAME.equals(element.getQName())) {
74 } else if (RuntimeTagNames.EXTERNALLY_DEFINED.equals(element.getQName())) {
77 super.setElementValue(element, value);

Completed in 71 milliseconds

123456789