@Override
	public Extension[] getChildren()
	{
		NodeList children = configEntry.getChildNodes();
		if(children != null) {
			Extension[] res = new Extension[children.getLength()];
			int newIndex = 0;
			
			for(int i = 0; i < children.getLength(); i++) {
				Node entry = children.item(i);
				
				// make sure that it is not a pure text entry
				if(entry.hasAttributes() || entry.hasChildNodes()) {
					res[newIndex] = new XMLExtension(entry);
					newIndex++;
				}
			}
			
			// did we omit some entries? Resize array.
			if(newIndex != children.getLength()) {
				res = Arrays.copyOf(res, newIndex);
			}
			
			return res;
		}
		
		return null;
	}