Searched refs:attributes (Results 1 - 25 of 125) sorted by relevance

12345

/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DAttributeVector.java49 * A list of attributes within a class file.
60 private ClassAttribute attributes[] = null; field in class:AttributeVector
66 return attributes[i];
78 if (attributes == null)
79 attributes = new ClassAttribute[1];
81 ClassAttribute newAttributes[] = new ClassAttribute[attributes.length+1];
82 System.arraycopy(attributes, 0, newAttributes, 0, attributes.length);
83 attributes = newAttributes;
85 attributes[attribute
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
H A DSetAllPropertiesRule.java85 * @param attributes The attributes of this element
89 public void begin(Attributes attributes) throws Exception { argument
91 for (int i = 0; i < attributes.getLength(); i++) {
92 String name = attributes.getLocalName(i);
94 name = attributes.getQName(i);
96 String value = attributes.getValue(i);
H A DSetContextPropertiesRule.java86 * @param attributes The attributes of this element
90 public void begin(String namespace, String nameX, Attributes attributes) argument
93 for (int i = 0; i < attributes.getLength(); i++) {
94 String name = attributes.getLocalName(i);
96 name = attributes.getQName(i);
101 String value = attributes.getValue(i);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/web/
H A DConstraintFieldNode.java73 public void startElement(XMLElement element, Attributes attributes) { argument
77 for (int i=0; i<attributes.getLength();i++) {
78 if (RuntimeTagNames.NAME.equals(attributes.getQName(i))) {
80 attributes.getValue(i));
82 if (RuntimeTagNames.SCOPE.equals(attributes.getQName(i))) {
84 attributes.getValue(i));
87 attributes.getQName(i))) {
90 attributes.getValue(i));
93 attributes.getQName(i))) {
96 attributes
[all...]
H A DLocaleCharsetInfoNode.java66 public void startElement(XMLElement element, Attributes attributes) { argument
69 for (int i=0; i<attributes.getLength();i++) {
71 attributes.getQName(i))) {
73 attributes.getValue(i));
80 for (int i=0; i<attributes.getLength();i++) {
82 attributes.getQName(i))) {
85 attributes.getValue(i));
88 attributes.getQName(i))) {
91 attributes.getValue(i));
94 } else super.startElement(element, attributes);
[all...]
H A DCacheMappingNode.java83 public void startElement(XMLElement element, Attributes attributes) { argument
89 for (int i=0; i<attributes.getLength();i++) {
90 if (RuntimeTagNames.NAME.equals(attributes.getQName(i))) {
91 descriptor.setAttributeValue(CacheMapping.TIMEOUT, CacheMapping.NAME, attributes.getValue(i));
93 if (RuntimeTagNames.SCOPE.equals(attributes.getQName(i))) {
98 descriptor.setAttributeValue(CacheMapping.TIMEOUT, index-1, CacheMapping.SCOPE, attributes.getValue(i));
104 for (int i=0; i<attributes.getLength();i++) {
105 if (RuntimeTagNames.NAME.equals(attributes.getQName(i))) {
106 descriptor.setAttributeValue(CacheMapping.REFRESH_FIELD, 0, CacheMapping.NAME, attributes.getValue(i));
108 if (RuntimeTagNames.SCOPE.equals(attributes
[all...]
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DCacheEntry.java77 public ResourceAttributes attributes = null; field in class:CacheEntry
91 attributes = null;
103 + "Attributes: " + attributes + "\n"
H A DResourceAttributes.java229 public ResourceAttributes(Attributes attributes) { argument
230 this.attributes = attributes;
304 * External attributes.
306 protected Attributes attributes = null; field in class:ResourceAttributes
316 if (attributes != null) {
329 if (attributes != null) {
333 attributes.put(TYPE, value);
346 if (attributes != null) {
347 Attribute attribute = attributes
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DObjectCreationFactory.java78 * object based on the element's attributes.
80 * @param attributes the element's attributes
84 public Object createObject(Attributes attributes) throws Exception; argument
H A DRule.java162 * @param attributes The attribute list of this element
167 public void begin(Attributes attributes) throws Exception { argument
186 * @param attributes The attribute list of this element
189 public void begin(String namespace, String name, Attributes attributes) argument
192 begin(attributes);
H A DAbstractObjectCreationFactory.java87 * object based on the element's attributes.
89 * @param attributes the element's attributes
93 public abstract Object createObject(Attributes attributes) throws Exception; argument
H A DSetPropertyRule.java70 * top of the stack, based on attributes with specified names.
81 * attributes.
100 * attributes.
135 * @param attributes The attribute list of this element
140 public void begin(Attributes attributes) throws Exception { argument
145 for (int i = 0; i < attributes.getLength(); i++) {
146 String name = attributes.getLocalName(i);
148 name = attributes.getQName(i);
150 String value = attributes.getValue(i);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DExtensionElementDescriptor.java56 private DynamicAttributesDescriptor attributes; field in class:ExtensionElementDescriptor
86 * @return a value holder for all attributes of
90 if (attributes==null) {
91 attributes = new DynamicAttributesDescriptor();
92 attributes.addObserver(this);
94 return attributes;
98 * @return true if the deployment extension contains attributes
101 return attributes!=null;
105 * notification of changed from our attributes/elements
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DManifestResource.java226 Attributes attributes = manifest.getMainAttributes();
227 String names = attributes.getValue("Extension-List");
243 attributes.getValue(name + "-Extension-Name");
249 (attributes.getValue(name + "-Implementation-URL"));
251 (attributes.getValue(name + "-Implementation-Vendor-Id"));
252 String version = attributes.getValue(name + "-Implementation-Version");
255 (attributes.getValue(name + "-Specification-Version"));
273 Attributes attributes = manifest.getMainAttributes();
274 String name = attributes.getValue("Extension-Name");
283 attributes
[all...]
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DPMFResourceManager.java73 public ResourceStatus create(Resources resources, HashMap attributes, Properties properties, String target) argument
75 return new ResourceStatus(ResourceStatus.WARNING, getWarningMessage(attributes));
78 private String getWarningMessage(HashMap attributes) { argument
80 String jndiName = (String) attributes.get(ResourceConstants.JNDI_NAME);
81 String jdbcResourceJndiName= (String) attributes.get(ResourceConstants.JDBC_RESOURCE_JNDI_NAME);
92 public Resource createConfigBean(Resources resources, HashMap attributes, Properties properties, boolean validate) argument
94 throw new ResourceException(getWarningMessage(attributes));
H A DJavaMailResourceManager.java98 public ResourceStatus create(Resources resources, HashMap attributes, final Properties properties, argument
100 setAttributes(attributes, target);
200 private void setAttributes(HashMap attributes, String target) { argument
201 jndiName = (String) attributes.get(JNDI_NAME);
202 mailHost = (String) attributes.get(MAIL_HOST);
203 mailUser = (String) attributes.get(MAIL_USER);
204 fromAddress = (String) attributes.get(MAIL_FROM_ADDRESS);
205 storeProtocol = (String) attributes.get(MAIL_STORE_PROTO);
206 storeProtocolClass = (String) attributes.get(MAIL_STORE_PROTO_CLASS);
207 transportProtocol = (String) attributes
219 createConfigBean(Resources resources, HashMap attributes, Properties properties, boolean validate) argument
[all...]
H A DCreateJavaMailResource.java137 HashMap attributes = new HashMap();
138 attributes.put(ResourceConstants.JNDI_NAME, jndiName);
139 attributes.put(ResourceConstants.MAIL_HOST, mailHost);
140 attributes.put(ResourceConstants.MAIL_USER, mailUser);
141 attributes.put(ResourceConstants.MAIL_FROM_ADDRESS, fromAddress);
142 attributes.put(ResourceConstants.MAIL_STORE_PROTO, storeProtocol);
143 attributes.put(ResourceConstants.MAIL_STORE_PROTO_CLASS, storeProtocolClass);
144 attributes.put(ResourceConstants.MAIL_TRANS_PROTO, transportProtocol);
145 attributes.put(ResourceConstants.MAIL_TRANS_PROTO_CLASS, transportProtocolClass);
146 attributes
[all...]
H A DJndiResourceManager.java94 public ResourceStatus create(Resources resources, HashMap attributes, final Properties properties, argument
96 setAttributes(attributes, target);
159 private void setAttributes(HashMap attributes, String target) { argument
160 jndiName = (String) attributes.get(JNDI_NAME);
161 jndiLookupName = (String) attributes.get(JNDI_LOOKUP);
162 resType = (String) attributes.get(RES_TYPE);
163 factoryClass = (String) attributes.get(FACTORY_CLASS);
166 enabled = resourceUtil.computeEnabledValueForResourceBasedOnTarget((String) attributes.get(ENABLED), target);
168 enabled = (String) attributes.get(ENABLED);
170 enabledValueForTarget = (String) attributes
203 createConfigBean(Resources resources, HashMap attributes, Properties properties, boolean validate) argument
[all...]
H A DConnectorResourceManager.java109 public ResourceStatus create(Resources resources, HashMap attributes, final Properties properties, argument
112 setAttributes(attributes, target);
195 private void setAttributes(HashMap attributes, String target) { argument
196 poolName = (String) attributes.get(POOL_NAME);
198 enabled = resourceUtil.computeEnabledValueForResourceBasedOnTarget((String)attributes.get(ENABLED), target);
200 enabled = (String) attributes.get(ENABLED);
202 enabledValueForTarget = (String) attributes.get(ENABLED);
203 jndiName = (String) attributes.get(JNDI_NAME);
204 description = (String) attributes.get(DESCRIPTION);
205 objectType = (String) attributes
212 createConfigBean(Resources resources, HashMap attributes, Properties properties, boolean validate) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DPersistenceUnitNode.java78 XMLElement element, Attributes attributes) {
80 assert(attributes.getLength() == 2);
81 assert(attributes.getIndex(PersistenceTagNames.PROPERTY_NAME) !=
83 assert(attributes.getIndex(PersistenceTagNames.PROPERTY_VALUE) !=
86 String propName = attributes.getValue(
88 String propValue = attributes.getValue(
93 super.startElement(element, attributes);
99 * standard elements or attributes (e.g. version, descriptionGroupRef etc.)
111 * standard elements or attributes (e.g. version, descriptionGroupRef etc.)
77 startElement( XMLElement element, Attributes attributes) argument
H A DLocalizedNode.java77 * notification of element start with attributes.
79 public void startElement(XMLElement element, Attributes attributes) { argument
80 if (attributes.getLength()>0) {
81 for (int i=0;i<attributes.getLength();i++) {
82 if (attributes.getLocalName(i).equals(TagNames.LANG)) {
83 lang = attributes.getValue(i);
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DResourcesXMLParser.java491 NamedNodeMap attributes = nextKid.getAttributes();
492 if (attributes == null)
495 Node jndiNameNode = attributes.getNamedItem(JNDI_NAME);
497 Node factoryClassNode = attributes.getNamedItem(FACTORY_CLASS);
498 Node poolNameNode = attributes.getNamedItem(JDBC_RESOURCE_JNDI_NAME);
499 Node enabledNode = attributes.getNamedItem(ENABLED);
530 NamedNodeMap attributes = nextKid.getAttributes();
532 if (attributes == null)
535 Node jndiNameNode = attributes.getNamedItem(JNDI_NAME);
538 Node resTypeNode = attributes
[all...]
H A DResourceManager.java62 * @param attributes resource configuration
68 ResourceStatus create(Resources resources, HashMap attributes, final Properties properties, String target) argument
72 * creates config-bean equivalent for the resource configuration provided as attributes and properties<br>
75 * @param attributes attributes of the resource
81 Resource createConfigBean(Resources resources, HashMap attributes, Properties properties, boolean validate) argument
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/
H A DGroupNode.java72 public void startElement(XMLElement element, Attributes attributes) { argument
75 for (int i=0; i<attributes.getLength();i++) {
76 if (RuntimeTagNames.NAME.equals(attributes.getQName(i))) {
77 group = new Group(attributes.getValue(i));
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DCommandXMLResultParser.java94 Attributes attributes) throws SAXException {
113 currentLevel.setStageStatus(exitCodeToStatus(attrToText(attributes, "exit-code")));
114 currentLevel.setStageDescription(attrToText(attributes, "description"));
115 String failureCause = attrToText(attributes, "failure-cause");
124 String msg = attrToText(attributes, "message");
131 currentLevel.addProperty(attrToText(attributes, "name"), attrToText(attributes, "value"));
93 startElement(String uri, String localName, String qName, Attributes attributes) argument

Completed in 681 milliseconds

12345