code: private final void processDecoration(final DecorationModel model) {
          final Object customObj;   // Object for the <custom> node
          final Xpp3Dom customNode; // <custom> node
          final Xpp3Dom skinNode;   // <skinConfig> node
  
          customObj = model.getCustom();
  
          if (customObj instanceof Xpp3Dom) {
              // This is the <custom> node in the site.xml file
  
              customNode = (Xpp3Dom) customObj;
  
              // Acquires <skinConfig> node
              skinNode = customNode.getChild(ConfigToolConstants.SKIN_KEY);
  
              if (skinNode == null) {
                  setSkinConfig(new Xpp3Dom(""));
              } else {
                  setSkinConfig(skinNode);
              }
          }
      }
docs: Processes the decoration model, acquiring the skin and page
  configuration.
  <p>
  The decoration model are the contents of the site.xml file.
  
  @param model
  decoration data