Get all attached appenders as an Enumeration. If there are no
attached appenders <code>null</code> is returned.

@return Enumeration An enumeration of attached appenders.
979053
public
    Enumeration getAllAppenders() {
        return new Enumeration() {
            final Iterator it = appenderList.iterator();
            @Override
            public boolean hasMoreElements() {
                return it.hasNext();
            }
            @Override
            public Object nextElement() {
                return it.next();
            }
        };
    }
123010
@Override
	public Enumeration getEnumeration() throws JMSException 
	{
		checkNotClosed();
		
		// Security check
		checkDestinationPermission();
		
		LocalQueueBrowserEnumeration queueBrowserEnum = new LocalQueueBrowserEnumeration(this,(LocalQueue)queue,parsedSelector,UUIDProvider.getInstance().getShortUUID());
		registerEnumeration(queueBrowserEnum);
		return queueBrowserEnum;
	}
561270
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(REQUIRE);
        elements.addElement(INHIBIT);

        return (elements.elements());
    }
1305734
public java.util.List<String> getInitiators() {
        if (initiators == null) {
            initiators = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return initiators;
    }
1326156
public java.util.List<String> getUndeploy() {
        if (undeploy == null) {
            undeploy = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return undeploy;
    }
515036
public XMLElementList getChildren() {
		if (children != null) {
			return children;
		}
		
		NodeList list = dom.getChildNodes();
		children = new XMLElementList();
		
		for (int i=0;i<list.getLength();i++) {
			if (list.item(i) instanceof Element) {
				children.add(new XMLElement((Element) list.item(i)));
			}
		}
		
		return children;
	}
566869
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(NUMBER);

        return (elements.elements());
    }
92086
public Enumeration getFieldNames()
    {
        return new Enumeration()
            {
                int i=0;
                Field field=null;

                public boolean hasMoreElements()
                {
                    if (field!=null)
                        return true;
                    while (i<_fields.size())
                    {
                        Field f=(Field)_fields.get(i++);
                        if (f!=null && f._version==_version && f._prev==null)
                        {
                            field=f;
                            return true;
                        }
                    }
                    return false;
                }

                public Object nextElement()
                    throws NoSuchElementException
                {
                    if (field!=null || hasMoreElements())
                    {
                        String n=field._info._name;
                        field=null;
                        return n;
                    }
                    throw new NoSuchElementException();
                }
            };
    }
1063994
public java.util.List<AttachedPolicy> getAttachedPolicies() {
        if (attachedPolicies == null) {
            attachedPolicies = new com.amazonaws.internal.SdkInternalList<AttachedPolicy>();
        }
        return attachedPolicies;
    }
1029864
@Override
    public void addAppender(Appender newAppender) {
        // Null values for newAppender parameter are strictly forbidden.
        if (newAppender == null) {
            return;
        }
        // If the appender is already there, add this one to the end before
        // removing the
        // previous one
        boolean isAppenderPresent = appenderList.contains(newAppender);
        String appenderName = newAppender.getName() != null ? newAppender.getName(): "default";
        if (isAppenderPresent) {
            appenderList.add(newAppender);
            for (Iterator<Appender> it = appenderList.iterator(); it.hasNext();) {
                Appender appender = it.next();
                if (newAppender.equals(appender)) {
                    configuredAppenderList.add(appenderName);
                    it.remove();
                    appender.close();
                    return;
                }
            }
        } else {
            appenderList.add(newAppender);
        }
        configuredAppenderList.add(appenderName);
    }
1029581
@Override
    public Enumeration getEnumeration() throws JMSException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getEnumeration");
        Enumeration vEnum = null;

        // Synchronize here so that you can't create an enumeration while the
        // browser is being closed.
        synchronized (enums) {

            // By the time we have synchronized on enums we have control of the
            // state of the object.
            if (state == CLOSED) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                    SibTr.debug(this, tc, "Called getEnumeration on a closed Browser");
                // d238447 FFDC Review. App error, no FFDC required.
                throw (JMSException) JmsErrorUtils.newThrowable(JMSException.class,
                                                                "BROWSER_CLOSED_CWSIA0142",
                                                                null,
                                                                tc
                                );
            }

            if (createdFirst) {
                // If we haven't yet given the user the upfront one we created.
                if (firstEnumeration != null) {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        SibTr.debug(this, tc, "Using the enumeration that was created by the constructor");
                    // Pass it ready to be returned.
                    vEnum = firstEnumeration;

                    // Stop us using it again.
                    firstEnumeration = null;
                }
                else {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        SibTr.debug(this, tc, "Creating a new enumeration");
                    // Need to create a new one.
                    vEnum = instantiateBrowser();
                }
            }

            else {
                // We have not created the first one, so do it now. The call to this
                // method will have come from the constructor so we don't need to
                // return the Enumeration - just stash it away for later use.
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                    SibTr.debug(this, tc, "Creating the first Enumeration (to check existence etc)");
                firstEnumeration = instantiateBrowser();
                createdFirst = true;
            }

        } // release the lock

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "getEnumeration", vEnum);
        return vEnum;
    }
650700
@InterfaceAudience.Public
    public List<Attachment> getAttachments() {
        Map<String, Object> attachmentMetadata = getAttachmentMetadata();
        if (attachmentMetadata == null) {
            return new ArrayList<Attachment>();
        }
        List<Attachment> result = new ArrayList<Attachment>(attachmentMetadata.size());
        for (Map.Entry<String, Object> entry : attachmentMetadata.entrySet()) {
            Attachment attachment = toAttachment(entry.getKey(), entry.getValue());
            if (attachment != null) {
                result.add(attachment);
            }
        }
        return result;
    }
419808
public java.util.List<? extends com.google.iam.v1.BindingDeltaOrBuilder> 
      getBindingDeltasOrBuilderList() {
    return bindingDeltas_;
  }
1334822
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(USAGES);

        return (elements.elements());
    }
324044
public java.util.List<ReservedNode> getReservedNodes() {
        if (reservedNodes == null) {
            reservedNodes = new com.amazonaws.internal.SdkInternalList<ReservedNode>();
        }
        return reservedNodes;
    }
236249
public List<ElementType<AnnotationType<T>>> getAllElement()
   {
      List<ElementType<AnnotationType<T>>> list = new ArrayList<ElementType<AnnotationType<T>>>();
      List<Node> nodeList = childNode.get("element");
      for(Node node: nodeList)
      {
         ElementType<AnnotationType<T>>  type = new ElementTypeImpl<AnnotationType<T>>(this, "element", childNode, node);
         list.add(type);
      }
      return list;
   }
877901
public Enumeration<String> getElements() {
        AttributeNameEnumeration elements = new AttributeNameEnumeration();
        elements.addElement(POLICIES);

        return (elements.elements());
    }