FileDocCategorySizeDatePackage
LocalizedInfoNode.javaAPI DocGlassfish v2 API3149Fri May 04 22:31:38 BST 2007com.sun.enterprise.deployment.node

LocalizedInfoNode

public class LocalizedInfoNode extends LocalizedNode
This node handles the descriptionType xml fragment
author
Jerome Dochez

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetDescriptor()
we do not create descriptors in this node

	 return null;
     
public voidpostParsing()
notification of the end of XML parsing for this node

        Object o = getParentNode().getDescriptor();
        if (o instanceof Descriptor) {
            Descriptor descriptor = (Descriptor) o;
            if (getXMLRootTag().getQName().equals(TagNames.DESCRIPTION)) {
                descriptor.setLocalizedDescription(lang, localizedValue);
            } else 
            if (getXMLRootTag().getQName().equals(TagNames.NAME)) {
                descriptor.setLocalizedDisplayName(lang, localizedValue);
            }
        }